@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
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Route53RecoveryReadiness",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53RecoveryReadiness", "TagResource", {})
|
|
19
|
+
.n("Route53RecoveryReadinessClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Route53RecoveryReadiness",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53RecoveryReadiness", "UntagResource", {})
|
|
19
|
+
.n("Route53RecoveryReadinessClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateCellCommand, se_UpdateCellCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateCellCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
26
|
-
const commandName = "UpdateCellCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Route53RecoveryReadiness",
|
|
35
|
-
operation: "UpdateCell",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateCellCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateCellCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateCellCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53RecoveryReadiness", "UpdateCell", {})
|
|
19
|
+
.n("Route53RecoveryReadinessClient", "UpdateCellCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateCellCommand)
|
|
22
|
+
.de(de_UpdateCellCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateReadinessCheckCommand, se_UpdateReadinessCheckCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateReadinessCheckCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
26
|
-
const commandName = "UpdateReadinessCheckCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Route53RecoveryReadiness",
|
|
35
|
-
operation: "UpdateReadinessCheck",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateReadinessCheckCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateReadinessCheckCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateReadinessCheckCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53RecoveryReadiness", "UpdateReadinessCheck", {})
|
|
19
|
+
.n("Route53RecoveryReadinessClient", "UpdateReadinessCheckCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateReadinessCheckCommand)
|
|
22
|
+
.de(de_UpdateReadinessCheckCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRecoveryGroupCommand, se_UpdateRecoveryGroupCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRecoveryGroupCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
26
|
-
const commandName = "UpdateRecoveryGroupCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Route53RecoveryReadiness",
|
|
35
|
-
operation: "UpdateRecoveryGroup",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRecoveryGroupCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRecoveryGroupCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRecoveryGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53RecoveryReadiness", "UpdateRecoveryGroup", {})
|
|
19
|
+
.n("Route53RecoveryReadinessClient", "UpdateRecoveryGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRecoveryGroupCommand)
|
|
22
|
+
.de(de_UpdateRecoveryGroupCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateResourceSetCommand, se_UpdateResourceSetCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateResourceSetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryReadinessClient";
|
|
26
|
-
const commandName = "UpdateResourceSetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Route53RecoveryReadiness",
|
|
35
|
-
operation: "UpdateResourceSet",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateResourceSetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateResourceSetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateResourceSetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Route53RecoveryReadiness", "UpdateResourceSet", {})
|
|
19
|
+
.n("Route53RecoveryReadinessClient", "UpdateResourceSetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateResourceSetCommand)
|
|
22
|
+
.de(de_UpdateResourceSetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "route53-recovery-readiness",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetCellReadinessSummaryCommand, } from "../commands/GetCellReadinessSummaryCommand";
|
|
2
3
|
import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetCellReadinessSummaryCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetCellReadinessSummary(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53RecoveryReadinessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetCellReadinessSummary = createPaginator(Route53RecoveryReadinessClient, GetCellReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetReadinessCheckResourceStatusCommand, } from "../commands/GetReadinessCheckResourceStatusCommand";
|
|
2
3
|
import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetReadinessCheckResourceStatusCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetReadinessCheckResourceStatus(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53RecoveryReadinessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetReadinessCheckResourceStatus = createPaginator(Route53RecoveryReadinessClient, GetReadinessCheckResourceStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetReadinessCheckStatusCommand, } from "../commands/GetReadinessCheckStatusCommand";
|
|
2
3
|
import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetReadinessCheckStatusCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetReadinessCheckStatus(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53RecoveryReadinessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetReadinessCheckStatus = createPaginator(Route53RecoveryReadinessClient, GetReadinessCheckStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetRecoveryGroupReadinessSummaryCommand, } from "../commands/GetRecoveryGroupReadinessSummaryCommand";
|
|
2
3
|
import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetRecoveryGroupReadinessSummaryCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetRecoveryGroupReadinessSummary(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53RecoveryReadinessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetRecoveryGroupReadinessSummary = createPaginator(Route53RecoveryReadinessClient, GetRecoveryGroupReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCellsCommand } from "../commands/ListCellsCommand";
|
|
2
3
|
import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCellsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCells(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53RecoveryReadinessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCells = createPaginator(Route53RecoveryReadinessClient, ListCellsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCrossAccountAuthorizationsCommand, } from "../commands/ListCrossAccountAuthorizationsCommand";
|
|
2
3
|
import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCrossAccountAuthorizationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCrossAccountAuthorizations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53RecoveryReadinessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCrossAccountAuthorizations = createPaginator(Route53RecoveryReadinessClient, ListCrossAccountAuthorizationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReadinessChecksCommand, } from "../commands/ListReadinessChecksCommand";
|
|
2
3
|
import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReadinessChecksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReadinessChecks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53RecoveryReadinessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReadinessChecks = createPaginator(Route53RecoveryReadinessClient, ListReadinessChecksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRecoveryGroupsCommand, } from "../commands/ListRecoveryGroupsCommand";
|
|
2
3
|
import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRecoveryGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRecoveryGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53RecoveryReadinessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRecoveryGroups = createPaginator(Route53RecoveryReadinessClient, ListRecoveryGroupsCommand, "NextToken", "NextToken", "MaxResults");
|