@aws-sdk/client-route53-recovery-readiness 3.477.0 → 3.481.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/dist-cjs/commands/CreateCellCommand.js +18 -41
- package/dist-cjs/commands/CreateCrossAccountAuthorizationCommand.js +18 -41
- package/dist-cjs/commands/CreateReadinessCheckCommand.js +18 -41
- package/dist-cjs/commands/CreateRecoveryGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateResourceSetCommand.js +18 -41
- package/dist-cjs/commands/DeleteCellCommand.js +18 -41
- package/dist-cjs/commands/DeleteCrossAccountAuthorizationCommand.js +18 -41
- package/dist-cjs/commands/DeleteReadinessCheckCommand.js +18 -41
- package/dist-cjs/commands/DeleteRecoveryGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourceSetCommand.js +18 -41
- package/dist-cjs/commands/GetArchitectureRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/GetCellCommand.js +18 -41
- package/dist-cjs/commands/GetCellReadinessSummaryCommand.js +18 -41
- package/dist-cjs/commands/GetReadinessCheckCommand.js +18 -41
- package/dist-cjs/commands/GetReadinessCheckResourceStatusCommand.js +18 -41
- package/dist-cjs/commands/GetReadinessCheckStatusCommand.js +18 -41
- package/dist-cjs/commands/GetRecoveryGroupCommand.js +18 -41
- package/dist-cjs/commands/GetRecoveryGroupReadinessSummaryCommand.js +18 -41
- package/dist-cjs/commands/GetResourceSetCommand.js +18 -41
- package/dist-cjs/commands/ListCellsCommand.js +18 -41
- package/dist-cjs/commands/ListCrossAccountAuthorizationsCommand.js +18 -41
- package/dist-cjs/commands/ListReadinessChecksCommand.js +18 -41
- package/dist-cjs/commands/ListRecoveryGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListResourceSetsCommand.js +18 -41
- package/dist-cjs/commands/ListRulesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourcesCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateCellCommand.js +18 -41
- package/dist-cjs/commands/UpdateReadinessCheckCommand.js +18 -41
- package/dist-cjs/commands/UpdateRecoveryGroupCommand.js +18 -41
- package/dist-cjs/commands/UpdateResourceSetCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetCellReadinessSummaryPaginator.js +2 -24
- package/dist-cjs/pagination/GetReadinessCheckResourceStatusPaginator.js +2 -24
- package/dist-cjs/pagination/GetReadinessCheckStatusPaginator.js +2 -24
- package/dist-cjs/pagination/GetRecoveryGroupReadinessSummaryPaginator.js +2 -24
- package/dist-cjs/pagination/ListCellsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCrossAccountAuthorizationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReadinessChecksPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecoveryGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResourceSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRulesPaginator.js +2 -24
- package/dist-es/commands/CreateCellCommand.js +18 -41
- package/dist-es/commands/CreateCrossAccountAuthorizationCommand.js +18 -41
- package/dist-es/commands/CreateReadinessCheckCommand.js +18 -41
- package/dist-es/commands/CreateRecoveryGroupCommand.js +18 -41
- package/dist-es/commands/CreateResourceSetCommand.js +18 -41
- package/dist-es/commands/DeleteCellCommand.js +18 -41
- package/dist-es/commands/DeleteCrossAccountAuthorizationCommand.js +18 -41
- package/dist-es/commands/DeleteReadinessCheckCommand.js +18 -41
- package/dist-es/commands/DeleteRecoveryGroupCommand.js +18 -41
- package/dist-es/commands/DeleteResourceSetCommand.js +18 -41
- package/dist-es/commands/GetArchitectureRecommendationsCommand.js +18 -41
- package/dist-es/commands/GetCellCommand.js +18 -41
- package/dist-es/commands/GetCellReadinessSummaryCommand.js +18 -41
- package/dist-es/commands/GetReadinessCheckCommand.js +18 -41
- package/dist-es/commands/GetReadinessCheckResourceStatusCommand.js +18 -41
- package/dist-es/commands/GetReadinessCheckStatusCommand.js +18 -41
- package/dist-es/commands/GetRecoveryGroupCommand.js +18 -41
- package/dist-es/commands/GetRecoveryGroupReadinessSummaryCommand.js +18 -41
- package/dist-es/commands/GetResourceSetCommand.js +18 -41
- package/dist-es/commands/ListCellsCommand.js +18 -41
- package/dist-es/commands/ListCrossAccountAuthorizationsCommand.js +18 -41
- package/dist-es/commands/ListReadinessChecksCommand.js +18 -41
- package/dist-es/commands/ListRecoveryGroupsCommand.js +18 -41
- package/dist-es/commands/ListResourceSetsCommand.js +18 -41
- package/dist-es/commands/ListRulesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourcesCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateCellCommand.js +18 -41
- package/dist-es/commands/UpdateReadinessCheckCommand.js +18 -41
- package/dist-es/commands/UpdateRecoveryGroupCommand.js +18 -41
- package/dist-es/commands/UpdateResourceSetCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetCellReadinessSummaryPaginator.js +2 -23
- package/dist-es/pagination/GetReadinessCheckResourceStatusPaginator.js +2 -23
- package/dist-es/pagination/GetReadinessCheckStatusPaginator.js +2 -23
- package/dist-es/pagination/GetRecoveryGroupReadinessSummaryPaginator.js +2 -23
- package/dist-es/pagination/ListCellsPaginator.js +2 -23
- package/dist-es/pagination/ListCrossAccountAuthorizationsPaginator.js +2 -23
- package/dist-es/pagination/ListReadinessChecksPaginator.js +2 -23
- package/dist-es/pagination/ListRecoveryGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListResourceSetsPaginator.js +2 -23
- package/dist-es/pagination/ListRulesPaginator.js +2 -23
- package/dist-types/commands/CreateCellCommand.d.ts +6 -21
- package/dist-types/commands/CreateCrossAccountAuthorizationCommand.d.ts +6 -21
- package/dist-types/commands/CreateReadinessCheckCommand.d.ts +6 -21
- package/dist-types/commands/CreateRecoveryGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateResourceSetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCellCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCrossAccountAuthorizationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteReadinessCheckCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRecoveryGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourceSetCommand.d.ts +6 -21
- package/dist-types/commands/GetArchitectureRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/GetCellCommand.d.ts +6 -21
- package/dist-types/commands/GetCellReadinessSummaryCommand.d.ts +6 -21
- package/dist-types/commands/GetReadinessCheckCommand.d.ts +6 -21
- package/dist-types/commands/GetReadinessCheckResourceStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetReadinessCheckStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetRecoveryGroupCommand.d.ts +6 -21
- package/dist-types/commands/GetRecoveryGroupReadinessSummaryCommand.d.ts +6 -21
- package/dist-types/commands/GetResourceSetCommand.d.ts +6 -21
- package/dist-types/commands/ListCellsCommand.d.ts +6 -21
- package/dist-types/commands/ListCrossAccountAuthorizationsCommand.d.ts +6 -21
- package/dist-types/commands/ListReadinessChecksCommand.d.ts +6 -21
- package/dist-types/commands/ListRecoveryGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListResourceSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListRulesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourcesCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCellCommand.d.ts +6 -21
- package/dist-types/commands/UpdateReadinessCheckCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRecoveryGroupCommand.d.ts +6 -21
- package/dist-types/commands/UpdateResourceSetCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetCellReadinessSummaryPaginator.d.ts +1 -1
- package/dist-types/pagination/GetReadinessCheckResourceStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/GetReadinessCheckStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/GetRecoveryGroupReadinessSummaryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCellsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCrossAccountAuthorizationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReadinessChecksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecoveryGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourceSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateCellCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateCrossAccountAuthorizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateReadinessCheckCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateRecoveryGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateResourceSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCellCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCrossAccountAuthorizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteReadinessCheckCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRecoveryGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourceSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetArchitectureRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCellCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetCellReadinessSummaryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetReadinessCheckCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetReadinessCheckResourceStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetReadinessCheckStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRecoveryGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRecoveryGroupReadinessSummaryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetResourceSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCellsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCrossAccountAuthorizationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListReadinessChecksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRecoveryGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListResourceSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCellCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateReadinessCheckCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRecoveryGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateResourceSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetCellReadinessSummaryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetReadinessCheckResourceStatusPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetReadinessCheckStatusPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetRecoveryGroupReadinessSummaryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCellsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCrossAccountAuthorizationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReadinessChecksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecoveryGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResourceSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
29
|
-
const commandName = "UntagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Route53RecoveryReadiness",
|
|
38
|
-
operation: "UntagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Route53RecoveryReadiness", "UntagResource", {})
|
|
22
|
+
.n("Route53RecoveryReadinessClient", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateCellCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
29
|
-
const commandName = "UpdateCellCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Route53RecoveryReadiness",
|
|
38
|
-
operation: "UpdateCell",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateCellCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateCellCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateCellCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Route53RecoveryReadiness", "UpdateCell", {})
|
|
22
|
+
.n("Route53RecoveryReadinessClient", "UpdateCellCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateCellCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateCellCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateCellCommand = UpdateCellCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateReadinessCheckCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
29
|
-
const commandName = "UpdateReadinessCheckCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Route53RecoveryReadiness",
|
|
38
|
-
operation: "UpdateReadinessCheck",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateReadinessCheckCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateReadinessCheckCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateReadinessCheckCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Route53RecoveryReadiness", "UpdateReadinessCheck", {})
|
|
22
|
+
.n("Route53RecoveryReadinessClient", "UpdateReadinessCheckCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateReadinessCheckCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateReadinessCheckCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateReadinessCheckCommand = UpdateReadinessCheckCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateRecoveryGroupCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
29
|
-
const commandName = "UpdateRecoveryGroupCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Route53RecoveryReadiness",
|
|
38
|
-
operation: "UpdateRecoveryGroup",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateRecoveryGroupCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateRecoveryGroupCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRecoveryGroupCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Route53RecoveryReadiness", "UpdateRecoveryGroup", {})
|
|
22
|
+
.n("Route53RecoveryReadinessClient", "UpdateRecoveryGroupCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateRecoveryGroupCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateRecoveryGroupCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRecoveryGroupCommand = UpdateRecoveryGroupCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateResourceSetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
29
|
-
const commandName = "UpdateResourceSetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Route53RecoveryReadiness",
|
|
38
|
-
operation: "UpdateResourceSet",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateResourceSetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateResourceSetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateResourceSetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Route53RecoveryReadiness", "UpdateResourceSet", {})
|
|
22
|
+
.n("Route53RecoveryReadinessClient", "UpdateResourceSetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateResourceSetCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateResourceSetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateResourceSetCommand = UpdateResourceSetCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetCellReadinessSummary = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetCellReadinessSummaryCommand_1 = require("../commands/GetCellReadinessSummaryCommand");
|
|
5
6
|
const Route53RecoveryReadinessClient_1 = require("../Route53RecoveryReadinessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetCellReadinessSummaryCommand_1.GetCellReadinessSummaryCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetCellReadinessSummary(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 Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
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.paginateGetCellReadinessSummary = paginateGetCellReadinessSummary;
|
|
7
|
+
exports.paginateGetCellReadinessSummary = (0, core_1.createPaginator)(Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient, GetCellReadinessSummaryCommand_1.GetCellReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetReadinessCheckResourceStatus = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetReadinessCheckResourceStatusCommand_1 = require("../commands/GetReadinessCheckResourceStatusCommand");
|
|
5
6
|
const Route53RecoveryReadinessClient_1 = require("../Route53RecoveryReadinessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetReadinessCheckResourceStatusCommand_1.GetReadinessCheckResourceStatusCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetReadinessCheckResourceStatus(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 Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
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.paginateGetReadinessCheckResourceStatus = paginateGetReadinessCheckResourceStatus;
|
|
7
|
+
exports.paginateGetReadinessCheckResourceStatus = (0, core_1.createPaginator)(Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient, GetReadinessCheckResourceStatusCommand_1.GetReadinessCheckResourceStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetReadinessCheckStatus = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetReadinessCheckStatusCommand_1 = require("../commands/GetReadinessCheckStatusCommand");
|
|
5
6
|
const Route53RecoveryReadinessClient_1 = require("../Route53RecoveryReadinessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetReadinessCheckStatusCommand_1.GetReadinessCheckStatusCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetReadinessCheckStatus(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 Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
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.paginateGetReadinessCheckStatus = paginateGetReadinessCheckStatus;
|
|
7
|
+
exports.paginateGetReadinessCheckStatus = (0, core_1.createPaginator)(Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient, GetReadinessCheckStatusCommand_1.GetReadinessCheckStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetRecoveryGroupReadinessSummary = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetRecoveryGroupReadinessSummaryCommand_1 = require("../commands/GetRecoveryGroupReadinessSummaryCommand");
|
|
5
6
|
const Route53RecoveryReadinessClient_1 = require("../Route53RecoveryReadinessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetRecoveryGroupReadinessSummaryCommand_1.GetRecoveryGroupReadinessSummaryCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetRecoveryGroupReadinessSummary(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 Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
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.paginateGetRecoveryGroupReadinessSummary = paginateGetRecoveryGroupReadinessSummary;
|
|
7
|
+
exports.paginateGetRecoveryGroupReadinessSummary = (0, core_1.createPaginator)(Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient, GetRecoveryGroupReadinessSummaryCommand_1.GetRecoveryGroupReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCells = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCellsCommand_1 = require("../commands/ListCellsCommand");
|
|
5
6
|
const Route53RecoveryReadinessClient_1 = require("../Route53RecoveryReadinessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCellsCommand_1.ListCellsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCells(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 Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
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.paginateListCells = paginateListCells;
|
|
7
|
+
exports.paginateListCells = (0, core_1.createPaginator)(Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient, ListCellsCommand_1.ListCellsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCrossAccountAuthorizations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCrossAccountAuthorizationsCommand_1 = require("../commands/ListCrossAccountAuthorizationsCommand");
|
|
5
6
|
const Route53RecoveryReadinessClient_1 = require("../Route53RecoveryReadinessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCrossAccountAuthorizationsCommand_1.ListCrossAccountAuthorizationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCrossAccountAuthorizations(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 Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
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.paginateListCrossAccountAuthorizations = paginateListCrossAccountAuthorizations;
|
|
7
|
+
exports.paginateListCrossAccountAuthorizations = (0, core_1.createPaginator)(Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient, ListCrossAccountAuthorizationsCommand_1.ListCrossAccountAuthorizationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListReadinessChecks = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListReadinessChecksCommand_1 = require("../commands/ListReadinessChecksCommand");
|
|
5
6
|
const Route53RecoveryReadinessClient_1 = require("../Route53RecoveryReadinessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListReadinessChecksCommand_1.ListReadinessChecksCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListReadinessChecks(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 Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
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.paginateListReadinessChecks = paginateListReadinessChecks;
|
|
7
|
+
exports.paginateListReadinessChecks = (0, core_1.createPaginator)(Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient, ListReadinessChecksCommand_1.ListReadinessChecksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRecoveryGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRecoveryGroupsCommand_1 = require("../commands/ListRecoveryGroupsCommand");
|
|
5
6
|
const Route53RecoveryReadinessClient_1 = require("../Route53RecoveryReadinessClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRecoveryGroupsCommand_1.ListRecoveryGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRecoveryGroups(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 Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
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.paginateListRecoveryGroups = paginateListRecoveryGroups;
|
|
7
|
+
exports.paginateListRecoveryGroups = (0, core_1.createPaginator)(Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient, ListRecoveryGroupsCommand_1.ListRecoveryGroupsCommand, "NextToken", "NextToken", "MaxResults");
|