@aws-sdk/client-backup 3.828.0 → 3.831.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 +40 -0
- package/dist-cjs/index.js +445 -122
- package/dist-es/Backup.js +10 -0
- package/dist-es/commands/AssociateBackupVaultMpaApprovalTeamCommand.js +23 -0
- package/dist-es/commands/CreateRestoreAccessBackupVaultCommand.js +23 -0
- package/dist-es/commands/DisassociateBackupVaultMpaApprovalTeamCommand.js +23 -0
- package/dist-es/commands/ListRestoreAccessBackupVaultsCommand.js +22 -0
- package/dist-es/commands/RevokeRestoreAccessBackupVaultCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +110 -82
- package/dist-es/pagination/ListRestoreAccessBackupVaultsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +195 -14
- package/dist-types/Backup.d.ts +35 -0
- package/dist-types/BackupClient.d.ts +7 -2
- package/dist-types/commands/AssociateBackupVaultMpaApprovalTeamCommand.d.ts +89 -0
- package/dist-types/commands/CreateRestoreAccessBackupVaultCommand.d.ts +105 -0
- package/dist-types/commands/DescribeBackupVaultCommand.d.ts +11 -1
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateBackupVaultMpaApprovalTeamCommand.d.ts +88 -0
- package/dist-types/commands/GetBackupVaultNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupVaultsCommand.d.ts +2 -2
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +2 -1
- package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListRestoreAccessBackupVaultsCommand.d.ts +102 -0
- package/dist-types/commands/PutBackupVaultNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/RevokeRestoreAccessBackupVaultCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/models/models_0.d.ts +437 -161
- package/dist-types/pagination/ListRestoreAccessBackupVaultsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/Backup.d.ts +97 -0
- package/dist-types/ts3.4/BackupClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateBackupVaultMpaApprovalTeamCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateRestoreAccessBackupVaultCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateBackupVaultMpaApprovalTeamCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListRestoreAccessBackupVaultsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RevokeRestoreAccessBackupVaultCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/ts3.4/models/models_0.d.ts +145 -55
- package/dist-types/ts3.4/pagination/ListRestoreAccessBackupVaultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +2 -2
|
@@ -4,6 +4,21 @@ import { _json, collectBody, decorateServiceException as __decorateServiceExcept
|
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { BackupServiceException as __BaseException } from "../models/BackupServiceException";
|
|
6
6
|
import { AlreadyExistsException, ConflictException, DependencyFailureException, InvalidParameterValueException, InvalidRequestException, InvalidResourceStateException, LimitExceededException, MissingParameterValueException, ResourceNotFoundException, ServiceUnavailableException, } from "../models/models_0";
|
|
7
|
+
export const se_AssociateBackupVaultMpaApprovalTeamCommand = async (input, context) => {
|
|
8
|
+
const b = rb(input, context);
|
|
9
|
+
const headers = {
|
|
10
|
+
"content-type": "application/json",
|
|
11
|
+
};
|
|
12
|
+
b.bp("/backup-vaults/{BackupVaultName}/mpaApprovalTeam");
|
|
13
|
+
b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
|
|
14
|
+
let body;
|
|
15
|
+
body = JSON.stringify(take(input, {
|
|
16
|
+
MpaApprovalTeamArn: [],
|
|
17
|
+
RequesterComment: [],
|
|
18
|
+
}));
|
|
19
|
+
b.m("PUT").h(headers).b(body);
|
|
20
|
+
return b.build();
|
|
21
|
+
};
|
|
7
22
|
export const se_CancelLegalHoldCommand = async (input, context) => {
|
|
8
23
|
const b = rb(input, context);
|
|
9
24
|
const headers = {};
|
|
@@ -27,7 +42,7 @@ export const se_CreateBackupPlanCommand = async (input, context) => {
|
|
|
27
42
|
body = JSON.stringify(take(input, {
|
|
28
43
|
BackupPlan: (_) => _json(_),
|
|
29
44
|
BackupPlanTags: (_) => _json(_),
|
|
30
|
-
CreatorRequestId: [],
|
|
45
|
+
CreatorRequestId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
31
46
|
}));
|
|
32
47
|
b.m("PUT").h(headers).b(body);
|
|
33
48
|
return b.build();
|
|
@@ -42,7 +57,7 @@ export const se_CreateBackupSelectionCommand = async (input, context) => {
|
|
|
42
57
|
let body;
|
|
43
58
|
body = JSON.stringify(take(input, {
|
|
44
59
|
BackupSelection: (_) => _json(_),
|
|
45
|
-
CreatorRequestId: [],
|
|
60
|
+
CreatorRequestId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
46
61
|
}));
|
|
47
62
|
b.m("PUT").h(headers).b(body);
|
|
48
63
|
return b.build();
|
|
@@ -57,7 +72,7 @@ export const se_CreateBackupVaultCommand = async (input, context) => {
|
|
|
57
72
|
let body;
|
|
58
73
|
body = JSON.stringify(take(input, {
|
|
59
74
|
BackupVaultTags: (_) => _json(_),
|
|
60
|
-
CreatorRequestId: [],
|
|
75
|
+
CreatorRequestId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
61
76
|
EncryptionKeyArn: [],
|
|
62
77
|
}));
|
|
63
78
|
b.m("PUT").h(headers).b(body);
|
|
@@ -89,7 +104,7 @@ export const se_CreateLegalHoldCommand = async (input, context) => {
|
|
|
89
104
|
let body;
|
|
90
105
|
body = JSON.stringify(take(input, {
|
|
91
106
|
Description: [],
|
|
92
|
-
IdempotencyToken: [],
|
|
107
|
+
IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
93
108
|
RecoveryPointSelection: (_) => se_RecoveryPointSelection(_, context),
|
|
94
109
|
Tags: (_) => _json(_),
|
|
95
110
|
Title: [],
|
|
@@ -107,7 +122,7 @@ export const se_CreateLogicallyAirGappedBackupVaultCommand = async (input, conte
|
|
|
107
122
|
let body;
|
|
108
123
|
body = JSON.stringify(take(input, {
|
|
109
124
|
BackupVaultTags: (_) => _json(_),
|
|
110
|
-
CreatorRequestId: [],
|
|
125
|
+
CreatorRequestId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
111
126
|
MaxRetentionDays: [],
|
|
112
127
|
MinRetentionDays: [],
|
|
113
128
|
}));
|
|
@@ -132,6 +147,23 @@ export const se_CreateReportPlanCommand = async (input, context) => {
|
|
|
132
147
|
b.m("POST").h(headers).b(body);
|
|
133
148
|
return b.build();
|
|
134
149
|
};
|
|
150
|
+
export const se_CreateRestoreAccessBackupVaultCommand = async (input, context) => {
|
|
151
|
+
const b = rb(input, context);
|
|
152
|
+
const headers = {
|
|
153
|
+
"content-type": "application/json",
|
|
154
|
+
};
|
|
155
|
+
b.bp("/restore-access-backup-vaults");
|
|
156
|
+
let body;
|
|
157
|
+
body = JSON.stringify(take(input, {
|
|
158
|
+
BackupVaultName: [],
|
|
159
|
+
BackupVaultTags: (_) => _json(_),
|
|
160
|
+
CreatorRequestId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
161
|
+
RequesterComment: [],
|
|
162
|
+
SourceBackupVaultArn: [],
|
|
163
|
+
}));
|
|
164
|
+
b.m("PUT").h(headers).b(body);
|
|
165
|
+
return b.build();
|
|
166
|
+
};
|
|
135
167
|
export const se_CreateRestoreTestingPlanCommand = async (input, context) => {
|
|
136
168
|
const b = rb(input, context);
|
|
137
169
|
const headers = {
|
|
@@ -368,6 +400,23 @@ export const se_DescribeRestoreJobCommand = async (input, context) => {
|
|
|
368
400
|
b.m("GET").h(headers).b(body);
|
|
369
401
|
return b.build();
|
|
370
402
|
};
|
|
403
|
+
export const se_DisassociateBackupVaultMpaApprovalTeamCommand = async (input, context) => {
|
|
404
|
+
const b = rb(input, context);
|
|
405
|
+
const headers = {
|
|
406
|
+
"content-type": "application/json",
|
|
407
|
+
};
|
|
408
|
+
b.bp("/backup-vaults/{BackupVaultName}/mpaApprovalTeam");
|
|
409
|
+
b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
|
|
410
|
+
const query = map({
|
|
411
|
+
[_d]: [, ""],
|
|
412
|
+
});
|
|
413
|
+
let body;
|
|
414
|
+
body = JSON.stringify(take(input, {
|
|
415
|
+
RequesterComment: [],
|
|
416
|
+
}));
|
|
417
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
418
|
+
return b.build();
|
|
419
|
+
};
|
|
371
420
|
export const se_DisassociateRecoveryPointCommand = async (input, context) => {
|
|
372
421
|
const b = rb(input, context);
|
|
373
422
|
const headers = {};
|
|
@@ -827,6 +876,19 @@ export const se_ListReportPlansCommand = async (input, context) => {
|
|
|
827
876
|
b.m("GET").h(headers).q(query).b(body);
|
|
828
877
|
return b.build();
|
|
829
878
|
};
|
|
879
|
+
export const se_ListRestoreAccessBackupVaultsCommand = async (input, context) => {
|
|
880
|
+
const b = rb(input, context);
|
|
881
|
+
const headers = {};
|
|
882
|
+
b.bp("/logically-air-gapped-backup-vaults/{BackupVaultName}/restore-access-backup-vaults");
|
|
883
|
+
b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
|
|
884
|
+
const query = map({
|
|
885
|
+
[_nT]: [, input[_NT]],
|
|
886
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
887
|
+
});
|
|
888
|
+
let body;
|
|
889
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
890
|
+
return b.build();
|
|
891
|
+
};
|
|
830
892
|
export const se_ListRestoreJobsCommand = async (input, context) => {
|
|
831
893
|
const b = rb(input, context);
|
|
832
894
|
const headers = {};
|
|
@@ -983,6 +1045,19 @@ export const se_PutRestoreValidationResultCommand = async (input, context) => {
|
|
|
983
1045
|
b.m("PUT").h(headers).b(body);
|
|
984
1046
|
return b.build();
|
|
985
1047
|
};
|
|
1048
|
+
export const se_RevokeRestoreAccessBackupVaultCommand = async (input, context) => {
|
|
1049
|
+
const b = rb(input, context);
|
|
1050
|
+
const headers = {};
|
|
1051
|
+
b.bp("/logically-air-gapped-backup-vaults/{BackupVaultName}/restore-access-backup-vaults/{RestoreAccessBackupVaultArn}");
|
|
1052
|
+
b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
|
|
1053
|
+
b.p("RestoreAccessBackupVaultArn", () => input.RestoreAccessBackupVaultArn, "{RestoreAccessBackupVaultArn}", false);
|
|
1054
|
+
const query = map({
|
|
1055
|
+
[_rC]: [, input[_RC]],
|
|
1056
|
+
});
|
|
1057
|
+
let body;
|
|
1058
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1059
|
+
return b.build();
|
|
1060
|
+
};
|
|
986
1061
|
export const se_StartBackupJobCommand = async (input, context) => {
|
|
987
1062
|
const b = rb(input, context);
|
|
988
1063
|
const headers = {
|
|
@@ -995,7 +1070,7 @@ export const se_StartBackupJobCommand = async (input, context) => {
|
|
|
995
1070
|
BackupVaultName: [],
|
|
996
1071
|
CompleteWindowMinutes: [],
|
|
997
1072
|
IamRoleArn: [],
|
|
998
|
-
IdempotencyToken: [],
|
|
1073
|
+
IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
999
1074
|
Index: [],
|
|
1000
1075
|
Lifecycle: (_) => _json(_),
|
|
1001
1076
|
RecoveryPointTags: (_) => _json(_),
|
|
@@ -1015,7 +1090,7 @@ export const se_StartCopyJobCommand = async (input, context) => {
|
|
|
1015
1090
|
body = JSON.stringify(take(input, {
|
|
1016
1091
|
DestinationBackupVaultArn: [],
|
|
1017
1092
|
IamRoleArn: [],
|
|
1018
|
-
IdempotencyToken: [],
|
|
1093
|
+
IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1019
1094
|
Lifecycle: (_) => _json(_),
|
|
1020
1095
|
RecoveryPointArn: [],
|
|
1021
1096
|
SourceBackupVaultName: [],
|
|
@@ -1047,7 +1122,7 @@ export const se_StartRestoreJobCommand = async (input, context) => {
|
|
|
1047
1122
|
body = JSON.stringify(take(input, {
|
|
1048
1123
|
CopySourceTagsToRestoredResource: [],
|
|
1049
1124
|
IamRoleArn: [],
|
|
1050
|
-
IdempotencyToken: [],
|
|
1125
|
+
IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1051
1126
|
Metadata: (_) => _json(_),
|
|
1052
1127
|
RecoveryPointArn: [],
|
|
1053
1128
|
ResourceType: [],
|
|
@@ -1226,6 +1301,16 @@ export const se_UpdateRestoreTestingSelectionCommand = async (input, context) =>
|
|
|
1226
1301
|
b.m("PUT").h(headers).b(body);
|
|
1227
1302
|
return b.build();
|
|
1228
1303
|
};
|
|
1304
|
+
export const de_AssociateBackupVaultMpaApprovalTeamCommand = async (output, context) => {
|
|
1305
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1306
|
+
return de_CommandError(output, context);
|
|
1307
|
+
}
|
|
1308
|
+
const contents = map({
|
|
1309
|
+
$metadata: deserializeMetadata(output),
|
|
1310
|
+
});
|
|
1311
|
+
await collectBody(output.body, context);
|
|
1312
|
+
return contents;
|
|
1313
|
+
};
|
|
1229
1314
|
export const de_CancelLegalHoldCommand = async (output, context) => {
|
|
1230
1315
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1231
1316
|
return de_CommandError(output, context);
|
|
@@ -1354,6 +1439,23 @@ export const de_CreateReportPlanCommand = async (output, context) => {
|
|
|
1354
1439
|
Object.assign(contents, doc);
|
|
1355
1440
|
return contents;
|
|
1356
1441
|
};
|
|
1442
|
+
export const de_CreateRestoreAccessBackupVaultCommand = async (output, context) => {
|
|
1443
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1444
|
+
return de_CommandError(output, context);
|
|
1445
|
+
}
|
|
1446
|
+
const contents = map({
|
|
1447
|
+
$metadata: deserializeMetadata(output),
|
|
1448
|
+
});
|
|
1449
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1450
|
+
const doc = take(data, {
|
|
1451
|
+
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1452
|
+
RestoreAccessBackupVaultArn: __expectString,
|
|
1453
|
+
RestoreAccessBackupVaultName: __expectString,
|
|
1454
|
+
VaultState: __expectString,
|
|
1455
|
+
});
|
|
1456
|
+
Object.assign(contents, doc);
|
|
1457
|
+
return contents;
|
|
1458
|
+
};
|
|
1357
1459
|
export const de_CreateRestoreTestingPlanCommand = async (output, context) => {
|
|
1358
1460
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1359
1461
|
return de_CommandError(output, context);
|
|
@@ -1558,11 +1660,15 @@ export const de_DescribeBackupVaultCommand = async (output, context) => {
|
|
|
1558
1660
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1559
1661
|
CreatorRequestId: __expectString,
|
|
1560
1662
|
EncryptionKeyArn: __expectString,
|
|
1663
|
+
LatestMpaApprovalTeamUpdate: (_) => de_LatestMpaApprovalTeamUpdate(_, context),
|
|
1561
1664
|
LockDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1562
1665
|
Locked: __expectBoolean,
|
|
1563
1666
|
MaxRetentionDays: __expectLong,
|
|
1564
1667
|
MinRetentionDays: __expectLong,
|
|
1668
|
+
MpaApprovalTeamArn: __expectString,
|
|
1669
|
+
MpaSessionArn: __expectString,
|
|
1565
1670
|
NumberOfRecoveryPoints: __expectLong,
|
|
1671
|
+
SourceBackupVaultArn: __expectString,
|
|
1566
1672
|
VaultState: __expectString,
|
|
1567
1673
|
VaultType: __expectString,
|
|
1568
1674
|
});
|
|
@@ -1662,6 +1768,7 @@ export const de_DescribeRecoveryPointCommand = async (output, context) => {
|
|
|
1662
1768
|
IamRoleArn: __expectString,
|
|
1663
1769
|
IndexStatus: __expectString,
|
|
1664
1770
|
IndexStatusMessage: __expectString,
|
|
1771
|
+
InitiationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1665
1772
|
IsEncrypted: __expectBoolean,
|
|
1666
1773
|
IsParent: __expectBoolean,
|
|
1667
1774
|
LastRestoreTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -1755,6 +1862,16 @@ export const de_DescribeRestoreJobCommand = async (output, context) => {
|
|
|
1755
1862
|
Object.assign(contents, doc);
|
|
1756
1863
|
return contents;
|
|
1757
1864
|
};
|
|
1865
|
+
export const de_DisassociateBackupVaultMpaApprovalTeamCommand = async (output, context) => {
|
|
1866
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1867
|
+
return de_CommandError(output, context);
|
|
1868
|
+
}
|
|
1869
|
+
const contents = map({
|
|
1870
|
+
$metadata: deserializeMetadata(output),
|
|
1871
|
+
});
|
|
1872
|
+
await collectBody(output.body, context);
|
|
1873
|
+
return contents;
|
|
1874
|
+
};
|
|
1758
1875
|
export const de_DisassociateRecoveryPointCommand = async (output, context) => {
|
|
1759
1876
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1760
1877
|
return de_CommandError(output, context);
|
|
@@ -2310,6 +2427,21 @@ export const de_ListReportPlansCommand = async (output, context) => {
|
|
|
2310
2427
|
Object.assign(contents, doc);
|
|
2311
2428
|
return contents;
|
|
2312
2429
|
};
|
|
2430
|
+
export const de_ListRestoreAccessBackupVaultsCommand = async (output, context) => {
|
|
2431
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2432
|
+
return de_CommandError(output, context);
|
|
2433
|
+
}
|
|
2434
|
+
const contents = map({
|
|
2435
|
+
$metadata: deserializeMetadata(output),
|
|
2436
|
+
});
|
|
2437
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2438
|
+
const doc = take(data, {
|
|
2439
|
+
NextToken: __expectString,
|
|
2440
|
+
RestoreAccessBackupVaults: (_) => de_RestoreAccessBackupVaultList(_, context),
|
|
2441
|
+
});
|
|
2442
|
+
Object.assign(contents, doc);
|
|
2443
|
+
return contents;
|
|
2444
|
+
};
|
|
2313
2445
|
export const de_ListRestoreJobsCommand = async (output, context) => {
|
|
2314
2446
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2315
2447
|
return de_CommandError(output, context);
|
|
@@ -2441,6 +2573,16 @@ export const de_PutRestoreValidationResultCommand = async (output, context) => {
|
|
|
2441
2573
|
await collectBody(output.body, context);
|
|
2442
2574
|
return contents;
|
|
2443
2575
|
};
|
|
2576
|
+
export const de_RevokeRestoreAccessBackupVaultCommand = async (output, context) => {
|
|
2577
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2578
|
+
return de_CommandError(output, context);
|
|
2579
|
+
}
|
|
2580
|
+
const contents = map({
|
|
2581
|
+
$metadata: deserializeMetadata(output),
|
|
2582
|
+
});
|
|
2583
|
+
await collectBody(output.body, context);
|
|
2584
|
+
return contents;
|
|
2585
|
+
};
|
|
2444
2586
|
export const de_StartBackupJobCommand = async (output, context) => {
|
|
2445
2587
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2446
2588
|
return de_CommandError(output, context);
|
|
@@ -2681,9 +2823,9 @@ const de_CommandError = async (output, context) => {
|
|
|
2681
2823
|
case "InvalidParameterValueException":
|
|
2682
2824
|
case "com.amazonaws.backup#InvalidParameterValueException":
|
|
2683
2825
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
2684
|
-
case "
|
|
2685
|
-
case "com.amazonaws.backup#
|
|
2686
|
-
throw await
|
|
2826
|
+
case "InvalidRequestException":
|
|
2827
|
+
case "com.amazonaws.backup#InvalidRequestException":
|
|
2828
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2687
2829
|
case "MissingParameterValueException":
|
|
2688
2830
|
case "com.amazonaws.backup#MissingParameterValueException":
|
|
2689
2831
|
throw await de_MissingParameterValueExceptionRes(parsedOutput, context);
|
|
@@ -2693,15 +2835,15 @@ const de_CommandError = async (output, context) => {
|
|
|
2693
2835
|
case "ServiceUnavailableException":
|
|
2694
2836
|
case "com.amazonaws.backup#ServiceUnavailableException":
|
|
2695
2837
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2838
|
+
case "InvalidResourceStateException":
|
|
2839
|
+
case "com.amazonaws.backup#InvalidResourceStateException":
|
|
2840
|
+
throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
|
|
2696
2841
|
case "AlreadyExistsException":
|
|
2697
2842
|
case "com.amazonaws.backup#AlreadyExistsException":
|
|
2698
2843
|
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
2699
2844
|
case "LimitExceededException":
|
|
2700
2845
|
case "com.amazonaws.backup#LimitExceededException":
|
|
2701
2846
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2702
|
-
case "InvalidRequestException":
|
|
2703
|
-
case "com.amazonaws.backup#InvalidRequestException":
|
|
2704
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2705
2847
|
case "ConflictException":
|
|
2706
2848
|
case "com.amazonaws.backup#ConflictException":
|
|
2707
2849
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -3126,6 +3268,24 @@ const de_IndexedRecoveryPointList = (output, context) => {
|
|
|
3126
3268
|
});
|
|
3127
3269
|
return retVal;
|
|
3128
3270
|
};
|
|
3271
|
+
const de_LatestMpaApprovalTeamUpdate = (output, context) => {
|
|
3272
|
+
return take(output, {
|
|
3273
|
+
ExpiryDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3274
|
+
InitiationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3275
|
+
MpaSessionArn: __expectString,
|
|
3276
|
+
Status: __expectString,
|
|
3277
|
+
StatusMessage: __expectString,
|
|
3278
|
+
});
|
|
3279
|
+
};
|
|
3280
|
+
const de_LatestRevokeRequest = (output, context) => {
|
|
3281
|
+
return take(output, {
|
|
3282
|
+
ExpiryDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3283
|
+
InitiationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3284
|
+
MpaSessionArn: __expectString,
|
|
3285
|
+
Status: __expectString,
|
|
3286
|
+
StatusMessage: __expectString,
|
|
3287
|
+
});
|
|
3288
|
+
};
|
|
3129
3289
|
const de_LegalHold = (output, context) => {
|
|
3130
3290
|
return take(output, {
|
|
3131
3291
|
CancellationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -3177,6 +3337,7 @@ const de_RecoveryPointByBackupVault = (output, context) => {
|
|
|
3177
3337
|
IamRoleArn: __expectString,
|
|
3178
3338
|
IndexStatus: __expectString,
|
|
3179
3339
|
IndexStatusMessage: __expectString,
|
|
3340
|
+
InitiationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3180
3341
|
IsEncrypted: __expectBoolean,
|
|
3181
3342
|
IsParent: __expectBoolean,
|
|
3182
3343
|
LastRestoreTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -3273,6 +3434,23 @@ const de_ReportPlanList = (output, context) => {
|
|
|
3273
3434
|
});
|
|
3274
3435
|
return retVal;
|
|
3275
3436
|
};
|
|
3437
|
+
const de_RestoreAccessBackupVaultList = (output, context) => {
|
|
3438
|
+
const retVal = (output || [])
|
|
3439
|
+
.filter((e) => e != null)
|
|
3440
|
+
.map((entry) => {
|
|
3441
|
+
return de_RestoreAccessBackupVaultListMember(entry, context);
|
|
3442
|
+
});
|
|
3443
|
+
return retVal;
|
|
3444
|
+
};
|
|
3445
|
+
const de_RestoreAccessBackupVaultListMember = (output, context) => {
|
|
3446
|
+
return take(output, {
|
|
3447
|
+
ApprovalDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3448
|
+
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3449
|
+
LatestRevokeRequest: (_) => de_LatestRevokeRequest(_, context),
|
|
3450
|
+
RestoreAccessBackupVaultArn: __expectString,
|
|
3451
|
+
VaultState: __expectString,
|
|
3452
|
+
});
|
|
3453
|
+
};
|
|
3276
3454
|
const de_RestoreJobsList = (output, context) => {
|
|
3277
3455
|
const retVal = (output || [])
|
|
3278
3456
|
.filter((e) => e != null)
|
|
@@ -3434,6 +3612,7 @@ const _MBAWSBO = "ManagedByAWSBackupOnly";
|
|
|
3434
3612
|
const _MC = "MessageCategory";
|
|
3435
3613
|
const _MR = "MaxResults";
|
|
3436
3614
|
const _NT = "NextToken";
|
|
3615
|
+
const _RC = "RequesterComment";
|
|
3437
3616
|
const _RPA = "RecoveryPointArn";
|
|
3438
3617
|
const _RPN = "ReportPlanName";
|
|
3439
3618
|
const _RRID = "RetainRecordInDays";
|
|
@@ -3451,6 +3630,7 @@ const _cAo = "completeAfter";
|
|
|
3451
3630
|
const _cB = "createdBefore";
|
|
3452
3631
|
const _cBo = "completeBefore";
|
|
3453
3632
|
const _cD = "cancelDescription";
|
|
3633
|
+
const _d = "delete";
|
|
3454
3634
|
const _dVA = "destinationVaultArn";
|
|
3455
3635
|
const _iD = "includeDeleted";
|
|
3456
3636
|
const _iS = "indexStatus";
|
|
@@ -3461,6 +3641,7 @@ const _nT = "nextToken";
|
|
|
3461
3641
|
const _pJI = "parentJobId";
|
|
3462
3642
|
const _pRPA = "parentRecoveryPointArn";
|
|
3463
3643
|
const _rA = "resourceArn";
|
|
3644
|
+
const _rC = "requesterComment";
|
|
3464
3645
|
const _rPCDA = "recoveryPointCreationDateAfter";
|
|
3465
3646
|
const _rPCDB = "recoveryPointCreationDateBefore";
|
|
3466
3647
|
const _rRID = "retainRecordInDays";
|
package/dist-types/Backup.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BackupClient } from "./BackupClient";
|
|
3
|
+
import { AssociateBackupVaultMpaApprovalTeamCommandInput, AssociateBackupVaultMpaApprovalTeamCommandOutput } from "./commands/AssociateBackupVaultMpaApprovalTeamCommand";
|
|
3
4
|
import { CancelLegalHoldCommandInput, CancelLegalHoldCommandOutput } from "./commands/CancelLegalHoldCommand";
|
|
4
5
|
import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "./commands/CreateBackupPlanCommand";
|
|
5
6
|
import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "./commands/CreateBackupSelectionCommand";
|
|
@@ -8,6 +9,7 @@ import { CreateFrameworkCommandInput, CreateFrameworkCommandOutput } from "./com
|
|
|
8
9
|
import { CreateLegalHoldCommandInput, CreateLegalHoldCommandOutput } from "./commands/CreateLegalHoldCommand";
|
|
9
10
|
import { CreateLogicallyAirGappedBackupVaultCommandInput, CreateLogicallyAirGappedBackupVaultCommandOutput } from "./commands/CreateLogicallyAirGappedBackupVaultCommand";
|
|
10
11
|
import { CreateReportPlanCommandInput, CreateReportPlanCommandOutput } from "./commands/CreateReportPlanCommand";
|
|
12
|
+
import { CreateRestoreAccessBackupVaultCommandInput, CreateRestoreAccessBackupVaultCommandOutput } from "./commands/CreateRestoreAccessBackupVaultCommand";
|
|
11
13
|
import { CreateRestoreTestingPlanCommandInput, CreateRestoreTestingPlanCommandOutput } from "./commands/CreateRestoreTestingPlanCommand";
|
|
12
14
|
import { CreateRestoreTestingSelectionCommandInput, CreateRestoreTestingSelectionCommandOutput } from "./commands/CreateRestoreTestingSelectionCommand";
|
|
13
15
|
import { DeleteBackupPlanCommandInput, DeleteBackupPlanCommandOutput } from "./commands/DeleteBackupPlanCommand";
|
|
@@ -32,6 +34,7 @@ import { DescribeRegionSettingsCommandInput, DescribeRegionSettingsCommandOutput
|
|
|
32
34
|
import { DescribeReportJobCommandInput, DescribeReportJobCommandOutput } from "./commands/DescribeReportJobCommand";
|
|
33
35
|
import { DescribeReportPlanCommandInput, DescribeReportPlanCommandOutput } from "./commands/DescribeReportPlanCommand";
|
|
34
36
|
import { DescribeRestoreJobCommandInput, DescribeRestoreJobCommandOutput } from "./commands/DescribeRestoreJobCommand";
|
|
37
|
+
import { DisassociateBackupVaultMpaApprovalTeamCommandInput, DisassociateBackupVaultMpaApprovalTeamCommandOutput } from "./commands/DisassociateBackupVaultMpaApprovalTeamCommand";
|
|
35
38
|
import { DisassociateRecoveryPointCommandInput, DisassociateRecoveryPointCommandOutput } from "./commands/DisassociateRecoveryPointCommand";
|
|
36
39
|
import { DisassociateRecoveryPointFromParentCommandInput, DisassociateRecoveryPointFromParentCommandOutput } from "./commands/DisassociateRecoveryPointFromParentCommand";
|
|
37
40
|
import { ExportBackupPlanTemplateCommandInput, ExportBackupPlanTemplateCommandOutput } from "./commands/ExportBackupPlanTemplateCommand";
|
|
@@ -68,6 +71,7 @@ import { ListRecoveryPointsByLegalHoldCommandInput, ListRecoveryPointsByLegalHol
|
|
|
68
71
|
import { ListRecoveryPointsByResourceCommandInput, ListRecoveryPointsByResourceCommandOutput } from "./commands/ListRecoveryPointsByResourceCommand";
|
|
69
72
|
import { ListReportJobsCommandInput, ListReportJobsCommandOutput } from "./commands/ListReportJobsCommand";
|
|
70
73
|
import { ListReportPlansCommandInput, ListReportPlansCommandOutput } from "./commands/ListReportPlansCommand";
|
|
74
|
+
import { ListRestoreAccessBackupVaultsCommandInput, ListRestoreAccessBackupVaultsCommandOutput } from "./commands/ListRestoreAccessBackupVaultsCommand";
|
|
71
75
|
import { ListRestoreJobsByProtectedResourceCommandInput, ListRestoreJobsByProtectedResourceCommandOutput } from "./commands/ListRestoreJobsByProtectedResourceCommand";
|
|
72
76
|
import { ListRestoreJobsCommandInput, ListRestoreJobsCommandOutput } from "./commands/ListRestoreJobsCommand";
|
|
73
77
|
import { ListRestoreJobSummariesCommandInput, ListRestoreJobSummariesCommandOutput } from "./commands/ListRestoreJobSummariesCommand";
|
|
@@ -78,6 +82,7 @@ import { PutBackupVaultAccessPolicyCommandInput, PutBackupVaultAccessPolicyComma
|
|
|
78
82
|
import { PutBackupVaultLockConfigurationCommandInput, PutBackupVaultLockConfigurationCommandOutput } from "./commands/PutBackupVaultLockConfigurationCommand";
|
|
79
83
|
import { PutBackupVaultNotificationsCommandInput, PutBackupVaultNotificationsCommandOutput } from "./commands/PutBackupVaultNotificationsCommand";
|
|
80
84
|
import { PutRestoreValidationResultCommandInput, PutRestoreValidationResultCommandOutput } from "./commands/PutRestoreValidationResultCommand";
|
|
85
|
+
import { RevokeRestoreAccessBackupVaultCommandInput, RevokeRestoreAccessBackupVaultCommandOutput } from "./commands/RevokeRestoreAccessBackupVaultCommand";
|
|
81
86
|
import { StartBackupJobCommandInput, StartBackupJobCommandOutput } from "./commands/StartBackupJobCommand";
|
|
82
87
|
import { StartCopyJobCommandInput, StartCopyJobCommandOutput } from "./commands/StartCopyJobCommand";
|
|
83
88
|
import { StartReportJobCommandInput, StartReportJobCommandOutput } from "./commands/StartReportJobCommand";
|
|
@@ -95,6 +100,12 @@ import { UpdateReportPlanCommandInput, UpdateReportPlanCommandOutput } from "./c
|
|
|
95
100
|
import { UpdateRestoreTestingPlanCommandInput, UpdateRestoreTestingPlanCommandOutput } from "./commands/UpdateRestoreTestingPlanCommand";
|
|
96
101
|
import { UpdateRestoreTestingSelectionCommandInput, UpdateRestoreTestingSelectionCommandOutput } from "./commands/UpdateRestoreTestingSelectionCommand";
|
|
97
102
|
export interface Backup {
|
|
103
|
+
/**
|
|
104
|
+
* @see {@link AssociateBackupVaultMpaApprovalTeamCommand}
|
|
105
|
+
*/
|
|
106
|
+
associateBackupVaultMpaApprovalTeam(args: AssociateBackupVaultMpaApprovalTeamCommandInput, options?: __HttpHandlerOptions): Promise<AssociateBackupVaultMpaApprovalTeamCommandOutput>;
|
|
107
|
+
associateBackupVaultMpaApprovalTeam(args: AssociateBackupVaultMpaApprovalTeamCommandInput, cb: (err: any, data?: AssociateBackupVaultMpaApprovalTeamCommandOutput) => void): void;
|
|
108
|
+
associateBackupVaultMpaApprovalTeam(args: AssociateBackupVaultMpaApprovalTeamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateBackupVaultMpaApprovalTeamCommandOutput) => void): void;
|
|
98
109
|
/**
|
|
99
110
|
* @see {@link CancelLegalHoldCommand}
|
|
100
111
|
*/
|
|
@@ -143,6 +154,12 @@ export interface Backup {
|
|
|
143
154
|
createReportPlan(args: CreateReportPlanCommandInput, options?: __HttpHandlerOptions): Promise<CreateReportPlanCommandOutput>;
|
|
144
155
|
createReportPlan(args: CreateReportPlanCommandInput, cb: (err: any, data?: CreateReportPlanCommandOutput) => void): void;
|
|
145
156
|
createReportPlan(args: CreateReportPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReportPlanCommandOutput) => void): void;
|
|
157
|
+
/**
|
|
158
|
+
* @see {@link CreateRestoreAccessBackupVaultCommand}
|
|
159
|
+
*/
|
|
160
|
+
createRestoreAccessBackupVault(args: CreateRestoreAccessBackupVaultCommandInput, options?: __HttpHandlerOptions): Promise<CreateRestoreAccessBackupVaultCommandOutput>;
|
|
161
|
+
createRestoreAccessBackupVault(args: CreateRestoreAccessBackupVaultCommandInput, cb: (err: any, data?: CreateRestoreAccessBackupVaultCommandOutput) => void): void;
|
|
162
|
+
createRestoreAccessBackupVault(args: CreateRestoreAccessBackupVaultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRestoreAccessBackupVaultCommandOutput) => void): void;
|
|
146
163
|
/**
|
|
147
164
|
* @see {@link CreateRestoreTestingPlanCommand}
|
|
148
165
|
*/
|
|
@@ -289,6 +306,12 @@ export interface Backup {
|
|
|
289
306
|
describeRestoreJob(args: DescribeRestoreJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRestoreJobCommandOutput>;
|
|
290
307
|
describeRestoreJob(args: DescribeRestoreJobCommandInput, cb: (err: any, data?: DescribeRestoreJobCommandOutput) => void): void;
|
|
291
308
|
describeRestoreJob(args: DescribeRestoreJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRestoreJobCommandOutput) => void): void;
|
|
309
|
+
/**
|
|
310
|
+
* @see {@link DisassociateBackupVaultMpaApprovalTeamCommand}
|
|
311
|
+
*/
|
|
312
|
+
disassociateBackupVaultMpaApprovalTeam(args: DisassociateBackupVaultMpaApprovalTeamCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateBackupVaultMpaApprovalTeamCommandOutput>;
|
|
313
|
+
disassociateBackupVaultMpaApprovalTeam(args: DisassociateBackupVaultMpaApprovalTeamCommandInput, cb: (err: any, data?: DisassociateBackupVaultMpaApprovalTeamCommandOutput) => void): void;
|
|
314
|
+
disassociateBackupVaultMpaApprovalTeam(args: DisassociateBackupVaultMpaApprovalTeamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateBackupVaultMpaApprovalTeamCommandOutput) => void): void;
|
|
292
315
|
/**
|
|
293
316
|
* @see {@link DisassociateRecoveryPointCommand}
|
|
294
317
|
*/
|
|
@@ -519,6 +542,12 @@ export interface Backup {
|
|
|
519
542
|
listReportPlans(args: ListReportPlansCommandInput, options?: __HttpHandlerOptions): Promise<ListReportPlansCommandOutput>;
|
|
520
543
|
listReportPlans(args: ListReportPlansCommandInput, cb: (err: any, data?: ListReportPlansCommandOutput) => void): void;
|
|
521
544
|
listReportPlans(args: ListReportPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReportPlansCommandOutput) => void): void;
|
|
545
|
+
/**
|
|
546
|
+
* @see {@link ListRestoreAccessBackupVaultsCommand}
|
|
547
|
+
*/
|
|
548
|
+
listRestoreAccessBackupVaults(args: ListRestoreAccessBackupVaultsCommandInput, options?: __HttpHandlerOptions): Promise<ListRestoreAccessBackupVaultsCommandOutput>;
|
|
549
|
+
listRestoreAccessBackupVaults(args: ListRestoreAccessBackupVaultsCommandInput, cb: (err: any, data?: ListRestoreAccessBackupVaultsCommandOutput) => void): void;
|
|
550
|
+
listRestoreAccessBackupVaults(args: ListRestoreAccessBackupVaultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRestoreAccessBackupVaultsCommandOutput) => void): void;
|
|
522
551
|
/**
|
|
523
552
|
* @see {@link ListRestoreJobsCommand}
|
|
524
553
|
*/
|
|
@@ -582,6 +611,12 @@ export interface Backup {
|
|
|
582
611
|
putRestoreValidationResult(args: PutRestoreValidationResultCommandInput, options?: __HttpHandlerOptions): Promise<PutRestoreValidationResultCommandOutput>;
|
|
583
612
|
putRestoreValidationResult(args: PutRestoreValidationResultCommandInput, cb: (err: any, data?: PutRestoreValidationResultCommandOutput) => void): void;
|
|
584
613
|
putRestoreValidationResult(args: PutRestoreValidationResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRestoreValidationResultCommandOutput) => void): void;
|
|
614
|
+
/**
|
|
615
|
+
* @see {@link RevokeRestoreAccessBackupVaultCommand}
|
|
616
|
+
*/
|
|
617
|
+
revokeRestoreAccessBackupVault(args: RevokeRestoreAccessBackupVaultCommandInput, options?: __HttpHandlerOptions): Promise<RevokeRestoreAccessBackupVaultCommandOutput>;
|
|
618
|
+
revokeRestoreAccessBackupVault(args: RevokeRestoreAccessBackupVaultCommandInput, cb: (err: any, data?: RevokeRestoreAccessBackupVaultCommandOutput) => void): void;
|
|
619
|
+
revokeRestoreAccessBackupVault(args: RevokeRestoreAccessBackupVaultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeRestoreAccessBackupVaultCommandOutput) => void): void;
|
|
585
620
|
/**
|
|
586
621
|
* @see {@link StartBackupJobCommand}
|
|
587
622
|
*/
|
|
@@ -7,6 +7,7 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { AssociateBackupVaultMpaApprovalTeamCommandInput, AssociateBackupVaultMpaApprovalTeamCommandOutput } from "./commands/AssociateBackupVaultMpaApprovalTeamCommand";
|
|
10
11
|
import { CancelLegalHoldCommandInput, CancelLegalHoldCommandOutput } from "./commands/CancelLegalHoldCommand";
|
|
11
12
|
import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "./commands/CreateBackupPlanCommand";
|
|
12
13
|
import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "./commands/CreateBackupSelectionCommand";
|
|
@@ -15,6 +16,7 @@ import { CreateFrameworkCommandInput, CreateFrameworkCommandOutput } from "./com
|
|
|
15
16
|
import { CreateLegalHoldCommandInput, CreateLegalHoldCommandOutput } from "./commands/CreateLegalHoldCommand";
|
|
16
17
|
import { CreateLogicallyAirGappedBackupVaultCommandInput, CreateLogicallyAirGappedBackupVaultCommandOutput } from "./commands/CreateLogicallyAirGappedBackupVaultCommand";
|
|
17
18
|
import { CreateReportPlanCommandInput, CreateReportPlanCommandOutput } from "./commands/CreateReportPlanCommand";
|
|
19
|
+
import { CreateRestoreAccessBackupVaultCommandInput, CreateRestoreAccessBackupVaultCommandOutput } from "./commands/CreateRestoreAccessBackupVaultCommand";
|
|
18
20
|
import { CreateRestoreTestingPlanCommandInput, CreateRestoreTestingPlanCommandOutput } from "./commands/CreateRestoreTestingPlanCommand";
|
|
19
21
|
import { CreateRestoreTestingSelectionCommandInput, CreateRestoreTestingSelectionCommandOutput } from "./commands/CreateRestoreTestingSelectionCommand";
|
|
20
22
|
import { DeleteBackupPlanCommandInput, DeleteBackupPlanCommandOutput } from "./commands/DeleteBackupPlanCommand";
|
|
@@ -39,6 +41,7 @@ import { DescribeRegionSettingsCommandInput, DescribeRegionSettingsCommandOutput
|
|
|
39
41
|
import { DescribeReportJobCommandInput, DescribeReportJobCommandOutput } from "./commands/DescribeReportJobCommand";
|
|
40
42
|
import { DescribeReportPlanCommandInput, DescribeReportPlanCommandOutput } from "./commands/DescribeReportPlanCommand";
|
|
41
43
|
import { DescribeRestoreJobCommandInput, DescribeRestoreJobCommandOutput } from "./commands/DescribeRestoreJobCommand";
|
|
44
|
+
import { DisassociateBackupVaultMpaApprovalTeamCommandInput, DisassociateBackupVaultMpaApprovalTeamCommandOutput } from "./commands/DisassociateBackupVaultMpaApprovalTeamCommand";
|
|
42
45
|
import { DisassociateRecoveryPointCommandInput, DisassociateRecoveryPointCommandOutput } from "./commands/DisassociateRecoveryPointCommand";
|
|
43
46
|
import { DisassociateRecoveryPointFromParentCommandInput, DisassociateRecoveryPointFromParentCommandOutput } from "./commands/DisassociateRecoveryPointFromParentCommand";
|
|
44
47
|
import { ExportBackupPlanTemplateCommandInput, ExportBackupPlanTemplateCommandOutput } from "./commands/ExportBackupPlanTemplateCommand";
|
|
@@ -75,6 +78,7 @@ import { ListRecoveryPointsByLegalHoldCommandInput, ListRecoveryPointsByLegalHol
|
|
|
75
78
|
import { ListRecoveryPointsByResourceCommandInput, ListRecoveryPointsByResourceCommandOutput } from "./commands/ListRecoveryPointsByResourceCommand";
|
|
76
79
|
import { ListReportJobsCommandInput, ListReportJobsCommandOutput } from "./commands/ListReportJobsCommand";
|
|
77
80
|
import { ListReportPlansCommandInput, ListReportPlansCommandOutput } from "./commands/ListReportPlansCommand";
|
|
81
|
+
import { ListRestoreAccessBackupVaultsCommandInput, ListRestoreAccessBackupVaultsCommandOutput } from "./commands/ListRestoreAccessBackupVaultsCommand";
|
|
78
82
|
import { ListRestoreJobsByProtectedResourceCommandInput, ListRestoreJobsByProtectedResourceCommandOutput } from "./commands/ListRestoreJobsByProtectedResourceCommand";
|
|
79
83
|
import { ListRestoreJobsCommandInput, ListRestoreJobsCommandOutput } from "./commands/ListRestoreJobsCommand";
|
|
80
84
|
import { ListRestoreJobSummariesCommandInput, ListRestoreJobSummariesCommandOutput } from "./commands/ListRestoreJobSummariesCommand";
|
|
@@ -85,6 +89,7 @@ import { PutBackupVaultAccessPolicyCommandInput, PutBackupVaultAccessPolicyComma
|
|
|
85
89
|
import { PutBackupVaultLockConfigurationCommandInput, PutBackupVaultLockConfigurationCommandOutput } from "./commands/PutBackupVaultLockConfigurationCommand";
|
|
86
90
|
import { PutBackupVaultNotificationsCommandInput, PutBackupVaultNotificationsCommandOutput } from "./commands/PutBackupVaultNotificationsCommand";
|
|
87
91
|
import { PutRestoreValidationResultCommandInput, PutRestoreValidationResultCommandOutput } from "./commands/PutRestoreValidationResultCommand";
|
|
92
|
+
import { RevokeRestoreAccessBackupVaultCommandInput, RevokeRestoreAccessBackupVaultCommandOutput } from "./commands/RevokeRestoreAccessBackupVaultCommand";
|
|
88
93
|
import { StartBackupJobCommandInput, StartBackupJobCommandOutput } from "./commands/StartBackupJobCommand";
|
|
89
94
|
import { StartCopyJobCommandInput, StartCopyJobCommandOutput } from "./commands/StartCopyJobCommand";
|
|
90
95
|
import { StartReportJobCommandInput, StartReportJobCommandOutput } from "./commands/StartReportJobCommand";
|
|
@@ -107,11 +112,11 @@ export { __Client };
|
|
|
107
112
|
/**
|
|
108
113
|
* @public
|
|
109
114
|
*/
|
|
110
|
-
export type ServiceInputTypes = CancelLegalHoldCommandInput | CreateBackupPlanCommandInput | CreateBackupSelectionCommandInput | CreateBackupVaultCommandInput | CreateFrameworkCommandInput | CreateLegalHoldCommandInput | CreateLogicallyAirGappedBackupVaultCommandInput | CreateReportPlanCommandInput | CreateRestoreTestingPlanCommandInput | CreateRestoreTestingSelectionCommandInput | DeleteBackupPlanCommandInput | DeleteBackupSelectionCommandInput | DeleteBackupVaultAccessPolicyCommandInput | DeleteBackupVaultCommandInput | DeleteBackupVaultLockConfigurationCommandInput | DeleteBackupVaultNotificationsCommandInput | DeleteFrameworkCommandInput | DeleteRecoveryPointCommandInput | DeleteReportPlanCommandInput | DeleteRestoreTestingPlanCommandInput | DeleteRestoreTestingSelectionCommandInput | DescribeBackupJobCommandInput | DescribeBackupVaultCommandInput | DescribeCopyJobCommandInput | DescribeFrameworkCommandInput | DescribeGlobalSettingsCommandInput | DescribeProtectedResourceCommandInput | DescribeRecoveryPointCommandInput | DescribeRegionSettingsCommandInput | DescribeReportJobCommandInput | DescribeReportPlanCommandInput | DescribeRestoreJobCommandInput | DisassociateRecoveryPointCommandInput | DisassociateRecoveryPointFromParentCommandInput | ExportBackupPlanTemplateCommandInput | GetBackupPlanCommandInput | GetBackupPlanFromJSONCommandInput | GetBackupPlanFromTemplateCommandInput | GetBackupSelectionCommandInput | GetBackupVaultAccessPolicyCommandInput | GetBackupVaultNotificationsCommandInput | GetLegalHoldCommandInput | GetRecoveryPointIndexDetailsCommandInput | GetRecoveryPointRestoreMetadataCommandInput | GetRestoreJobMetadataCommandInput | GetRestoreTestingInferredMetadataCommandInput | GetRestoreTestingPlanCommandInput | GetRestoreTestingSelectionCommandInput | GetSupportedResourceTypesCommandInput | ListBackupJobSummariesCommandInput | ListBackupJobsCommandInput | ListBackupPlanTemplatesCommandInput | ListBackupPlanVersionsCommandInput | ListBackupPlansCommandInput | ListBackupSelectionsCommandInput | ListBackupVaultsCommandInput | ListCopyJobSummariesCommandInput | ListCopyJobsCommandInput | ListFrameworksCommandInput | ListIndexedRecoveryPointsCommandInput | ListLegalHoldsCommandInput | ListProtectedResourcesByBackupVaultCommandInput | ListProtectedResourcesCommandInput | ListRecoveryPointsByBackupVaultCommandInput | ListRecoveryPointsByLegalHoldCommandInput | ListRecoveryPointsByResourceCommandInput | ListReportJobsCommandInput | ListReportPlansCommandInput | ListRestoreJobSummariesCommandInput | ListRestoreJobsByProtectedResourceCommandInput | ListRestoreJobsCommandInput | ListRestoreTestingPlansCommandInput | ListRestoreTestingSelectionsCommandInput | ListTagsCommandInput | PutBackupVaultAccessPolicyCommandInput | PutBackupVaultLockConfigurationCommandInput | PutBackupVaultNotificationsCommandInput | PutRestoreValidationResultCommandInput | StartBackupJobCommandInput | StartCopyJobCommandInput | StartReportJobCommandInput | StartRestoreJobCommandInput | StopBackupJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBackupPlanCommandInput | UpdateFrameworkCommandInput | UpdateGlobalSettingsCommandInput | UpdateRecoveryPointIndexSettingsCommandInput | UpdateRecoveryPointLifecycleCommandInput | UpdateRegionSettingsCommandInput | UpdateReportPlanCommandInput | UpdateRestoreTestingPlanCommandInput | UpdateRestoreTestingSelectionCommandInput;
|
|
115
|
+
export type ServiceInputTypes = AssociateBackupVaultMpaApprovalTeamCommandInput | CancelLegalHoldCommandInput | CreateBackupPlanCommandInput | CreateBackupSelectionCommandInput | CreateBackupVaultCommandInput | CreateFrameworkCommandInput | CreateLegalHoldCommandInput | CreateLogicallyAirGappedBackupVaultCommandInput | CreateReportPlanCommandInput | CreateRestoreAccessBackupVaultCommandInput | CreateRestoreTestingPlanCommandInput | CreateRestoreTestingSelectionCommandInput | DeleteBackupPlanCommandInput | DeleteBackupSelectionCommandInput | DeleteBackupVaultAccessPolicyCommandInput | DeleteBackupVaultCommandInput | DeleteBackupVaultLockConfigurationCommandInput | DeleteBackupVaultNotificationsCommandInput | DeleteFrameworkCommandInput | DeleteRecoveryPointCommandInput | DeleteReportPlanCommandInput | DeleteRestoreTestingPlanCommandInput | DeleteRestoreTestingSelectionCommandInput | DescribeBackupJobCommandInput | DescribeBackupVaultCommandInput | DescribeCopyJobCommandInput | DescribeFrameworkCommandInput | DescribeGlobalSettingsCommandInput | DescribeProtectedResourceCommandInput | DescribeRecoveryPointCommandInput | DescribeRegionSettingsCommandInput | DescribeReportJobCommandInput | DescribeReportPlanCommandInput | DescribeRestoreJobCommandInput | DisassociateBackupVaultMpaApprovalTeamCommandInput | DisassociateRecoveryPointCommandInput | DisassociateRecoveryPointFromParentCommandInput | ExportBackupPlanTemplateCommandInput | GetBackupPlanCommandInput | GetBackupPlanFromJSONCommandInput | GetBackupPlanFromTemplateCommandInput | GetBackupSelectionCommandInput | GetBackupVaultAccessPolicyCommandInput | GetBackupVaultNotificationsCommandInput | GetLegalHoldCommandInput | GetRecoveryPointIndexDetailsCommandInput | GetRecoveryPointRestoreMetadataCommandInput | GetRestoreJobMetadataCommandInput | GetRestoreTestingInferredMetadataCommandInput | GetRestoreTestingPlanCommandInput | GetRestoreTestingSelectionCommandInput | GetSupportedResourceTypesCommandInput | ListBackupJobSummariesCommandInput | ListBackupJobsCommandInput | ListBackupPlanTemplatesCommandInput | ListBackupPlanVersionsCommandInput | ListBackupPlansCommandInput | ListBackupSelectionsCommandInput | ListBackupVaultsCommandInput | ListCopyJobSummariesCommandInput | ListCopyJobsCommandInput | ListFrameworksCommandInput | ListIndexedRecoveryPointsCommandInput | ListLegalHoldsCommandInput | ListProtectedResourcesByBackupVaultCommandInput | ListProtectedResourcesCommandInput | ListRecoveryPointsByBackupVaultCommandInput | ListRecoveryPointsByLegalHoldCommandInput | ListRecoveryPointsByResourceCommandInput | ListReportJobsCommandInput | ListReportPlansCommandInput | ListRestoreAccessBackupVaultsCommandInput | ListRestoreJobSummariesCommandInput | ListRestoreJobsByProtectedResourceCommandInput | ListRestoreJobsCommandInput | ListRestoreTestingPlansCommandInput | ListRestoreTestingSelectionsCommandInput | ListTagsCommandInput | PutBackupVaultAccessPolicyCommandInput | PutBackupVaultLockConfigurationCommandInput | PutBackupVaultNotificationsCommandInput | PutRestoreValidationResultCommandInput | RevokeRestoreAccessBackupVaultCommandInput | StartBackupJobCommandInput | StartCopyJobCommandInput | StartReportJobCommandInput | StartRestoreJobCommandInput | StopBackupJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBackupPlanCommandInput | UpdateFrameworkCommandInput | UpdateGlobalSettingsCommandInput | UpdateRecoveryPointIndexSettingsCommandInput | UpdateRecoveryPointLifecycleCommandInput | UpdateRegionSettingsCommandInput | UpdateReportPlanCommandInput | UpdateRestoreTestingPlanCommandInput | UpdateRestoreTestingSelectionCommandInput;
|
|
111
116
|
/**
|
|
112
117
|
* @public
|
|
113
118
|
*/
|
|
114
|
-
export type ServiceOutputTypes = CancelLegalHoldCommandOutput | CreateBackupPlanCommandOutput | CreateBackupSelectionCommandOutput | CreateBackupVaultCommandOutput | CreateFrameworkCommandOutput | CreateLegalHoldCommandOutput | CreateLogicallyAirGappedBackupVaultCommandOutput | CreateReportPlanCommandOutput | CreateRestoreTestingPlanCommandOutput | CreateRestoreTestingSelectionCommandOutput | DeleteBackupPlanCommandOutput | DeleteBackupSelectionCommandOutput | DeleteBackupVaultAccessPolicyCommandOutput | DeleteBackupVaultCommandOutput | DeleteBackupVaultLockConfigurationCommandOutput | DeleteBackupVaultNotificationsCommandOutput | DeleteFrameworkCommandOutput | DeleteRecoveryPointCommandOutput | DeleteReportPlanCommandOutput | DeleteRestoreTestingPlanCommandOutput | DeleteRestoreTestingSelectionCommandOutput | DescribeBackupJobCommandOutput | DescribeBackupVaultCommandOutput | DescribeCopyJobCommandOutput | DescribeFrameworkCommandOutput | DescribeGlobalSettingsCommandOutput | DescribeProtectedResourceCommandOutput | DescribeRecoveryPointCommandOutput | DescribeRegionSettingsCommandOutput | DescribeReportJobCommandOutput | DescribeReportPlanCommandOutput | DescribeRestoreJobCommandOutput | DisassociateRecoveryPointCommandOutput | DisassociateRecoveryPointFromParentCommandOutput | ExportBackupPlanTemplateCommandOutput | GetBackupPlanCommandOutput | GetBackupPlanFromJSONCommandOutput | GetBackupPlanFromTemplateCommandOutput | GetBackupSelectionCommandOutput | GetBackupVaultAccessPolicyCommandOutput | GetBackupVaultNotificationsCommandOutput | GetLegalHoldCommandOutput | GetRecoveryPointIndexDetailsCommandOutput | GetRecoveryPointRestoreMetadataCommandOutput | GetRestoreJobMetadataCommandOutput | GetRestoreTestingInferredMetadataCommandOutput | GetRestoreTestingPlanCommandOutput | GetRestoreTestingSelectionCommandOutput | GetSupportedResourceTypesCommandOutput | ListBackupJobSummariesCommandOutput | ListBackupJobsCommandOutput | ListBackupPlanTemplatesCommandOutput | ListBackupPlanVersionsCommandOutput | ListBackupPlansCommandOutput | ListBackupSelectionsCommandOutput | ListBackupVaultsCommandOutput | ListCopyJobSummariesCommandOutput | ListCopyJobsCommandOutput | ListFrameworksCommandOutput | ListIndexedRecoveryPointsCommandOutput | ListLegalHoldsCommandOutput | ListProtectedResourcesByBackupVaultCommandOutput | ListProtectedResourcesCommandOutput | ListRecoveryPointsByBackupVaultCommandOutput | ListRecoveryPointsByLegalHoldCommandOutput | ListRecoveryPointsByResourceCommandOutput | ListReportJobsCommandOutput | ListReportPlansCommandOutput | ListRestoreJobSummariesCommandOutput | ListRestoreJobsByProtectedResourceCommandOutput | ListRestoreJobsCommandOutput | ListRestoreTestingPlansCommandOutput | ListRestoreTestingSelectionsCommandOutput | ListTagsCommandOutput | PutBackupVaultAccessPolicyCommandOutput | PutBackupVaultLockConfigurationCommandOutput | PutBackupVaultNotificationsCommandOutput | PutRestoreValidationResultCommandOutput | StartBackupJobCommandOutput | StartCopyJobCommandOutput | StartReportJobCommandOutput | StartRestoreJobCommandOutput | StopBackupJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBackupPlanCommandOutput | UpdateFrameworkCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateRecoveryPointIndexSettingsCommandOutput | UpdateRecoveryPointLifecycleCommandOutput | UpdateRegionSettingsCommandOutput | UpdateReportPlanCommandOutput | UpdateRestoreTestingPlanCommandOutput | UpdateRestoreTestingSelectionCommandOutput;
|
|
119
|
+
export type ServiceOutputTypes = AssociateBackupVaultMpaApprovalTeamCommandOutput | CancelLegalHoldCommandOutput | CreateBackupPlanCommandOutput | CreateBackupSelectionCommandOutput | CreateBackupVaultCommandOutput | CreateFrameworkCommandOutput | CreateLegalHoldCommandOutput | CreateLogicallyAirGappedBackupVaultCommandOutput | CreateReportPlanCommandOutput | CreateRestoreAccessBackupVaultCommandOutput | CreateRestoreTestingPlanCommandOutput | CreateRestoreTestingSelectionCommandOutput | DeleteBackupPlanCommandOutput | DeleteBackupSelectionCommandOutput | DeleteBackupVaultAccessPolicyCommandOutput | DeleteBackupVaultCommandOutput | DeleteBackupVaultLockConfigurationCommandOutput | DeleteBackupVaultNotificationsCommandOutput | DeleteFrameworkCommandOutput | DeleteRecoveryPointCommandOutput | DeleteReportPlanCommandOutput | DeleteRestoreTestingPlanCommandOutput | DeleteRestoreTestingSelectionCommandOutput | DescribeBackupJobCommandOutput | DescribeBackupVaultCommandOutput | DescribeCopyJobCommandOutput | DescribeFrameworkCommandOutput | DescribeGlobalSettingsCommandOutput | DescribeProtectedResourceCommandOutput | DescribeRecoveryPointCommandOutput | DescribeRegionSettingsCommandOutput | DescribeReportJobCommandOutput | DescribeReportPlanCommandOutput | DescribeRestoreJobCommandOutput | DisassociateBackupVaultMpaApprovalTeamCommandOutput | DisassociateRecoveryPointCommandOutput | DisassociateRecoveryPointFromParentCommandOutput | ExportBackupPlanTemplateCommandOutput | GetBackupPlanCommandOutput | GetBackupPlanFromJSONCommandOutput | GetBackupPlanFromTemplateCommandOutput | GetBackupSelectionCommandOutput | GetBackupVaultAccessPolicyCommandOutput | GetBackupVaultNotificationsCommandOutput | GetLegalHoldCommandOutput | GetRecoveryPointIndexDetailsCommandOutput | GetRecoveryPointRestoreMetadataCommandOutput | GetRestoreJobMetadataCommandOutput | GetRestoreTestingInferredMetadataCommandOutput | GetRestoreTestingPlanCommandOutput | GetRestoreTestingSelectionCommandOutput | GetSupportedResourceTypesCommandOutput | ListBackupJobSummariesCommandOutput | ListBackupJobsCommandOutput | ListBackupPlanTemplatesCommandOutput | ListBackupPlanVersionsCommandOutput | ListBackupPlansCommandOutput | ListBackupSelectionsCommandOutput | ListBackupVaultsCommandOutput | ListCopyJobSummariesCommandOutput | ListCopyJobsCommandOutput | ListFrameworksCommandOutput | ListIndexedRecoveryPointsCommandOutput | ListLegalHoldsCommandOutput | ListProtectedResourcesByBackupVaultCommandOutput | ListProtectedResourcesCommandOutput | ListRecoveryPointsByBackupVaultCommandOutput | ListRecoveryPointsByLegalHoldCommandOutput | ListRecoveryPointsByResourceCommandOutput | ListReportJobsCommandOutput | ListReportPlansCommandOutput | ListRestoreAccessBackupVaultsCommandOutput | ListRestoreJobSummariesCommandOutput | ListRestoreJobsByProtectedResourceCommandOutput | ListRestoreJobsCommandOutput | ListRestoreTestingPlansCommandOutput | ListRestoreTestingSelectionsCommandOutput | ListTagsCommandOutput | PutBackupVaultAccessPolicyCommandOutput | PutBackupVaultLockConfigurationCommandOutput | PutBackupVaultNotificationsCommandOutput | PutRestoreValidationResultCommandOutput | RevokeRestoreAccessBackupVaultCommandOutput | StartBackupJobCommandOutput | StartCopyJobCommandOutput | StartReportJobCommandOutput | StartRestoreJobCommandOutput | StopBackupJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBackupPlanCommandOutput | UpdateFrameworkCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateRecoveryPointIndexSettingsCommandOutput | UpdateRecoveryPointLifecycleCommandOutput | UpdateRegionSettingsCommandOutput | UpdateReportPlanCommandOutput | UpdateRestoreTestingPlanCommandOutput | UpdateRestoreTestingSelectionCommandOutput;
|
|
115
120
|
/**
|
|
116
121
|
* @public
|
|
117
122
|
*/
|