@aws-sdk/client-drs 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/AssociateSourceNetworkStackCommand.js +18 -41
- package/dist-cjs/commands/CreateExtendedSourceServerCommand.js +18 -41
- package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateSourceNetworkCommand.js +18 -41
- package/dist-cjs/commands/DeleteJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteLaunchActionCommand.js +18 -41
- package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteRecoveryInstanceCommand.js +18 -41
- package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteSourceNetworkCommand.js +18 -41
- package/dist-cjs/commands/DeleteSourceServerCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobLogItemsCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobsCommand.js +18 -41
- package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +18 -41
- package/dist-cjs/commands/DescribeRecoveryInstancesCommand.js +18 -41
- package/dist-cjs/commands/DescribeRecoverySnapshotsCommand.js +18 -41
- package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +18 -41
- package/dist-cjs/commands/DescribeSourceNetworksCommand.js +18 -41
- package/dist-cjs/commands/DescribeSourceServersCommand.js +18 -41
- package/dist-cjs/commands/DisconnectRecoveryInstanceCommand.js +18 -41
- package/dist-cjs/commands/DisconnectSourceServerCommand.js +18 -41
- package/dist-cjs/commands/ExportSourceNetworkCfnTemplateCommand.js +18 -41
- package/dist-cjs/commands/GetFailbackReplicationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetLaunchConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetReplicationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/InitializeServiceCommand.js +18 -41
- package/dist-cjs/commands/ListExtensibleSourceServersCommand.js +18 -41
- package/dist-cjs/commands/ListLaunchActionsCommand.js +18 -41
- package/dist-cjs/commands/ListStagingAccountsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutLaunchActionCommand.js +18 -41
- package/dist-cjs/commands/RetryDataReplicationCommand.js +18 -41
- package/dist-cjs/commands/ReverseReplicationCommand.js +18 -41
- package/dist-cjs/commands/StartFailbackLaunchCommand.js +18 -41
- package/dist-cjs/commands/StartRecoveryCommand.js +18 -41
- package/dist-cjs/commands/StartReplicationCommand.js +18 -41
- package/dist-cjs/commands/StartSourceNetworkRecoveryCommand.js +18 -41
- package/dist-cjs/commands/StartSourceNetworkReplicationCommand.js +18 -41
- package/dist-cjs/commands/StopFailbackCommand.js +18 -41
- package/dist-cjs/commands/StopReplicationCommand.js +18 -41
- package/dist-cjs/commands/StopSourceNetworkReplicationCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TerminateRecoveryInstancesCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateFailbackReplicationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeJobLogItemsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeJobsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeRecoveryInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeRecoverySnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSourceNetworksPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSourceServersPaginator.js +2 -24
- package/dist-cjs/pagination/ListExtensibleSourceServersPaginator.js +2 -24
- package/dist-cjs/pagination/ListLaunchActionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListStagingAccountsPaginator.js +2 -24
- package/dist-es/commands/AssociateSourceNetworkStackCommand.js +18 -41
- package/dist-es/commands/CreateExtendedSourceServerCommand.js +18 -41
- package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/CreateSourceNetworkCommand.js +18 -41
- package/dist-es/commands/DeleteJobCommand.js +18 -41
- package/dist-es/commands/DeleteLaunchActionCommand.js +18 -41
- package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteRecoveryInstanceCommand.js +18 -41
- package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteSourceNetworkCommand.js +18 -41
- package/dist-es/commands/DeleteSourceServerCommand.js +18 -41
- package/dist-es/commands/DescribeJobLogItemsCommand.js +18 -41
- package/dist-es/commands/DescribeJobsCommand.js +18 -41
- package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +18 -41
- package/dist-es/commands/DescribeRecoveryInstancesCommand.js +18 -41
- package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +18 -41
- package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +18 -41
- package/dist-es/commands/DescribeSourceNetworksCommand.js +18 -41
- package/dist-es/commands/DescribeSourceServersCommand.js +18 -41
- package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +18 -41
- package/dist-es/commands/DisconnectSourceServerCommand.js +18 -41
- package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +18 -41
- package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +18 -41
- package/dist-es/commands/GetLaunchConfigurationCommand.js +18 -41
- package/dist-es/commands/GetReplicationConfigurationCommand.js +18 -41
- package/dist-es/commands/InitializeServiceCommand.js +18 -41
- package/dist-es/commands/ListExtensibleSourceServersCommand.js +18 -41
- package/dist-es/commands/ListLaunchActionsCommand.js +18 -41
- package/dist-es/commands/ListStagingAccountsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutLaunchActionCommand.js +18 -41
- package/dist-es/commands/RetryDataReplicationCommand.js +18 -41
- package/dist-es/commands/ReverseReplicationCommand.js +18 -41
- package/dist-es/commands/StartFailbackLaunchCommand.js +18 -41
- package/dist-es/commands/StartRecoveryCommand.js +18 -41
- package/dist-es/commands/StartReplicationCommand.js +18 -41
- package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +18 -41
- package/dist-es/commands/StartSourceNetworkReplicationCommand.js +18 -41
- package/dist-es/commands/StopFailbackCommand.js +18 -41
- package/dist-es/commands/StopReplicationCommand.js +18 -41
- package/dist-es/commands/StopSourceNetworkReplicationCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TerminateRecoveryInstancesCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateLaunchConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +18 -41
- package/dist-es/commands/UpdateReplicationConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeJobLogItemsPaginator.js +2 -23
- package/dist-es/pagination/DescribeJobsPaginator.js +2 -23
- package/dist-es/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeRecoveryInstancesPaginator.js +2 -23
- package/dist-es/pagination/DescribeRecoverySnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeSourceNetworksPaginator.js +2 -23
- package/dist-es/pagination/DescribeSourceServersPaginator.js +2 -23
- package/dist-es/pagination/ListExtensibleSourceServersPaginator.js +2 -23
- package/dist-es/pagination/ListLaunchActionsPaginator.js +2 -23
- package/dist-es/pagination/ListStagingAccountsPaginator.js +2 -23
- package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +6 -21
- package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +6 -21
- package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateSourceNetworkCommand.d.ts +6 -21
- package/dist-types/commands/DeleteJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLaunchActionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRecoveryInstanceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSourceNetworkCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSourceServerCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRecoveryInstancesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRecoverySnapshotsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSourceNetworksCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +6 -21
- package/dist-types/commands/DisconnectRecoveryInstanceCommand.d.ts +6 -21
- package/dist-types/commands/DisconnectSourceServerCommand.d.ts +6 -21
- package/dist-types/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +6 -21
- package/dist-types/commands/GetFailbackReplicationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/InitializeServiceCommand.d.ts +6 -21
- package/dist-types/commands/ListExtensibleSourceServersCommand.d.ts +6 -21
- package/dist-types/commands/ListLaunchActionsCommand.d.ts +6 -21
- package/dist-types/commands/ListStagingAccountsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutLaunchActionCommand.d.ts +6 -21
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +6 -21
- package/dist-types/commands/ReverseReplicationCommand.d.ts +6 -21
- package/dist-types/commands/StartFailbackLaunchCommand.d.ts +6 -21
- package/dist-types/commands/StartRecoveryCommand.d.ts +6 -21
- package/dist-types/commands/StartReplicationCommand.d.ts +6 -21
- package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +6 -21
- package/dist-types/commands/StartSourceNetworkReplicationCommand.d.ts +6 -21
- package/dist-types/commands/StopFailbackCommand.d.ts +6 -21
- package/dist-types/commands/StopReplicationCommand.d.ts +6 -21
- package/dist-types/commands/StopSourceNetworkReplicationCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeJobLogItemsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeRecoveryInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeRecoverySnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSourceNetworksPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSourceServersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExtensibleSourceServersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLaunchActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStagingAccountsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateSourceNetworkStackCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateExtendedSourceServerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateLaunchConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSourceNetworkCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteLaunchActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRecoveryInstanceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSourceNetworkCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSourceServerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRecoveryInstancesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRecoverySnapshotsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSourceNetworksCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSourceServersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisconnectRecoveryInstanceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisconnectSourceServerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetFailbackReplicationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListExtensibleSourceServersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListLaunchActionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStagingAccountsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutLaunchActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ReverseReplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartFailbackLaunchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartRecoveryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartSourceNetworkRecoveryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartSourceNetworkReplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopFailbackCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopSourceNetworkReplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TerminateRecoveryInstancesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeJobLogItemsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeRecoveryInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeRecoverySnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSourceNetworksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSourceServersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExtensibleSourceServersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLaunchActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStagingAccountsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,48 +1,25 @@
|
|
|
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 { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UntagResourceCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "DrsClient";
|
|
27
|
-
const commandName = "UntagResourceCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ElasticDisasterRecoveryService",
|
|
36
|
-
operation: "UntagResource",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UntagResourceCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UntagResourceCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UntagResourceCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ElasticDisasterRecoveryService", "UntagResource", {})
|
|
20
|
+
.n("DrsClient", "UntagResourceCommand")
|
|
21
|
+
.f(UntagResourceRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UntagResourceCommand)
|
|
23
|
+
.de(de_UntagResourceCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -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_UpdateFailbackReplicationConfigurationCommand, se_UpdateFailbackReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateFailbackReplicationConfigurationCommand 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 = "DrsClient";
|
|
26
|
-
const commandName = "UpdateFailbackReplicationConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ElasticDisasterRecoveryService",
|
|
35
|
-
operation: "UpdateFailbackReplicationConfiguration",
|
|
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_UpdateFailbackReplicationConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateFailbackReplicationConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateFailbackReplicationConfigurationCommand 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("ElasticDisasterRecoveryService", "UpdateFailbackReplicationConfiguration", {})
|
|
19
|
+
.n("DrsClient", "UpdateFailbackReplicationConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateFailbackReplicationConfigurationCommand)
|
|
22
|
+
.de(de_UpdateFailbackReplicationConfigurationCommand)
|
|
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_UpdateLaunchConfigurationCommand, se_UpdateLaunchConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateLaunchConfigurationCommand 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 = "DrsClient";
|
|
26
|
-
const commandName = "UpdateLaunchConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ElasticDisasterRecoveryService",
|
|
35
|
-
operation: "UpdateLaunchConfiguration",
|
|
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_UpdateLaunchConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateLaunchConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateLaunchConfigurationCommand 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("ElasticDisasterRecoveryService", "UpdateLaunchConfiguration", {})
|
|
19
|
+
.n("DrsClient", "UpdateLaunchConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateLaunchConfigurationCommand)
|
|
22
|
+
.de(de_UpdateLaunchConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
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 { UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateLaunchConfigurationTemplateCommand, se_UpdateLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateLaunchConfigurationTemplateCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "DrsClient";
|
|
27
|
-
const commandName = "UpdateLaunchConfigurationTemplateCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ElasticDisasterRecoveryService",
|
|
36
|
-
operation: "UpdateLaunchConfigurationTemplate",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateLaunchConfigurationTemplateCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateLaunchConfigurationTemplateCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateLaunchConfigurationTemplateCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ElasticDisasterRecoveryService", "UpdateLaunchConfigurationTemplate", {})
|
|
20
|
+
.n("DrsClient", "UpdateLaunchConfigurationTemplateCommand")
|
|
21
|
+
.f(void 0, UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_UpdateLaunchConfigurationTemplateCommand)
|
|
23
|
+
.de(de_UpdateLaunchConfigurationTemplateCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
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 { ReplicationConfigurationFilterSensitiveLog, UpdateReplicationConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateReplicationConfigurationCommand, se_UpdateReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateReplicationConfigurationCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "DrsClient";
|
|
27
|
-
const commandName = "UpdateReplicationConfigurationCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateReplicationConfigurationRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: ReplicationConfigurationFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ElasticDisasterRecoveryService",
|
|
36
|
-
operation: "UpdateReplicationConfiguration",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateReplicationConfigurationCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateReplicationConfigurationCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateReplicationConfigurationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ElasticDisasterRecoveryService", "UpdateReplicationConfiguration", {})
|
|
20
|
+
.n("DrsClient", "UpdateReplicationConfigurationCommand")
|
|
21
|
+
.f(UpdateReplicationConfigurationRequestFilterSensitiveLog, ReplicationConfigurationFilterSensitiveLog)
|
|
22
|
+
.ser(se_UpdateReplicationConfigurationCommand)
|
|
23
|
+
.de(de_UpdateReplicationConfigurationCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
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 { ReplicationConfigurationTemplateFilterSensitiveLog, UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateReplicationConfigurationTemplateCommand, se_UpdateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateReplicationConfigurationTemplateCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "DrsClient";
|
|
27
|
-
const commandName = "UpdateReplicationConfigurationTemplateCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: ReplicationConfigurationTemplateFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ElasticDisasterRecoveryService",
|
|
36
|
-
operation: "UpdateReplicationConfigurationTemplate",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateReplicationConfigurationTemplateCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateReplicationConfigurationTemplateCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateReplicationConfigurationTemplateCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ElasticDisasterRecoveryService", "UpdateReplicationConfigurationTemplate", {})
|
|
20
|
+
.n("DrsClient", "UpdateReplicationConfigurationTemplateCommand")
|
|
21
|
+
.f(UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog, ReplicationConfigurationTemplateFilterSensitiveLog)
|
|
22
|
+
.ser(se_UpdateReplicationConfigurationTemplateCommand)
|
|
23
|
+
.de(de_UpdateReplicationConfigurationTemplateCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "drs",
|
|
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 { DescribeJobLogItemsCommand, } from "../commands/DescribeJobLogItemsCommand";
|
|
2
3
|
import { DrsClient } from "../DrsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeJobLogItemsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeJobLogItems(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 DrsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Drs | DrsClient");
|
|
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 paginateDescribeJobLogItems = createPaginator(DrsClient, DescribeJobLogItemsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeJobsCommand, } from "../commands/DescribeJobsCommand";
|
|
2
3
|
import { DrsClient } from "../DrsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeJobs(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 DrsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Drs | DrsClient");
|
|
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 paginateDescribeJobs = createPaginator(DrsClient, DescribeJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeLaunchConfigurationTemplatesCommand, } from "../commands/DescribeLaunchConfigurationTemplatesCommand";
|
|
2
3
|
import { DrsClient } from "../DrsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeLaunchConfigurationTemplatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeLaunchConfigurationTemplates(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 DrsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Drs | DrsClient");
|
|
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 paginateDescribeLaunchConfigurationTemplates = createPaginator(DrsClient, DescribeLaunchConfigurationTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeRecoveryInstancesCommand, } from "../commands/DescribeRecoveryInstancesCommand";
|
|
2
3
|
import { DrsClient } from "../DrsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeRecoveryInstancesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeRecoveryInstances(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 DrsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Drs | DrsClient");
|
|
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 paginateDescribeRecoveryInstances = createPaginator(DrsClient, DescribeRecoveryInstancesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeRecoverySnapshotsCommand, } from "../commands/DescribeRecoverySnapshotsCommand";
|
|
2
3
|
import { DrsClient } from "../DrsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeRecoverySnapshotsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeRecoverySnapshots(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 DrsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Drs | DrsClient");
|
|
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 paginateDescribeRecoverySnapshots = createPaginator(DrsClient, DescribeRecoverySnapshotsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeReplicationConfigurationTemplatesCommand, } from "../commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
2
3
|
import { DrsClient } from "../DrsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeReplicationConfigurationTemplatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeReplicationConfigurationTemplates(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 DrsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Drs | DrsClient");
|
|
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 paginateDescribeReplicationConfigurationTemplates = createPaginator(DrsClient, DescribeReplicationConfigurationTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeSourceNetworksCommand, } from "../commands/DescribeSourceNetworksCommand";
|
|
2
3
|
import { DrsClient } from "../DrsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeSourceNetworksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeSourceNetworks(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 DrsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Drs | DrsClient");
|
|
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 paginateDescribeSourceNetworks = createPaginator(DrsClient, DescribeSourceNetworksCommand, "nextToken", "nextToken", "maxResults");
|