@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
|
@@ -81,6 +81,7 @@ export interface ListBackupJobsCommandOutput extends ListBackupJobsOutput, __Met
|
|
|
81
81
|
* // ParentJobId: "STRING_VALUE",
|
|
82
82
|
* // IsParent: true || false,
|
|
83
83
|
* // ResourceName: "STRING_VALUE",
|
|
84
|
+
* // InitiationDate: new Date("TIMESTAMP"),
|
|
84
85
|
* // MessageCategory: "STRING_VALUE",
|
|
85
86
|
* // },
|
|
86
87
|
* // ],
|
|
@@ -45,6 +45,8 @@ export interface ListProtectedResourcesByBackupVaultCommandOutput extends ListPr
|
|
|
45
45
|
* // ResourceType: "STRING_VALUE",
|
|
46
46
|
* // LastBackupTime: new Date("TIMESTAMP"),
|
|
47
47
|
* // ResourceName: "STRING_VALUE",
|
|
48
|
+
* // LastBackupVaultArn: "STRING_VALUE",
|
|
49
|
+
* // LastRecoveryPointArn: "STRING_VALUE",
|
|
48
50
|
* // },
|
|
49
51
|
* // ],
|
|
50
52
|
* // NextToken: "STRING_VALUE",
|
|
@@ -45,6 +45,8 @@ export interface ListProtectedResourcesCommandOutput extends ListProtectedResour
|
|
|
45
45
|
* // ResourceType: "STRING_VALUE",
|
|
46
46
|
* // LastBackupTime: new Date("TIMESTAMP"),
|
|
47
47
|
* // ResourceName: "STRING_VALUE",
|
|
48
|
+
* // LastBackupVaultArn: "STRING_VALUE",
|
|
49
|
+
* // LastRecoveryPointArn: "STRING_VALUE",
|
|
48
50
|
* // },
|
|
49
51
|
* // ],
|
|
50
52
|
* // NextToken: "STRING_VALUE",
|
|
@@ -73,6 +73,7 @@ export interface ListRecoveryPointsByBackupVaultCommandOutput extends ListRecove
|
|
|
73
73
|
* // Lifecycle: { // Lifecycle
|
|
74
74
|
* // MoveToColdStorageAfterDays: Number("long"),
|
|
75
75
|
* // DeleteAfterDays: Number("long"),
|
|
76
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
76
77
|
* // },
|
|
77
78
|
* // EncryptionKeyArn: "STRING_VALUE",
|
|
78
79
|
* // IsEncrypted: true || false,
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { ListRestoreJobsByProtectedResourceInput, ListRestoreJobsByProtectedResourceOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRestoreJobsByProtectedResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRestoreJobsByProtectedResourceCommandInput extends ListRestoreJobsByProtectedResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRestoreJobsByProtectedResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRestoreJobsByProtectedResourceCommandOutput extends ListRestoreJobsByProtectedResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This returns restore jobs that contain the specified protected resource.</p>
|
|
27
|
+
* <p>You must include <code>ResourceArn</code>. You can optionally include
|
|
28
|
+
* <code>NextToken</code>, <code>ByStatus</code>, <code>MaxResults</code>,
|
|
29
|
+
* <code>ByRecoveryPointCreationDateAfter</code> , and
|
|
30
|
+
* <code>ByRecoveryPointCreationDateBefore</code>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BackupClient, ListRestoreJobsByProtectedResourceCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
35
|
+
* // const { BackupClient, ListRestoreJobsByProtectedResourceCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
36
|
+
* const client = new BackupClient(config);
|
|
37
|
+
* const input = { // ListRestoreJobsByProtectedResourceInput
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* ByStatus: "PENDING" || "RUNNING" || "COMPLETED" || "ABORTED" || "FAILED",
|
|
40
|
+
* ByRecoveryPointCreationDateAfter: new Date("TIMESTAMP"),
|
|
41
|
+
* ByRecoveryPointCreationDateBefore: new Date("TIMESTAMP"),
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListRestoreJobsByProtectedResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListRestoreJobsByProtectedResourceOutput
|
|
48
|
+
* // RestoreJobs: [ // RestoreJobsList
|
|
49
|
+
* // { // RestoreJobsListMember
|
|
50
|
+
* // AccountId: "STRING_VALUE",
|
|
51
|
+
* // RestoreJobId: "STRING_VALUE",
|
|
52
|
+
* // RecoveryPointArn: "STRING_VALUE",
|
|
53
|
+
* // CreationDate: new Date("TIMESTAMP"),
|
|
54
|
+
* // CompletionDate: new Date("TIMESTAMP"),
|
|
55
|
+
* // Status: "PENDING" || "RUNNING" || "COMPLETED" || "ABORTED" || "FAILED",
|
|
56
|
+
* // StatusMessage: "STRING_VALUE",
|
|
57
|
+
* // PercentDone: "STRING_VALUE",
|
|
58
|
+
* // BackupSizeInBytes: Number("long"),
|
|
59
|
+
* // IamRoleArn: "STRING_VALUE",
|
|
60
|
+
* // ExpectedCompletionTimeMinutes: Number("long"),
|
|
61
|
+
* // CreatedResourceArn: "STRING_VALUE",
|
|
62
|
+
* // ResourceType: "STRING_VALUE",
|
|
63
|
+
* // RecoveryPointCreationDate: new Date("TIMESTAMP"),
|
|
64
|
+
* // CreatedBy: { // RestoreJobCreator
|
|
65
|
+
* // RestoreTestingPlanArn: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ValidationStatus: "FAILED" || "SUCCESSFUL" || "TIMED_OUT" || "VALIDATING",
|
|
68
|
+
* // ValidationStatusMessage: "STRING_VALUE",
|
|
69
|
+
* // DeletionStatus: "DELETING" || "FAILED" || "SUCCESSFUL",
|
|
70
|
+
* // DeletionStatusMessage: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // NextToken: "STRING_VALUE",
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param ListRestoreJobsByProtectedResourceCommandInput - {@link ListRestoreJobsByProtectedResourceCommandInput}
|
|
79
|
+
* @returns {@link ListRestoreJobsByProtectedResourceCommandOutput}
|
|
80
|
+
* @see {@link ListRestoreJobsByProtectedResourceCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link ListRestoreJobsByProtectedResourceCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
85
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
86
|
+
* out of range.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link MissingParameterValueException} (client fault)
|
|
89
|
+
* <p>Indicates that a required parameter is missing.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
95
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link BackupServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
export declare class ListRestoreJobsByProtectedResourceCommand extends $Command<ListRestoreJobsByProtectedResourceCommandInput, ListRestoreJobsByProtectedResourceCommandOutput, BackupClientResolvedConfig> {
|
|
102
|
+
readonly input: ListRestoreJobsByProtectedResourceCommandInput;
|
|
103
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
constructor(input: ListRestoreJobsByProtectedResourceCommandInput);
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRestoreJobsByProtectedResourceCommandInput, ListRestoreJobsByProtectedResourceCommandOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
private serialize;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
private deserialize;
|
|
120
|
+
}
|
|
@@ -40,6 +40,7 @@ export interface ListRestoreJobsCommandOutput extends ListRestoreJobsOutput, __M
|
|
|
40
40
|
* ByStatus: "PENDING" || "RUNNING" || "COMPLETED" || "ABORTED" || "FAILED",
|
|
41
41
|
* ByCompleteBefore: new Date("TIMESTAMP"),
|
|
42
42
|
* ByCompleteAfter: new Date("TIMESTAMP"),
|
|
43
|
+
* ByRestoreTestingPlanArn: "STRING_VALUE",
|
|
43
44
|
* };
|
|
44
45
|
* const command = new ListRestoreJobsCommand(input);
|
|
45
46
|
* const response = await client.send(command);
|
|
@@ -59,6 +60,14 @@ export interface ListRestoreJobsCommandOutput extends ListRestoreJobsOutput, __M
|
|
|
59
60
|
* // ExpectedCompletionTimeMinutes: Number("long"),
|
|
60
61
|
* // CreatedResourceArn: "STRING_VALUE",
|
|
61
62
|
* // ResourceType: "STRING_VALUE",
|
|
63
|
+
* // RecoveryPointCreationDate: new Date("TIMESTAMP"),
|
|
64
|
+
* // CreatedBy: { // RestoreJobCreator
|
|
65
|
+
* // RestoreTestingPlanArn: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ValidationStatus: "FAILED" || "SUCCESSFUL" || "TIMED_OUT" || "VALIDATING",
|
|
68
|
+
* // ValidationStatusMessage: "STRING_VALUE",
|
|
69
|
+
* // DeletionStatus: "DELETING" || "FAILED" || "SUCCESSFUL",
|
|
70
|
+
* // DeletionStatusMessage: "STRING_VALUE",
|
|
62
71
|
* // },
|
|
63
72
|
* // ],
|
|
64
73
|
* // NextToken: "STRING_VALUE",
|
|
@@ -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 { ListRestoreTestingPlansInput, ListRestoreTestingPlansOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRestoreTestingPlansCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRestoreTestingPlansCommandInput extends ListRestoreTestingPlansInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRestoreTestingPlansCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRestoreTestingPlansCommandOutput extends ListRestoreTestingPlansOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of restore testing plans.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { BackupClient, ListRestoreTestingPlansCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
31
|
+
* // const { BackupClient, ListRestoreTestingPlansCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
32
|
+
* const client = new BackupClient(config);
|
|
33
|
+
* const input = { // ListRestoreTestingPlansInput
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListRestoreTestingPlansCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListRestoreTestingPlansOutput
|
|
40
|
+
* // NextToken: "STRING_VALUE",
|
|
41
|
+
* // RestoreTestingPlans: [ // RestoreTestingPlans // required
|
|
42
|
+
* // { // RestoreTestingPlanForList
|
|
43
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // LastExecutionTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // LastUpdateTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // RestoreTestingPlanArn: "STRING_VALUE", // required
|
|
47
|
+
* // RestoreTestingPlanName: "STRING_VALUE", // required
|
|
48
|
+
* // ScheduleExpression: "STRING_VALUE", // required
|
|
49
|
+
* // ScheduleExpressionTimezone: "STRING_VALUE",
|
|
50
|
+
* // StartWindowHours: Number("int"),
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ListRestoreTestingPlansCommandInput - {@link ListRestoreTestingPlansCommandInput}
|
|
58
|
+
* @returns {@link ListRestoreTestingPlansCommandOutput}
|
|
59
|
+
* @see {@link ListRestoreTestingPlansCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListRestoreTestingPlansCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
64
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
65
|
+
* out of range.</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 ListRestoreTestingPlansCommand extends $Command<ListRestoreTestingPlansCommandInput, ListRestoreTestingPlansCommandOutput, BackupClientResolvedConfig> {
|
|
75
|
+
readonly input: ListRestoreTestingPlansCommandInput;
|
|
76
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
constructor(input: ListRestoreTestingPlansCommandInput);
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRestoreTestingPlansCommandInput, ListRestoreTestingPlansCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private deserialize;
|
|
93
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 { ListRestoreTestingSelectionsInput, ListRestoreTestingSelectionsOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRestoreTestingSelectionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRestoreTestingSelectionsCommandInput extends ListRestoreTestingSelectionsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRestoreTestingSelectionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRestoreTestingSelectionsCommandOutput extends ListRestoreTestingSelectionsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of restore testing selections. Can be filtered
|
|
27
|
+
* by <code>MaxResults</code> and <code>RestoreTestingPlanName</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BackupClient, ListRestoreTestingSelectionsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
32
|
+
* // const { BackupClient, ListRestoreTestingSelectionsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
33
|
+
* const client = new BackupClient(config);
|
|
34
|
+
* const input = { // ListRestoreTestingSelectionsInput
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* RestoreTestingPlanName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListRestoreTestingSelectionsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListRestoreTestingSelectionsOutput
|
|
42
|
+
* // NextToken: "STRING_VALUE",
|
|
43
|
+
* // RestoreTestingSelections: [ // RestoreTestingSelections // required
|
|
44
|
+
* // { // RestoreTestingSelectionForList
|
|
45
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
46
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
47
|
+
* // ProtectedResourceType: "STRING_VALUE", // required
|
|
48
|
+
* // RestoreTestingPlanName: "STRING_VALUE", // required
|
|
49
|
+
* // RestoreTestingSelectionName: "STRING_VALUE", // required
|
|
50
|
+
* // ValidationWindowHours: Number("int"),
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ListRestoreTestingSelectionsCommandInput - {@link ListRestoreTestingSelectionsCommandInput}
|
|
58
|
+
* @returns {@link ListRestoreTestingSelectionsCommandOutput}
|
|
59
|
+
* @see {@link ListRestoreTestingSelectionsCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListRestoreTestingSelectionsCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
64
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
65
|
+
* out of range.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
71
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link BackupServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class ListRestoreTestingSelectionsCommand extends $Command<ListRestoreTestingSelectionsCommandInput, ListRestoreTestingSelectionsCommandOutput, BackupClientResolvedConfig> {
|
|
78
|
+
readonly input: ListRestoreTestingSelectionsCommandInput;
|
|
79
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
constructor(input: ListRestoreTestingSelectionsCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRestoreTestingSelectionsCommandInput, ListRestoreTestingSelectionsCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private deserialize;
|
|
96
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { PutRestoreValidationResultInput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutRestoreValidationResultCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutRestoreValidationResultCommandInput extends PutRestoreValidationResultInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutRestoreValidationResultCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutRestoreValidationResultCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This request allows you to send your independent self-run
|
|
27
|
+
* restore test validation results.
|
|
28
|
+
* <code>RestoreJobId</code> and <code>ValidationStatus</code>
|
|
29
|
+
* are required. Optionally, you can input a
|
|
30
|
+
* <code>ValidationStatusMessage</code>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BackupClient, PutRestoreValidationResultCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
35
|
+
* // const { BackupClient, PutRestoreValidationResultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
36
|
+
* const client = new BackupClient(config);
|
|
37
|
+
* const input = { // PutRestoreValidationResultInput
|
|
38
|
+
* RestoreJobId: "STRING_VALUE", // required
|
|
39
|
+
* ValidationStatus: "FAILED" || "SUCCESSFUL" || "TIMED_OUT" || "VALIDATING", // required
|
|
40
|
+
* ValidationStatusMessage: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new PutRestoreValidationResultCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param PutRestoreValidationResultCommandInput - {@link PutRestoreValidationResultCommandInput}
|
|
49
|
+
* @returns {@link PutRestoreValidationResultCommandOutput}
|
|
50
|
+
* @see {@link PutRestoreValidationResultCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link PutRestoreValidationResultCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
55
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
56
|
+
* out of range.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
59
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
60
|
+
* parameter is of the wrong type.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link MissingParameterValueException} (client fault)
|
|
63
|
+
* <p>Indicates that a required parameter is missing.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
69
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link BackupServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export declare class PutRestoreValidationResultCommand extends $Command<PutRestoreValidationResultCommandInput, PutRestoreValidationResultCommandOutput, BackupClientResolvedConfig> {
|
|
76
|
+
readonly input: PutRestoreValidationResultCommandInput;
|
|
77
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(input: PutRestoreValidationResultCommandInput);
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRestoreValidationResultCommandInput, PutRestoreValidationResultCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private deserialize;
|
|
94
|
+
}
|
|
@@ -40,6 +40,7 @@ export interface StartBackupJobCommandOutput extends StartBackupJobOutput, __Met
|
|
|
40
40
|
* Lifecycle: { // Lifecycle
|
|
41
41
|
* MoveToColdStorageAfterDays: Number("long"),
|
|
42
42
|
* DeleteAfterDays: Number("long"),
|
|
43
|
+
* OptInToArchiveForSupportedResources: true || false,
|
|
43
44
|
* },
|
|
44
45
|
* RecoveryPointTags: { // Tags
|
|
45
46
|
* "<keys>": "STRING_VALUE",
|
|
@@ -40,6 +40,7 @@ export interface StartCopyJobCommandOutput extends StartCopyJobOutput, __Metadat
|
|
|
40
40
|
* Lifecycle: { // Lifecycle
|
|
41
41
|
* MoveToColdStorageAfterDays: Number("long"),
|
|
42
42
|
* DeleteAfterDays: Number("long"),
|
|
43
|
+
* OptInToArchiveForSupportedResources: true || false,
|
|
43
44
|
* },
|
|
44
45
|
* };
|
|
45
46
|
* const command = new StartCopyJobCommand(input);
|
|
@@ -46,6 +46,7 @@ export interface UpdateBackupPlanCommandOutput extends UpdateBackupPlanOutput, _
|
|
|
46
46
|
* Lifecycle: { // Lifecycle
|
|
47
47
|
* MoveToColdStorageAfterDays: Number("long"),
|
|
48
48
|
* DeleteAfterDays: Number("long"),
|
|
49
|
+
* OptInToArchiveForSupportedResources: true || false,
|
|
49
50
|
* },
|
|
50
51
|
* RecoveryPointTags: { // Tags
|
|
51
52
|
* "<keys>": "STRING_VALUE",
|
|
@@ -55,6 +56,7 @@ export interface UpdateBackupPlanCommandOutput extends UpdateBackupPlanOutput, _
|
|
|
55
56
|
* Lifecycle: {
|
|
56
57
|
* MoveToColdStorageAfterDays: Number("long"),
|
|
57
58
|
* DeleteAfterDays: Number("long"),
|
|
59
|
+
* OptInToArchiveForSupportedResources: true || false,
|
|
58
60
|
* },
|
|
59
61
|
* DestinationBackupVaultArn: "STRING_VALUE", // required
|
|
60
62
|
* },
|
|
@@ -48,6 +48,7 @@ export interface UpdateRecoveryPointLifecycleCommandOutput extends UpdateRecover
|
|
|
48
48
|
* Lifecycle: { // Lifecycle
|
|
49
49
|
* MoveToColdStorageAfterDays: Number("long"),
|
|
50
50
|
* DeleteAfterDays: Number("long"),
|
|
51
|
+
* OptInToArchiveForSupportedResources: true || false,
|
|
51
52
|
* },
|
|
52
53
|
* };
|
|
53
54
|
* const command = new UpdateRecoveryPointLifecycleCommand(input);
|
|
@@ -58,6 +59,7 @@ export interface UpdateRecoveryPointLifecycleCommandOutput extends UpdateRecover
|
|
|
58
59
|
* // Lifecycle: { // Lifecycle
|
|
59
60
|
* // MoveToColdStorageAfterDays: Number("long"),
|
|
60
61
|
* // DeleteAfterDays: Number("long"),
|
|
62
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
61
63
|
* // },
|
|
62
64
|
* // CalculatedLifecycle: { // CalculatedLifecycle
|
|
63
65
|
* // MoveToColdStorageAt: new Date("TIMESTAMP"),
|
|
@@ -0,0 +1,142 @@
|
|
|
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 { UpdateRestoreTestingPlanInput, UpdateRestoreTestingPlanOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateRestoreTestingPlanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateRestoreTestingPlanCommandInput extends UpdateRestoreTestingPlanInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateRestoreTestingPlanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateRestoreTestingPlanCommandOutput extends UpdateRestoreTestingPlanOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This request will send changes to your specified restore testing
|
|
27
|
+
* plan. <code>RestoreTestingPlanName</code>
|
|
28
|
+
* cannot be updated after it is created.</p>
|
|
29
|
+
* <p>
|
|
30
|
+
* <code>RecoveryPointSelection</code> can contain:</p>
|
|
31
|
+
* <ul>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>
|
|
34
|
+
* <code>Algorithm</code>
|
|
35
|
+
* </p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>ExcludeVaults</code>
|
|
40
|
+
* </p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>IncludeVaults</code>
|
|
45
|
+
* </p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <code>RecoveryPointTypes</code>
|
|
50
|
+
* </p>
|
|
51
|
+
* </li>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>
|
|
54
|
+
* <code>SelectionWindowDays</code>
|
|
55
|
+
* </p>
|
|
56
|
+
* </li>
|
|
57
|
+
* </ul>
|
|
58
|
+
* @example
|
|
59
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
60
|
+
* ```javascript
|
|
61
|
+
* import { BackupClient, UpdateRestoreTestingPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
62
|
+
* // const { BackupClient, UpdateRestoreTestingPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
63
|
+
* const client = new BackupClient(config);
|
|
64
|
+
* const input = { // UpdateRestoreTestingPlanInput
|
|
65
|
+
* RestoreTestingPlan: { // RestoreTestingPlanForUpdate
|
|
66
|
+
* RecoveryPointSelection: { // RestoreTestingRecoveryPointSelection
|
|
67
|
+
* Algorithm: "LATEST_WITHIN_WINDOW" || "RANDOM_WITHIN_WINDOW",
|
|
68
|
+
* ExcludeVaults: [ // stringList
|
|
69
|
+
* "STRING_VALUE",
|
|
70
|
+
* ],
|
|
71
|
+
* IncludeVaults: [
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* RecoveryPointTypes: [ // RestoreTestingRecoveryPointTypeList
|
|
75
|
+
* "CONTINUOUS" || "SNAPSHOT",
|
|
76
|
+
* ],
|
|
77
|
+
* SelectionWindowDays: Number("int"),
|
|
78
|
+
* },
|
|
79
|
+
* ScheduleExpression: "STRING_VALUE",
|
|
80
|
+
* ScheduleExpressionTimezone: "STRING_VALUE",
|
|
81
|
+
* StartWindowHours: Number("int"),
|
|
82
|
+
* },
|
|
83
|
+
* RestoreTestingPlanName: "STRING_VALUE", // required
|
|
84
|
+
* };
|
|
85
|
+
* const command = new UpdateRestoreTestingPlanCommand(input);
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* // { // UpdateRestoreTestingPlanOutput
|
|
88
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
89
|
+
* // RestoreTestingPlanArn: "STRING_VALUE", // required
|
|
90
|
+
* // RestoreTestingPlanName: "STRING_VALUE", // required
|
|
91
|
+
* // UpdateTime: new Date("TIMESTAMP"), // required
|
|
92
|
+
* // };
|
|
93
|
+
*
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* @param UpdateRestoreTestingPlanCommandInput - {@link UpdateRestoreTestingPlanCommandInput}
|
|
97
|
+
* @returns {@link UpdateRestoreTestingPlanCommandOutput}
|
|
98
|
+
* @see {@link UpdateRestoreTestingPlanCommandInput} for command's `input` shape.
|
|
99
|
+
* @see {@link UpdateRestoreTestingPlanCommandOutput} for command's `response` shape.
|
|
100
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ConflictException} (client fault)
|
|
103
|
+
* <p>Backup can't perform the action that you requested until it finishes
|
|
104
|
+
* performing a previous action. Try again later.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
107
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
108
|
+
* out of range.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link MissingParameterValueException} (client fault)
|
|
111
|
+
* <p>Indicates that a required parameter is missing.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
114
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
117
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link BackupServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
export declare class UpdateRestoreTestingPlanCommand extends $Command<UpdateRestoreTestingPlanCommandInput, UpdateRestoreTestingPlanCommandOutput, BackupClientResolvedConfig> {
|
|
124
|
+
readonly input: UpdateRestoreTestingPlanCommandInput;
|
|
125
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
constructor(input: UpdateRestoreTestingPlanCommandInput);
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRestoreTestingPlanCommandInput, UpdateRestoreTestingPlanCommandOutput>;
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
private serialize;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
private deserialize;
|
|
142
|
+
}
|