@aws-sdk/client-route53resolver 3.37.0 → 3.41.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/CHANGELOG.md +45 -0
- package/dist-cjs/Route53Resolver.js +45 -0
- package/dist-cjs/commands/GetResolverConfigCommand.js +36 -0
- package/dist-cjs/commands/ListResolverConfigsCommand.js +36 -0
- package/dist-cjs/commands/UpdateResolverConfigCommand.js +36 -0
- package/dist-cjs/commands/index.js +66 -0
- package/dist-cjs/endpoints.js +79 -5
- package/dist-cjs/index.js +4 -77
- package/dist-cjs/models/models_0.js +58 -4
- package/dist-cjs/pagination/ListResolverConfigsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +360 -3
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/Route53Resolver.js +45 -0
- package/dist-es/commands/GetResolverConfigCommand.js +39 -0
- package/dist-es/commands/ListResolverConfigsCommand.js +39 -0
- package/dist-es/commands/UpdateResolverConfigCommand.js +39 -0
- package/dist-es/commands/index.js +63 -0
- package/dist-es/endpoints.js +79 -5
- package/dist-es/index.js +4 -77
- package/dist-es/models/models_0.js +40 -0
- package/dist-es/pagination/ListResolverConfigsPaginator.js +74 -0
- package/dist-es/pagination/index.js +16 -0
- package/dist-es/protocols/Aws_json1_1.js +379 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Route53Resolver.d.ts +24 -0
- package/dist-types/Route53ResolverClient.d.ts +13 -2
- package/dist-types/commands/AssociateFirewallRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/AssociateResolverEndpointIpAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateResolverQueryLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/AssociateResolverRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateFirewallDomainListCommand.d.ts +1 -1
- package/dist-types/commands/CreateFirewallRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateFirewallRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateResolverEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateResolverQueryLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateResolverRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFirewallDomainListCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFirewallRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFirewallRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResolverEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResolverQueryLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResolverRuleCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateFirewallRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateResolverEndpointIpAddressCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateResolverQueryLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateResolverRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetFirewallConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFirewallDomainListCommand.d.ts +1 -1
- package/dist-types/commands/GetFirewallRuleGroupAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetFirewallRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetFirewallRuleGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetResolverConfigCommand.d.ts +36 -0
- package/dist-types/commands/GetResolverDnssecConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetResolverEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetResolverQueryLogConfigAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetResolverQueryLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetResolverQueryLogConfigPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetResolverRuleAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetResolverRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetResolverRulePolicyCommand.d.ts +1 -1
- package/dist-types/commands/ImportFirewallDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallDomainListsCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallRuleGroupAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallRuleGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListResolverConfigsCommand.d.ts +36 -0
- package/dist-types/commands/ListResolverDnssecConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListResolverEndpointIpAddressesCommand.d.ts +1 -1
- package/dist-types/commands/ListResolverEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListResolverQueryLogConfigAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListResolverQueryLogConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListResolverRuleAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListResolverRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutFirewallRuleGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutResolverQueryLogConfigPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutResolverRulePolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallDomainsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallRuleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallRuleGroupAssociationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResolverConfigCommand.d.ts +36 -0
- package/dist-types/commands/UpdateResolverDnssecConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResolverEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResolverRuleCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +63 -0
- package/dist-types/index.d.ts +4 -77
- package/dist-types/models/models_0.d.ts +168 -0
- package/dist-types/pagination/ListResolverConfigsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +16 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Route53Resolver.d.ts +15 -0
- package/dist-types/ts3.4/Route53ResolverClient.d.ts +9 -2
- package/dist-types/ts3.4/commands/GetResolverConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResolverConfigsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResolverConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +63 -0
- package/dist-types/ts3.4/index.d.ts +4 -77
- package/dist-types/ts3.4/models/models_0.d.ts +79 -0
- package/dist-types/ts3.4/pagination/ListResolverConfigsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +16 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +26 -26
|
@@ -24,6 +24,7 @@ import { GetFirewallDomainListCommand, } from "./commands/GetFirewallDomainListC
|
|
|
24
24
|
import { GetFirewallRuleGroupAssociationCommand, } from "./commands/GetFirewallRuleGroupAssociationCommand";
|
|
25
25
|
import { GetFirewallRuleGroupCommand, } from "./commands/GetFirewallRuleGroupCommand";
|
|
26
26
|
import { GetFirewallRuleGroupPolicyCommand, } from "./commands/GetFirewallRuleGroupPolicyCommand";
|
|
27
|
+
import { GetResolverConfigCommand, } from "./commands/GetResolverConfigCommand";
|
|
27
28
|
import { GetResolverDnssecConfigCommand, } from "./commands/GetResolverDnssecConfigCommand";
|
|
28
29
|
import { GetResolverEndpointCommand, } from "./commands/GetResolverEndpointCommand";
|
|
29
30
|
import { GetResolverQueryLogConfigAssociationCommand, } from "./commands/GetResolverQueryLogConfigAssociationCommand";
|
|
@@ -39,6 +40,7 @@ import { ListFirewallDomainsCommand, } from "./commands/ListFirewallDomainsComma
|
|
|
39
40
|
import { ListFirewallRuleGroupAssociationsCommand, } from "./commands/ListFirewallRuleGroupAssociationsCommand";
|
|
40
41
|
import { ListFirewallRuleGroupsCommand, } from "./commands/ListFirewallRuleGroupsCommand";
|
|
41
42
|
import { ListFirewallRulesCommand, } from "./commands/ListFirewallRulesCommand";
|
|
43
|
+
import { ListResolverConfigsCommand, } from "./commands/ListResolverConfigsCommand";
|
|
42
44
|
import { ListResolverDnssecConfigsCommand, } from "./commands/ListResolverDnssecConfigsCommand";
|
|
43
45
|
import { ListResolverEndpointIpAddressesCommand, } from "./commands/ListResolverEndpointIpAddressesCommand";
|
|
44
46
|
import { ListResolverEndpointsCommand, } from "./commands/ListResolverEndpointsCommand";
|
|
@@ -56,6 +58,7 @@ import { UpdateFirewallConfigCommand, } from "./commands/UpdateFirewallConfigCom
|
|
|
56
58
|
import { UpdateFirewallDomainsCommand, } from "./commands/UpdateFirewallDomainsCommand";
|
|
57
59
|
import { UpdateFirewallRuleCommand, } from "./commands/UpdateFirewallRuleCommand";
|
|
58
60
|
import { UpdateFirewallRuleGroupAssociationCommand, } from "./commands/UpdateFirewallRuleGroupAssociationCommand";
|
|
61
|
+
import { UpdateResolverConfigCommand, } from "./commands/UpdateResolverConfigCommand";
|
|
59
62
|
import { UpdateResolverDnssecConfigCommand, } from "./commands/UpdateResolverDnssecConfigCommand";
|
|
60
63
|
import { UpdateResolverEndpointCommand, } from "./commands/UpdateResolverEndpointCommand";
|
|
61
64
|
import { UpdateResolverRuleCommand, } from "./commands/UpdateResolverRuleCommand";
|
|
@@ -415,6 +418,20 @@ var Route53Resolver = (function (_super) {
|
|
|
415
418
|
return this.send(command, optionsOrCb);
|
|
416
419
|
}
|
|
417
420
|
};
|
|
421
|
+
Route53Resolver.prototype.getResolverConfig = function (args, optionsOrCb, cb) {
|
|
422
|
+
var command = new GetResolverConfigCommand(args);
|
|
423
|
+
if (typeof optionsOrCb === "function") {
|
|
424
|
+
this.send(command, optionsOrCb);
|
|
425
|
+
}
|
|
426
|
+
else if (typeof cb === "function") {
|
|
427
|
+
if (typeof optionsOrCb !== "object")
|
|
428
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
429
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
430
|
+
}
|
|
431
|
+
else {
|
|
432
|
+
return this.send(command, optionsOrCb);
|
|
433
|
+
}
|
|
434
|
+
};
|
|
418
435
|
Route53Resolver.prototype.getResolverDnssecConfig = function (args, optionsOrCb, cb) {
|
|
419
436
|
var command = new GetResolverDnssecConfigCommand(args);
|
|
420
437
|
if (typeof optionsOrCb === "function") {
|
|
@@ -625,6 +642,20 @@ var Route53Resolver = (function (_super) {
|
|
|
625
642
|
return this.send(command, optionsOrCb);
|
|
626
643
|
}
|
|
627
644
|
};
|
|
645
|
+
Route53Resolver.prototype.listResolverConfigs = function (args, optionsOrCb, cb) {
|
|
646
|
+
var command = new ListResolverConfigsCommand(args);
|
|
647
|
+
if (typeof optionsOrCb === "function") {
|
|
648
|
+
this.send(command, optionsOrCb);
|
|
649
|
+
}
|
|
650
|
+
else if (typeof cb === "function") {
|
|
651
|
+
if (typeof optionsOrCb !== "object")
|
|
652
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
653
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
654
|
+
}
|
|
655
|
+
else {
|
|
656
|
+
return this.send(command, optionsOrCb);
|
|
657
|
+
}
|
|
658
|
+
};
|
|
628
659
|
Route53Resolver.prototype.listResolverDnssecConfigs = function (args, optionsOrCb, cb) {
|
|
629
660
|
var command = new ListResolverDnssecConfigsCommand(args);
|
|
630
661
|
if (typeof optionsOrCb === "function") {
|
|
@@ -863,6 +894,20 @@ var Route53Resolver = (function (_super) {
|
|
|
863
894
|
return this.send(command, optionsOrCb);
|
|
864
895
|
}
|
|
865
896
|
};
|
|
897
|
+
Route53Resolver.prototype.updateResolverConfig = function (args, optionsOrCb, cb) {
|
|
898
|
+
var command = new UpdateResolverConfigCommand(args);
|
|
899
|
+
if (typeof optionsOrCb === "function") {
|
|
900
|
+
this.send(command, optionsOrCb);
|
|
901
|
+
}
|
|
902
|
+
else if (typeof cb === "function") {
|
|
903
|
+
if (typeof optionsOrCb !== "object")
|
|
904
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
905
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
906
|
+
}
|
|
907
|
+
else {
|
|
908
|
+
return this.send(command, optionsOrCb);
|
|
909
|
+
}
|
|
910
|
+
};
|
|
866
911
|
Route53Resolver.prototype.updateResolverDnssecConfig = function (args, optionsOrCb, cb) {
|
|
867
912
|
var command = new UpdateResolverDnssecConfigCommand(args);
|
|
868
913
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetResolverConfigRequest, GetResolverConfigResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetResolverConfigCommand, serializeAws_json1_1GetResolverConfigCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var GetResolverConfigCommand = (function (_super) {
|
|
7
|
+
__extends(GetResolverConfigCommand, _super);
|
|
8
|
+
function GetResolverConfigCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetResolverConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Route53ResolverClient";
|
|
18
|
+
var commandName = "GetResolverConfigCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetResolverConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetResolverConfigResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetResolverConfigCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1GetResolverConfigCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetResolverConfigCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1GetResolverConfigCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetResolverConfigCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetResolverConfigCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListResolverConfigsRequest, ListResolverConfigsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListResolverConfigsCommand, serializeAws_json1_1ListResolverConfigsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListResolverConfigsCommand = (function (_super) {
|
|
7
|
+
__extends(ListResolverConfigsCommand, _super);
|
|
8
|
+
function ListResolverConfigsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListResolverConfigsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Route53ResolverClient";
|
|
18
|
+
var commandName = "ListResolverConfigsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListResolverConfigsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListResolverConfigsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListResolverConfigsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListResolverConfigsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListResolverConfigsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListResolverConfigsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListResolverConfigsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListResolverConfigsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateResolverConfigRequest, UpdateResolverConfigResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateResolverConfigCommand, serializeAws_json1_1UpdateResolverConfigCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateResolverConfigCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateResolverConfigCommand, _super);
|
|
8
|
+
function UpdateResolverConfigCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateResolverConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Route53ResolverClient";
|
|
18
|
+
var commandName = "UpdateResolverConfigCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateResolverConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateResolverConfigResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateResolverConfigCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateResolverConfigCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateResolverConfigCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateResolverConfigCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateResolverConfigCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateResolverConfigCommand };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export * from "./AssociateFirewallRuleGroupCommand";
|
|
2
|
+
export * from "./AssociateResolverEndpointIpAddressCommand";
|
|
3
|
+
export * from "./AssociateResolverQueryLogConfigCommand";
|
|
4
|
+
export * from "./AssociateResolverRuleCommand";
|
|
5
|
+
export * from "./CreateFirewallDomainListCommand";
|
|
6
|
+
export * from "./CreateFirewallRuleCommand";
|
|
7
|
+
export * from "./CreateFirewallRuleGroupCommand";
|
|
8
|
+
export * from "./CreateResolverEndpointCommand";
|
|
9
|
+
export * from "./CreateResolverQueryLogConfigCommand";
|
|
10
|
+
export * from "./CreateResolverRuleCommand";
|
|
11
|
+
export * from "./DeleteFirewallDomainListCommand";
|
|
12
|
+
export * from "./DeleteFirewallRuleCommand";
|
|
13
|
+
export * from "./DeleteFirewallRuleGroupCommand";
|
|
14
|
+
export * from "./DeleteResolverEndpointCommand";
|
|
15
|
+
export * from "./DeleteResolverQueryLogConfigCommand";
|
|
16
|
+
export * from "./DeleteResolverRuleCommand";
|
|
17
|
+
export * from "./DisassociateFirewallRuleGroupCommand";
|
|
18
|
+
export * from "./DisassociateResolverEndpointIpAddressCommand";
|
|
19
|
+
export * from "./DisassociateResolverQueryLogConfigCommand";
|
|
20
|
+
export * from "./DisassociateResolverRuleCommand";
|
|
21
|
+
export * from "./GetFirewallConfigCommand";
|
|
22
|
+
export * from "./GetFirewallDomainListCommand";
|
|
23
|
+
export * from "./GetFirewallRuleGroupAssociationCommand";
|
|
24
|
+
export * from "./GetFirewallRuleGroupCommand";
|
|
25
|
+
export * from "./GetFirewallRuleGroupPolicyCommand";
|
|
26
|
+
export * from "./GetResolverConfigCommand";
|
|
27
|
+
export * from "./GetResolverDnssecConfigCommand";
|
|
28
|
+
export * from "./GetResolverEndpointCommand";
|
|
29
|
+
export * from "./GetResolverQueryLogConfigAssociationCommand";
|
|
30
|
+
export * from "./GetResolverQueryLogConfigCommand";
|
|
31
|
+
export * from "./GetResolverQueryLogConfigPolicyCommand";
|
|
32
|
+
export * from "./GetResolverRuleAssociationCommand";
|
|
33
|
+
export * from "./GetResolverRuleCommand";
|
|
34
|
+
export * from "./GetResolverRulePolicyCommand";
|
|
35
|
+
export * from "./ImportFirewallDomainsCommand";
|
|
36
|
+
export * from "./ListFirewallConfigsCommand";
|
|
37
|
+
export * from "./ListFirewallDomainListsCommand";
|
|
38
|
+
export * from "./ListFirewallDomainsCommand";
|
|
39
|
+
export * from "./ListFirewallRuleGroupAssociationsCommand";
|
|
40
|
+
export * from "./ListFirewallRuleGroupsCommand";
|
|
41
|
+
export * from "./ListFirewallRulesCommand";
|
|
42
|
+
export * from "./ListResolverConfigsCommand";
|
|
43
|
+
export * from "./ListResolverDnssecConfigsCommand";
|
|
44
|
+
export * from "./ListResolverEndpointIpAddressesCommand";
|
|
45
|
+
export * from "./ListResolverEndpointsCommand";
|
|
46
|
+
export * from "./ListResolverQueryLogConfigAssociationsCommand";
|
|
47
|
+
export * from "./ListResolverQueryLogConfigsCommand";
|
|
48
|
+
export * from "./ListResolverRuleAssociationsCommand";
|
|
49
|
+
export * from "./ListResolverRulesCommand";
|
|
50
|
+
export * from "./ListTagsForResourceCommand";
|
|
51
|
+
export * from "./PutFirewallRuleGroupPolicyCommand";
|
|
52
|
+
export * from "./PutResolverQueryLogConfigPolicyCommand";
|
|
53
|
+
export * from "./PutResolverRulePolicyCommand";
|
|
54
|
+
export * from "./TagResourceCommand";
|
|
55
|
+
export * from "./UntagResourceCommand";
|
|
56
|
+
export * from "./UpdateFirewallConfigCommand";
|
|
57
|
+
export * from "./UpdateFirewallDomainsCommand";
|
|
58
|
+
export * from "./UpdateFirewallRuleCommand";
|
|
59
|
+
export * from "./UpdateFirewallRuleGroupAssociationCommand";
|
|
60
|
+
export * from "./UpdateResolverConfigCommand";
|
|
61
|
+
export * from "./UpdateResolverDnssecConfigCommand";
|
|
62
|
+
export * from "./UpdateResolverEndpointCommand";
|
|
63
|
+
export * from "./UpdateResolverRuleCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -26,23 +26,97 @@ var partitionHash = {
|
|
|
26
26
|
"us-west-1",
|
|
27
27
|
"us-west-2",
|
|
28
28
|
],
|
|
29
|
-
|
|
29
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
30
|
+
variants: [
|
|
31
|
+
{
|
|
32
|
+
hostname: "route53resolver.{region}.amazonaws.com",
|
|
33
|
+
tags: [],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
hostname: "route53resolver-fips.{region}.amazonaws.com",
|
|
37
|
+
tags: ["fips"],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
hostname: "route53resolver-fips.{region}.api.aws",
|
|
41
|
+
tags: ["dualstack", "fips"],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
hostname: "route53resolver.{region}.api.aws",
|
|
45
|
+
tags: ["dualstack"],
|
|
46
|
+
},
|
|
47
|
+
],
|
|
30
48
|
},
|
|
31
49
|
"aws-cn": {
|
|
32
50
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
33
|
-
|
|
51
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
52
|
+
variants: [
|
|
53
|
+
{
|
|
54
|
+
hostname: "route53resolver.{region}.amazonaws.com.cn",
|
|
55
|
+
tags: [],
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
hostname: "route53resolver-fips.{region}.amazonaws.com.cn",
|
|
59
|
+
tags: ["fips"],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
hostname: "route53resolver-fips.{region}.api.amazonwebservices.com.cn",
|
|
63
|
+
tags: ["dualstack", "fips"],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
hostname: "route53resolver.{region}.api.amazonwebservices.com.cn",
|
|
67
|
+
tags: ["dualstack"],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
34
70
|
},
|
|
35
71
|
"aws-iso": {
|
|
36
72
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
37
|
-
|
|
73
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
74
|
+
variants: [
|
|
75
|
+
{
|
|
76
|
+
hostname: "route53resolver.{region}.c2s.ic.gov",
|
|
77
|
+
tags: [],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
hostname: "route53resolver-fips.{region}.c2s.ic.gov",
|
|
81
|
+
tags: ["fips"],
|
|
82
|
+
},
|
|
83
|
+
],
|
|
38
84
|
},
|
|
39
85
|
"aws-iso-b": {
|
|
40
86
|
regions: ["us-isob-east-1"],
|
|
41
|
-
|
|
87
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
88
|
+
variants: [
|
|
89
|
+
{
|
|
90
|
+
hostname: "route53resolver.{region}.sc2s.sgov.gov",
|
|
91
|
+
tags: [],
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
hostname: "route53resolver-fips.{region}.sc2s.sgov.gov",
|
|
95
|
+
tags: ["fips"],
|
|
96
|
+
},
|
|
97
|
+
],
|
|
42
98
|
},
|
|
43
99
|
"aws-us-gov": {
|
|
44
100
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
45
|
-
|
|
101
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
102
|
+
variants: [
|
|
103
|
+
{
|
|
104
|
+
hostname: "route53resolver.{region}.amazonaws.com",
|
|
105
|
+
tags: [],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
hostname: "route53resolver-fips.{region}.amazonaws.com",
|
|
109
|
+
tags: ["fips"],
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
hostname: "route53resolver-fips.{region}.api.aws",
|
|
113
|
+
tags: ["dualstack", "fips"],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
hostname: "route53resolver.{region}.api.aws",
|
|
117
|
+
tags: ["dualstack"],
|
|
118
|
+
},
|
|
119
|
+
],
|
|
46
120
|
},
|
|
47
121
|
};
|
|
48
122
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
package/dist-es/index.js
CHANGED
|
@@ -1,78 +1,5 @@
|
|
|
1
|
-
export * from "./Route53ResolverClient";
|
|
2
1
|
export * from "./Route53Resolver";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/CreateFirewallDomainListCommand";
|
|
8
|
-
export * from "./commands/CreateFirewallRuleCommand";
|
|
9
|
-
export * from "./commands/CreateFirewallRuleGroupCommand";
|
|
10
|
-
export * from "./commands/CreateResolverEndpointCommand";
|
|
11
|
-
export * from "./commands/CreateResolverQueryLogConfigCommand";
|
|
12
|
-
export * from "./commands/CreateResolverRuleCommand";
|
|
13
|
-
export * from "./commands/DeleteFirewallDomainListCommand";
|
|
14
|
-
export * from "./commands/DeleteFirewallRuleCommand";
|
|
15
|
-
export * from "./commands/DeleteFirewallRuleGroupCommand";
|
|
16
|
-
export * from "./commands/DeleteResolverEndpointCommand";
|
|
17
|
-
export * from "./commands/DeleteResolverQueryLogConfigCommand";
|
|
18
|
-
export * from "./commands/DeleteResolverRuleCommand";
|
|
19
|
-
export * from "./commands/DisassociateFirewallRuleGroupCommand";
|
|
20
|
-
export * from "./commands/DisassociateResolverEndpointIpAddressCommand";
|
|
21
|
-
export * from "./commands/DisassociateResolverQueryLogConfigCommand";
|
|
22
|
-
export * from "./commands/DisassociateResolverRuleCommand";
|
|
23
|
-
export * from "./commands/GetFirewallConfigCommand";
|
|
24
|
-
export * from "./commands/GetFirewallDomainListCommand";
|
|
25
|
-
export * from "./commands/GetFirewallRuleGroupCommand";
|
|
26
|
-
export * from "./commands/GetFirewallRuleGroupAssociationCommand";
|
|
27
|
-
export * from "./commands/GetFirewallRuleGroupPolicyCommand";
|
|
28
|
-
export * from "./commands/GetResolverDnssecConfigCommand";
|
|
29
|
-
export * from "./commands/GetResolverEndpointCommand";
|
|
30
|
-
export * from "./commands/GetResolverQueryLogConfigCommand";
|
|
31
|
-
export * from "./commands/GetResolverQueryLogConfigAssociationCommand";
|
|
32
|
-
export * from "./commands/GetResolverQueryLogConfigPolicyCommand";
|
|
33
|
-
export * from "./commands/GetResolverRuleCommand";
|
|
34
|
-
export * from "./commands/GetResolverRuleAssociationCommand";
|
|
35
|
-
export * from "./commands/GetResolverRulePolicyCommand";
|
|
36
|
-
export * from "./commands/ImportFirewallDomainsCommand";
|
|
37
|
-
export * from "./commands/ListFirewallConfigsCommand";
|
|
38
|
-
export * from "./pagination/ListFirewallConfigsPaginator";
|
|
39
|
-
export * from "./commands/ListFirewallDomainListsCommand";
|
|
40
|
-
export * from "./pagination/ListFirewallDomainListsPaginator";
|
|
41
|
-
export * from "./commands/ListFirewallDomainsCommand";
|
|
42
|
-
export * from "./pagination/ListFirewallDomainsPaginator";
|
|
43
|
-
export * from "./commands/ListFirewallRuleGroupAssociationsCommand";
|
|
44
|
-
export * from "./pagination/ListFirewallRuleGroupAssociationsPaginator";
|
|
45
|
-
export * from "./commands/ListFirewallRuleGroupsCommand";
|
|
46
|
-
export * from "./pagination/ListFirewallRuleGroupsPaginator";
|
|
47
|
-
export * from "./commands/ListFirewallRulesCommand";
|
|
48
|
-
export * from "./pagination/ListFirewallRulesPaginator";
|
|
49
|
-
export * from "./commands/ListResolverDnssecConfigsCommand";
|
|
50
|
-
export * from "./pagination/ListResolverDnssecConfigsPaginator";
|
|
51
|
-
export * from "./commands/ListResolverEndpointIpAddressesCommand";
|
|
52
|
-
export * from "./pagination/ListResolverEndpointIpAddressesPaginator";
|
|
53
|
-
export * from "./commands/ListResolverEndpointsCommand";
|
|
54
|
-
export * from "./pagination/ListResolverEndpointsPaginator";
|
|
55
|
-
export * from "./commands/ListResolverQueryLogConfigAssociationsCommand";
|
|
56
|
-
export * from "./pagination/ListResolverQueryLogConfigAssociationsPaginator";
|
|
57
|
-
export * from "./commands/ListResolverQueryLogConfigsCommand";
|
|
58
|
-
export * from "./pagination/ListResolverQueryLogConfigsPaginator";
|
|
59
|
-
export * from "./commands/ListResolverRuleAssociationsCommand";
|
|
60
|
-
export * from "./pagination/ListResolverRuleAssociationsPaginator";
|
|
61
|
-
export * from "./commands/ListResolverRulesCommand";
|
|
62
|
-
export * from "./pagination/ListResolverRulesPaginator";
|
|
63
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
64
|
-
export * from "./pagination/ListTagsForResourcePaginator";
|
|
65
|
-
export * from "./commands/PutFirewallRuleGroupPolicyCommand";
|
|
66
|
-
export * from "./commands/PutResolverQueryLogConfigPolicyCommand";
|
|
67
|
-
export * from "./commands/PutResolverRulePolicyCommand";
|
|
68
|
-
export * from "./commands/TagResourceCommand";
|
|
69
|
-
export * from "./commands/UntagResourceCommand";
|
|
70
|
-
export * from "./commands/UpdateFirewallConfigCommand";
|
|
71
|
-
export * from "./commands/UpdateFirewallDomainsCommand";
|
|
72
|
-
export * from "./commands/UpdateFirewallRuleCommand";
|
|
73
|
-
export * from "./commands/UpdateFirewallRuleGroupAssociationCommand";
|
|
74
|
-
export * from "./commands/UpdateResolverDnssecConfigCommand";
|
|
75
|
-
export * from "./commands/UpdateResolverEndpointCommand";
|
|
76
|
-
export * from "./commands/UpdateResolverRuleCommand";
|
|
77
|
-
export * from "./pagination/Interfaces";
|
|
78
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./Route53ResolverClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
@@ -153,6 +153,11 @@ export var ResourceUnavailableException;
|
|
|
153
153
|
(function (ResourceUnavailableException) {
|
|
154
154
|
ResourceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
155
|
})(ResourceUnavailableException || (ResourceUnavailableException = {}));
|
|
156
|
+
export var AutodefinedReverseFlag;
|
|
157
|
+
(function (AutodefinedReverseFlag) {
|
|
158
|
+
AutodefinedReverseFlag["DISABLE"] = "DISABLE";
|
|
159
|
+
AutodefinedReverseFlag["ENABLE"] = "ENABLE";
|
|
160
|
+
})(AutodefinedReverseFlag || (AutodefinedReverseFlag = {}));
|
|
156
161
|
export var BlockOverrideDnsType;
|
|
157
162
|
(function (BlockOverrideDnsType) {
|
|
158
163
|
BlockOverrideDnsType["CNAME"] = "CNAME";
|
|
@@ -434,6 +439,25 @@ export var GetFirewallRuleGroupPolicyResponse;
|
|
|
434
439
|
(function (GetFirewallRuleGroupPolicyResponse) {
|
|
435
440
|
GetFirewallRuleGroupPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
436
441
|
})(GetFirewallRuleGroupPolicyResponse || (GetFirewallRuleGroupPolicyResponse = {}));
|
|
442
|
+
export var GetResolverConfigRequest;
|
|
443
|
+
(function (GetResolverConfigRequest) {
|
|
444
|
+
GetResolverConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
445
|
+
})(GetResolverConfigRequest || (GetResolverConfigRequest = {}));
|
|
446
|
+
export var ResolverAutodefinedReverseStatus;
|
|
447
|
+
(function (ResolverAutodefinedReverseStatus) {
|
|
448
|
+
ResolverAutodefinedReverseStatus["Disabled"] = "DISABLED";
|
|
449
|
+
ResolverAutodefinedReverseStatus["Disabling"] = "DISABLING";
|
|
450
|
+
ResolverAutodefinedReverseStatus["Enabled"] = "ENABLED";
|
|
451
|
+
ResolverAutodefinedReverseStatus["Enabling"] = "ENABLING";
|
|
452
|
+
})(ResolverAutodefinedReverseStatus || (ResolverAutodefinedReverseStatus = {}));
|
|
453
|
+
export var ResolverConfig;
|
|
454
|
+
(function (ResolverConfig) {
|
|
455
|
+
ResolverConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
456
|
+
})(ResolverConfig || (ResolverConfig = {}));
|
|
457
|
+
export var GetResolverConfigResponse;
|
|
458
|
+
(function (GetResolverConfigResponse) {
|
|
459
|
+
GetResolverConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
460
|
+
})(GetResolverConfigResponse || (GetResolverConfigResponse = {}));
|
|
437
461
|
export var GetResolverDnssecConfigRequest;
|
|
438
462
|
(function (GetResolverDnssecConfigRequest) {
|
|
439
463
|
GetResolverDnssecConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -598,6 +622,14 @@ export var ListFirewallRulesResponse;
|
|
|
598
622
|
(function (ListFirewallRulesResponse) {
|
|
599
623
|
ListFirewallRulesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
600
624
|
})(ListFirewallRulesResponse || (ListFirewallRulesResponse = {}));
|
|
625
|
+
export var ListResolverConfigsRequest;
|
|
626
|
+
(function (ListResolverConfigsRequest) {
|
|
627
|
+
ListResolverConfigsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
628
|
+
})(ListResolverConfigsRequest || (ListResolverConfigsRequest = {}));
|
|
629
|
+
export var ListResolverConfigsResponse;
|
|
630
|
+
(function (ListResolverConfigsResponse) {
|
|
631
|
+
ListResolverConfigsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
632
|
+
})(ListResolverConfigsResponse || (ListResolverConfigsResponse = {}));
|
|
601
633
|
export var ListResolverDnssecConfigsRequest;
|
|
602
634
|
(function (ListResolverDnssecConfigsRequest) {
|
|
603
635
|
ListResolverDnssecConfigsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -743,6 +775,14 @@ export var UpdateFirewallRuleGroupAssociationResponse;
|
|
|
743
775
|
(function (UpdateFirewallRuleGroupAssociationResponse) {
|
|
744
776
|
UpdateFirewallRuleGroupAssociationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
745
777
|
})(UpdateFirewallRuleGroupAssociationResponse || (UpdateFirewallRuleGroupAssociationResponse = {}));
|
|
778
|
+
export var UpdateResolverConfigRequest;
|
|
779
|
+
(function (UpdateResolverConfigRequest) {
|
|
780
|
+
UpdateResolverConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
781
|
+
})(UpdateResolverConfigRequest || (UpdateResolverConfigRequest = {}));
|
|
782
|
+
export var UpdateResolverConfigResponse;
|
|
783
|
+
(function (UpdateResolverConfigResponse) {
|
|
784
|
+
UpdateResolverConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
785
|
+
})(UpdateResolverConfigResponse || (UpdateResolverConfigResponse = {}));
|
|
746
786
|
export var Validation;
|
|
747
787
|
(function (Validation) {
|
|
748
788
|
Validation["DISABLE"] = "DISABLE";
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListResolverConfigsCommand, } from "../commands/ListResolverConfigsCommand";
|
|
3
|
+
import { Route53Resolver } from "../Route53Resolver";
|
|
4
|
+
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListResolverConfigsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listResolverConfigs.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListResolverConfigs(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListResolverConfigs_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Route53Resolver)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof Route53ResolverClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListFirewallConfigsPaginator";
|
|
3
|
+
export * from "./ListFirewallDomainListsPaginator";
|
|
4
|
+
export * from "./ListFirewallDomainsPaginator";
|
|
5
|
+
export * from "./ListFirewallRuleGroupAssociationsPaginator";
|
|
6
|
+
export * from "./ListFirewallRuleGroupsPaginator";
|
|
7
|
+
export * from "./ListFirewallRulesPaginator";
|
|
8
|
+
export * from "./ListResolverConfigsPaginator";
|
|
9
|
+
export * from "./ListResolverDnssecConfigsPaginator";
|
|
10
|
+
export * from "./ListResolverEndpointIpAddressesPaginator";
|
|
11
|
+
export * from "./ListResolverEndpointsPaginator";
|
|
12
|
+
export * from "./ListResolverQueryLogConfigAssociationsPaginator";
|
|
13
|
+
export * from "./ListResolverQueryLogConfigsPaginator";
|
|
14
|
+
export * from "./ListResolverRuleAssociationsPaginator";
|
|
15
|
+
export * from "./ListResolverRulesPaginator";
|
|
16
|
+
export * from "./ListTagsForResourcePaginator";
|