@aws-sdk/client-backup 3.458.0 → 3.460.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 +12 -12
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { DeleteRestoreTestingPlanInput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteRestoreTestingPlanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteRestoreTestingPlanCommandInput extends DeleteRestoreTestingPlanInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteRestoreTestingPlanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteRestoreTestingPlanCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This request deletes the specified restore testing plan.</p>
|
|
27
|
+
* <p>Deletion can only successfully occur if all associated
|
|
28
|
+
* restore testing selections are deleted first.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { BackupClient, DeleteRestoreTestingPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
33
|
+
* // const { BackupClient, DeleteRestoreTestingPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
34
|
+
* const client = new BackupClient(config);
|
|
35
|
+
* const input = { // DeleteRestoreTestingPlanInput
|
|
36
|
+
* RestoreTestingPlanName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new DeleteRestoreTestingPlanCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DeleteRestoreTestingPlanCommandInput - {@link DeleteRestoreTestingPlanCommandInput}
|
|
45
|
+
* @returns {@link DeleteRestoreTestingPlanCommandOutput}
|
|
46
|
+
* @see {@link DeleteRestoreTestingPlanCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DeleteRestoreTestingPlanCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
51
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
52
|
+
* parameter is of the wrong type.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
55
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BackupServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare class DeleteRestoreTestingPlanCommand extends $Command<DeleteRestoreTestingPlanCommandInput, DeleteRestoreTestingPlanCommandOutput, BackupClientResolvedConfig> {
|
|
62
|
+
readonly input: DeleteRestoreTestingPlanCommandInput;
|
|
63
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
constructor(input: DeleteRestoreTestingPlanCommandInput);
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRestoreTestingPlanCommandInput, DeleteRestoreTestingPlanCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private deserialize;
|
|
80
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { DeleteRestoreTestingSelectionInput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteRestoreTestingSelectionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteRestoreTestingSelectionCommandInput extends DeleteRestoreTestingSelectionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteRestoreTestingSelectionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteRestoreTestingSelectionCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Input the Restore Testing Plan name and Restore Testing Selection
|
|
27
|
+
* name.</p>
|
|
28
|
+
* <p>All testing selections associated with a restore testing plan must
|
|
29
|
+
* be deleted before the restore testing plan can be deleted.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { BackupClient, DeleteRestoreTestingSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
34
|
+
* // const { BackupClient, DeleteRestoreTestingSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
35
|
+
* const client = new BackupClient(config);
|
|
36
|
+
* const input = { // DeleteRestoreTestingSelectionInput
|
|
37
|
+
* RestoreTestingPlanName: "STRING_VALUE", // required
|
|
38
|
+
* RestoreTestingSelectionName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteRestoreTestingSelectionCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteRestoreTestingSelectionCommandInput - {@link DeleteRestoreTestingSelectionCommandInput}
|
|
47
|
+
* @returns {@link DeleteRestoreTestingSelectionCommandOutput}
|
|
48
|
+
* @see {@link DeleteRestoreTestingSelectionCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteRestoreTestingSelectionCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
53
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
56
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BackupServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class DeleteRestoreTestingSelectionCommand extends $Command<DeleteRestoreTestingSelectionCommandInput, DeleteRestoreTestingSelectionCommandOutput, BackupClientResolvedConfig> {
|
|
63
|
+
readonly input: DeleteRestoreTestingSelectionCommandInput;
|
|
64
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
constructor(input: DeleteRestoreTestingSelectionCommandInput);
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRestoreTestingSelectionCommandInput, DeleteRestoreTestingSelectionCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private deserialize;
|
|
81
|
+
}
|
|
@@ -70,6 +70,7 @@ export interface DescribeBackupJobCommandOutput extends DescribeBackupJobOutput,
|
|
|
70
70
|
* // "<keys>": Number("long"),
|
|
71
71
|
* // },
|
|
72
72
|
* // ResourceName: "STRING_VALUE",
|
|
73
|
+
* // InitiationDate: new Date("TIMESTAMP"),
|
|
73
74
|
* // MessageCategory: "STRING_VALUE",
|
|
74
75
|
* // };
|
|
75
76
|
*
|
|
@@ -42,6 +42,11 @@ export interface DescribeProtectedResourceCommandOutput extends DescribeProtecte
|
|
|
42
42
|
* // ResourceType: "STRING_VALUE",
|
|
43
43
|
* // LastBackupTime: new Date("TIMESTAMP"),
|
|
44
44
|
* // ResourceName: "STRING_VALUE",
|
|
45
|
+
* // LastBackupVaultArn: "STRING_VALUE",
|
|
46
|
+
* // LastRecoveryPointArn: "STRING_VALUE",
|
|
47
|
+
* // LatestRestoreExecutionTimeMinutes: Number("long"),
|
|
48
|
+
* // LatestRestoreJobCreationDate: new Date("TIMESTAMP"),
|
|
49
|
+
* // LatestRestoreRecoveryPointCreationDate: new Date("TIMESTAMP"),
|
|
45
50
|
* // };
|
|
46
51
|
*
|
|
47
52
|
* ```
|
|
@@ -64,6 +64,7 @@ export interface DescribeRecoveryPointCommandOutput extends DescribeRecoveryPoin
|
|
|
64
64
|
* // Lifecycle: { // Lifecycle
|
|
65
65
|
* // MoveToColdStorageAfterDays: Number("long"),
|
|
66
66
|
* // DeleteAfterDays: Number("long"),
|
|
67
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
67
68
|
* // },
|
|
68
69
|
* // EncryptionKeyArn: "STRING_VALUE",
|
|
69
70
|
* // IsEncrypted: true || false,
|
|
@@ -49,6 +49,14 @@ export interface DescribeRestoreJobCommandOutput extends DescribeRestoreJobOutpu
|
|
|
49
49
|
* // ExpectedCompletionTimeMinutes: Number("long"),
|
|
50
50
|
* // CreatedResourceArn: "STRING_VALUE",
|
|
51
51
|
* // ResourceType: "STRING_VALUE",
|
|
52
|
+
* // RecoveryPointCreationDate: new Date("TIMESTAMP"),
|
|
53
|
+
* // CreatedBy: { // RestoreJobCreator
|
|
54
|
+
* // RestoreTestingPlanArn: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ValidationStatus: "FAILED" || "SUCCESSFUL" || "TIMED_OUT" || "VALIDATING",
|
|
57
|
+
* // ValidationStatusMessage: "STRING_VALUE",
|
|
58
|
+
* // DeletionStatus: "DELETING" || "FAILED" || "SUCCESSFUL",
|
|
59
|
+
* // DeletionStatusMessage: "STRING_VALUE",
|
|
52
60
|
* // };
|
|
53
61
|
*
|
|
54
62
|
* ```
|
|
@@ -50,6 +50,7 @@ export interface GetBackupPlanCommandOutput extends GetBackupPlanOutput, __Metad
|
|
|
50
50
|
* // Lifecycle: { // Lifecycle
|
|
51
51
|
* // MoveToColdStorageAfterDays: Number("long"),
|
|
52
52
|
* // DeleteAfterDays: Number("long"),
|
|
53
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
53
54
|
* // },
|
|
54
55
|
* // RecoveryPointTags: { // Tags
|
|
55
56
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -60,6 +61,7 @@ export interface GetBackupPlanCommandOutput extends GetBackupPlanOutput, __Metad
|
|
|
60
61
|
* // Lifecycle: {
|
|
61
62
|
* // MoveToColdStorageAfterDays: Number("long"),
|
|
62
63
|
* // DeleteAfterDays: Number("long"),
|
|
64
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
63
65
|
* // },
|
|
64
66
|
* // DestinationBackupVaultArn: "STRING_VALUE", // required
|
|
65
67
|
* // },
|
|
@@ -48,6 +48,7 @@ export interface GetBackupPlanFromJSONCommandOutput extends GetBackupPlanFromJSO
|
|
|
48
48
|
* // Lifecycle: { // Lifecycle
|
|
49
49
|
* // MoveToColdStorageAfterDays: Number("long"),
|
|
50
50
|
* // DeleteAfterDays: Number("long"),
|
|
51
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
51
52
|
* // },
|
|
52
53
|
* // RecoveryPointTags: { // Tags
|
|
53
54
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -58,6 +59,7 @@ export interface GetBackupPlanFromJSONCommandOutput extends GetBackupPlanFromJSO
|
|
|
58
59
|
* // Lifecycle: {
|
|
59
60
|
* // MoveToColdStorageAfterDays: Number("long"),
|
|
60
61
|
* // DeleteAfterDays: Number("long"),
|
|
62
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
61
63
|
* // },
|
|
62
64
|
* // DestinationBackupVaultArn: "STRING_VALUE", // required
|
|
63
65
|
* // },
|
|
@@ -48,6 +48,7 @@ export interface GetBackupPlanFromTemplateCommandOutput extends GetBackupPlanFro
|
|
|
48
48
|
* // Lifecycle: { // Lifecycle
|
|
49
49
|
* // MoveToColdStorageAfterDays: Number("long"),
|
|
50
50
|
* // DeleteAfterDays: Number("long"),
|
|
51
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
51
52
|
* // },
|
|
52
53
|
* // RecoveryPointTags: { // Tags
|
|
53
54
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -58,6 +59,7 @@ export interface GetBackupPlanFromTemplateCommandOutput extends GetBackupPlanFro
|
|
|
58
59
|
* // Lifecycle: {
|
|
59
60
|
* // MoveToColdStorageAfterDays: Number("long"),
|
|
60
61
|
* // DeleteAfterDays: Number("long"),
|
|
62
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
61
63
|
* // },
|
|
62
64
|
* // DestinationBackupVaultArn: "STRING_VALUE", // required
|
|
63
65
|
* // },
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { GetRestoreJobMetadataInput, GetRestoreJobMetadataOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetRestoreJobMetadataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetRestoreJobMetadataCommandInput extends GetRestoreJobMetadataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetRestoreJobMetadataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetRestoreJobMetadataCommandOutput extends GetRestoreJobMetadataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This request returns the metadata for the specified restore job.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { BackupClient, GetRestoreJobMetadataCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
31
|
+
* // const { BackupClient, GetRestoreJobMetadataCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
32
|
+
* const client = new BackupClient(config);
|
|
33
|
+
* const input = { // GetRestoreJobMetadataInput
|
|
34
|
+
* RestoreJobId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new GetRestoreJobMetadataCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // GetRestoreJobMetadataOutput
|
|
39
|
+
* // RestoreJobId: "STRING_VALUE",
|
|
40
|
+
* // Metadata: { // Metadata
|
|
41
|
+
* // "<keys>": "STRING_VALUE",
|
|
42
|
+
* // },
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param GetRestoreJobMetadataCommandInput - {@link GetRestoreJobMetadataCommandInput}
|
|
48
|
+
* @returns {@link GetRestoreJobMetadataCommandOutput}
|
|
49
|
+
* @see {@link GetRestoreJobMetadataCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link GetRestoreJobMetadataCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
54
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
55
|
+
* out of range.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link MissingParameterValueException} (client fault)
|
|
58
|
+
* <p>Indicates that a required parameter is missing.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
64
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link BackupServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export declare class GetRestoreJobMetadataCommand extends $Command<GetRestoreJobMetadataCommandInput, GetRestoreJobMetadataCommandOutput, BackupClientResolvedConfig> {
|
|
71
|
+
readonly input: GetRestoreJobMetadataCommandInput;
|
|
72
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
constructor(input: GetRestoreJobMetadataCommandInput);
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRestoreJobMetadataCommandInput, GetRestoreJobMetadataCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private deserialize;
|
|
89
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { GetRestoreTestingInferredMetadataInput, GetRestoreTestingInferredMetadataOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetRestoreTestingInferredMetadataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetRestoreTestingInferredMetadataCommandInput extends GetRestoreTestingInferredMetadataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetRestoreTestingInferredMetadataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetRestoreTestingInferredMetadataCommandOutput extends GetRestoreTestingInferredMetadataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This request returns the minimal required set of metadata needed to
|
|
27
|
+
* start a restore job with secure default settings. <code>BackupVaultName</code>
|
|
28
|
+
* and <code>RecoveryPointArn</code> are required parameters.
|
|
29
|
+
* <code>BackupVaultAccountId</code> is an optional parameter.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { BackupClient, GetRestoreTestingInferredMetadataCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
34
|
+
* // const { BackupClient, GetRestoreTestingInferredMetadataCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
35
|
+
* const client = new BackupClient(config);
|
|
36
|
+
* const input = { // GetRestoreTestingInferredMetadataInput
|
|
37
|
+
* BackupVaultAccountId: "STRING_VALUE",
|
|
38
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
39
|
+
* RecoveryPointArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetRestoreTestingInferredMetadataCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetRestoreTestingInferredMetadataOutput
|
|
44
|
+
* // InferredMetadata: { // stringMap // required
|
|
45
|
+
* // "<keys>": "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param GetRestoreTestingInferredMetadataCommandInput - {@link GetRestoreTestingInferredMetadataCommandInput}
|
|
52
|
+
* @returns {@link GetRestoreTestingInferredMetadataCommandOutput}
|
|
53
|
+
* @see {@link GetRestoreTestingInferredMetadataCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link GetRestoreTestingInferredMetadataCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
58
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
59
|
+
* out of range.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link MissingParameterValueException} (client fault)
|
|
62
|
+
* <p>Indicates that a required parameter is missing.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
68
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link BackupServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export declare class GetRestoreTestingInferredMetadataCommand extends $Command<GetRestoreTestingInferredMetadataCommandInput, GetRestoreTestingInferredMetadataCommandOutput, BackupClientResolvedConfig> {
|
|
75
|
+
readonly input: GetRestoreTestingInferredMetadataCommandInput;
|
|
76
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
constructor(input: GetRestoreTestingInferredMetadataCommandInput);
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRestoreTestingInferredMetadataCommandInput, GetRestoreTestingInferredMetadataCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private deserialize;
|
|
93
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { GetRestoreTestingPlanInput, GetRestoreTestingPlanOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetRestoreTestingPlanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetRestoreTestingPlanCommandInput extends GetRestoreTestingPlanInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetRestoreTestingPlanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetRestoreTestingPlanCommandOutput extends GetRestoreTestingPlanOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns <code>RestoreTestingPlan</code> details for the specified
|
|
27
|
+
* <code>RestoreTestingPlanName</code>. The details are the body of a restore testing plan
|
|
28
|
+
* in JSON format, in addition to plan metadata.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { BackupClient, GetRestoreTestingPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
33
|
+
* // const { BackupClient, GetRestoreTestingPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
34
|
+
* const client = new BackupClient(config);
|
|
35
|
+
* const input = { // GetRestoreTestingPlanInput
|
|
36
|
+
* RestoreTestingPlanName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new GetRestoreTestingPlanCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // GetRestoreTestingPlanOutput
|
|
41
|
+
* // RestoreTestingPlan: { // RestoreTestingPlanForGet
|
|
42
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
43
|
+
* // CreatorRequestId: "STRING_VALUE",
|
|
44
|
+
* // LastExecutionTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // LastUpdateTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // RecoveryPointSelection: { // RestoreTestingRecoveryPointSelection
|
|
47
|
+
* // Algorithm: "LATEST_WITHIN_WINDOW" || "RANDOM_WITHIN_WINDOW",
|
|
48
|
+
* // ExcludeVaults: [ // stringList
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // IncludeVaults: [
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // RecoveryPointTypes: [ // RestoreTestingRecoveryPointTypeList
|
|
55
|
+
* // "CONTINUOUS" || "SNAPSHOT",
|
|
56
|
+
* // ],
|
|
57
|
+
* // SelectionWindowDays: Number("int"),
|
|
58
|
+
* // },
|
|
59
|
+
* // RestoreTestingPlanArn: "STRING_VALUE", // required
|
|
60
|
+
* // RestoreTestingPlanName: "STRING_VALUE", // required
|
|
61
|
+
* // ScheduleExpression: "STRING_VALUE", // required
|
|
62
|
+
* // ScheduleExpressionTimezone: "STRING_VALUE",
|
|
63
|
+
* // StartWindowHours: Number("int"),
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetRestoreTestingPlanCommandInput - {@link GetRestoreTestingPlanCommandInput}
|
|
70
|
+
* @returns {@link GetRestoreTestingPlanCommandOutput}
|
|
71
|
+
* @see {@link GetRestoreTestingPlanCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetRestoreTestingPlanCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
79
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link BackupServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
export declare class GetRestoreTestingPlanCommand extends $Command<GetRestoreTestingPlanCommandInput, GetRestoreTestingPlanCommandOutput, BackupClientResolvedConfig> {
|
|
86
|
+
readonly input: GetRestoreTestingPlanCommandInput;
|
|
87
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
constructor(input: GetRestoreTestingPlanCommandInput);
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRestoreTestingPlanCommandInput, GetRestoreTestingPlanCommandOutput>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private serialize;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
private deserialize;
|
|
104
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { GetRestoreTestingSelectionInput, GetRestoreTestingSelectionOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetRestoreTestingSelectionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetRestoreTestingSelectionCommandInput extends GetRestoreTestingSelectionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetRestoreTestingSelectionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetRestoreTestingSelectionCommandOutput extends GetRestoreTestingSelectionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns RestoreTestingSelection, which displays resources
|
|
27
|
+
* and elements of the restore testing plan.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BackupClient, GetRestoreTestingSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
32
|
+
* // const { BackupClient, GetRestoreTestingSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
33
|
+
* const client = new BackupClient(config);
|
|
34
|
+
* const input = { // GetRestoreTestingSelectionInput
|
|
35
|
+
* RestoreTestingPlanName: "STRING_VALUE", // required
|
|
36
|
+
* RestoreTestingSelectionName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new GetRestoreTestingSelectionCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // GetRestoreTestingSelectionOutput
|
|
41
|
+
* // RestoreTestingSelection: { // RestoreTestingSelectionForGet
|
|
42
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
43
|
+
* // CreatorRequestId: "STRING_VALUE",
|
|
44
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
45
|
+
* // ProtectedResourceArns: [ // stringList
|
|
46
|
+
* // "STRING_VALUE",
|
|
47
|
+
* // ],
|
|
48
|
+
* // ProtectedResourceConditions: { // ProtectedResourceConditions
|
|
49
|
+
* // StringEquals: [ // KeyValueList
|
|
50
|
+
* // { // KeyValue
|
|
51
|
+
* // Key: "STRING_VALUE", // required
|
|
52
|
+
* // Value: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // StringNotEquals: [
|
|
56
|
+
* // {
|
|
57
|
+
* // Key: "STRING_VALUE", // required
|
|
58
|
+
* // Value: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // ProtectedResourceType: "STRING_VALUE", // required
|
|
63
|
+
* // RestoreMetadataOverrides: { // SensitiveStringMap
|
|
64
|
+
* // "<keys>": "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // RestoreTestingPlanName: "STRING_VALUE", // required
|
|
67
|
+
* // RestoreTestingSelectionName: "STRING_VALUE", // required
|
|
68
|
+
* // ValidationWindowHours: Number("int"),
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param GetRestoreTestingSelectionCommandInput - {@link GetRestoreTestingSelectionCommandInput}
|
|
75
|
+
* @returns {@link GetRestoreTestingSelectionCommandOutput}
|
|
76
|
+
* @see {@link GetRestoreTestingSelectionCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link GetRestoreTestingSelectionCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
84
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link BackupServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class GetRestoreTestingSelectionCommand extends $Command<GetRestoreTestingSelectionCommandInput, GetRestoreTestingSelectionCommandOutput, BackupClientResolvedConfig> {
|
|
91
|
+
readonly input: GetRestoreTestingSelectionCommandInput;
|
|
92
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
constructor(input: GetRestoreTestingSelectionCommandInput);
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRestoreTestingSelectionCommandInput, GetRestoreTestingSelectionCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private deserialize;
|
|
109
|
+
}
|