Skip to content

Commit

Permalink
feat(client-route53resolver): Add DOH protocols in resolver endpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Dec 18, 2023
1 parent 8a46724 commit 5ef61b5
Show file tree
Hide file tree
Showing 43 changed files with 420 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export interface AssociateFirewallRuleGroupCommandOutput extends AssociateFirewa
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,12 @@ export interface AssociateResolverEndpointIpAddressCommandOutput
* // StatusMessage: "STRING_VALUE",
* // CreationTime: "STRING_VALUE",
* // ModificationTime: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // OutpostArn: "STRING_VALUE",
* // PreferredInstanceType: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // Protocols: [ // ProtocolList
* // "DoH" || "Do53" || "DoH-FIPS",
* // ],
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export interface CreateFirewallDomainListCommandOutput extends CreateFirewallDom
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export interface CreateFirewallRuleCommandOutput extends CreateFirewallRuleRespo
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export interface CreateFirewallRuleGroupCommandOutput extends CreateFirewallRule
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface CreateOutpostResolverCommandOutput extends CreateOutpostResolve

/**
* @public
* <p>Creates an Route 53 Resolver on an Outpost.</p>
* <p>Creates a Route 53 Resolver on an Outpost.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down Expand Up @@ -99,7 +99,7 @@ export interface CreateOutpostResolverCommandOutput extends CreateOutpostResolve
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,18 @@ export interface CreateResolverEndpointCommandOutput extends CreateResolverEndpo
* Ipv6: "STRING_VALUE",
* },
* ],
* OutpostArn: "STRING_VALUE",
* PreferredInstanceType: "STRING_VALUE",
* Tags: [ // TagList
* { // Tag
* Key: "STRING_VALUE", // required
* Value: "STRING_VALUE", // required
* },
* ],
* ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* OutpostArn: "STRING_VALUE",
* PreferredInstanceType: "STRING_VALUE",
* Protocols: [ // ProtocolList
* "DoH" || "Do53" || "DoH-FIPS",
* ],
* };
* const command = new CreateResolverEndpointCommand(input);
* const response = await client.send(command);
Expand All @@ -96,9 +99,12 @@ export interface CreateResolverEndpointCommandOutput extends CreateResolverEndpo
* // StatusMessage: "STRING_VALUE",
* // CreationTime: "STRING_VALUE",
* // ModificationTime: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // OutpostArn: "STRING_VALUE",
* // PreferredInstanceType: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // Protocols: [ // ProtocolList
* // "DoH" || "Do53" || "DoH-FIPS",
* // ],
* // },
* // };
*
Expand All @@ -110,6 +116,9 @@ export interface CreateResolverEndpointCommandOutput extends CreateResolverEndpo
* @see {@link CreateResolverEndpointCommandOutput} for command's `response` shape.
* @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
*
* @throws {@link AccessDeniedException} (client fault)
* <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
*
* @throws {@link InternalServiceErrorException} (client fault)
* <p>We encountered an unknown error. Try again in a few minutes.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,13 @@ export interface CreateResolverRuleCommandOutput extends CreateResolverRuleRespo
* CreatorRequestId: "STRING_VALUE", // required
* Name: "STRING_VALUE",
* RuleType: "FORWARD" || "SYSTEM" || "RECURSIVE", // required
* DomainName: "STRING_VALUE", // required
* DomainName: "STRING_VALUE",
* TargetIps: [ // TargetList
* { // TargetAddress
* Ip: "STRING_VALUE",
* Port: Number("int"),
* Ipv6: "STRING_VALUE",
* Protocol: "DoH" || "Do53" || "DoH-FIPS",
* },
* ],
* ResolverEndpointId: "STRING_VALUE",
Expand Down Expand Up @@ -82,6 +83,7 @@ export interface CreateResolverRuleCommandOutput extends CreateResolverRuleRespo
* // Ip: "STRING_VALUE",
* // Port: Number("int"),
* // Ipv6: "STRING_VALUE",
* // Protocol: "DoH" || "Do53" || "DoH-FIPS",
* // },
* // ],
* // ResolverEndpointId: "STRING_VALUE",
Expand All @@ -100,6 +102,9 @@ export interface CreateResolverRuleCommandOutput extends CreateResolverRuleRespo
* @see {@link CreateResolverRuleCommandOutput} for command's `response` shape.
* @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
*
* @throws {@link AccessDeniedException} (client fault)
* <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
*
* @throws {@link InternalServiceErrorException} (client fault)
* <p>We encountered an unknown error. Try again in a few minutes.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export interface DeleteFirewallRuleGroupCommandOutput extends DeleteFirewallRule
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export interface DeleteOutpostResolverCommandOutput extends DeleteOutpostResolve
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,12 @@ export interface DeleteResolverEndpointCommandOutput extends DeleteResolverEndpo
* // StatusMessage: "STRING_VALUE",
* // CreationTime: "STRING_VALUE",
* // ModificationTime: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // OutpostArn: "STRING_VALUE",
* // PreferredInstanceType: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // Protocols: [ // ProtocolList
* // "DoH" || "Do53" || "DoH-FIPS",
* // ],
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export interface DeleteResolverRuleCommandOutput extends DeleteResolverRuleRespo
* // Ip: "STRING_VALUE",
* // Port: Number("int"),
* // Ipv6: "STRING_VALUE",
* // Protocol: "DoH" || "Do53" || "DoH-FIPS",
* // },
* // ],
* // ResolverEndpointId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export interface DisassociateFirewallRuleGroupCommandOutput
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,12 @@ export interface DisassociateResolverEndpointIpAddressCommandOutput
* // StatusMessage: "STRING_VALUE",
* // CreationTime: "STRING_VALUE",
* // ModificationTime: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // OutpostArn: "STRING_VALUE",
* // PreferredInstanceType: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // Protocols: [ // ProtocolList
* // "DoH" || "Do53" || "DoH-FIPS",
* // ],
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export interface GetFirewallConfigCommandOutput extends GetFirewallConfigRespons
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export interface GetFirewallRuleGroupPolicyCommandOutput extends GetFirewallRule
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export interface GetOutpostResolverCommandOutput extends GetOutpostResolverRespo
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface GetResolverConfigCommandOutput extends GetResolverConfigRespons
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,12 @@ export interface GetResolverEndpointCommandOutput extends GetResolverEndpointRes
* // StatusMessage: "STRING_VALUE",
* // CreationTime: "STRING_VALUE",
* // ModificationTime: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // OutpostArn: "STRING_VALUE",
* // PreferredInstanceType: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // Protocols: [ // ProtocolList
* // "DoH" || "Do53" || "DoH-FIPS",
* // ],
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export interface GetResolverRuleCommandOutput extends GetResolverRuleResponse, _
* // Ip: "STRING_VALUE",
* // Port: Number("int"),
* // Ipv6: "STRING_VALUE",
* // Protocol: "DoH" || "Do53" || "DoH-FIPS",
* // },
* // ],
* // ResolverEndpointId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export interface ImportFirewallDomainsCommandOutput extends ImportFirewallDomain
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export interface ListFirewallConfigsCommandOutput extends ListFirewallConfigsRes
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export interface ListFirewallDomainListsCommandOutput extends ListFirewallDomain
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export interface ListFirewallDomainsCommandOutput extends ListFirewallDomainsRes
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export interface ListFirewallRuleGroupAssociationsCommandOutput
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface ListFirewallRuleGroupsCommandOutput extends ListFirewallRuleGro
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export interface ListFirewallRulesCommandOutput extends ListFirewallRulesRespons
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export interface ListOutpostResolversCommandOutput extends ListOutpostResolversR
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export interface ListResolverConfigsCommandOutput extends ListResolverConfigsRes
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,12 @@ export interface ListResolverEndpointsCommandOutput extends ListResolverEndpoint
* // StatusMessage: "STRING_VALUE",
* // CreationTime: "STRING_VALUE",
* // ModificationTime: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // OutpostArn: "STRING_VALUE",
* // PreferredInstanceType: "STRING_VALUE",
* // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
* // Protocols: [ // ProtocolList
* // "DoH" || "Do53" || "DoH-FIPS",
* // ],
* // },
* // ],
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export interface ListResolverRulesCommandOutput extends ListResolverRulesRespons
* // Ip: "STRING_VALUE",
* // Port: Number("int"),
* // Ipv6: "STRING_VALUE",
* // Protocol: "DoH" || "Do53" || "DoH-FIPS",
* // },
* // ],
* // ResolverEndpointId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export interface PutFirewallRuleGroupPolicyCommandOutput extends PutFirewallRule
* <p>The request was throttled. Try again in a few minutes.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>You have provided an invalid command. Supported values are <code>ADD</code>,
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
*
* @throws {@link Route53ResolverServiceException}
Expand Down
Loading

0 comments on commit 5ef61b5

Please sign in to comment.