@aws-sdk/client-backup 3.458.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 +112 -0
- 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 +1 -1
|
@@ -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;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRestoreTestingSelectionsCommand = 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 ListRestoreTestingSelectionsCommand 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, ListRestoreTestingSelectionsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "ListRestoreTestingSelectionsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "ListRestoreTestingSelections",
|
|
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_ListRestoreTestingSelectionsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListRestoreTestingSelectionsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListRestoreTestingSelectionsCommand = ListRestoreTestingSelectionsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutRestoreValidationResultCommand = 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 PutRestoreValidationResultCommand 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, PutRestoreValidationResultCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "PutRestoreValidationResultCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "PutRestoreValidationResult",
|
|
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_PutRestoreValidationResultCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_PutRestoreValidationResultCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.PutRestoreValidationResultCommand = PutRestoreValidationResultCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateRestoreTestingPlanCommand = 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 UpdateRestoreTestingPlanCommand 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, UpdateRestoreTestingPlanCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "UpdateRestoreTestingPlanCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "UpdateRestoreTestingPlan",
|
|
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_UpdateRestoreTestingPlanCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UpdateRestoreTestingPlanCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateRestoreTestingPlanCommand = UpdateRestoreTestingPlanCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateRestoreTestingSelectionCommand = 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 UpdateRestoreTestingSelectionCommand 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, UpdateRestoreTestingSelectionCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "BackupClient";
|
|
30
|
+
const commandName = "UpdateRestoreTestingSelectionCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.UpdateRestoreTestingSelectionInputFilterSensitiveLog,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "CryoControllerUserManager",
|
|
39
|
+
operation: "UpdateRestoreTestingSelection",
|
|
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_UpdateRestoreTestingSelectionCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_UpdateRestoreTestingSelectionCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.UpdateRestoreTestingSelectionCommand = UpdateRestoreTestingSelectionCommand;
|
|
@@ -9,6 +9,8 @@ tslib_1.__exportStar(require("./CreateFrameworkCommand"), exports);
|
|
|
9
9
|
tslib_1.__exportStar(require("./CreateLegalHoldCommand"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./CreateLogicallyAirGappedBackupVaultCommand"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./CreateReportPlanCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./CreateRestoreTestingPlanCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./CreateRestoreTestingSelectionCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./DeleteBackupPlanCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./DeleteBackupSelectionCommand"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./DeleteBackupVaultAccessPolicyCommand"), exports);
|
|
@@ -18,6 +20,8 @@ tslib_1.__exportStar(require("./DeleteBackupVaultNotificationsCommand"), exports
|
|
|
18
20
|
tslib_1.__exportStar(require("./DeleteFrameworkCommand"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./DeleteRecoveryPointCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./DeleteReportPlanCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DeleteRestoreTestingPlanCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./DeleteRestoreTestingSelectionCommand"), exports);
|
|
21
25
|
tslib_1.__exportStar(require("./DescribeBackupJobCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./DescribeBackupVaultCommand"), exports);
|
|
23
27
|
tslib_1.__exportStar(require("./DescribeCopyJobCommand"), exports);
|
|
@@ -40,6 +44,10 @@ tslib_1.__exportStar(require("./GetBackupVaultAccessPolicyCommand"), exports);
|
|
|
40
44
|
tslib_1.__exportStar(require("./GetBackupVaultNotificationsCommand"), exports);
|
|
41
45
|
tslib_1.__exportStar(require("./GetLegalHoldCommand"), exports);
|
|
42
46
|
tslib_1.__exportStar(require("./GetRecoveryPointRestoreMetadataCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./GetRestoreJobMetadataCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./GetRestoreTestingInferredMetadataCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./GetRestoreTestingPlanCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./GetRestoreTestingSelectionCommand"), exports);
|
|
43
51
|
tslib_1.__exportStar(require("./GetSupportedResourceTypesCommand"), exports);
|
|
44
52
|
tslib_1.__exportStar(require("./ListBackupJobSummariesCommand"), exports);
|
|
45
53
|
tslib_1.__exportStar(require("./ListBackupJobsCommand"), exports);
|
|
@@ -60,11 +68,15 @@ tslib_1.__exportStar(require("./ListRecoveryPointsByResourceCommand"), exports);
|
|
|
60
68
|
tslib_1.__exportStar(require("./ListReportJobsCommand"), exports);
|
|
61
69
|
tslib_1.__exportStar(require("./ListReportPlansCommand"), exports);
|
|
62
70
|
tslib_1.__exportStar(require("./ListRestoreJobSummariesCommand"), exports);
|
|
71
|
+
tslib_1.__exportStar(require("./ListRestoreJobsByProtectedResourceCommand"), exports);
|
|
63
72
|
tslib_1.__exportStar(require("./ListRestoreJobsCommand"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./ListRestoreTestingPlansCommand"), exports);
|
|
74
|
+
tslib_1.__exportStar(require("./ListRestoreTestingSelectionsCommand"), exports);
|
|
64
75
|
tslib_1.__exportStar(require("./ListTagsCommand"), exports);
|
|
65
76
|
tslib_1.__exportStar(require("./PutBackupVaultAccessPolicyCommand"), exports);
|
|
66
77
|
tslib_1.__exportStar(require("./PutBackupVaultLockConfigurationCommand"), exports);
|
|
67
78
|
tslib_1.__exportStar(require("./PutBackupVaultNotificationsCommand"), exports);
|
|
79
|
+
tslib_1.__exportStar(require("./PutRestoreValidationResultCommand"), exports);
|
|
68
80
|
tslib_1.__exportStar(require("./StartBackupJobCommand"), exports);
|
|
69
81
|
tslib_1.__exportStar(require("./StartCopyJobCommand"), exports);
|
|
70
82
|
tslib_1.__exportStar(require("./StartReportJobCommand"), exports);
|
|
@@ -78,3 +90,5 @@ tslib_1.__exportStar(require("./UpdateGlobalSettingsCommand"), exports);
|
|
|
78
90
|
tslib_1.__exportStar(require("./UpdateRecoveryPointLifecycleCommand"), exports);
|
|
79
91
|
tslib_1.__exportStar(require("./UpdateRegionSettingsCommand"), exports);
|
|
80
92
|
tslib_1.__exportStar(require("./UpdateReportPlanCommand"), exports);
|
|
93
|
+
tslib_1.__exportStar(require("./UpdateRestoreTestingPlanCommand"), exports);
|
|
94
|
+
tslib_1.__exportStar(require("./UpdateRestoreTestingSelectionCommand"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TagResourceInputFilterSensitiveLog = exports.StartRestoreJobInputFilterSensitiveLog = exports.StartBackupJobInputFilterSensitiveLog = exports.ListTagsOutputFilterSensitiveLog = exports.GetRestoreTestingSelectionOutputFilterSensitiveLog = exports.RestoreTestingSelectionForGetFilterSensitiveLog = exports.GetRestoreJobMetadataOutputFilterSensitiveLog = exports.GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog = exports.GetBackupPlanFromTemplateOutputFilterSensitiveLog = exports.GetBackupPlanFromJSONOutputFilterSensitiveLog = exports.GetBackupPlanOutputFilterSensitiveLog = exports.CreateRestoreTestingSelectionInputFilterSensitiveLog = exports.RestoreTestingSelectionForCreateFilterSensitiveLog = exports.CreateRestoreTestingPlanInputFilterSensitiveLog = exports.CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog = exports.CreateLegalHoldInputFilterSensitiveLog = exports.CreateBackupVaultInputFilterSensitiveLog = exports.CreateBackupPlanInputFilterSensitiveLog = exports.BackupPlanInputFilterSensitiveLog = exports.BackupRuleInputFilterSensitiveLog = exports.BackupPlanFilterSensitiveLog = exports.BackupRuleFilterSensitiveLog = exports.RestoreJobState = exports.RestoreValidationStatus = exports.RestoreJobStatus = exports.RestoreDeletionStatus = exports.StorageClass = exports.RecoveryPointStatus = exports.VaultType = exports.DependencyFailureException = exports.RestoreTestingRecoveryPointType = exports.RestoreTestingRecoveryPointSelectionAlgorithm = exports.InvalidRequestException = exports.VaultState = exports.LegalHoldStatus = exports.LimitExceededException = exports.CopyJobStatus = exports.CopyJobState = exports.ConflictException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.MissingParameterValueException = exports.InvalidResourceStateException = exports.InvalidParameterValueException = exports.BackupVaultEvent = exports.ConditionType = exports.BackupJobStatus = exports.BackupJobState = exports.AlreadyExistsException = exports.AggregationPeriod = void 0;
|
|
4
|
+
exports.UpdateRestoreTestingSelectionInputFilterSensitiveLog = exports.RestoreTestingSelectionForUpdateFilterSensitiveLog = exports.UpdateBackupPlanInputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = void 0;
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const BackupServiceException_1 = require("./BackupServiceException");
|
|
6
7
|
exports.AggregationPeriod = {
|
|
@@ -240,6 +241,14 @@ class InvalidRequestException extends BackupServiceException_1.BackupServiceExce
|
|
|
240
241
|
}
|
|
241
242
|
}
|
|
242
243
|
exports.InvalidRequestException = InvalidRequestException;
|
|
244
|
+
exports.RestoreTestingRecoveryPointSelectionAlgorithm = {
|
|
245
|
+
LATEST_WITHIN_WINDOW: "LATEST_WITHIN_WINDOW",
|
|
246
|
+
RANDOM_WITHIN_WINDOW: "RANDOM_WITHIN_WINDOW",
|
|
247
|
+
};
|
|
248
|
+
exports.RestoreTestingRecoveryPointType = {
|
|
249
|
+
CONTINUOUS: "CONTINUOUS",
|
|
250
|
+
SNAPSHOT: "SNAPSHOT",
|
|
251
|
+
};
|
|
243
252
|
class DependencyFailureException extends BackupServiceException_1.BackupServiceException {
|
|
244
253
|
constructor(opts) {
|
|
245
254
|
super({
|
|
@@ -272,6 +281,11 @@ exports.StorageClass = {
|
|
|
272
281
|
DELETED: "DELETED",
|
|
273
282
|
WARM: "WARM",
|
|
274
283
|
};
|
|
284
|
+
exports.RestoreDeletionStatus = {
|
|
285
|
+
DELETING: "DELETING",
|
|
286
|
+
FAILED: "FAILED",
|
|
287
|
+
SUCCESSFUL: "SUCCESSFUL",
|
|
288
|
+
};
|
|
275
289
|
exports.RestoreJobStatus = {
|
|
276
290
|
ABORTED: "ABORTED",
|
|
277
291
|
COMPLETED: "COMPLETED",
|
|
@@ -279,6 +293,12 @@ exports.RestoreJobStatus = {
|
|
|
279
293
|
PENDING: "PENDING",
|
|
280
294
|
RUNNING: "RUNNING",
|
|
281
295
|
};
|
|
296
|
+
exports.RestoreValidationStatus = {
|
|
297
|
+
FAILED: "FAILED",
|
|
298
|
+
SUCCESSFUL: "SUCCESSFUL",
|
|
299
|
+
TIMED_OUT: "TIMED_OUT",
|
|
300
|
+
VALIDATING: "VALIDATING",
|
|
301
|
+
};
|
|
282
302
|
exports.RestoreJobState = {
|
|
283
303
|
ABORTED: "ABORTED",
|
|
284
304
|
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
@@ -330,6 +350,23 @@ const CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog = (obj) => ({
|
|
|
330
350
|
...(obj.BackupVaultTags && { BackupVaultTags: smithy_client_1.SENSITIVE_STRING }),
|
|
331
351
|
});
|
|
332
352
|
exports.CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog = CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog;
|
|
353
|
+
const CreateRestoreTestingPlanInputFilterSensitiveLog = (obj) => ({
|
|
354
|
+
...obj,
|
|
355
|
+
...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
|
|
356
|
+
});
|
|
357
|
+
exports.CreateRestoreTestingPlanInputFilterSensitiveLog = CreateRestoreTestingPlanInputFilterSensitiveLog;
|
|
358
|
+
const RestoreTestingSelectionForCreateFilterSensitiveLog = (obj) => ({
|
|
359
|
+
...obj,
|
|
360
|
+
...(obj.RestoreMetadataOverrides && { RestoreMetadataOverrides: smithy_client_1.SENSITIVE_STRING }),
|
|
361
|
+
});
|
|
362
|
+
exports.RestoreTestingSelectionForCreateFilterSensitiveLog = RestoreTestingSelectionForCreateFilterSensitiveLog;
|
|
363
|
+
const CreateRestoreTestingSelectionInputFilterSensitiveLog = (obj) => ({
|
|
364
|
+
...obj,
|
|
365
|
+
...(obj.RestoreTestingSelection && {
|
|
366
|
+
RestoreTestingSelection: (0, exports.RestoreTestingSelectionForCreateFilterSensitiveLog)(obj.RestoreTestingSelection),
|
|
367
|
+
}),
|
|
368
|
+
});
|
|
369
|
+
exports.CreateRestoreTestingSelectionInputFilterSensitiveLog = CreateRestoreTestingSelectionInputFilterSensitiveLog;
|
|
333
370
|
const GetBackupPlanOutputFilterSensitiveLog = (obj) => ({
|
|
334
371
|
...obj,
|
|
335
372
|
...(obj.BackupPlan && { BackupPlan: (0, exports.BackupPlanFilterSensitiveLog)(obj.BackupPlan) }),
|
|
@@ -350,6 +387,23 @@ const GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog = (obj) => ({
|
|
|
350
387
|
...(obj.RestoreMetadata && { RestoreMetadata: smithy_client_1.SENSITIVE_STRING }),
|
|
351
388
|
});
|
|
352
389
|
exports.GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog = GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog;
|
|
390
|
+
const GetRestoreJobMetadataOutputFilterSensitiveLog = (obj) => ({
|
|
391
|
+
...obj,
|
|
392
|
+
...(obj.Metadata && { Metadata: smithy_client_1.SENSITIVE_STRING }),
|
|
393
|
+
});
|
|
394
|
+
exports.GetRestoreJobMetadataOutputFilterSensitiveLog = GetRestoreJobMetadataOutputFilterSensitiveLog;
|
|
395
|
+
const RestoreTestingSelectionForGetFilterSensitiveLog = (obj) => ({
|
|
396
|
+
...obj,
|
|
397
|
+
...(obj.RestoreMetadataOverrides && { RestoreMetadataOverrides: smithy_client_1.SENSITIVE_STRING }),
|
|
398
|
+
});
|
|
399
|
+
exports.RestoreTestingSelectionForGetFilterSensitiveLog = RestoreTestingSelectionForGetFilterSensitiveLog;
|
|
400
|
+
const GetRestoreTestingSelectionOutputFilterSensitiveLog = (obj) => ({
|
|
401
|
+
...obj,
|
|
402
|
+
...(obj.RestoreTestingSelection && {
|
|
403
|
+
RestoreTestingSelection: (0, exports.RestoreTestingSelectionForGetFilterSensitiveLog)(obj.RestoreTestingSelection),
|
|
404
|
+
}),
|
|
405
|
+
});
|
|
406
|
+
exports.GetRestoreTestingSelectionOutputFilterSensitiveLog = GetRestoreTestingSelectionOutputFilterSensitiveLog;
|
|
353
407
|
const ListTagsOutputFilterSensitiveLog = (obj) => ({
|
|
354
408
|
...obj,
|
|
355
409
|
...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -380,3 +434,15 @@ const UpdateBackupPlanInputFilterSensitiveLog = (obj) => ({
|
|
|
380
434
|
...(obj.BackupPlan && { BackupPlan: (0, exports.BackupPlanInputFilterSensitiveLog)(obj.BackupPlan) }),
|
|
381
435
|
});
|
|
382
436
|
exports.UpdateBackupPlanInputFilterSensitiveLog = UpdateBackupPlanInputFilterSensitiveLog;
|
|
437
|
+
const RestoreTestingSelectionForUpdateFilterSensitiveLog = (obj) => ({
|
|
438
|
+
...obj,
|
|
439
|
+
...(obj.RestoreMetadataOverrides && { RestoreMetadataOverrides: smithy_client_1.SENSITIVE_STRING }),
|
|
440
|
+
});
|
|
441
|
+
exports.RestoreTestingSelectionForUpdateFilterSensitiveLog = RestoreTestingSelectionForUpdateFilterSensitiveLog;
|
|
442
|
+
const UpdateRestoreTestingSelectionInputFilterSensitiveLog = (obj) => ({
|
|
443
|
+
...obj,
|
|
444
|
+
...(obj.RestoreTestingSelection && {
|
|
445
|
+
RestoreTestingSelection: (0, exports.RestoreTestingSelectionForUpdateFilterSensitiveLog)(obj.RestoreTestingSelection),
|
|
446
|
+
}),
|
|
447
|
+
});
|
|
448
|
+
exports.UpdateRestoreTestingSelectionInputFilterSensitiveLog = UpdateRestoreTestingSelectionInputFilterSensitiveLog;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListRestoreJobsByProtectedResource = void 0;
|
|
4
|
+
const BackupClient_1 = require("../BackupClient");
|
|
5
|
+
const ListRestoreJobsByProtectedResourceCommand_1 = require("../commands/ListRestoreJobsByProtectedResourceCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListRestoreJobsByProtectedResourceCommand_1.ListRestoreJobsByProtectedResourceCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListRestoreJobsByProtectedResource(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof BackupClient_1.BackupClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Backup | BackupClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListRestoreJobsByProtectedResource = paginateListRestoreJobsByProtectedResource;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListRestoreTestingPlans = void 0;
|
|
4
|
+
const BackupClient_1 = require("../BackupClient");
|
|
5
|
+
const ListRestoreTestingPlansCommand_1 = require("../commands/ListRestoreTestingPlansCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListRestoreTestingPlansCommand_1.ListRestoreTestingPlansCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListRestoreTestingPlans(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof BackupClient_1.BackupClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Backup | BackupClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListRestoreTestingPlans = paginateListRestoreTestingPlans;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListRestoreTestingSelections = void 0;
|
|
4
|
+
const BackupClient_1 = require("../BackupClient");
|
|
5
|
+
const ListRestoreTestingSelectionsCommand_1 = require("../commands/ListRestoreTestingSelectionsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListRestoreTestingSelectionsCommand_1.ListRestoreTestingSelectionsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListRestoreTestingSelections(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof BackupClient_1.BackupClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Backup | BackupClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListRestoreTestingSelections = paginateListRestoreTestingSelections;
|
|
@@ -21,5 +21,8 @@ tslib_1.__exportStar(require("./ListRecoveryPointsByResourcePaginator"), exports
|
|
|
21
21
|
tslib_1.__exportStar(require("./ListReportJobsPaginator"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./ListReportPlansPaginator"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./ListRestoreJobSummariesPaginator"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./ListRestoreJobsByProtectedResourcePaginator"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./ListRestoreJobsPaginator"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./ListRestoreTestingPlansPaginator"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./ListRestoreTestingSelectionsPaginator"), exports);
|
|
25
28
|
tslib_1.__exportStar(require("./ListTagsPaginator"), exports);
|