@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,126 @@
|
|
|
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 { UpdateRestoreTestingSelectionInput, UpdateRestoreTestingSelectionOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateRestoreTestingSelectionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateRestoreTestingSelectionCommandInput extends UpdateRestoreTestingSelectionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateRestoreTestingSelectionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateRestoreTestingSelectionCommandOutput extends UpdateRestoreTestingSelectionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Most elements except the <code>RestoreTestingSelectionName</code>
|
|
27
|
+
* can be updated with this request.</p>
|
|
28
|
+
* <p>
|
|
29
|
+
* <code>RestoreTestingSelection</code> can use either protected
|
|
30
|
+
* resource ARNs or conditions, but not both. That is, if your selection
|
|
31
|
+
* has <code>ProtectedResourceArns</code>, requesting an update with the
|
|
32
|
+
* parameter <code>ProtectedResourceConditions</code> will be
|
|
33
|
+
* unsuccessful.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { BackupClient, UpdateRestoreTestingSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
38
|
+
* // const { BackupClient, UpdateRestoreTestingSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
39
|
+
* const client = new BackupClient(config);
|
|
40
|
+
* const input = { // UpdateRestoreTestingSelectionInput
|
|
41
|
+
* RestoreTestingPlanName: "STRING_VALUE", // required
|
|
42
|
+
* RestoreTestingSelection: { // RestoreTestingSelectionForUpdate
|
|
43
|
+
* IamRoleArn: "STRING_VALUE",
|
|
44
|
+
* ProtectedResourceArns: [ // stringList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* ProtectedResourceConditions: { // ProtectedResourceConditions
|
|
48
|
+
* StringEquals: [ // KeyValueList
|
|
49
|
+
* { // KeyValue
|
|
50
|
+
* Key: "STRING_VALUE", // required
|
|
51
|
+
* Value: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* StringNotEquals: [
|
|
55
|
+
* {
|
|
56
|
+
* Key: "STRING_VALUE", // required
|
|
57
|
+
* Value: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* RestoreMetadataOverrides: { // SensitiveStringMap
|
|
62
|
+
* "<keys>": "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* ValidationWindowHours: Number("int"),
|
|
65
|
+
* },
|
|
66
|
+
* RestoreTestingSelectionName: "STRING_VALUE", // required
|
|
67
|
+
* };
|
|
68
|
+
* const command = new UpdateRestoreTestingSelectionCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* // { // UpdateRestoreTestingSelectionOutput
|
|
71
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
72
|
+
* // RestoreTestingPlanArn: "STRING_VALUE", // required
|
|
73
|
+
* // RestoreTestingPlanName: "STRING_VALUE", // required
|
|
74
|
+
* // RestoreTestingSelectionName: "STRING_VALUE", // required
|
|
75
|
+
* // UpdateTime: new Date("TIMESTAMP"), // required
|
|
76
|
+
* // };
|
|
77
|
+
*
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @param UpdateRestoreTestingSelectionCommandInput - {@link UpdateRestoreTestingSelectionCommandInput}
|
|
81
|
+
* @returns {@link UpdateRestoreTestingSelectionCommandOutput}
|
|
82
|
+
* @see {@link UpdateRestoreTestingSelectionCommandInput} for command's `input` shape.
|
|
83
|
+
* @see {@link UpdateRestoreTestingSelectionCommandOutput} for command's `response` shape.
|
|
84
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ConflictException} (client fault)
|
|
87
|
+
* <p>Backup can't perform the action that you requested until it finishes
|
|
88
|
+
* performing a previous action. Try again later.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
91
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
92
|
+
* out of range.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link MissingParameterValueException} (client fault)
|
|
95
|
+
* <p>Indicates that a required parameter is missing.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
98
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
101
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link BackupServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
export declare class UpdateRestoreTestingSelectionCommand extends $Command<UpdateRestoreTestingSelectionCommandInput, UpdateRestoreTestingSelectionCommandOutput, BackupClientResolvedConfig> {
|
|
108
|
+
readonly input: UpdateRestoreTestingSelectionCommandInput;
|
|
109
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
constructor(input: UpdateRestoreTestingSelectionCommandInput);
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRestoreTestingSelectionCommandInput, UpdateRestoreTestingSelectionCommandOutput>;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
private serialize;
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
private deserialize;
|
|
126
|
+
}
|
|
@@ -6,6 +6,8 @@ export * from "./CreateFrameworkCommand";
|
|
|
6
6
|
export * from "./CreateLegalHoldCommand";
|
|
7
7
|
export * from "./CreateLogicallyAirGappedBackupVaultCommand";
|
|
8
8
|
export * from "./CreateReportPlanCommand";
|
|
9
|
+
export * from "./CreateRestoreTestingPlanCommand";
|
|
10
|
+
export * from "./CreateRestoreTestingSelectionCommand";
|
|
9
11
|
export * from "./DeleteBackupPlanCommand";
|
|
10
12
|
export * from "./DeleteBackupSelectionCommand";
|
|
11
13
|
export * from "./DeleteBackupVaultAccessPolicyCommand";
|
|
@@ -15,6 +17,8 @@ export * from "./DeleteBackupVaultNotificationsCommand";
|
|
|
15
17
|
export * from "./DeleteFrameworkCommand";
|
|
16
18
|
export * from "./DeleteRecoveryPointCommand";
|
|
17
19
|
export * from "./DeleteReportPlanCommand";
|
|
20
|
+
export * from "./DeleteRestoreTestingPlanCommand";
|
|
21
|
+
export * from "./DeleteRestoreTestingSelectionCommand";
|
|
18
22
|
export * from "./DescribeBackupJobCommand";
|
|
19
23
|
export * from "./DescribeBackupVaultCommand";
|
|
20
24
|
export * from "./DescribeCopyJobCommand";
|
|
@@ -37,6 +41,10 @@ export * from "./GetBackupVaultAccessPolicyCommand";
|
|
|
37
41
|
export * from "./GetBackupVaultNotificationsCommand";
|
|
38
42
|
export * from "./GetLegalHoldCommand";
|
|
39
43
|
export * from "./GetRecoveryPointRestoreMetadataCommand";
|
|
44
|
+
export * from "./GetRestoreJobMetadataCommand";
|
|
45
|
+
export * from "./GetRestoreTestingInferredMetadataCommand";
|
|
46
|
+
export * from "./GetRestoreTestingPlanCommand";
|
|
47
|
+
export * from "./GetRestoreTestingSelectionCommand";
|
|
40
48
|
export * from "./GetSupportedResourceTypesCommand";
|
|
41
49
|
export * from "./ListBackupJobSummariesCommand";
|
|
42
50
|
export * from "./ListBackupJobsCommand";
|
|
@@ -57,11 +65,15 @@ export * from "./ListRecoveryPointsByResourceCommand";
|
|
|
57
65
|
export * from "./ListReportJobsCommand";
|
|
58
66
|
export * from "./ListReportPlansCommand";
|
|
59
67
|
export * from "./ListRestoreJobSummariesCommand";
|
|
68
|
+
export * from "./ListRestoreJobsByProtectedResourceCommand";
|
|
60
69
|
export * from "./ListRestoreJobsCommand";
|
|
70
|
+
export * from "./ListRestoreTestingPlansCommand";
|
|
71
|
+
export * from "./ListRestoreTestingSelectionsCommand";
|
|
61
72
|
export * from "./ListTagsCommand";
|
|
62
73
|
export * from "./PutBackupVaultAccessPolicyCommand";
|
|
63
74
|
export * from "./PutBackupVaultLockConfigurationCommand";
|
|
64
75
|
export * from "./PutBackupVaultNotificationsCommand";
|
|
76
|
+
export * from "./PutRestoreValidationResultCommand";
|
|
65
77
|
export * from "./StartBackupJobCommand";
|
|
66
78
|
export * from "./StartCopyJobCommand";
|
|
67
79
|
export * from "./StartReportJobCommand";
|
|
@@ -75,3 +87,5 @@ export * from "./UpdateGlobalSettingsCommand";
|
|
|
75
87
|
export * from "./UpdateRecoveryPointLifecycleCommand";
|
|
76
88
|
export * from "./UpdateRegionSettingsCommand";
|
|
77
89
|
export * from "./UpdateReportPlanCommand";
|
|
90
|
+
export * from "./UpdateRestoreTestingPlanCommand";
|
|
91
|
+
export * from "./UpdateRestoreTestingSelectionCommand";
|