@aws-sdk/client-route53resolver 3.370.0 → 3.377.0
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/README.md +40 -0
- package/dist-cjs/Route53Resolver.js +10 -0
- package/dist-cjs/commands/CreateOutpostResolverCommand.js +46 -0
- package/dist-cjs/commands/DeleteOutpostResolverCommand.js +46 -0
- package/dist-cjs/commands/GetOutpostResolverCommand.js +46 -0
- package/dist-cjs/commands/ListOutpostResolversCommand.js +46 -0
- package/dist-cjs/commands/UpdateOutpostResolverCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +25 -1
- package/dist-cjs/pagination/ListOutpostResolversPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +284 -3
- package/dist-es/Route53Resolver.js +10 -0
- package/dist-es/commands/CreateOutpostResolverCommand.js +42 -0
- package/dist-es/commands/DeleteOutpostResolverCommand.js +42 -0
- package/dist-es/commands/GetOutpostResolverCommand.js +42 -0
- package/dist-es/commands/ListOutpostResolversCommand.js +42 -0
- package/dist-es/commands/UpdateOutpostResolverCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +23 -0
- package/dist-es/pagination/ListOutpostResolversPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +272 -1
- package/dist-types/Route53Resolver.d.ts +35 -0
- package/dist-types/Route53ResolverClient.d.ts +7 -2
- package/dist-types/commands/AssociateResolverEndpointIpAddressCommand.d.ts +2 -0
- package/dist-types/commands/CreateOutpostResolverCommand.d.ts +114 -0
- package/dist-types/commands/CreateResolverEndpointCommand.d.ts +4 -0
- package/dist-types/commands/DeleteOutpostResolverCommand.d.ts +106 -0
- package/dist-types/commands/DeleteResolverEndpointCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateResolverEndpointIpAddressCommand.d.ts +2 -0
- package/dist-types/commands/GetOutpostResolverCommand.d.ts +102 -0
- package/dist-types/commands/GetResolverEndpointCommand.d.ts +2 -0
- package/dist-types/commands/ListOutpostResolversCommand.d.ts +106 -0
- package/dist-types/commands/ListResolverEndpointIpAddressesCommand.d.ts +1 -1
- package/dist-types/commands/ListResolverEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateOutpostResolverCommand.d.ts +112 -0
- package/dist-types/commands/UpdateResolverEndpointCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +263 -9
- package/dist-types/pagination/ListOutpostResolversPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/Route53Resolver.d.ts +85 -0
- package/dist-types/ts3.4/Route53ResolverClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateOutpostResolverCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteOutpostResolverCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetOutpostResolverCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListOutpostResolversCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateOutpostResolverCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +78 -0
- package/dist-types/ts3.4/pagination/ListOutpostResolversPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -284,6 +284,14 @@ CreateFirewallRuleGroup
|
|
|
284
284
|
|
|
285
285
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/createfirewallrulegroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/createfirewallrulegroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/createfirewallrulegroupcommandoutput.html)
|
|
286
286
|
|
|
287
|
+
</details>
|
|
288
|
+
<details>
|
|
289
|
+
<summary>
|
|
290
|
+
CreateOutpostResolver
|
|
291
|
+
</summary>
|
|
292
|
+
|
|
293
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/createoutpostresolvercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/createoutpostresolvercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/createoutpostresolvercommandoutput.html)
|
|
294
|
+
|
|
287
295
|
</details>
|
|
288
296
|
<details>
|
|
289
297
|
<summary>
|
|
@@ -332,6 +340,14 @@ DeleteFirewallRuleGroup
|
|
|
332
340
|
|
|
333
341
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/deletefirewallrulegroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/deletefirewallrulegroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/deletefirewallrulegroupcommandoutput.html)
|
|
334
342
|
|
|
343
|
+
</details>
|
|
344
|
+
<details>
|
|
345
|
+
<summary>
|
|
346
|
+
DeleteOutpostResolver
|
|
347
|
+
</summary>
|
|
348
|
+
|
|
349
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/deleteoutpostresolvercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/deleteoutpostresolvercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/deleteoutpostresolvercommandoutput.html)
|
|
350
|
+
|
|
335
351
|
</details>
|
|
336
352
|
<details>
|
|
337
353
|
<summary>
|
|
@@ -428,6 +444,14 @@ GetFirewallRuleGroupPolicy
|
|
|
428
444
|
|
|
429
445
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/getfirewallrulegrouppolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/getfirewallrulegrouppolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/getfirewallrulegrouppolicycommandoutput.html)
|
|
430
446
|
|
|
447
|
+
</details>
|
|
448
|
+
<details>
|
|
449
|
+
<summary>
|
|
450
|
+
GetOutpostResolver
|
|
451
|
+
</summary>
|
|
452
|
+
|
|
453
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/getoutpostresolvercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/getoutpostresolvercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/getoutpostresolvercommandoutput.html)
|
|
454
|
+
|
|
431
455
|
</details>
|
|
432
456
|
<details>
|
|
433
457
|
<summary>
|
|
@@ -556,6 +580,14 @@ ListFirewallRules
|
|
|
556
580
|
|
|
557
581
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/listfirewallrulescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/listfirewallrulescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/listfirewallrulescommandoutput.html)
|
|
558
582
|
|
|
583
|
+
</details>
|
|
584
|
+
<details>
|
|
585
|
+
<summary>
|
|
586
|
+
ListOutpostResolvers
|
|
587
|
+
</summary>
|
|
588
|
+
|
|
589
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/listoutpostresolverscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/listoutpostresolverscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/listoutpostresolverscommandoutput.html)
|
|
590
|
+
|
|
559
591
|
</details>
|
|
560
592
|
<details>
|
|
561
593
|
<summary>
|
|
@@ -700,6 +732,14 @@ UpdateFirewallRuleGroupAssociation
|
|
|
700
732
|
|
|
701
733
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/updatefirewallrulegroupassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/updatefirewallrulegroupassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/updatefirewallrulegroupassociationcommandoutput.html)
|
|
702
734
|
|
|
735
|
+
</details>
|
|
736
|
+
<details>
|
|
737
|
+
<summary>
|
|
738
|
+
UpdateOutpostResolver
|
|
739
|
+
</summary>
|
|
740
|
+
|
|
741
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/classes/updateoutpostresolvercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/updateoutpostresolvercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-route53resolver/interfaces/updateoutpostresolvercommandoutput.html)
|
|
742
|
+
|
|
703
743
|
</details>
|
|
704
744
|
<details>
|
|
705
745
|
<summary>
|
|
@@ -9,12 +9,14 @@ const AssociateResolverRuleCommand_1 = require("./commands/AssociateResolverRule
|
|
|
9
9
|
const CreateFirewallDomainListCommand_1 = require("./commands/CreateFirewallDomainListCommand");
|
|
10
10
|
const CreateFirewallRuleCommand_1 = require("./commands/CreateFirewallRuleCommand");
|
|
11
11
|
const CreateFirewallRuleGroupCommand_1 = require("./commands/CreateFirewallRuleGroupCommand");
|
|
12
|
+
const CreateOutpostResolverCommand_1 = require("./commands/CreateOutpostResolverCommand");
|
|
12
13
|
const CreateResolverEndpointCommand_1 = require("./commands/CreateResolverEndpointCommand");
|
|
13
14
|
const CreateResolverQueryLogConfigCommand_1 = require("./commands/CreateResolverQueryLogConfigCommand");
|
|
14
15
|
const CreateResolverRuleCommand_1 = require("./commands/CreateResolverRuleCommand");
|
|
15
16
|
const DeleteFirewallDomainListCommand_1 = require("./commands/DeleteFirewallDomainListCommand");
|
|
16
17
|
const DeleteFirewallRuleCommand_1 = require("./commands/DeleteFirewallRuleCommand");
|
|
17
18
|
const DeleteFirewallRuleGroupCommand_1 = require("./commands/DeleteFirewallRuleGroupCommand");
|
|
19
|
+
const DeleteOutpostResolverCommand_1 = require("./commands/DeleteOutpostResolverCommand");
|
|
18
20
|
const DeleteResolverEndpointCommand_1 = require("./commands/DeleteResolverEndpointCommand");
|
|
19
21
|
const DeleteResolverQueryLogConfigCommand_1 = require("./commands/DeleteResolverQueryLogConfigCommand");
|
|
20
22
|
const DeleteResolverRuleCommand_1 = require("./commands/DeleteResolverRuleCommand");
|
|
@@ -27,6 +29,7 @@ const GetFirewallDomainListCommand_1 = require("./commands/GetFirewallDomainList
|
|
|
27
29
|
const GetFirewallRuleGroupAssociationCommand_1 = require("./commands/GetFirewallRuleGroupAssociationCommand");
|
|
28
30
|
const GetFirewallRuleGroupCommand_1 = require("./commands/GetFirewallRuleGroupCommand");
|
|
29
31
|
const GetFirewallRuleGroupPolicyCommand_1 = require("./commands/GetFirewallRuleGroupPolicyCommand");
|
|
32
|
+
const GetOutpostResolverCommand_1 = require("./commands/GetOutpostResolverCommand");
|
|
30
33
|
const GetResolverConfigCommand_1 = require("./commands/GetResolverConfigCommand");
|
|
31
34
|
const GetResolverDnssecConfigCommand_1 = require("./commands/GetResolverDnssecConfigCommand");
|
|
32
35
|
const GetResolverEndpointCommand_1 = require("./commands/GetResolverEndpointCommand");
|
|
@@ -43,6 +46,7 @@ const ListFirewallDomainsCommand_1 = require("./commands/ListFirewallDomainsComm
|
|
|
43
46
|
const ListFirewallRuleGroupAssociationsCommand_1 = require("./commands/ListFirewallRuleGroupAssociationsCommand");
|
|
44
47
|
const ListFirewallRuleGroupsCommand_1 = require("./commands/ListFirewallRuleGroupsCommand");
|
|
45
48
|
const ListFirewallRulesCommand_1 = require("./commands/ListFirewallRulesCommand");
|
|
49
|
+
const ListOutpostResolversCommand_1 = require("./commands/ListOutpostResolversCommand");
|
|
46
50
|
const ListResolverConfigsCommand_1 = require("./commands/ListResolverConfigsCommand");
|
|
47
51
|
const ListResolverDnssecConfigsCommand_1 = require("./commands/ListResolverDnssecConfigsCommand");
|
|
48
52
|
const ListResolverEndpointIpAddressesCommand_1 = require("./commands/ListResolverEndpointIpAddressesCommand");
|
|
@@ -61,6 +65,7 @@ const UpdateFirewallConfigCommand_1 = require("./commands/UpdateFirewallConfigCo
|
|
|
61
65
|
const UpdateFirewallDomainsCommand_1 = require("./commands/UpdateFirewallDomainsCommand");
|
|
62
66
|
const UpdateFirewallRuleCommand_1 = require("./commands/UpdateFirewallRuleCommand");
|
|
63
67
|
const UpdateFirewallRuleGroupAssociationCommand_1 = require("./commands/UpdateFirewallRuleGroupAssociationCommand");
|
|
68
|
+
const UpdateOutpostResolverCommand_1 = require("./commands/UpdateOutpostResolverCommand");
|
|
64
69
|
const UpdateResolverConfigCommand_1 = require("./commands/UpdateResolverConfigCommand");
|
|
65
70
|
const UpdateResolverDnssecConfigCommand_1 = require("./commands/UpdateResolverDnssecConfigCommand");
|
|
66
71
|
const UpdateResolverEndpointCommand_1 = require("./commands/UpdateResolverEndpointCommand");
|
|
@@ -74,12 +79,14 @@ const commands = {
|
|
|
74
79
|
CreateFirewallDomainListCommand: CreateFirewallDomainListCommand_1.CreateFirewallDomainListCommand,
|
|
75
80
|
CreateFirewallRuleCommand: CreateFirewallRuleCommand_1.CreateFirewallRuleCommand,
|
|
76
81
|
CreateFirewallRuleGroupCommand: CreateFirewallRuleGroupCommand_1.CreateFirewallRuleGroupCommand,
|
|
82
|
+
CreateOutpostResolverCommand: CreateOutpostResolverCommand_1.CreateOutpostResolverCommand,
|
|
77
83
|
CreateResolverEndpointCommand: CreateResolverEndpointCommand_1.CreateResolverEndpointCommand,
|
|
78
84
|
CreateResolverQueryLogConfigCommand: CreateResolverQueryLogConfigCommand_1.CreateResolverQueryLogConfigCommand,
|
|
79
85
|
CreateResolverRuleCommand: CreateResolverRuleCommand_1.CreateResolverRuleCommand,
|
|
80
86
|
DeleteFirewallDomainListCommand: DeleteFirewallDomainListCommand_1.DeleteFirewallDomainListCommand,
|
|
81
87
|
DeleteFirewallRuleCommand: DeleteFirewallRuleCommand_1.DeleteFirewallRuleCommand,
|
|
82
88
|
DeleteFirewallRuleGroupCommand: DeleteFirewallRuleGroupCommand_1.DeleteFirewallRuleGroupCommand,
|
|
89
|
+
DeleteOutpostResolverCommand: DeleteOutpostResolverCommand_1.DeleteOutpostResolverCommand,
|
|
83
90
|
DeleteResolverEndpointCommand: DeleteResolverEndpointCommand_1.DeleteResolverEndpointCommand,
|
|
84
91
|
DeleteResolverQueryLogConfigCommand: DeleteResolverQueryLogConfigCommand_1.DeleteResolverQueryLogConfigCommand,
|
|
85
92
|
DeleteResolverRuleCommand: DeleteResolverRuleCommand_1.DeleteResolverRuleCommand,
|
|
@@ -92,6 +99,7 @@ const commands = {
|
|
|
92
99
|
GetFirewallRuleGroupCommand: GetFirewallRuleGroupCommand_1.GetFirewallRuleGroupCommand,
|
|
93
100
|
GetFirewallRuleGroupAssociationCommand: GetFirewallRuleGroupAssociationCommand_1.GetFirewallRuleGroupAssociationCommand,
|
|
94
101
|
GetFirewallRuleGroupPolicyCommand: GetFirewallRuleGroupPolicyCommand_1.GetFirewallRuleGroupPolicyCommand,
|
|
102
|
+
GetOutpostResolverCommand: GetOutpostResolverCommand_1.GetOutpostResolverCommand,
|
|
95
103
|
GetResolverConfigCommand: GetResolverConfigCommand_1.GetResolverConfigCommand,
|
|
96
104
|
GetResolverDnssecConfigCommand: GetResolverDnssecConfigCommand_1.GetResolverDnssecConfigCommand,
|
|
97
105
|
GetResolverEndpointCommand: GetResolverEndpointCommand_1.GetResolverEndpointCommand,
|
|
@@ -108,6 +116,7 @@ const commands = {
|
|
|
108
116
|
ListFirewallRuleGroupAssociationsCommand: ListFirewallRuleGroupAssociationsCommand_1.ListFirewallRuleGroupAssociationsCommand,
|
|
109
117
|
ListFirewallRuleGroupsCommand: ListFirewallRuleGroupsCommand_1.ListFirewallRuleGroupsCommand,
|
|
110
118
|
ListFirewallRulesCommand: ListFirewallRulesCommand_1.ListFirewallRulesCommand,
|
|
119
|
+
ListOutpostResolversCommand: ListOutpostResolversCommand_1.ListOutpostResolversCommand,
|
|
111
120
|
ListResolverConfigsCommand: ListResolverConfigsCommand_1.ListResolverConfigsCommand,
|
|
112
121
|
ListResolverDnssecConfigsCommand: ListResolverDnssecConfigsCommand_1.ListResolverDnssecConfigsCommand,
|
|
113
122
|
ListResolverEndpointIpAddressesCommand: ListResolverEndpointIpAddressesCommand_1.ListResolverEndpointIpAddressesCommand,
|
|
@@ -126,6 +135,7 @@ const commands = {
|
|
|
126
135
|
UpdateFirewallDomainsCommand: UpdateFirewallDomainsCommand_1.UpdateFirewallDomainsCommand,
|
|
127
136
|
UpdateFirewallRuleCommand: UpdateFirewallRuleCommand_1.UpdateFirewallRuleCommand,
|
|
128
137
|
UpdateFirewallRuleGroupAssociationCommand: UpdateFirewallRuleGroupAssociationCommand_1.UpdateFirewallRuleGroupAssociationCommand,
|
|
138
|
+
UpdateOutpostResolverCommand: UpdateOutpostResolverCommand_1.UpdateOutpostResolverCommand,
|
|
129
139
|
UpdateResolverConfigCommand: UpdateResolverConfigCommand_1.UpdateResolverConfigCommand,
|
|
130
140
|
UpdateResolverDnssecConfigCommand: UpdateResolverDnssecConfigCommand_1.UpdateResolverDnssecConfigCommand,
|
|
131
141
|
UpdateResolverEndpointCommand: UpdateResolverEndpointCommand_1.UpdateResolverEndpointCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateOutpostResolverCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class CreateOutpostResolverCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateOutpostResolverCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "Route53ResolverClient";
|
|
28
|
+
const commandName = "CreateOutpostResolverCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.se_CreateOutpostResolverCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.de_CreateOutpostResolverCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateOutpostResolverCommand = CreateOutpostResolverCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteOutpostResolverCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DeleteOutpostResolverCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteOutpostResolverCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "Route53ResolverClient";
|
|
28
|
+
const commandName = "DeleteOutpostResolverCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.se_DeleteOutpostResolverCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.de_DeleteOutpostResolverCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteOutpostResolverCommand = DeleteOutpostResolverCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetOutpostResolverCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class GetOutpostResolverCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetOutpostResolverCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "Route53ResolverClient";
|
|
28
|
+
const commandName = "GetOutpostResolverCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.se_GetOutpostResolverCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.de_GetOutpostResolverCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetOutpostResolverCommand = GetOutpostResolverCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListOutpostResolversCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class ListOutpostResolversCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListOutpostResolversCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "Route53ResolverClient";
|
|
28
|
+
const commandName = "ListOutpostResolversCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.se_ListOutpostResolversCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.de_ListOutpostResolversCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListOutpostResolversCommand = ListOutpostResolversCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateOutpostResolverCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class UpdateOutpostResolverCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateOutpostResolverCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "Route53ResolverClient";
|
|
28
|
+
const commandName = "UpdateOutpostResolverCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.se_UpdateOutpostResolverCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.de_UpdateOutpostResolverCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateOutpostResolverCommand = UpdateOutpostResolverCommand;
|
|
@@ -8,12 +8,14 @@ tslib_1.__exportStar(require("./AssociateResolverRuleCommand"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./CreateFirewallDomainListCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./CreateFirewallRuleCommand"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./CreateFirewallRuleGroupCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./CreateOutpostResolverCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./CreateResolverEndpointCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./CreateResolverQueryLogConfigCommand"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./CreateResolverRuleCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./DeleteFirewallDomainListCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./DeleteFirewallRuleCommand"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./DeleteFirewallRuleGroupCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./DeleteOutpostResolverCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./DeleteResolverEndpointCommand"), exports);
|
|
18
20
|
tslib_1.__exportStar(require("./DeleteResolverQueryLogConfigCommand"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./DeleteResolverRuleCommand"), exports);
|
|
@@ -26,6 +28,7 @@ tslib_1.__exportStar(require("./GetFirewallDomainListCommand"), exports);
|
|
|
26
28
|
tslib_1.__exportStar(require("./GetFirewallRuleGroupAssociationCommand"), exports);
|
|
27
29
|
tslib_1.__exportStar(require("./GetFirewallRuleGroupCommand"), exports);
|
|
28
30
|
tslib_1.__exportStar(require("./GetFirewallRuleGroupPolicyCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./GetOutpostResolverCommand"), exports);
|
|
29
32
|
tslib_1.__exportStar(require("./GetResolverConfigCommand"), exports);
|
|
30
33
|
tslib_1.__exportStar(require("./GetResolverDnssecConfigCommand"), exports);
|
|
31
34
|
tslib_1.__exportStar(require("./GetResolverEndpointCommand"), exports);
|
|
@@ -42,6 +45,7 @@ tslib_1.__exportStar(require("./ListFirewallDomainsCommand"), exports);
|
|
|
42
45
|
tslib_1.__exportStar(require("./ListFirewallRuleGroupAssociationsCommand"), exports);
|
|
43
46
|
tslib_1.__exportStar(require("./ListFirewallRuleGroupsCommand"), exports);
|
|
44
47
|
tslib_1.__exportStar(require("./ListFirewallRulesCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./ListOutpostResolversCommand"), exports);
|
|
45
49
|
tslib_1.__exportStar(require("./ListResolverConfigsCommand"), exports);
|
|
46
50
|
tslib_1.__exportStar(require("./ListResolverDnssecConfigsCommand"), exports);
|
|
47
51
|
tslib_1.__exportStar(require("./ListResolverEndpointIpAddressesCommand"), exports);
|
|
@@ -60,6 +64,7 @@ tslib_1.__exportStar(require("./UpdateFirewallConfigCommand"), exports);
|
|
|
60
64
|
tslib_1.__exportStar(require("./UpdateFirewallDomainsCommand"), exports);
|
|
61
65
|
tslib_1.__exportStar(require("./UpdateFirewallRuleCommand"), exports);
|
|
62
66
|
tslib_1.__exportStar(require("./UpdateFirewallRuleGroupAssociationCommand"), exports);
|
|
67
|
+
tslib_1.__exportStar(require("./UpdateOutpostResolverCommand"), exports);
|
|
63
68
|
tslib_1.__exportStar(require("./UpdateResolverConfigCommand"), exports);
|
|
64
69
|
tslib_1.__exportStar(require("./UpdateResolverDnssecConfigCommand"), exports);
|
|
65
70
|
tslib_1.__exportStar(require("./UpdateResolverEndpointCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://route53resolver-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://route53resolver-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://route53resolver.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://route53resolver.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Validation = exports.SortOrder = exports.IpAddressStatus = exports.InvalidTagException = exports.InvalidPolicyDocument = exports.InvalidNextTokenException = exports.UnknownResourceException = exports.ResolverDNSSECValidationStatus = exports.ResolverAutodefinedReverseStatus = exports.FirewallDomainUpdateOperation = exports.FirewallDomainImportOperation = exports.FirewallFailOpenStatus = exports.ResourceInUseException = exports.ResolverRuleStatus = exports.RuleTypeOption = exports.ResolverQueryLogConfigStatus = exports.FirewallRuleGroupStatus = exports.ShareStatus = exports.FirewallDomainListStatus = exports.BlockResponse = exports.BlockOverrideDnsType = exports.AutodefinedReverseFlag = exports.ResourceUnavailableException = exports.ResolverRuleAssociationStatus = exports.ResolverQueryLogConfigAssociationStatus = exports.ResolverQueryLogConfigAssociationError = exports.ResourceExistsException = exports.InvalidRequestException = exports.InvalidParameterException = exports.ResolverEndpointStatus = exports.ResolverEndpointType = exports.ResolverEndpointDirection = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InternalServiceErrorException = exports.ConflictException = exports.FirewallRuleGroupAssociationStatus = exports.MutationProtectionStatus = exports.Action = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.Validation = exports.SortOrder = exports.IpAddressStatus = exports.InvalidTagException = exports.InvalidPolicyDocument = exports.InvalidNextTokenException = exports.UnknownResourceException = exports.ResolverDNSSECValidationStatus = exports.ResolverAutodefinedReverseStatus = exports.FirewallDomainUpdateOperation = exports.FirewallDomainImportOperation = exports.FirewallFailOpenStatus = exports.ResourceInUseException = exports.ResolverRuleStatus = exports.RuleTypeOption = exports.ResolverQueryLogConfigStatus = exports.ServiceQuotaExceededException = exports.OutpostResolverStatus = exports.FirewallRuleGroupStatus = exports.ShareStatus = exports.FirewallDomainListStatus = exports.BlockResponse = exports.BlockOverrideDnsType = exports.AutodefinedReverseFlag = exports.ResourceUnavailableException = exports.ResolverRuleAssociationStatus = exports.ResolverQueryLogConfigAssociationStatus = exports.ResolverQueryLogConfigAssociationError = exports.ResourceExistsException = exports.InvalidRequestException = exports.InvalidParameterException = exports.ResolverEndpointStatus = exports.ResolverEndpointType = exports.ResolverEndpointDirection = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InternalServiceErrorException = exports.ConflictException = exports.FirewallRuleGroupAssociationStatus = exports.MutationProtectionStatus = exports.Action = exports.AccessDeniedException = void 0;
|
|
4
4
|
const Route53ResolverServiceException_1 = require("./Route53ResolverServiceException");
|
|
5
5
|
class AccessDeniedException extends Route53ResolverServiceException_1.Route53ResolverServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -242,6 +242,29 @@ exports.FirewallRuleGroupStatus = {
|
|
|
242
242
|
DELETING: "DELETING",
|
|
243
243
|
UPDATING: "UPDATING",
|
|
244
244
|
};
|
|
245
|
+
exports.OutpostResolverStatus = {
|
|
246
|
+
ACTION_NEEDED: "ACTION_NEEDED",
|
|
247
|
+
CREATING: "CREATING",
|
|
248
|
+
DELETING: "DELETING",
|
|
249
|
+
FAILED_CREATION: "FAILED_CREATION",
|
|
250
|
+
FAILED_DELETION: "FAILED_DELETION",
|
|
251
|
+
OPERATIONAL: "OPERATIONAL",
|
|
252
|
+
UPDATING: "UPDATING",
|
|
253
|
+
};
|
|
254
|
+
class ServiceQuotaExceededException extends Route53ResolverServiceException_1.Route53ResolverServiceException {
|
|
255
|
+
constructor(opts) {
|
|
256
|
+
super({
|
|
257
|
+
name: "ServiceQuotaExceededException",
|
|
258
|
+
$fault: "client",
|
|
259
|
+
...opts,
|
|
260
|
+
});
|
|
261
|
+
this.name = "ServiceQuotaExceededException";
|
|
262
|
+
this.$fault = "client";
|
|
263
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
264
|
+
this.Message = opts.Message;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
245
268
|
exports.ResolverQueryLogConfigStatus = {
|
|
246
269
|
Created: "CREATED",
|
|
247
270
|
Creating: "CREATING",
|
|
@@ -370,6 +393,7 @@ exports.IpAddressStatus = {
|
|
|
370
393
|
FailedResourceGone: "FAILED_RESOURCE_GONE",
|
|
371
394
|
RemapAttaching: "REMAP_ATTACHING",
|
|
372
395
|
RemapDetaching: "REMAP_DETACHING",
|
|
396
|
+
UpdateFailed: "UPDATE_FAILED",
|
|
373
397
|
Updating: "UPDATING",
|
|
374
398
|
};
|
|
375
399
|
exports.SortOrder = {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListOutpostResolvers = void 0;
|
|
4
|
+
const ListOutpostResolversCommand_1 = require("../commands/ListOutpostResolversCommand");
|
|
5
|
+
const Route53ResolverClient_1 = require("../Route53ResolverClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListOutpostResolversCommand_1.ListOutpostResolversCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListOutpostResolvers(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof Route53ResolverClient_1.Route53ResolverClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListOutpostResolvers = paginateListOutpostResolvers;
|
|
@@ -8,6 +8,7 @@ tslib_1.__exportStar(require("./ListFirewallDomainsPaginator"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./ListFirewallRuleGroupAssociationsPaginator"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./ListFirewallRuleGroupsPaginator"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./ListFirewallRulesPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListOutpostResolversPaginator"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./ListResolverConfigsPaginator"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./ListResolverDnssecConfigsPaginator"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./ListResolverEndpointIpAddressesPaginator"), exports);
|