@aws-sdk/client-route53resolver 3.36.0 → 3.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Route53Resolver.js +0 -35
  3. package/dist-cjs/Route53ResolverClient.js +0 -40
  4. package/dist-cjs/commands/AssociateFirewallRuleGroupCommand.js +0 -24
  5. package/dist-cjs/commands/AssociateResolverEndpointIpAddressCommand.js +0 -28
  6. package/dist-cjs/commands/AssociateResolverQueryLogConfigCommand.js +0 -34
  7. package/dist-cjs/commands/AssociateResolverRuleCommand.js +0 -27
  8. package/dist-cjs/commands/CreateFirewallDomainListCommand.js +0 -24
  9. package/dist-cjs/commands/CreateFirewallRuleCommand.js +0 -24
  10. package/dist-cjs/commands/CreateFirewallRuleGroupCommand.js +0 -25
  11. package/dist-cjs/commands/CreateResolverEndpointCommand.js +0 -34
  12. package/dist-cjs/commands/CreateResolverQueryLogConfigCommand.js +0 -32
  13. package/dist-cjs/commands/CreateResolverRuleCommand.js +0 -25
  14. package/dist-cjs/commands/DeleteFirewallDomainListCommand.js +0 -24
  15. package/dist-cjs/commands/DeleteFirewallRuleCommand.js +0 -24
  16. package/dist-cjs/commands/DeleteFirewallRuleGroupCommand.js +0 -24
  17. package/dist-cjs/commands/DeleteResolverEndpointCommand.js +0 -36
  18. package/dist-cjs/commands/DeleteResolverQueryLogConfigCommand.js +0 -34
  19. package/dist-cjs/commands/DeleteResolverRuleCommand.js +0 -26
  20. package/dist-cjs/commands/DisassociateFirewallRuleGroupCommand.js +0 -24
  21. package/dist-cjs/commands/DisassociateResolverEndpointIpAddressCommand.js +0 -28
  22. package/dist-cjs/commands/DisassociateResolverQueryLogConfigCommand.js +0 -39
  23. package/dist-cjs/commands/DisassociateResolverRuleCommand.js +0 -28
  24. package/dist-cjs/commands/GetFirewallConfigCommand.js +0 -25
  25. package/dist-cjs/commands/GetFirewallDomainListCommand.js +0 -24
  26. package/dist-cjs/commands/GetFirewallRuleGroupAssociationCommand.js +0 -24
  27. package/dist-cjs/commands/GetFirewallRuleGroupCommand.js +0 -24
  28. package/dist-cjs/commands/GetFirewallRuleGroupPolicyCommand.js +0 -25
  29. package/dist-cjs/commands/GetResolverDnssecConfigCommand.js +0 -24
  30. package/dist-cjs/commands/GetResolverEndpointCommand.js +0 -25
  31. package/dist-cjs/commands/GetResolverQueryLogConfigAssociationCommand.js +0 -25
  32. package/dist-cjs/commands/GetResolverQueryLogConfigCommand.js +0 -25
  33. package/dist-cjs/commands/GetResolverQueryLogConfigPolicyCommand.js +0 -25
  34. package/dist-cjs/commands/GetResolverRuleAssociationCommand.js +0 -25
  35. package/dist-cjs/commands/GetResolverRuleCommand.js +0 -25
  36. package/dist-cjs/commands/GetResolverRulePolicyCommand.js +0 -25
  37. package/dist-cjs/commands/ImportFirewallDomainsCommand.js +0 -39
  38. package/dist-cjs/commands/ListFirewallConfigsCommand.js +0 -25
  39. package/dist-cjs/commands/ListFirewallDomainListsCommand.js +0 -25
  40. package/dist-cjs/commands/ListFirewallDomainsCommand.js +0 -25
  41. package/dist-cjs/commands/ListFirewallRuleGroupAssociationsCommand.js +0 -25
  42. package/dist-cjs/commands/ListFirewallRuleGroupsCommand.js +0 -25
  43. package/dist-cjs/commands/ListFirewallRulesCommand.js +0 -25
  44. package/dist-cjs/commands/ListResolverDnssecConfigsCommand.js +0 -24
  45. package/dist-cjs/commands/ListResolverEndpointIpAddressesCommand.js +0 -24
  46. package/dist-cjs/commands/ListResolverEndpointsCommand.js +0 -24
  47. package/dist-cjs/commands/ListResolverQueryLogConfigAssociationsCommand.js +0 -24
  48. package/dist-cjs/commands/ListResolverQueryLogConfigsCommand.js +0 -25
  49. package/dist-cjs/commands/ListResolverRuleAssociationsCommand.js +0 -24
  50. package/dist-cjs/commands/ListResolverRulesCommand.js +0 -24
  51. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  52. package/dist-cjs/commands/PutFirewallRuleGroupPolicyCommand.js +0 -26
  53. package/dist-cjs/commands/PutResolverQueryLogConfigPolicyCommand.js +0 -25
  54. package/dist-cjs/commands/PutResolverRulePolicyCommand.js +0 -25
  55. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  56. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  57. package/dist-cjs/commands/UpdateFirewallConfigCommand.js +0 -25
  58. package/dist-cjs/commands/UpdateFirewallDomainsCommand.js +0 -24
  59. package/dist-cjs/commands/UpdateFirewallRuleCommand.js +0 -24
  60. package/dist-cjs/commands/UpdateFirewallRuleGroupAssociationCommand.js +0 -24
  61. package/dist-cjs/commands/UpdateResolverDnssecConfigCommand.js +0 -24
  62. package/dist-cjs/commands/UpdateResolverEndpointCommand.js +0 -24
  63. package/dist-cjs/commands/UpdateResolverRuleCommand.js +0 -25
  64. package/dist-cjs/models/models_0.js +0 -468
  65. package/dist-cjs/pagination/ListFirewallConfigsPaginator.js +0 -10
  66. package/dist-cjs/pagination/ListFirewallDomainListsPaginator.js +0 -10
  67. package/dist-cjs/pagination/ListFirewallDomainsPaginator.js +0 -10
  68. package/dist-cjs/pagination/ListFirewallRuleGroupAssociationsPaginator.js +0 -10
  69. package/dist-cjs/pagination/ListFirewallRuleGroupsPaginator.js +0 -10
  70. package/dist-cjs/pagination/ListFirewallRulesPaginator.js +0 -10
  71. package/dist-cjs/pagination/ListResolverDnssecConfigsPaginator.js +0 -10
  72. package/dist-cjs/pagination/ListResolverEndpointIpAddressesPaginator.js +0 -10
  73. package/dist-cjs/pagination/ListResolverEndpointsPaginator.js +0 -10
  74. package/dist-cjs/pagination/ListResolverQueryLogConfigAssociationsPaginator.js +0 -10
  75. package/dist-cjs/pagination/ListResolverQueryLogConfigsPaginator.js +0 -10
  76. package/dist-cjs/pagination/ListResolverRuleAssociationsPaginator.js +0 -10
  77. package/dist-cjs/pagination/ListResolverRulesPaginator.js +0 -10
  78. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -10
  79. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  80. package/dist-cjs/runtimeConfig.browser.js +1 -5
  81. package/dist-cjs/runtimeConfig.js +1 -5
  82. package/dist-cjs/runtimeConfig.native.js +0 -3
  83. package/dist-cjs/runtimeConfig.shared.js +0 -3
  84. package/dist-types/ts3.4/Route53Resolver.d.ts +61 -336
  85. package/dist-types/ts3.4/Route53ResolverClient.d.ts +24 -121
  86. package/dist-types/ts3.4/commands/AssociateFirewallRuleGroupCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/AssociateResolverEndpointIpAddressCommand.d.ts +2 -24
  88. package/dist-types/ts3.4/commands/AssociateResolverQueryLogConfigCommand.d.ts +2 -30
  89. package/dist-types/ts3.4/commands/AssociateResolverRuleCommand.d.ts +2 -23
  90. package/dist-types/ts3.4/commands/CreateFirewallDomainListCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/CreateFirewallRuleCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/CreateFirewallRuleGroupCommand.d.ts +2 -21
  93. package/dist-types/ts3.4/commands/CreateResolverEndpointCommand.d.ts +2 -30
  94. package/dist-types/ts3.4/commands/CreateResolverQueryLogConfigCommand.d.ts +2 -28
  95. package/dist-types/ts3.4/commands/CreateResolverRuleCommand.d.ts +2 -21
  96. package/dist-types/ts3.4/commands/DeleteFirewallDomainListCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DeleteFirewallRuleCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/DeleteFirewallRuleGroupCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/DeleteResolverEndpointCommand.d.ts +2 -32
  100. package/dist-types/ts3.4/commands/DeleteResolverQueryLogConfigCommand.d.ts +2 -30
  101. package/dist-types/ts3.4/commands/DeleteResolverRuleCommand.d.ts +2 -22
  102. package/dist-types/ts3.4/commands/DisassociateFirewallRuleGroupCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/DisassociateResolverEndpointIpAddressCommand.d.ts +2 -24
  104. package/dist-types/ts3.4/commands/DisassociateResolverQueryLogConfigCommand.d.ts +2 -35
  105. package/dist-types/ts3.4/commands/DisassociateResolverRuleCommand.d.ts +2 -24
  106. package/dist-types/ts3.4/commands/GetFirewallConfigCommand.d.ts +2 -21
  107. package/dist-types/ts3.4/commands/GetFirewallDomainListCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/GetFirewallRuleGroupAssociationCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/GetFirewallRuleGroupCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/GetFirewallRuleGroupPolicyCommand.d.ts +2 -21
  111. package/dist-types/ts3.4/commands/GetResolverDnssecConfigCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/GetResolverEndpointCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/GetResolverQueryLogConfigAssociationCommand.d.ts +2 -21
  114. package/dist-types/ts3.4/commands/GetResolverQueryLogConfigCommand.d.ts +2 -21
  115. package/dist-types/ts3.4/commands/GetResolverQueryLogConfigPolicyCommand.d.ts +2 -21
  116. package/dist-types/ts3.4/commands/GetResolverRuleAssociationCommand.d.ts +2 -21
  117. package/dist-types/ts3.4/commands/GetResolverRuleCommand.d.ts +2 -21
  118. package/dist-types/ts3.4/commands/GetResolverRulePolicyCommand.d.ts +2 -21
  119. package/dist-types/ts3.4/commands/ImportFirewallDomainsCommand.d.ts +2 -35
  120. package/dist-types/ts3.4/commands/ListFirewallConfigsCommand.d.ts +2 -21
  121. package/dist-types/ts3.4/commands/ListFirewallDomainListsCommand.d.ts +2 -21
  122. package/dist-types/ts3.4/commands/ListFirewallDomainsCommand.d.ts +2 -21
  123. package/dist-types/ts3.4/commands/ListFirewallRuleGroupAssociationsCommand.d.ts +2 -21
  124. package/dist-types/ts3.4/commands/ListFirewallRuleGroupsCommand.d.ts +2 -21
  125. package/dist-types/ts3.4/commands/ListFirewallRulesCommand.d.ts +2 -21
  126. package/dist-types/ts3.4/commands/ListResolverDnssecConfigsCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/ListResolverEndpointIpAddressesCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/ListResolverEndpointsCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/ListResolverQueryLogConfigAssociationsCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/ListResolverQueryLogConfigsCommand.d.ts +2 -21
  131. package/dist-types/ts3.4/commands/ListResolverRuleAssociationsCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/ListResolverRulesCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/PutFirewallRuleGroupPolicyCommand.d.ts +2 -22
  135. package/dist-types/ts3.4/commands/PutResolverQueryLogConfigPolicyCommand.d.ts +2 -21
  136. package/dist-types/ts3.4/commands/PutResolverRulePolicyCommand.d.ts +2 -21
  137. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/UpdateFirewallConfigCommand.d.ts +2 -21
  140. package/dist-types/ts3.4/commands/UpdateFirewallDomainsCommand.d.ts +2 -20
  141. package/dist-types/ts3.4/commands/UpdateFirewallRuleCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/UpdateFirewallRuleGroupAssociationCommand.d.ts +2 -20
  143. package/dist-types/ts3.4/commands/UpdateResolverDnssecConfigCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/UpdateResolverEndpointCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/UpdateResolverRuleCommand.d.ts +2 -21
  146. package/dist-types/ts3.4/models/models_0.d.ts +580 -2904
  147. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  148. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  149. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  150. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  151. package/package.json +3 -3
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends on whether it's an inbound or an outbound
10
- * Resolver endpoint:</p>
11
- * <ul>
12
- * <li>
13
- * <p>
14
- * <b>Inbound</b>: DNS queries from your network are no longer routed
15
- * to the DNS service for the specified VPC.</p>
16
- * </li>
17
- * <li>
18
- * <p>
19
- * <b>Outbound</b>: DNS queries from a VPC are no longer routed to your network.</p>
20
- * </li>
21
- * </ul>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { Route53ResolverClient, DeleteResolverEndpointCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
26
- * // const { Route53ResolverClient, DeleteResolverEndpointCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
27
- * const client = new Route53ResolverClient(config);
28
- * const command = new DeleteResolverEndpointCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link DeleteResolverEndpointCommandInput} for command's `input` shape.
33
- * @see {@link DeleteResolverEndpointCommandOutput} for command's `response` shape.
34
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class DeleteResolverEndpointCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are
10
- * associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and
11
- * the other accounts have associated VPCs with the shared configuration.</p>
12
- *
13
- * <p>Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See
14
- * <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverQueryLogConfig.html">DisassociateResolverQueryLogConfig</a>.</p>
15
- *
16
- * <p>If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing
17
- * the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs
18
- * that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically
19
- * disassociated from the configuration.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { Route53ResolverClient, DeleteResolverQueryLogConfigCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
24
- * // const { Route53ResolverClient, DeleteResolverQueryLogConfigCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
25
- * const client = new Route53ResolverClient(config);
26
- * const command = new DeleteResolverQueryLogConfigCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link DeleteResolverQueryLogConfigCommandInput} for command's `input` shape.
31
- * @see {@link DeleteResolverQueryLogConfigCommandOutput} for command's `response` shape.
32
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class DeleteResolverQueryLogConfigCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes a Resolver rule. Before you can delete a Resolver rule, you must disassociate it from all the VPCs that you
10
- * associated the Resolver rule with. For more information, see
11
- * <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html">DisassociateResolverRule</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { Route53ResolverClient, DeleteResolverRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
16
- * // const { Route53ResolverClient, DeleteResolverRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
17
- * const client = new Route53ResolverClient(config);
18
- * const command = new DeleteResolverRuleCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteResolverRuleCommandInput} for command's `input` shape.
23
- * @see {@link DeleteResolverRuleCommandOutput} for command's `response` shape.
24
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteResolverRuleCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Disassociates a <a>FirewallRuleGroup</a> from a VPC, to remove DNS filtering from the VPC. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { Route53ResolverClient, DisassociateFirewallRuleGroupCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
14
- * // const { Route53ResolverClient, DisassociateFirewallRuleGroupCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
15
- * const client = new Route53ResolverClient(config);
16
- * const command = new DisassociateFirewallRuleGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DisassociateFirewallRuleGroupCommandInput} for command's `input` shape.
21
- * @see {@link DisassociateFirewallRuleGroupCommandOutput} for command's `response` shape.
22
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DisassociateFirewallRuleGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Removes IP addresses from an inbound or an outbound Resolver endpoint. If you want to remove more than one IP address,
10
- * submit one <code>DisassociateResolverEndpointIpAddress</code> request for each IP address.</p>
11
- * <p>To add an IP address to an endpoint, see
12
- * <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverEndpointIpAddress.html">AssociateResolverEndpointIpAddress</a>.
13
- * </p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { Route53ResolverClient, DisassociateResolverEndpointIpAddressCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
18
- * // const { Route53ResolverClient, DisassociateResolverEndpointIpAddressCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
19
- * const client = new Route53ResolverClient(config);
20
- * const command = new DisassociateResolverEndpointIpAddressCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DisassociateResolverEndpointIpAddressCommandInput} for command's `input` shape.
25
- * @see {@link DisassociateResolverEndpointIpAddressCommandOutput} for command's `response` shape.
26
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DisassociateResolverEndpointIpAddressCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,50 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Disassociates a VPC from a query logging configuration.</p>
10
- *
11
- * <note>
12
- * <p>Before you can delete a query logging configuration, you must first disassociate all VPCs
13
- * from the configuration. If you used Resource Access Manager (RAM) to share a
14
- * query logging configuration with other accounts, VPCs can be disassociated from the
15
- * configuration in the following ways:</p>
16
- * <ul>
17
- * <li>
18
- * <p>The accounts that you shared the configuration with can disassociate VPCs from the configuration.</p>
19
- * </li>
20
- * <li>
21
- * <p>You can stop sharing the configuration.</p>
22
- * </li>
23
- * </ul>
24
- * </note>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { Route53ResolverClient, DisassociateResolverQueryLogConfigCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
29
- * // const { Route53ResolverClient, DisassociateResolverQueryLogConfigCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
30
- * const client = new Route53ResolverClient(config);
31
- * const command = new DisassociateResolverQueryLogConfigCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DisassociateResolverQueryLogConfigCommandInput} for command's `input` shape.
36
- * @see {@link DisassociateResolverQueryLogConfigCommandOutput} for command's `response` shape.
37
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
8
  class DisassociateResolverQueryLogConfigCommand extends smithy_client_1.Command {
41
- // Start section: command_properties
42
- // End section: command_properties
43
9
  constructor(input) {
44
- // Start section: command_constructor
45
10
  super();
46
11
  this.input = input;
47
- // End section: command_constructor
48
12
  }
49
- /**
50
- * @internal
51
- */
52
13
  resolveMiddleware(clientStack, configuration, options) {
53
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
54
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Removes the association between a specified Resolver rule and a specified VPC.</p>
10
- * <important>
11
- * <p>If you disassociate a Resolver rule from a VPC, Resolver stops forwarding DNS queries for the
12
- * domain name that you specified in the Resolver rule. </p>
13
- * </important>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { Route53ResolverClient, DisassociateResolverRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
18
- * // const { Route53ResolverClient, DisassociateResolverRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
19
- * const client = new Route53ResolverClient(config);
20
- * const command = new DisassociateResolverRuleCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DisassociateResolverRuleCommandInput} for command's `input` shape.
25
- * @see {@link DisassociateResolverRuleCommandOutput} for command's `response` shape.
26
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DisassociateResolverRuleCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Retrieves the configuration of the firewall behavior provided by DNS Firewall for a
10
- * single VPC from Amazon Virtual Private Cloud (Amazon VPC). </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { Route53ResolverClient, GetFirewallConfigCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
15
- * // const { Route53ResolverClient, GetFirewallConfigCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
16
- * const client = new Route53ResolverClient(config);
17
- * const command = new GetFirewallConfigCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetFirewallConfigCommandInput} for command's `input` shape.
22
- * @see {@link GetFirewallConfigCommandOutput} for command's `response` shape.
23
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetFirewallConfigCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Retrieves the specified firewall domain list.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { Route53ResolverClient, GetFirewallDomainListCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
14
- * // const { Route53ResolverClient, GetFirewallDomainListCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
15
- * const client = new Route53ResolverClient(config);
16
- * const command = new GetFirewallDomainListCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetFirewallDomainListCommandInput} for command's `input` shape.
21
- * @see {@link GetFirewallDomainListCommandOutput} for command's `response` shape.
22
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetFirewallDomainListCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { Route53ResolverClient, GetFirewallRuleGroupAssociationCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
14
- * // const { Route53ResolverClient, GetFirewallRuleGroupAssociationCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
15
- * const client = new Route53ResolverClient(config);
16
- * const command = new GetFirewallRuleGroupAssociationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetFirewallRuleGroupAssociationCommandInput} for command's `input` shape.
21
- * @see {@link GetFirewallRuleGroupAssociationCommandOutput} for command's `response` shape.
22
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetFirewallRuleGroupAssociationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Retrieves the specified firewall rule group. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { Route53ResolverClient, GetFirewallRuleGroupCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
14
- * // const { Route53ResolverClient, GetFirewallRuleGroupCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
15
- * const client = new Route53ResolverClient(config);
16
- * const command = new GetFirewallRuleGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetFirewallRuleGroupCommandInput} for command's `input` shape.
21
- * @see {@link GetFirewallRuleGroupCommandOutput} for command's `response` shape.
22
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetFirewallRuleGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the
10
- * specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM). </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { Route53ResolverClient, GetFirewallRuleGroupPolicyCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
15
- * // const { Route53ResolverClient, GetFirewallRuleGroupPolicyCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
16
- * const client = new Route53ResolverClient(config);
17
- * const command = new GetFirewallRuleGroupPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetFirewallRuleGroupPolicyCommandInput} for command's `input` shape.
22
- * @see {@link GetFirewallRuleGroupPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetFirewallRuleGroupPolicyCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets DNSSEC validation information for a specified resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { Route53ResolverClient, GetResolverDnssecConfigCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
14
- * // const { Route53ResolverClient, GetResolverDnssecConfigCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
15
- * const client = new Route53ResolverClient(config);
16
- * const command = new GetResolverDnssecConfigCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetResolverDnssecConfigCommandInput} for command's `input` shape.
21
- * @see {@link GetResolverDnssecConfigCommandOutput} for command's `response` shape.
22
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetResolverDnssecConfigCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about a specified Resolver endpoint, such as whether it's an inbound or an outbound Resolver endpoint, and the
10
- * current status of the endpoint.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { Route53ResolverClient, GetResolverEndpointCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
15
- * // const { Route53ResolverClient, GetResolverEndpointCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
16
- * const client = new Route53ResolverClient(config);
17
- * const command = new GetResolverEndpointCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetResolverEndpointCommandInput} for command's `input` shape.
22
- * @see {@link GetResolverEndpointCommandOutput} for command's `response` shape.
23
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetResolverEndpointCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC. When you associate a VPC
10
- * with a query logging configuration, Resolver logs DNS queries that originate in that VPC.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { Route53ResolverClient, GetResolverQueryLogConfigAssociationCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
15
- * // const { Route53ResolverClient, GetResolverQueryLogConfigAssociationCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
16
- * const client = new Route53ResolverClient(config);
17
- * const command = new GetResolverQueryLogConfigAssociationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetResolverQueryLogConfigAssociationCommandInput} for command's `input` shape.
22
- * @see {@link GetResolverQueryLogConfigAssociationCommandOutput} for command's `response` shape.
23
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetResolverQueryLogConfigAssociationCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration
10
- * is logging queries for and the location that logs are sent to. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { Route53ResolverClient, GetResolverQueryLogConfigCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
15
- * // const { Route53ResolverClient, GetResolverQueryLogConfigCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
16
- * const client = new Route53ResolverClient(config);
17
- * const command = new GetResolverQueryLogConfigCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetResolverQueryLogConfigCommandInput} for command's `input` shape.
22
- * @see {@link GetResolverQueryLogConfigCommandOutput} for command's `response` shape.
23
- * @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetResolverQueryLogConfigCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);