@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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/Route53Resolver.js +0 -35
- package/dist-cjs/Route53ResolverClient.js +0 -40
- package/dist-cjs/commands/AssociateFirewallRuleGroupCommand.js +0 -24
- package/dist-cjs/commands/AssociateResolverEndpointIpAddressCommand.js +0 -28
- package/dist-cjs/commands/AssociateResolverQueryLogConfigCommand.js +0 -34
- package/dist-cjs/commands/AssociateResolverRuleCommand.js +0 -27
- package/dist-cjs/commands/CreateFirewallDomainListCommand.js +0 -24
- package/dist-cjs/commands/CreateFirewallRuleCommand.js +0 -24
- package/dist-cjs/commands/CreateFirewallRuleGroupCommand.js +0 -25
- package/dist-cjs/commands/CreateResolverEndpointCommand.js +0 -34
- package/dist-cjs/commands/CreateResolverQueryLogConfigCommand.js +0 -32
- package/dist-cjs/commands/CreateResolverRuleCommand.js +0 -25
- package/dist-cjs/commands/DeleteFirewallDomainListCommand.js +0 -24
- package/dist-cjs/commands/DeleteFirewallRuleCommand.js +0 -24
- package/dist-cjs/commands/DeleteFirewallRuleGroupCommand.js +0 -24
- package/dist-cjs/commands/DeleteResolverEndpointCommand.js +0 -36
- package/dist-cjs/commands/DeleteResolverQueryLogConfigCommand.js +0 -34
- package/dist-cjs/commands/DeleteResolverRuleCommand.js +0 -26
- package/dist-cjs/commands/DisassociateFirewallRuleGroupCommand.js +0 -24
- package/dist-cjs/commands/DisassociateResolverEndpointIpAddressCommand.js +0 -28
- package/dist-cjs/commands/DisassociateResolverQueryLogConfigCommand.js +0 -39
- package/dist-cjs/commands/DisassociateResolverRuleCommand.js +0 -28
- package/dist-cjs/commands/GetFirewallConfigCommand.js +0 -25
- package/dist-cjs/commands/GetFirewallDomainListCommand.js +0 -24
- package/dist-cjs/commands/GetFirewallRuleGroupAssociationCommand.js +0 -24
- package/dist-cjs/commands/GetFirewallRuleGroupCommand.js +0 -24
- package/dist-cjs/commands/GetFirewallRuleGroupPolicyCommand.js +0 -25
- package/dist-cjs/commands/GetResolverDnssecConfigCommand.js +0 -24
- package/dist-cjs/commands/GetResolverEndpointCommand.js +0 -25
- package/dist-cjs/commands/GetResolverQueryLogConfigAssociationCommand.js +0 -25
- package/dist-cjs/commands/GetResolverQueryLogConfigCommand.js +0 -25
- package/dist-cjs/commands/GetResolverQueryLogConfigPolicyCommand.js +0 -25
- package/dist-cjs/commands/GetResolverRuleAssociationCommand.js +0 -25
- package/dist-cjs/commands/GetResolverRuleCommand.js +0 -25
- package/dist-cjs/commands/GetResolverRulePolicyCommand.js +0 -25
- package/dist-cjs/commands/ImportFirewallDomainsCommand.js +0 -39
- package/dist-cjs/commands/ListFirewallConfigsCommand.js +0 -25
- package/dist-cjs/commands/ListFirewallDomainListsCommand.js +0 -25
- package/dist-cjs/commands/ListFirewallDomainsCommand.js +0 -25
- package/dist-cjs/commands/ListFirewallRuleGroupAssociationsCommand.js +0 -25
- package/dist-cjs/commands/ListFirewallRuleGroupsCommand.js +0 -25
- package/dist-cjs/commands/ListFirewallRulesCommand.js +0 -25
- package/dist-cjs/commands/ListResolverDnssecConfigsCommand.js +0 -24
- package/dist-cjs/commands/ListResolverEndpointIpAddressesCommand.js +0 -24
- package/dist-cjs/commands/ListResolverEndpointsCommand.js +0 -24
- package/dist-cjs/commands/ListResolverQueryLogConfigAssociationsCommand.js +0 -24
- package/dist-cjs/commands/ListResolverQueryLogConfigsCommand.js +0 -25
- package/dist-cjs/commands/ListResolverRuleAssociationsCommand.js +0 -24
- package/dist-cjs/commands/ListResolverRulesCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/PutFirewallRuleGroupPolicyCommand.js +0 -26
- package/dist-cjs/commands/PutResolverQueryLogConfigPolicyCommand.js +0 -25
- package/dist-cjs/commands/PutResolverRulePolicyCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateFirewallConfigCommand.js +0 -25
- package/dist-cjs/commands/UpdateFirewallDomainsCommand.js +0 -24
- package/dist-cjs/commands/UpdateFirewallRuleCommand.js +0 -24
- package/dist-cjs/commands/UpdateFirewallRuleGroupAssociationCommand.js +0 -24
- package/dist-cjs/commands/UpdateResolverDnssecConfigCommand.js +0 -24
- package/dist-cjs/commands/UpdateResolverEndpointCommand.js +0 -24
- package/dist-cjs/commands/UpdateResolverRuleCommand.js +0 -25
- package/dist-cjs/models/models_0.js +0 -468
- package/dist-cjs/pagination/ListFirewallConfigsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFirewallDomainListsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFirewallDomainsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFirewallRuleGroupAssociationsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFirewallRuleGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFirewallRulesPaginator.js +0 -10
- package/dist-cjs/pagination/ListResolverDnssecConfigsPaginator.js +0 -10
- package/dist-cjs/pagination/ListResolverEndpointIpAddressesPaginator.js +0 -10
- package/dist-cjs/pagination/ListResolverEndpointsPaginator.js +0 -10
- package/dist-cjs/pagination/ListResolverQueryLogConfigAssociationsPaginator.js +0 -10
- package/dist-cjs/pagination/ListResolverQueryLogConfigsPaginator.js +0 -10
- package/dist-cjs/pagination/ListResolverRuleAssociationsPaginator.js +0 -10
- package/dist-cjs/pagination/ListResolverRulesPaginator.js +0 -10
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -10
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/Route53Resolver.d.ts +61 -336
- package/dist-types/ts3.4/Route53ResolverClient.d.ts +24 -121
- package/dist-types/ts3.4/commands/AssociateFirewallRuleGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AssociateResolverEndpointIpAddressCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/AssociateResolverQueryLogConfigCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/AssociateResolverRuleCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateFirewallDomainListCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFirewallRuleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFirewallRuleGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateResolverEndpointCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreateResolverQueryLogConfigCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateResolverRuleCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteFirewallDomainListCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFirewallRuleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFirewallRuleGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteResolverEndpointCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeleteResolverQueryLogConfigCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/DeleteResolverRuleCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DisassociateFirewallRuleGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateResolverEndpointIpAddressCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DisassociateResolverQueryLogConfigCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/DisassociateResolverRuleCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetFirewallConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetFirewallDomainListCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFirewallRuleGroupAssociationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFirewallRuleGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFirewallRuleGroupPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetResolverDnssecConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetResolverEndpointCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetResolverQueryLogConfigAssociationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetResolverQueryLogConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetResolverQueryLogConfigPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetResolverRuleAssociationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetResolverRuleCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetResolverRulePolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ImportFirewallDomainsCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/ListFirewallConfigsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListFirewallDomainListsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListFirewallDomainsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListFirewallRuleGroupAssociationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListFirewallRuleGroupsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListFirewallRulesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListResolverDnssecConfigsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResolverEndpointIpAddressesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResolverEndpointsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResolverQueryLogConfigAssociationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResolverQueryLogConfigsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListResolverRuleAssociationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResolverRulesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutFirewallRuleGroupPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutResolverQueryLogConfigPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/PutResolverRulePolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFirewallConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateFirewallDomainsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFirewallRuleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFirewallRuleGroupAssociationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateResolverDnssecConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateResolverEndpointCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateResolverRuleCommand.d.ts +2 -21
- package/dist-types/ts3.4/models/models_0.d.ts +580 -2904
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -62,41 +62,6 @@ const UpdateResolverDnssecConfigCommand_1 = require("./commands/UpdateResolverDn
|
|
|
62
62
|
const UpdateResolverEndpointCommand_1 = require("./commands/UpdateResolverEndpointCommand");
|
|
63
63
|
const UpdateResolverRuleCommand_1 = require("./commands/UpdateResolverRuleCommand");
|
|
64
64
|
const Route53ResolverClient_1 = require("./Route53ResolverClient");
|
|
65
|
-
/**
|
|
66
|
-
* <p>When you create a VPC using Amazon VPC, you automatically get DNS resolution within the VPC
|
|
67
|
-
* from Route 53 Resolver. By default, Resolver answers DNS queries for VPC domain names
|
|
68
|
-
* such as domain names for EC2 instances or Elastic Load Balancing load balancers.
|
|
69
|
-
* Resolver performs recursive lookups against public name servers for all other domain
|
|
70
|
-
* names.</p>
|
|
71
|
-
*
|
|
72
|
-
* <p>You can also configure DNS resolution between your VPC and your network over a Direct Connect or VPN connection:</p>
|
|
73
|
-
*
|
|
74
|
-
* <p>
|
|
75
|
-
* <b>Forward DNS queries from resolvers on your network to Route 53 Resolver</b>
|
|
76
|
-
* </p>
|
|
77
|
-
*
|
|
78
|
-
* <p>DNS resolvers on your network can forward DNS queries to Resolver in a specified VPC. This allows your DNS resolvers
|
|
79
|
-
* to easily resolve domain names for Amazon Web Services resources such as EC2 instances or records in a Route 53 private hosted zone.
|
|
80
|
-
* For more information, see
|
|
81
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html#resolver-overview-forward-network-to-vpc">How DNS Resolvers
|
|
82
|
-
* on Your Network Forward DNS Queries to Route 53 Resolver</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
83
|
-
*
|
|
84
|
-
* <p>
|
|
85
|
-
* <b>Conditionally forward queries from a VPC to resolvers on your network</b>
|
|
86
|
-
* </p>
|
|
87
|
-
*
|
|
88
|
-
* <p>You can configure Resolver to forward queries that it receives from EC2 instances in your VPCs to DNS resolvers on your network.
|
|
89
|
-
* To forward selected queries, you create Resolver rules that specify the domain names for the DNS queries that you want to forward
|
|
90
|
-
* (such as example.com), and the IP addresses of the DNS resolvers on your network that you want to forward the queries to.
|
|
91
|
-
* If a query matches multiple rules (example.com, acme.example.com), Resolver chooses the rule with the most specific match
|
|
92
|
-
* (acme.example.com) and forwards the query to the IP addresses that you specified in that rule. For more information, see
|
|
93
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html#resolver-overview-forward-vpc-to-network">How Route 53 Resolver
|
|
94
|
-
* Forwards DNS Queries from Your VPCs to Your Network</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
95
|
-
*
|
|
96
|
-
* <p>Like Amazon VPC, Resolver is Regional. In each Region where you have VPCs, you can choose
|
|
97
|
-
* whether to forward queries from your VPCs to your network (outbound queries), from your
|
|
98
|
-
* network to your VPCs (inbound queries), or both.</p>
|
|
99
|
-
*/
|
|
100
65
|
class Route53Resolver extends Route53ResolverClient_1.Route53ResolverClient {
|
|
101
66
|
associateFirewallRuleGroup(args, optionsOrCb, cb) {
|
|
102
67
|
const command = new AssociateFirewallRuleGroupCommand_1.AssociateFirewallRuleGroupCommand(args);
|
|
@@ -10,41 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>When you create a VPC using Amazon VPC, you automatically get DNS resolution within the VPC
|
|
15
|
-
* from Route 53 Resolver. By default, Resolver answers DNS queries for VPC domain names
|
|
16
|
-
* such as domain names for EC2 instances or Elastic Load Balancing load balancers.
|
|
17
|
-
* Resolver performs recursive lookups against public name servers for all other domain
|
|
18
|
-
* names.</p>
|
|
19
|
-
*
|
|
20
|
-
* <p>You can also configure DNS resolution between your VPC and your network over a Direct Connect or VPN connection:</p>
|
|
21
|
-
*
|
|
22
|
-
* <p>
|
|
23
|
-
* <b>Forward DNS queries from resolvers on your network to Route 53 Resolver</b>
|
|
24
|
-
* </p>
|
|
25
|
-
*
|
|
26
|
-
* <p>DNS resolvers on your network can forward DNS queries to Resolver in a specified VPC. This allows your DNS resolvers
|
|
27
|
-
* to easily resolve domain names for Amazon Web Services resources such as EC2 instances or records in a Route 53 private hosted zone.
|
|
28
|
-
* For more information, see
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html#resolver-overview-forward-network-to-vpc">How DNS Resolvers
|
|
30
|
-
* on Your Network Forward DNS Queries to Route 53 Resolver</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
31
|
-
*
|
|
32
|
-
* <p>
|
|
33
|
-
* <b>Conditionally forward queries from a VPC to resolvers on your network</b>
|
|
34
|
-
* </p>
|
|
35
|
-
*
|
|
36
|
-
* <p>You can configure Resolver to forward queries that it receives from EC2 instances in your VPCs to DNS resolvers on your network.
|
|
37
|
-
* To forward selected queries, you create Resolver rules that specify the domain names for the DNS queries that you want to forward
|
|
38
|
-
* (such as example.com), and the IP addresses of the DNS resolvers on your network that you want to forward the queries to.
|
|
39
|
-
* If a query matches multiple rules (example.com, acme.example.com), Resolver chooses the rule with the most specific match
|
|
40
|
-
* (acme.example.com) and forwards the query to the IP addresses that you specified in that rule. For more information, see
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html#resolver-overview-forward-vpc-to-network">How Route 53 Resolver
|
|
42
|
-
* Forwards DNS Queries from Your VPCs to Your Network</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
43
|
-
*
|
|
44
|
-
* <p>Like Amazon VPC, Resolver is Regional. In each Region where you have VPCs, you can choose
|
|
45
|
-
* whether to forward queries from your VPCs to your network (outbound queries), from your
|
|
46
|
-
* network to your VPCs (inbound queries), or both.</p>
|
|
47
|
-
*/
|
|
48
13
|
class Route53ResolverClient extends smithy_client_1.Client {
|
|
49
14
|
constructor(configuration) {
|
|
50
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -63,11 +28,6 @@ class Route53ResolverClient extends smithy_client_1.Client {
|
|
|
63
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
64
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
65
30
|
}
|
|
66
|
-
/**
|
|
67
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
68
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
69
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
70
|
-
*/
|
|
71
31
|
destroy() {
|
|
72
32
|
super.destroy();
|
|
73
33
|
}
|
|
@@ -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>Associates a <a>FirewallRuleGroup</a> with a VPC, to provide DNS filtering for 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, AssociateFirewallRuleGroupCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
14
|
-
* // const { Route53ResolverClient, AssociateFirewallRuleGroupCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
15
|
-
* const client = new Route53ResolverClient(config);
|
|
16
|
-
* const command = new AssociateFirewallRuleGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link AssociateFirewallRuleGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link AssociateFirewallRuleGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class AssociateFirewallRuleGroupCommand 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>Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address,
|
|
10
|
-
* submit one <code>AssociateResolverEndpointIpAddress</code> request for each IP address.</p>
|
|
11
|
-
* <p>To remove an IP address from an endpoint, see
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverEndpointIpAddress.html">DisassociateResolverEndpointIpAddress</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, AssociateResolverEndpointIpAddressCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
18
|
-
* // const { Route53ResolverClient, AssociateResolverEndpointIpAddressCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
19
|
-
* const client = new Route53ResolverClient(config);
|
|
20
|
-
* const command = new AssociateResolverEndpointIpAddressCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link AssociateResolverEndpointIpAddressCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link AssociateResolverEndpointIpAddressCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class AssociateResolverEndpointIpAddressCommand 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,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>Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs
|
|
10
|
-
* that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one <code>AssociateResolverQueryLogConfig</code>
|
|
11
|
-
* request for each VPC.</p>
|
|
12
|
-
*
|
|
13
|
-
* <note>
|
|
14
|
-
* <p>The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
*
|
|
17
|
-
* <p>To remove a VPC from a query logging configuration, see
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverQueryLogConfig.html">DisassociateResolverQueryLogConfig</a>.
|
|
19
|
-
* </p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { Route53ResolverClient, AssociateResolverQueryLogConfigCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
24
|
-
* // const { Route53ResolverClient, AssociateResolverQueryLogConfigCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
25
|
-
* const client = new Route53ResolverClient(config);
|
|
26
|
-
* const command = new AssociateResolverQueryLogConfigCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link AssociateResolverQueryLogConfigCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link AssociateResolverQueryLogConfigCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
8
|
class AssociateResolverQueryLogConfigCommand 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,38 +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>Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries
|
|
10
|
-
* for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the
|
|
11
|
-
* IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html">CreateResolverRule</a>. </p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { Route53ResolverClient, AssociateResolverRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
17
|
-
* // const { Route53ResolverClient, AssociateResolverRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
18
|
-
* const client = new Route53ResolverClient(config);
|
|
19
|
-
* const command = new AssociateResolverRuleCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link AssociateResolverRuleCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link AssociateResolverRuleCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class AssociateResolverRuleCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
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>Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using <a>ImportFirewallDomains</a>, or with domain strings, using <a>UpdateFirewallDomains</a>. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { Route53ResolverClient, CreateFirewallDomainListCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
14
|
-
* // const { Route53ResolverClient, CreateFirewallDomainListCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
15
|
-
* const client = new Route53ResolverClient(config);
|
|
16
|
-
* const command = new CreateFirewallDomainListCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateFirewallDomainListCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateFirewallDomainListCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateFirewallDomainListCommand 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>Creates a single DNS Firewall rule in the specified rule group, using the specified 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, CreateFirewallRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
14
|
-
* // const { Route53ResolverClient, CreateFirewallRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
15
|
-
* const client = new Route53ResolverClient(config);
|
|
16
|
-
* const command = new CreateFirewallRuleCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateFirewallRuleCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateFirewallRuleCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateFirewallRuleCommand 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>Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group
|
|
10
|
-
* by calling <a>CreateFirewallRule</a>. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { Route53ResolverClient, CreateFirewallRuleGroupCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
15
|
-
* // const { Route53ResolverClient, CreateFirewallRuleGroupCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
16
|
-
* const client = new Route53ResolverClient(config);
|
|
17
|
-
* const command = new CreateFirewallRuleGroupCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateFirewallRuleGroupCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateFirewallRuleGroupCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateFirewallRuleGroupCommand 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,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>Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:</p>
|
|
10
|
-
* <ul>
|
|
11
|
-
* <li>
|
|
12
|
-
* <p>An <i>inbound Resolver endpoint</i> forwards DNS queries to the DNS service for a VPC
|
|
13
|
-
* from your network.</p>
|
|
14
|
-
* </li>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>An <i>outbound Resolver endpoint</i> forwards DNS queries from the DNS service for a VPC
|
|
17
|
-
* to your network.</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* </ul>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { Route53ResolverClient, CreateResolverEndpointCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
24
|
-
* // const { Route53ResolverClient, CreateResolverEndpointCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
25
|
-
* const client = new Route53ResolverClient(config);
|
|
26
|
-
* const command = new CreateResolverEndpointCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link CreateResolverEndpointCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link CreateResolverEndpointCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
8
|
class CreateResolverEndpointCommand 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,43 +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>Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs.
|
|
10
|
-
* Resolver can log queries only for VPCs that are in the same Region as the query logging configuration.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>To specify which VPCs you want to log queries for, you use <code>AssociateResolverQueryLogConfig</code>. For more information, see
|
|
13
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverQueryLogConfig.html">AssociateResolverQueryLogConfig</a>. </p>
|
|
14
|
-
*
|
|
15
|
-
* <p>You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts
|
|
16
|
-
* can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all
|
|
17
|
-
* VPCs that are associated with the configuration.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { Route53ResolverClient, CreateResolverQueryLogConfigCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
22
|
-
* // const { Route53ResolverClient, CreateResolverQueryLogConfigCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
23
|
-
* const client = new Route53ResolverClient(config);
|
|
24
|
-
* const command = new CreateResolverQueryLogConfigCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link CreateResolverQueryLogConfigCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link CreateResolverQueryLogConfigCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
8
|
class CreateResolverQueryLogConfigCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
9
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
10
|
super();
|
|
39
11
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
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>For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through,
|
|
10
|
-
* one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { Route53ResolverClient, CreateResolverRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
15
|
-
* // const { Route53ResolverClient, CreateResolverRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
16
|
-
* const client = new Route53ResolverClient(config);
|
|
17
|
-
* const command = new CreateResolverRuleCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateResolverRuleCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateResolverRuleCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateResolverRuleCommand 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>Deletes the specified 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, DeleteFirewallDomainListCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
14
|
-
* // const { Route53ResolverClient, DeleteFirewallDomainListCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
15
|
-
* const client = new Route53ResolverClient(config);
|
|
16
|
-
* const command = new DeleteFirewallDomainListCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteFirewallDomainListCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteFirewallDomainListCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteFirewallDomainListCommand 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>Deletes the specified firewall rule.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { Route53ResolverClient, DeleteFirewallRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
14
|
-
* // const { Route53ResolverClient, DeleteFirewallRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
15
|
-
* const client = new Route53ResolverClient(config);
|
|
16
|
-
* const command = new DeleteFirewallRuleCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteFirewallRuleCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteFirewallRuleCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteFirewallRuleCommand 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>Deletes 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, DeleteFirewallRuleGroupCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
14
|
-
* // const { Route53ResolverClient, DeleteFirewallRuleGroupCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
15
|
-
* const client = new Route53ResolverClient(config);
|
|
16
|
-
* const command = new DeleteFirewallRuleGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteFirewallRuleGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteFirewallRuleGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link Route53ResolverClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteFirewallRuleGroupCommand 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);
|