@aws-sdk/client-backup 3.454.0 → 3.459.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +189 -77
- package/dist-cjs/Backup.js +28 -0
- package/dist-cjs/commands/CreateRestoreTestingPlanCommand.js +52 -0
- package/dist-cjs/commands/CreateRestoreTestingSelectionCommand.js +52 -0
- package/dist-cjs/commands/DeleteRestoreTestingPlanCommand.js +51 -0
- package/dist-cjs/commands/DeleteRestoreTestingSelectionCommand.js +51 -0
- package/dist-cjs/commands/GetRestoreJobMetadataCommand.js +52 -0
- package/dist-cjs/commands/GetRestoreTestingInferredMetadataCommand.js +51 -0
- package/dist-cjs/commands/GetRestoreTestingPlanCommand.js +51 -0
- package/dist-cjs/commands/GetRestoreTestingSelectionCommand.js +52 -0
- package/dist-cjs/commands/ListRestoreJobsByProtectedResourceCommand.js +51 -0
- package/dist-cjs/commands/ListRestoreTestingPlansCommand.js +51 -0
- package/dist-cjs/commands/ListRestoreTestingSelectionsCommand.js +51 -0
- package/dist-cjs/commands/PutRestoreValidationResultCommand.js +51 -0
- package/dist-cjs/commands/UpdateRestoreTestingPlanCommand.js +51 -0
- package/dist-cjs/commands/UpdateRestoreTestingSelectionCommand.js +52 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/models/models_0.js +67 -1
- package/dist-cjs/pagination/ListRestoreJobsByProtectedResourcePaginator.js +29 -0
- package/dist-cjs/pagination/ListRestoreTestingPlansPaginator.js +29 -0
- package/dist-cjs/pagination/ListRestoreTestingSelectionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1059 -71
- package/dist-es/Backup.js +28 -0
- package/dist-es/commands/CreateRestoreTestingPlanCommand.js +48 -0
- package/dist-es/commands/CreateRestoreTestingSelectionCommand.js +48 -0
- package/dist-es/commands/DeleteRestoreTestingPlanCommand.js +47 -0
- package/dist-es/commands/DeleteRestoreTestingSelectionCommand.js +47 -0
- package/dist-es/commands/GetRestoreJobMetadataCommand.js +48 -0
- package/dist-es/commands/GetRestoreTestingInferredMetadataCommand.js +47 -0
- package/dist-es/commands/GetRestoreTestingPlanCommand.js +47 -0
- package/dist-es/commands/GetRestoreTestingSelectionCommand.js +48 -0
- package/dist-es/commands/ListRestoreJobsByProtectedResourceCommand.js +47 -0
- package/dist-es/commands/ListRestoreTestingPlansCommand.js +47 -0
- package/dist-es/commands/ListRestoreTestingSelectionsCommand.js +47 -0
- package/dist-es/commands/PutRestoreValidationResultCommand.js +47 -0
- package/dist-es/commands/UpdateRestoreTestingPlanCommand.js +47 -0
- package/dist-es/commands/UpdateRestoreTestingSelectionCommand.js +48 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/models_0.js +57 -0
- package/dist-es/pagination/ListRestoreJobsByProtectedResourcePaginator.js +25 -0
- package/dist-es/pagination/ListRestoreTestingPlansPaginator.js +25 -0
- package/dist-es/pagination/ListRestoreTestingSelectionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1023 -63
- package/dist-types/Backup.d.ts +98 -0
- package/dist-types/BackupClient.d.ts +16 -2
- package/dist-types/commands/CreateBackupPlanCommand.d.ts +2 -0
- package/dist-types/commands/CreateRestoreTestingPlanCommand.d.ts +122 -0
- package/dist-types/commands/CreateRestoreTestingSelectionCommand.d.ts +146 -0
- package/dist-types/commands/DeleteRestoreTestingPlanCommand.d.ts +80 -0
- package/dist-types/commands/DeleteRestoreTestingSelectionCommand.d.ts +81 -0
- package/dist-types/commands/DescribeBackupJobCommand.d.ts +1 -0
- package/dist-types/commands/DescribeProtectedResourceCommand.d.ts +5 -0
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRestoreJobCommand.d.ts +8 -0
- package/dist-types/commands/GetBackupPlanCommand.d.ts +2 -0
- package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +2 -0
- package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +2 -0
- package/dist-types/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +1 -0
- package/dist-types/commands/GetRestoreJobMetadataCommand.d.ts +89 -0
- package/dist-types/commands/GetRestoreTestingInferredMetadataCommand.d.ts +93 -0
- package/dist-types/commands/GetRestoreTestingPlanCommand.d.ts +104 -0
- package/dist-types/commands/GetRestoreTestingSelectionCommand.d.ts +109 -0
- package/dist-types/commands/ListBackupJobsCommand.d.ts +1 -0
- package/dist-types/commands/ListProtectedResourcesByBackupVaultCommand.d.ts +2 -0
- package/dist-types/commands/ListProtectedResourcesCommand.d.ts +2 -0
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +1 -0
- package/dist-types/commands/ListRestoreJobsByProtectedResourceCommand.d.ts +120 -0
- package/dist-types/commands/ListRestoreJobsCommand.d.ts +9 -0
- package/dist-types/commands/ListRestoreTestingPlansCommand.d.ts +93 -0
- package/dist-types/commands/ListRestoreTestingSelectionsCommand.d.ts +96 -0
- package/dist-types/commands/PutRestoreValidationResultCommand.d.ts +94 -0
- package/dist-types/commands/StartBackupJobCommand.d.ts +1 -0
- package/dist-types/commands/StartCopyJobCommand.d.ts +1 -0
- package/dist-types/commands/UpdateBackupPlanCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRecoveryPointLifecycleCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRestoreTestingPlanCommand.d.ts +142 -0
- package/dist-types/commands/UpdateRestoreTestingSelectionCommand.d.ts +126 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +1481 -78
- package/dist-types/pagination/ListRestoreJobsByProtectedResourcePaginator.d.ts +7 -0
- package/dist-types/pagination/ListRestoreTestingPlansPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRestoreTestingSelectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/Backup.d.ts +250 -0
- package/dist-types/ts3.4/BackupClient.d.ts +86 -2
- package/dist-types/ts3.4/commands/CreateRestoreTestingPlanCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateRestoreTestingSelectionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteRestoreTestingPlanCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteRestoreTestingSelectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRestoreJobMetadataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRestoreTestingInferredMetadataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRestoreTestingPlanCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRestoreTestingSelectionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRestoreJobsByProtectedResourceCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRestoreTestingPlansCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRestoreTestingSelectionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutRestoreValidationResultCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRestoreTestingPlanCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateRestoreTestingSelectionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +276 -0
- package/dist-types/ts3.4/pagination/ListRestoreJobsByProtectedResourcePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRestoreTestingPlansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRestoreTestingSelectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +3 -3
package/dist-cjs/Backup.js
CHANGED
|
@@ -11,6 +11,8 @@ const CreateFrameworkCommand_1 = require("./commands/CreateFrameworkCommand");
|
|
|
11
11
|
const CreateLegalHoldCommand_1 = require("./commands/CreateLegalHoldCommand");
|
|
12
12
|
const CreateLogicallyAirGappedBackupVaultCommand_1 = require("./commands/CreateLogicallyAirGappedBackupVaultCommand");
|
|
13
13
|
const CreateReportPlanCommand_1 = require("./commands/CreateReportPlanCommand");
|
|
14
|
+
const CreateRestoreTestingPlanCommand_1 = require("./commands/CreateRestoreTestingPlanCommand");
|
|
15
|
+
const CreateRestoreTestingSelectionCommand_1 = require("./commands/CreateRestoreTestingSelectionCommand");
|
|
14
16
|
const DeleteBackupPlanCommand_1 = require("./commands/DeleteBackupPlanCommand");
|
|
15
17
|
const DeleteBackupSelectionCommand_1 = require("./commands/DeleteBackupSelectionCommand");
|
|
16
18
|
const DeleteBackupVaultAccessPolicyCommand_1 = require("./commands/DeleteBackupVaultAccessPolicyCommand");
|
|
@@ -20,6 +22,8 @@ const DeleteBackupVaultNotificationsCommand_1 = require("./commands/DeleteBackup
|
|
|
20
22
|
const DeleteFrameworkCommand_1 = require("./commands/DeleteFrameworkCommand");
|
|
21
23
|
const DeleteRecoveryPointCommand_1 = require("./commands/DeleteRecoveryPointCommand");
|
|
22
24
|
const DeleteReportPlanCommand_1 = require("./commands/DeleteReportPlanCommand");
|
|
25
|
+
const DeleteRestoreTestingPlanCommand_1 = require("./commands/DeleteRestoreTestingPlanCommand");
|
|
26
|
+
const DeleteRestoreTestingSelectionCommand_1 = require("./commands/DeleteRestoreTestingSelectionCommand");
|
|
23
27
|
const DescribeBackupJobCommand_1 = require("./commands/DescribeBackupJobCommand");
|
|
24
28
|
const DescribeBackupVaultCommand_1 = require("./commands/DescribeBackupVaultCommand");
|
|
25
29
|
const DescribeCopyJobCommand_1 = require("./commands/DescribeCopyJobCommand");
|
|
@@ -42,6 +46,10 @@ const GetBackupVaultAccessPolicyCommand_1 = require("./commands/GetBackupVaultAc
|
|
|
42
46
|
const GetBackupVaultNotificationsCommand_1 = require("./commands/GetBackupVaultNotificationsCommand");
|
|
43
47
|
const GetLegalHoldCommand_1 = require("./commands/GetLegalHoldCommand");
|
|
44
48
|
const GetRecoveryPointRestoreMetadataCommand_1 = require("./commands/GetRecoveryPointRestoreMetadataCommand");
|
|
49
|
+
const GetRestoreJobMetadataCommand_1 = require("./commands/GetRestoreJobMetadataCommand");
|
|
50
|
+
const GetRestoreTestingInferredMetadataCommand_1 = require("./commands/GetRestoreTestingInferredMetadataCommand");
|
|
51
|
+
const GetRestoreTestingPlanCommand_1 = require("./commands/GetRestoreTestingPlanCommand");
|
|
52
|
+
const GetRestoreTestingSelectionCommand_1 = require("./commands/GetRestoreTestingSelectionCommand");
|
|
45
53
|
const GetSupportedResourceTypesCommand_1 = require("./commands/GetSupportedResourceTypesCommand");
|
|
46
54
|
const ListBackupJobsCommand_1 = require("./commands/ListBackupJobsCommand");
|
|
47
55
|
const ListBackupJobSummariesCommand_1 = require("./commands/ListBackupJobSummariesCommand");
|
|
@@ -61,12 +69,16 @@ const ListRecoveryPointsByLegalHoldCommand_1 = require("./commands/ListRecoveryP
|
|
|
61
69
|
const ListRecoveryPointsByResourceCommand_1 = require("./commands/ListRecoveryPointsByResourceCommand");
|
|
62
70
|
const ListReportJobsCommand_1 = require("./commands/ListReportJobsCommand");
|
|
63
71
|
const ListReportPlansCommand_1 = require("./commands/ListReportPlansCommand");
|
|
72
|
+
const ListRestoreJobsByProtectedResourceCommand_1 = require("./commands/ListRestoreJobsByProtectedResourceCommand");
|
|
64
73
|
const ListRestoreJobsCommand_1 = require("./commands/ListRestoreJobsCommand");
|
|
65
74
|
const ListRestoreJobSummariesCommand_1 = require("./commands/ListRestoreJobSummariesCommand");
|
|
75
|
+
const ListRestoreTestingPlansCommand_1 = require("./commands/ListRestoreTestingPlansCommand");
|
|
76
|
+
const ListRestoreTestingSelectionsCommand_1 = require("./commands/ListRestoreTestingSelectionsCommand");
|
|
66
77
|
const ListTagsCommand_1 = require("./commands/ListTagsCommand");
|
|
67
78
|
const PutBackupVaultAccessPolicyCommand_1 = require("./commands/PutBackupVaultAccessPolicyCommand");
|
|
68
79
|
const PutBackupVaultLockConfigurationCommand_1 = require("./commands/PutBackupVaultLockConfigurationCommand");
|
|
69
80
|
const PutBackupVaultNotificationsCommand_1 = require("./commands/PutBackupVaultNotificationsCommand");
|
|
81
|
+
const PutRestoreValidationResultCommand_1 = require("./commands/PutRestoreValidationResultCommand");
|
|
70
82
|
const StartBackupJobCommand_1 = require("./commands/StartBackupJobCommand");
|
|
71
83
|
const StartCopyJobCommand_1 = require("./commands/StartCopyJobCommand");
|
|
72
84
|
const StartReportJobCommand_1 = require("./commands/StartReportJobCommand");
|
|
@@ -80,6 +92,8 @@ const UpdateGlobalSettingsCommand_1 = require("./commands/UpdateGlobalSettingsCo
|
|
|
80
92
|
const UpdateRecoveryPointLifecycleCommand_1 = require("./commands/UpdateRecoveryPointLifecycleCommand");
|
|
81
93
|
const UpdateRegionSettingsCommand_1 = require("./commands/UpdateRegionSettingsCommand");
|
|
82
94
|
const UpdateReportPlanCommand_1 = require("./commands/UpdateReportPlanCommand");
|
|
95
|
+
const UpdateRestoreTestingPlanCommand_1 = require("./commands/UpdateRestoreTestingPlanCommand");
|
|
96
|
+
const UpdateRestoreTestingSelectionCommand_1 = require("./commands/UpdateRestoreTestingSelectionCommand");
|
|
83
97
|
const commands = {
|
|
84
98
|
CancelLegalHoldCommand: CancelLegalHoldCommand_1.CancelLegalHoldCommand,
|
|
85
99
|
CreateBackupPlanCommand: CreateBackupPlanCommand_1.CreateBackupPlanCommand,
|
|
@@ -89,6 +103,8 @@ const commands = {
|
|
|
89
103
|
CreateLegalHoldCommand: CreateLegalHoldCommand_1.CreateLegalHoldCommand,
|
|
90
104
|
CreateLogicallyAirGappedBackupVaultCommand: CreateLogicallyAirGappedBackupVaultCommand_1.CreateLogicallyAirGappedBackupVaultCommand,
|
|
91
105
|
CreateReportPlanCommand: CreateReportPlanCommand_1.CreateReportPlanCommand,
|
|
106
|
+
CreateRestoreTestingPlanCommand: CreateRestoreTestingPlanCommand_1.CreateRestoreTestingPlanCommand,
|
|
107
|
+
CreateRestoreTestingSelectionCommand: CreateRestoreTestingSelectionCommand_1.CreateRestoreTestingSelectionCommand,
|
|
92
108
|
DeleteBackupPlanCommand: DeleteBackupPlanCommand_1.DeleteBackupPlanCommand,
|
|
93
109
|
DeleteBackupSelectionCommand: DeleteBackupSelectionCommand_1.DeleteBackupSelectionCommand,
|
|
94
110
|
DeleteBackupVaultCommand: DeleteBackupVaultCommand_1.DeleteBackupVaultCommand,
|
|
@@ -98,6 +114,8 @@ const commands = {
|
|
|
98
114
|
DeleteFrameworkCommand: DeleteFrameworkCommand_1.DeleteFrameworkCommand,
|
|
99
115
|
DeleteRecoveryPointCommand: DeleteRecoveryPointCommand_1.DeleteRecoveryPointCommand,
|
|
100
116
|
DeleteReportPlanCommand: DeleteReportPlanCommand_1.DeleteReportPlanCommand,
|
|
117
|
+
DeleteRestoreTestingPlanCommand: DeleteRestoreTestingPlanCommand_1.DeleteRestoreTestingPlanCommand,
|
|
118
|
+
DeleteRestoreTestingSelectionCommand: DeleteRestoreTestingSelectionCommand_1.DeleteRestoreTestingSelectionCommand,
|
|
101
119
|
DescribeBackupJobCommand: DescribeBackupJobCommand_1.DescribeBackupJobCommand,
|
|
102
120
|
DescribeBackupVaultCommand: DescribeBackupVaultCommand_1.DescribeBackupVaultCommand,
|
|
103
121
|
DescribeCopyJobCommand: DescribeCopyJobCommand_1.DescribeCopyJobCommand,
|
|
@@ -120,6 +138,10 @@ const commands = {
|
|
|
120
138
|
GetBackupVaultNotificationsCommand: GetBackupVaultNotificationsCommand_1.GetBackupVaultNotificationsCommand,
|
|
121
139
|
GetLegalHoldCommand: GetLegalHoldCommand_1.GetLegalHoldCommand,
|
|
122
140
|
GetRecoveryPointRestoreMetadataCommand: GetRecoveryPointRestoreMetadataCommand_1.GetRecoveryPointRestoreMetadataCommand,
|
|
141
|
+
GetRestoreJobMetadataCommand: GetRestoreJobMetadataCommand_1.GetRestoreJobMetadataCommand,
|
|
142
|
+
GetRestoreTestingInferredMetadataCommand: GetRestoreTestingInferredMetadataCommand_1.GetRestoreTestingInferredMetadataCommand,
|
|
143
|
+
GetRestoreTestingPlanCommand: GetRestoreTestingPlanCommand_1.GetRestoreTestingPlanCommand,
|
|
144
|
+
GetRestoreTestingSelectionCommand: GetRestoreTestingSelectionCommand_1.GetRestoreTestingSelectionCommand,
|
|
123
145
|
GetSupportedResourceTypesCommand: GetSupportedResourceTypesCommand_1.GetSupportedResourceTypesCommand,
|
|
124
146
|
ListBackupJobsCommand: ListBackupJobsCommand_1.ListBackupJobsCommand,
|
|
125
147
|
ListBackupJobSummariesCommand: ListBackupJobSummariesCommand_1.ListBackupJobSummariesCommand,
|
|
@@ -140,11 +162,15 @@ const commands = {
|
|
|
140
162
|
ListReportJobsCommand: ListReportJobsCommand_1.ListReportJobsCommand,
|
|
141
163
|
ListReportPlansCommand: ListReportPlansCommand_1.ListReportPlansCommand,
|
|
142
164
|
ListRestoreJobsCommand: ListRestoreJobsCommand_1.ListRestoreJobsCommand,
|
|
165
|
+
ListRestoreJobsByProtectedResourceCommand: ListRestoreJobsByProtectedResourceCommand_1.ListRestoreJobsByProtectedResourceCommand,
|
|
143
166
|
ListRestoreJobSummariesCommand: ListRestoreJobSummariesCommand_1.ListRestoreJobSummariesCommand,
|
|
167
|
+
ListRestoreTestingPlansCommand: ListRestoreTestingPlansCommand_1.ListRestoreTestingPlansCommand,
|
|
168
|
+
ListRestoreTestingSelectionsCommand: ListRestoreTestingSelectionsCommand_1.ListRestoreTestingSelectionsCommand,
|
|
144
169
|
ListTagsCommand: ListTagsCommand_1.ListTagsCommand,
|
|
145
170
|
PutBackupVaultAccessPolicyCommand: PutBackupVaultAccessPolicyCommand_1.PutBackupVaultAccessPolicyCommand,
|
|
146
171
|
PutBackupVaultLockConfigurationCommand: PutBackupVaultLockConfigurationCommand_1.PutBackupVaultLockConfigurationCommand,
|
|
147
172
|
PutBackupVaultNotificationsCommand: PutBackupVaultNotificationsCommand_1.PutBackupVaultNotificationsCommand,
|
|
173
|
+
PutRestoreValidationResultCommand: PutRestoreValidationResultCommand_1.PutRestoreValidationResultCommand,
|
|
148
174
|
StartBackupJobCommand: StartBackupJobCommand_1.StartBackupJobCommand,
|
|
149
175
|
StartCopyJobCommand: StartCopyJobCommand_1.StartCopyJobCommand,
|
|
150
176
|
StartReportJobCommand: StartReportJobCommand_1.StartReportJobCommand,
|
|
@@ -158,6 +184,8 @@ const commands = {
|
|
|
158
184
|
UpdateRecoveryPointLifecycleCommand: UpdateRecoveryPointLifecycleCommand_1.UpdateRecoveryPointLifecycleCommand,
|
|
159
185
|
UpdateRegionSettingsCommand: UpdateRegionSettingsCommand_1.UpdateRegionSettingsCommand,
|
|
160
186
|
UpdateReportPlanCommand: UpdateReportPlanCommand_1.UpdateReportPlanCommand,
|
|
187
|
+
UpdateRestoreTestingPlanCommand: UpdateRestoreTestingPlanCommand_1.UpdateRestoreTestingPlanCommand,
|
|
188
|
+
UpdateRestoreTestingSelectionCommand: UpdateRestoreTestingSelectionCommand_1.UpdateRestoreTestingSelectionCommand,
|
|
161
189
|
};
|
|
162
190
|
class Backup extends BackupClient_1.BackupClient {
|
|
163
191
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateRestoreTestingPlanCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class CreateRestoreTestingPlanCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
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
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateRestoreTestingPlanCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "BackupClient";
|
|
30
|
+
const commandName = "CreateRestoreTestingPlanCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.CreateRestoreTestingPlanInputFilterSensitiveLog,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CryoControllerUserManager",
|
|
39
|
+
operation: "CreateRestoreTestingPlan",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_CreateRestoreTestingPlanCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_CreateRestoreTestingPlanCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.CreateRestoreTestingPlanCommand = CreateRestoreTestingPlanCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateRestoreTestingSelectionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class CreateRestoreTestingSelectionCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
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
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateRestoreTestingSelectionCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "BackupClient";
|
|
30
|
+
const commandName = "CreateRestoreTestingSelectionCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.CreateRestoreTestingSelectionInputFilterSensitiveLog,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CryoControllerUserManager",
|
|
39
|
+
operation: "CreateRestoreTestingSelection",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_CreateRestoreTestingSelectionCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_CreateRestoreTestingSelectionCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.CreateRestoreTestingSelectionCommand = CreateRestoreTestingSelectionCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteRestoreTestingPlanCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DeleteRestoreTestingPlanCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteRestoreTestingPlanCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "DeleteRestoreTestingPlanCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "DeleteRestoreTestingPlan",
|
|
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_DeleteRestoreTestingPlanCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DeleteRestoreTestingPlanCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteRestoreTestingPlanCommand = DeleteRestoreTestingPlanCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteRestoreTestingSelectionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DeleteRestoreTestingSelectionCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteRestoreTestingSelectionCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "DeleteRestoreTestingSelectionCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "DeleteRestoreTestingSelection",
|
|
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_DeleteRestoreTestingSelectionCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DeleteRestoreTestingSelectionCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteRestoreTestingSelectionCommand = DeleteRestoreTestingSelectionCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetRestoreJobMetadataCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class GetRestoreJobMetadataCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
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
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetRestoreJobMetadataCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "BackupClient";
|
|
30
|
+
const commandName = "GetRestoreJobMetadataCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.GetRestoreJobMetadataOutputFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CryoControllerUserManager",
|
|
39
|
+
operation: "GetRestoreJobMetadata",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_GetRestoreJobMetadataCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_GetRestoreJobMetadataCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.GetRestoreJobMetadataCommand = GetRestoreJobMetadataCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetRestoreTestingInferredMetadataCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetRestoreTestingInferredMetadataCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetRestoreTestingInferredMetadataCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "GetRestoreTestingInferredMetadataCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "GetRestoreTestingInferredMetadata",
|
|
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_GetRestoreTestingInferredMetadataCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetRestoreTestingInferredMetadataCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetRestoreTestingInferredMetadataCommand = GetRestoreTestingInferredMetadataCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetRestoreTestingPlanCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetRestoreTestingPlanCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetRestoreTestingPlanCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "GetRestoreTestingPlanCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "GetRestoreTestingPlan",
|
|
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_GetRestoreTestingPlanCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetRestoreTestingPlanCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetRestoreTestingPlanCommand = GetRestoreTestingPlanCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetRestoreTestingSelectionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class GetRestoreTestingSelectionCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
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
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetRestoreTestingSelectionCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "BackupClient";
|
|
30
|
+
const commandName = "GetRestoreTestingSelectionCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.GetRestoreTestingSelectionOutputFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CryoControllerUserManager",
|
|
39
|
+
operation: "GetRestoreTestingSelection",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_GetRestoreTestingSelectionCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_GetRestoreTestingSelectionCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.GetRestoreTestingSelectionCommand = GetRestoreTestingSelectionCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRestoreJobsByProtectedResourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListRestoreJobsByProtectedResourceCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRestoreJobsByProtectedResourceCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "ListRestoreJobsByProtectedResourceCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "ListRestoreJobsByProtectedResource",
|
|
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_ListRestoreJobsByProtectedResourceCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListRestoreJobsByProtectedResourceCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListRestoreJobsByProtectedResourceCommand = ListRestoreJobsByProtectedResourceCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRestoreTestingPlansCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListRestoreTestingPlansCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRestoreTestingPlansCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "ListRestoreTestingPlansCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "ListRestoreTestingPlans",
|
|
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_ListRestoreTestingPlansCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListRestoreTestingPlansCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListRestoreTestingPlansCommand = ListRestoreTestingPlansCommand;
|