@aws-sdk/client-backup 3.712.0 → 3.714.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 +24 -0
- package/dist-cjs/index.js +206 -4
- package/dist-cjs/runtimeConfig.js +8 -6
- package/dist-es/Backup.js +6 -0
- package/dist-es/commands/GetRecoveryPointIndexDetailsCommand.js +22 -0
- package/dist-es/commands/ListIndexedRecoveryPointsCommand.js +22 -0
- package/dist-es/commands/UpdateRecoveryPointIndexSettingsCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/pagination/ListIndexedRecoveryPointsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +135 -4
- package/dist-es/runtimeConfig.js +8 -6
- package/dist-types/Backup.d.ts +22 -0
- package/dist-types/BackupClient.d.ts +23 -2
- package/dist-types/commands/CreateBackupPlanCommand.d.ts +7 -0
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +2 -0
- package/dist-types/commands/GetBackupPlanCommand.d.ts +7 -0
- package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +7 -0
- package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +7 -0
- package/dist-types/commands/GetRecoveryPointIndexDetailsCommand.d.ts +94 -0
- package/dist-types/commands/ListIndexedRecoveryPointsCommand.d.ts +104 -0
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +2 -0
- package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +2 -0
- package/dist-types/commands/StartBackupJobCommand.d.ts +1 -0
- package/dist-types/commands/UpdateBackupPlanCommand.d.ts +7 -0
- package/dist-types/commands/UpdateRecoveryPointIndexSettingsCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +475 -0
- package/dist-types/pagination/ListIndexedRecoveryPointsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Backup.d.ts +52 -0
- package/dist-types/ts3.4/BackupClient.d.ts +19 -0
- package/dist-types/ts3.4/commands/GetRecoveryPointIndexDetailsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListIndexedRecoveryPointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateRecoveryPointIndexSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -0
- package/dist-types/ts3.4/pagination/ListIndexedRecoveryPointsPaginator.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 +36 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +14 -14
|
@@ -40,6 +40,7 @@ export * from "./GetBackupSelectionCommand";
|
|
|
40
40
|
export * from "./GetBackupVaultAccessPolicyCommand";
|
|
41
41
|
export * from "./GetBackupVaultNotificationsCommand";
|
|
42
42
|
export * from "./GetLegalHoldCommand";
|
|
43
|
+
export * from "./GetRecoveryPointIndexDetailsCommand";
|
|
43
44
|
export * from "./GetRecoveryPointRestoreMetadataCommand";
|
|
44
45
|
export * from "./GetRestoreJobMetadataCommand";
|
|
45
46
|
export * from "./GetRestoreTestingInferredMetadataCommand";
|
|
@@ -56,6 +57,7 @@ export * from "./ListBackupVaultsCommand";
|
|
|
56
57
|
export * from "./ListCopyJobSummariesCommand";
|
|
57
58
|
export * from "./ListCopyJobsCommand";
|
|
58
59
|
export * from "./ListFrameworksCommand";
|
|
60
|
+
export * from "./ListIndexedRecoveryPointsCommand";
|
|
59
61
|
export * from "./ListLegalHoldsCommand";
|
|
60
62
|
export * from "./ListProtectedResourcesByBackupVaultCommand";
|
|
61
63
|
export * from "./ListProtectedResourcesCommand";
|
|
@@ -84,6 +86,7 @@ export * from "./UntagResourceCommand";
|
|
|
84
86
|
export * from "./UpdateBackupPlanCommand";
|
|
85
87
|
export * from "./UpdateFrameworkCommand";
|
|
86
88
|
export * from "./UpdateGlobalSettingsCommand";
|
|
89
|
+
export * from "./UpdateRecoveryPointIndexSettingsCommand";
|
|
87
90
|
export * from "./UpdateRecoveryPointLifecycleCommand";
|
|
88
91
|
export * from "./UpdateRegionSettingsCommand";
|
|
89
92
|
export * from "./UpdateReportPlanCommand";
|
|
@@ -256,6 +256,12 @@ export class DependencyFailureException extends __BaseException {
|
|
|
256
256
|
this.Context = opts.Context;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
+
export const IndexStatus = {
|
|
260
|
+
ACTIVE: "ACTIVE",
|
|
261
|
+
DELETING: "DELETING",
|
|
262
|
+
FAILED: "FAILED",
|
|
263
|
+
PENDING: "PENDING",
|
|
264
|
+
};
|
|
259
265
|
export const RecoveryPointStatus = {
|
|
260
266
|
COMPLETED: "COMPLETED",
|
|
261
267
|
DELETING: "DELETING",
|
|
@@ -295,6 +301,10 @@ export const RestoreJobState = {
|
|
|
295
301
|
PENDING: "PENDING",
|
|
296
302
|
RUNNING: "RUNNING",
|
|
297
303
|
};
|
|
304
|
+
export const Index = {
|
|
305
|
+
DISABLED: "DISABLED",
|
|
306
|
+
ENABLED: "ENABLED",
|
|
307
|
+
};
|
|
298
308
|
export const BackupRuleFilterSensitiveLog = (obj) => ({
|
|
299
309
|
...obj,
|
|
300
310
|
...(obj.RecoveryPointTags && { RecoveryPointTags: SENSITIVE_STRING }),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BackupClient } from "../BackupClient";
|
|
3
|
+
import { ListIndexedRecoveryPointsCommand, } from "../commands/ListIndexedRecoveryPointsCommand";
|
|
4
|
+
export const paginateListIndexedRecoveryPoints = createPaginator(BackupClient, ListIndexedRecoveryPointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -9,6 +9,7 @@ export * from "./ListBackupVaultsPaginator";
|
|
|
9
9
|
export * from "./ListCopyJobSummariesPaginator";
|
|
10
10
|
export * from "./ListCopyJobsPaginator";
|
|
11
11
|
export * from "./ListFrameworksPaginator";
|
|
12
|
+
export * from "./ListIndexedRecoveryPointsPaginator";
|
|
12
13
|
export * from "./ListLegalHoldsPaginator";
|
|
13
14
|
export * from "./ListProtectedResourcesByBackupVaultPaginator";
|
|
14
15
|
export * from "./ListProtectedResourcesPaginator";
|
|
@@ -468,6 +468,16 @@ export const se_GetLegalHoldCommand = async (input, context) => {
|
|
|
468
468
|
b.m("GET").h(headers).b(body);
|
|
469
469
|
return b.build();
|
|
470
470
|
};
|
|
471
|
+
export const se_GetRecoveryPointIndexDetailsCommand = async (input, context) => {
|
|
472
|
+
const b = rb(input, context);
|
|
473
|
+
const headers = {};
|
|
474
|
+
b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/index");
|
|
475
|
+
b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
|
|
476
|
+
b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
|
|
477
|
+
let body;
|
|
478
|
+
b.m("GET").h(headers).b(body);
|
|
479
|
+
return b.build();
|
|
480
|
+
};
|
|
471
481
|
export const se_GetRecoveryPointRestoreMetadataCommand = async (input, context) => {
|
|
472
482
|
const b = rb(input, context);
|
|
473
483
|
const headers = {};
|
|
@@ -687,6 +697,23 @@ export const se_ListFrameworksCommand = async (input, context) => {
|
|
|
687
697
|
b.m("GET").h(headers).q(query).b(body);
|
|
688
698
|
return b.build();
|
|
689
699
|
};
|
|
700
|
+
export const se_ListIndexedRecoveryPointsCommand = async (input, context) => {
|
|
701
|
+
const b = rb(input, context);
|
|
702
|
+
const headers = {};
|
|
703
|
+
b.bp("/indexes/recovery-point");
|
|
704
|
+
const query = map({
|
|
705
|
+
[_nT]: [, input[_NT]],
|
|
706
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
707
|
+
[_sRA]: [, input[_SRA]],
|
|
708
|
+
[_cB]: [() => input.CreatedBefore !== void 0, () => __serializeDateTime(input[_CB]).toString()],
|
|
709
|
+
[_cA]: [() => input.CreatedAfter !== void 0, () => __serializeDateTime(input[_CA]).toString()],
|
|
710
|
+
[_rT]: [, input[_RT]],
|
|
711
|
+
[_iS]: [, input[_IS]],
|
|
712
|
+
});
|
|
713
|
+
let body;
|
|
714
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
715
|
+
return b.build();
|
|
716
|
+
};
|
|
690
717
|
export const se_ListLegalHoldsCommand = async (input, context) => {
|
|
691
718
|
const b = rb(input, context);
|
|
692
719
|
const headers = {};
|
|
@@ -778,8 +805,8 @@ export const se_ListReportJobsCommand = async (input, context) => {
|
|
|
778
805
|
b.bp("/audit/report-jobs");
|
|
779
806
|
const query = map({
|
|
780
807
|
[_RPN]: [, input[_BRPN]],
|
|
781
|
-
[
|
|
782
|
-
[
|
|
808
|
+
[_CBr]: [() => input.ByCreationBefore !== void 0, () => __serializeDateTime(input[_BCByr]).toString()],
|
|
809
|
+
[_CAr]: [() => input.ByCreationAfter !== void 0, () => __serializeDateTime(input[_BCAyr]).toString()],
|
|
783
810
|
[_St]: [, input[_BSyt]],
|
|
784
811
|
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
785
812
|
[_NT]: [, input[_NT]],
|
|
@@ -969,6 +996,7 @@ export const se_StartBackupJobCommand = async (input, context) => {
|
|
|
969
996
|
CompleteWindowMinutes: [],
|
|
970
997
|
IamRoleArn: [],
|
|
971
998
|
IdempotencyToken: [],
|
|
999
|
+
Index: [],
|
|
972
1000
|
Lifecycle: (_) => _json(_),
|
|
973
1001
|
RecoveryPointTags: (_) => _json(_),
|
|
974
1002
|
ResourceArn: [],
|
|
@@ -1107,6 +1135,22 @@ export const se_UpdateGlobalSettingsCommand = async (input, context) => {
|
|
|
1107
1135
|
b.m("PUT").h(headers).b(body);
|
|
1108
1136
|
return b.build();
|
|
1109
1137
|
};
|
|
1138
|
+
export const se_UpdateRecoveryPointIndexSettingsCommand = async (input, context) => {
|
|
1139
|
+
const b = rb(input, context);
|
|
1140
|
+
const headers = {
|
|
1141
|
+
"content-type": "application/json",
|
|
1142
|
+
};
|
|
1143
|
+
b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/index");
|
|
1144
|
+
b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
|
|
1145
|
+
b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
|
|
1146
|
+
let body;
|
|
1147
|
+
body = JSON.stringify(take(input, {
|
|
1148
|
+
IamRoleArn: [],
|
|
1149
|
+
Index: [],
|
|
1150
|
+
}));
|
|
1151
|
+
b.m("POST").h(headers).b(body);
|
|
1152
|
+
return b.build();
|
|
1153
|
+
};
|
|
1110
1154
|
export const se_UpdateRecoveryPointLifecycleCommand = async (input, context) => {
|
|
1111
1155
|
const b = rb(input, context);
|
|
1112
1156
|
const headers = {
|
|
@@ -1616,6 +1660,8 @@ export const de_DescribeRecoveryPointCommand = async (output, context) => {
|
|
|
1616
1660
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1617
1661
|
EncryptionKeyArn: __expectString,
|
|
1618
1662
|
IamRoleArn: __expectString,
|
|
1663
|
+
IndexStatus: __expectString,
|
|
1664
|
+
IndexStatusMessage: __expectString,
|
|
1619
1665
|
IsEncrypted: __expectBoolean,
|
|
1620
1666
|
IsParent: __expectBoolean,
|
|
1621
1667
|
LastRestoreTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -1867,6 +1913,28 @@ export const de_GetLegalHoldCommand = async (output, context) => {
|
|
|
1867
1913
|
Object.assign(contents, doc);
|
|
1868
1914
|
return contents;
|
|
1869
1915
|
};
|
|
1916
|
+
export const de_GetRecoveryPointIndexDetailsCommand = async (output, context) => {
|
|
1917
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1918
|
+
return de_CommandError(output, context);
|
|
1919
|
+
}
|
|
1920
|
+
const contents = map({
|
|
1921
|
+
$metadata: deserializeMetadata(output),
|
|
1922
|
+
});
|
|
1923
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1924
|
+
const doc = take(data, {
|
|
1925
|
+
BackupVaultArn: __expectString,
|
|
1926
|
+
IndexCompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1927
|
+
IndexCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1928
|
+
IndexDeletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1929
|
+
IndexStatus: __expectString,
|
|
1930
|
+
IndexStatusMessage: __expectString,
|
|
1931
|
+
RecoveryPointArn: __expectString,
|
|
1932
|
+
SourceResourceArn: __expectString,
|
|
1933
|
+
TotalItemsIndexed: __expectLong,
|
|
1934
|
+
});
|
|
1935
|
+
Object.assign(contents, doc);
|
|
1936
|
+
return contents;
|
|
1937
|
+
};
|
|
1870
1938
|
export const de_GetRecoveryPointRestoreMetadataCommand = async (output, context) => {
|
|
1871
1939
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1872
1940
|
return de_CommandError(output, context);
|
|
@@ -2107,6 +2175,21 @@ export const de_ListFrameworksCommand = async (output, context) => {
|
|
|
2107
2175
|
Object.assign(contents, doc);
|
|
2108
2176
|
return contents;
|
|
2109
2177
|
};
|
|
2178
|
+
export const de_ListIndexedRecoveryPointsCommand = async (output, context) => {
|
|
2179
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2180
|
+
return de_CommandError(output, context);
|
|
2181
|
+
}
|
|
2182
|
+
const contents = map({
|
|
2183
|
+
$metadata: deserializeMetadata(output),
|
|
2184
|
+
});
|
|
2185
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2186
|
+
const doc = take(data, {
|
|
2187
|
+
IndexedRecoveryPoints: (_) => de_IndexedRecoveryPointList(_, context),
|
|
2188
|
+
NextToken: __expectString,
|
|
2189
|
+
});
|
|
2190
|
+
Object.assign(contents, doc);
|
|
2191
|
+
return contents;
|
|
2192
|
+
};
|
|
2110
2193
|
export const de_ListLegalHoldsCommand = async (output, context) => {
|
|
2111
2194
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2112
2195
|
return de_CommandError(output, context);
|
|
@@ -2493,6 +2576,23 @@ export const de_UpdateGlobalSettingsCommand = async (output, context) => {
|
|
|
2493
2576
|
await collectBody(output.body, context);
|
|
2494
2577
|
return contents;
|
|
2495
2578
|
};
|
|
2579
|
+
export const de_UpdateRecoveryPointIndexSettingsCommand = async (output, context) => {
|
|
2580
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2581
|
+
return de_CommandError(output, context);
|
|
2582
|
+
}
|
|
2583
|
+
const contents = map({
|
|
2584
|
+
$metadata: deserializeMetadata(output),
|
|
2585
|
+
});
|
|
2586
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2587
|
+
const doc = take(data, {
|
|
2588
|
+
BackupVaultName: __expectString,
|
|
2589
|
+
Index: __expectString,
|
|
2590
|
+
IndexStatus: __expectString,
|
|
2591
|
+
RecoveryPointArn: __expectString,
|
|
2592
|
+
});
|
|
2593
|
+
Object.assign(contents, doc);
|
|
2594
|
+
return contents;
|
|
2595
|
+
};
|
|
2496
2596
|
export const de_UpdateRecoveryPointLifecycleCommand = async (output, context) => {
|
|
2497
2597
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2498
2598
|
return de_CommandError(output, context);
|
|
@@ -3005,6 +3105,27 @@ const de_FrameworkList = (output, context) => {
|
|
|
3005
3105
|
});
|
|
3006
3106
|
return retVal;
|
|
3007
3107
|
};
|
|
3108
|
+
const de_IndexedRecoveryPoint = (output, context) => {
|
|
3109
|
+
return take(output, {
|
|
3110
|
+
BackupCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3111
|
+
BackupVaultArn: __expectString,
|
|
3112
|
+
IamRoleArn: __expectString,
|
|
3113
|
+
IndexCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3114
|
+
IndexStatus: __expectString,
|
|
3115
|
+
IndexStatusMessage: __expectString,
|
|
3116
|
+
RecoveryPointArn: __expectString,
|
|
3117
|
+
ResourceType: __expectString,
|
|
3118
|
+
SourceResourceArn: __expectString,
|
|
3119
|
+
});
|
|
3120
|
+
};
|
|
3121
|
+
const de_IndexedRecoveryPointList = (output, context) => {
|
|
3122
|
+
const retVal = (output || [])
|
|
3123
|
+
.filter((e) => e != null)
|
|
3124
|
+
.map((entry) => {
|
|
3125
|
+
return de_IndexedRecoveryPoint(entry, context);
|
|
3126
|
+
});
|
|
3127
|
+
return retVal;
|
|
3128
|
+
};
|
|
3008
3129
|
const de_LegalHold = (output, context) => {
|
|
3009
3130
|
return take(output, {
|
|
3010
3131
|
CancellationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -3054,6 +3175,8 @@ const de_RecoveryPointByBackupVault = (output, context) => {
|
|
|
3054
3175
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3055
3176
|
EncryptionKeyArn: __expectString,
|
|
3056
3177
|
IamRoleArn: __expectString,
|
|
3178
|
+
IndexStatus: __expectString,
|
|
3179
|
+
IndexStatusMessage: __expectString,
|
|
3057
3180
|
IsEncrypted: __expectBoolean,
|
|
3058
3181
|
IsParent: __expectBoolean,
|
|
3059
3182
|
LastRestoreTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -3083,6 +3206,8 @@ const de_RecoveryPointByResource = (output, context) => {
|
|
|
3083
3206
|
BackupVaultName: __expectString,
|
|
3084
3207
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3085
3208
|
EncryptionKeyArn: __expectString,
|
|
3209
|
+
IndexStatus: __expectString,
|
|
3210
|
+
IndexStatusMessage: __expectString,
|
|
3086
3211
|
IsParent: __expectBoolean,
|
|
3087
3212
|
ParentRecoveryPointArn: __expectString,
|
|
3088
3213
|
RecoveryPointArn: __expectString,
|
|
@@ -3298,10 +3423,13 @@ const _BSyt = "ByStatus";
|
|
|
3298
3423
|
const _BVAI = "BackupVaultAccountId";
|
|
3299
3424
|
const _BVN = "BackupVaultName";
|
|
3300
3425
|
const _BVT = "ByVaultType";
|
|
3301
|
-
const _CA = "
|
|
3302
|
-
const
|
|
3426
|
+
const _CA = "CreatedAfter";
|
|
3427
|
+
const _CAr = "CreationAfter";
|
|
3428
|
+
const _CB = "CreatedBefore";
|
|
3429
|
+
const _CBr = "CreationBefore";
|
|
3303
3430
|
const _CD = "CancelDescription";
|
|
3304
3431
|
const _ID = "IncludeDeleted";
|
|
3432
|
+
const _IS = "IndexStatus";
|
|
3305
3433
|
const _MBAWSBO = "ManagedByAWSBackupOnly";
|
|
3306
3434
|
const _MC = "MessageCategory";
|
|
3307
3435
|
const _MR = "MaxResults";
|
|
@@ -3311,6 +3439,7 @@ const _RPN = "ReportPlanName";
|
|
|
3311
3439
|
const _RRID = "RetainRecordInDays";
|
|
3312
3440
|
const _RT = "ResourceType";
|
|
3313
3441
|
const _S = "State";
|
|
3442
|
+
const _SRA = "SourceResourceArn";
|
|
3314
3443
|
const _St = "Status";
|
|
3315
3444
|
const _VI = "VersionId";
|
|
3316
3445
|
const _aI = "accountId";
|
|
@@ -3324,6 +3453,7 @@ const _cBo = "completeBefore";
|
|
|
3324
3453
|
const _cD = "cancelDescription";
|
|
3325
3454
|
const _dVA = "destinationVaultArn";
|
|
3326
3455
|
const _iD = "includeDeleted";
|
|
3456
|
+
const _iS = "indexStatus";
|
|
3327
3457
|
const _mBAWSBO = "managedByAWSBackupOnly";
|
|
3328
3458
|
const _mC = "messageCategory";
|
|
3329
3459
|
const _mR = "maxResults";
|
|
@@ -3337,6 +3467,7 @@ const _rRID = "retainRecordInDays";
|
|
|
3337
3467
|
const _rT = "resourceType";
|
|
3338
3468
|
const _rTPA = "restoreTestingPlanArn";
|
|
3339
3469
|
const _s = "state";
|
|
3470
|
+
const _sRA = "sourceResourceArn";
|
|
3340
3471
|
const _sh = "shared";
|
|
3341
3472
|
const _st = "status";
|
|
3342
3473
|
const _vI = "versionId";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
21
|
awsCheckVersion(process.version);
|
|
22
|
+
const profileConfig = { profile: config?.profile };
|
|
22
23
|
return {
|
|
23
24
|
...clientSharedValues,
|
|
24
25
|
...config,
|
|
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
29
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
31
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
|
-
region: config?.region ??
|
|
32
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
33
|
+
region: config?.region ??
|
|
34
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
33
35
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
36
|
retryMode: config?.retryMode ??
|
|
35
37
|
loadNodeConfig({
|
|
36
38
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
39
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
|
-
}),
|
|
40
|
+
}, config),
|
|
39
41
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
40
42
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
43
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
44
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
45
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
44
46
|
};
|
|
45
47
|
};
|
package/dist-types/Backup.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ import { GetBackupSelectionCommandInput, GetBackupSelectionCommandOutput } from
|
|
|
42
42
|
import { GetBackupVaultAccessPolicyCommandInput, GetBackupVaultAccessPolicyCommandOutput } from "./commands/GetBackupVaultAccessPolicyCommand";
|
|
43
43
|
import { GetBackupVaultNotificationsCommandInput, GetBackupVaultNotificationsCommandOutput } from "./commands/GetBackupVaultNotificationsCommand";
|
|
44
44
|
import { GetLegalHoldCommandInput, GetLegalHoldCommandOutput } from "./commands/GetLegalHoldCommand";
|
|
45
|
+
import { GetRecoveryPointIndexDetailsCommandInput, GetRecoveryPointIndexDetailsCommandOutput } from "./commands/GetRecoveryPointIndexDetailsCommand";
|
|
45
46
|
import { GetRecoveryPointRestoreMetadataCommandInput, GetRecoveryPointRestoreMetadataCommandOutput } from "./commands/GetRecoveryPointRestoreMetadataCommand";
|
|
46
47
|
import { GetRestoreJobMetadataCommandInput, GetRestoreJobMetadataCommandOutput } from "./commands/GetRestoreJobMetadataCommand";
|
|
47
48
|
import { GetRestoreTestingInferredMetadataCommandInput, GetRestoreTestingInferredMetadataCommandOutput } from "./commands/GetRestoreTestingInferredMetadataCommand";
|
|
@@ -58,6 +59,7 @@ import { ListBackupVaultsCommandInput, ListBackupVaultsCommandOutput } from "./c
|
|
|
58
59
|
import { ListCopyJobsCommandInput, ListCopyJobsCommandOutput } from "./commands/ListCopyJobsCommand";
|
|
59
60
|
import { ListCopyJobSummariesCommandInput, ListCopyJobSummariesCommandOutput } from "./commands/ListCopyJobSummariesCommand";
|
|
60
61
|
import { ListFrameworksCommandInput, ListFrameworksCommandOutput } from "./commands/ListFrameworksCommand";
|
|
62
|
+
import { ListIndexedRecoveryPointsCommandInput, ListIndexedRecoveryPointsCommandOutput } from "./commands/ListIndexedRecoveryPointsCommand";
|
|
61
63
|
import { ListLegalHoldsCommandInput, ListLegalHoldsCommandOutput } from "./commands/ListLegalHoldsCommand";
|
|
62
64
|
import { ListProtectedResourcesByBackupVaultCommandInput, ListProtectedResourcesByBackupVaultCommandOutput } from "./commands/ListProtectedResourcesByBackupVaultCommand";
|
|
63
65
|
import { ListProtectedResourcesCommandInput, ListProtectedResourcesCommandOutput } from "./commands/ListProtectedResourcesCommand";
|
|
@@ -86,6 +88,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
86
88
|
import { UpdateBackupPlanCommandInput, UpdateBackupPlanCommandOutput } from "./commands/UpdateBackupPlanCommand";
|
|
87
89
|
import { UpdateFrameworkCommandInput, UpdateFrameworkCommandOutput } from "./commands/UpdateFrameworkCommand";
|
|
88
90
|
import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
|
|
91
|
+
import { UpdateRecoveryPointIndexSettingsCommandInput, UpdateRecoveryPointIndexSettingsCommandOutput } from "./commands/UpdateRecoveryPointIndexSettingsCommand";
|
|
89
92
|
import { UpdateRecoveryPointLifecycleCommandInput, UpdateRecoveryPointLifecycleCommandOutput } from "./commands/UpdateRecoveryPointLifecycleCommand";
|
|
90
93
|
import { UpdateRegionSettingsCommandInput, UpdateRegionSettingsCommandOutput } from "./commands/UpdateRegionSettingsCommand";
|
|
91
94
|
import { UpdateReportPlanCommandInput, UpdateReportPlanCommandOutput } from "./commands/UpdateReportPlanCommand";
|
|
@@ -346,6 +349,12 @@ export interface Backup {
|
|
|
346
349
|
getLegalHold(args: GetLegalHoldCommandInput, options?: __HttpHandlerOptions): Promise<GetLegalHoldCommandOutput>;
|
|
347
350
|
getLegalHold(args: GetLegalHoldCommandInput, cb: (err: any, data?: GetLegalHoldCommandOutput) => void): void;
|
|
348
351
|
getLegalHold(args: GetLegalHoldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLegalHoldCommandOutput) => void): void;
|
|
352
|
+
/**
|
|
353
|
+
* @see {@link GetRecoveryPointIndexDetailsCommand}
|
|
354
|
+
*/
|
|
355
|
+
getRecoveryPointIndexDetails(args: GetRecoveryPointIndexDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecoveryPointIndexDetailsCommandOutput>;
|
|
356
|
+
getRecoveryPointIndexDetails(args: GetRecoveryPointIndexDetailsCommandInput, cb: (err: any, data?: GetRecoveryPointIndexDetailsCommandOutput) => void): void;
|
|
357
|
+
getRecoveryPointIndexDetails(args: GetRecoveryPointIndexDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecoveryPointIndexDetailsCommandOutput) => void): void;
|
|
349
358
|
/**
|
|
350
359
|
* @see {@link GetRecoveryPointRestoreMetadataCommand}
|
|
351
360
|
*/
|
|
@@ -451,6 +460,13 @@ export interface Backup {
|
|
|
451
460
|
listFrameworks(args: ListFrameworksCommandInput, options?: __HttpHandlerOptions): Promise<ListFrameworksCommandOutput>;
|
|
452
461
|
listFrameworks(args: ListFrameworksCommandInput, cb: (err: any, data?: ListFrameworksCommandOutput) => void): void;
|
|
453
462
|
listFrameworks(args: ListFrameworksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFrameworksCommandOutput) => void): void;
|
|
463
|
+
/**
|
|
464
|
+
* @see {@link ListIndexedRecoveryPointsCommand}
|
|
465
|
+
*/
|
|
466
|
+
listIndexedRecoveryPoints(): Promise<ListIndexedRecoveryPointsCommandOutput>;
|
|
467
|
+
listIndexedRecoveryPoints(args: ListIndexedRecoveryPointsCommandInput, options?: __HttpHandlerOptions): Promise<ListIndexedRecoveryPointsCommandOutput>;
|
|
468
|
+
listIndexedRecoveryPoints(args: ListIndexedRecoveryPointsCommandInput, cb: (err: any, data?: ListIndexedRecoveryPointsCommandOutput) => void): void;
|
|
469
|
+
listIndexedRecoveryPoints(args: ListIndexedRecoveryPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIndexedRecoveryPointsCommandOutput) => void): void;
|
|
454
470
|
/**
|
|
455
471
|
* @see {@link ListLegalHoldsCommand}
|
|
456
472
|
*/
|
|
@@ -627,6 +643,12 @@ export interface Backup {
|
|
|
627
643
|
updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGlobalSettingsCommandOutput>;
|
|
628
644
|
updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, cb: (err: any, data?: UpdateGlobalSettingsCommandOutput) => void): void;
|
|
629
645
|
updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGlobalSettingsCommandOutput) => void): void;
|
|
646
|
+
/**
|
|
647
|
+
* @see {@link UpdateRecoveryPointIndexSettingsCommand}
|
|
648
|
+
*/
|
|
649
|
+
updateRecoveryPointIndexSettings(args: UpdateRecoveryPointIndexSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRecoveryPointIndexSettingsCommandOutput>;
|
|
650
|
+
updateRecoveryPointIndexSettings(args: UpdateRecoveryPointIndexSettingsCommandInput, cb: (err: any, data?: UpdateRecoveryPointIndexSettingsCommandOutput) => void): void;
|
|
651
|
+
updateRecoveryPointIndexSettings(args: UpdateRecoveryPointIndexSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRecoveryPointIndexSettingsCommandOutput) => void): void;
|
|
630
652
|
/**
|
|
631
653
|
* @see {@link UpdateRecoveryPointLifecycleCommand}
|
|
632
654
|
*/
|
|
@@ -49,6 +49,7 @@ import { GetBackupSelectionCommandInput, GetBackupSelectionCommandOutput } from
|
|
|
49
49
|
import { GetBackupVaultAccessPolicyCommandInput, GetBackupVaultAccessPolicyCommandOutput } from "./commands/GetBackupVaultAccessPolicyCommand";
|
|
50
50
|
import { GetBackupVaultNotificationsCommandInput, GetBackupVaultNotificationsCommandOutput } from "./commands/GetBackupVaultNotificationsCommand";
|
|
51
51
|
import { GetLegalHoldCommandInput, GetLegalHoldCommandOutput } from "./commands/GetLegalHoldCommand";
|
|
52
|
+
import { GetRecoveryPointIndexDetailsCommandInput, GetRecoveryPointIndexDetailsCommandOutput } from "./commands/GetRecoveryPointIndexDetailsCommand";
|
|
52
53
|
import { GetRecoveryPointRestoreMetadataCommandInput, GetRecoveryPointRestoreMetadataCommandOutput } from "./commands/GetRecoveryPointRestoreMetadataCommand";
|
|
53
54
|
import { GetRestoreJobMetadataCommandInput, GetRestoreJobMetadataCommandOutput } from "./commands/GetRestoreJobMetadataCommand";
|
|
54
55
|
import { GetRestoreTestingInferredMetadataCommandInput, GetRestoreTestingInferredMetadataCommandOutput } from "./commands/GetRestoreTestingInferredMetadataCommand";
|
|
@@ -65,6 +66,7 @@ import { ListBackupVaultsCommandInput, ListBackupVaultsCommandOutput } from "./c
|
|
|
65
66
|
import { ListCopyJobsCommandInput, ListCopyJobsCommandOutput } from "./commands/ListCopyJobsCommand";
|
|
66
67
|
import { ListCopyJobSummariesCommandInput, ListCopyJobSummariesCommandOutput } from "./commands/ListCopyJobSummariesCommand";
|
|
67
68
|
import { ListFrameworksCommandInput, ListFrameworksCommandOutput } from "./commands/ListFrameworksCommand";
|
|
69
|
+
import { ListIndexedRecoveryPointsCommandInput, ListIndexedRecoveryPointsCommandOutput } from "./commands/ListIndexedRecoveryPointsCommand";
|
|
68
70
|
import { ListLegalHoldsCommandInput, ListLegalHoldsCommandOutput } from "./commands/ListLegalHoldsCommand";
|
|
69
71
|
import { ListProtectedResourcesByBackupVaultCommandInput, ListProtectedResourcesByBackupVaultCommandOutput } from "./commands/ListProtectedResourcesByBackupVaultCommand";
|
|
70
72
|
import { ListProtectedResourcesCommandInput, ListProtectedResourcesCommandOutput } from "./commands/ListProtectedResourcesCommand";
|
|
@@ -93,6 +95,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
93
95
|
import { UpdateBackupPlanCommandInput, UpdateBackupPlanCommandOutput } from "./commands/UpdateBackupPlanCommand";
|
|
94
96
|
import { UpdateFrameworkCommandInput, UpdateFrameworkCommandOutput } from "./commands/UpdateFrameworkCommand";
|
|
95
97
|
import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
|
|
98
|
+
import { UpdateRecoveryPointIndexSettingsCommandInput, UpdateRecoveryPointIndexSettingsCommandOutput } from "./commands/UpdateRecoveryPointIndexSettingsCommand";
|
|
96
99
|
import { UpdateRecoveryPointLifecycleCommandInput, UpdateRecoveryPointLifecycleCommandOutput } from "./commands/UpdateRecoveryPointLifecycleCommand";
|
|
97
100
|
import { UpdateRegionSettingsCommandInput, UpdateRegionSettingsCommandOutput } from "./commands/UpdateRegionSettingsCommand";
|
|
98
101
|
import { UpdateReportPlanCommandInput, UpdateReportPlanCommandOutput } from "./commands/UpdateReportPlanCommand";
|
|
@@ -104,11 +107,11 @@ export { __Client };
|
|
|
104
107
|
/**
|
|
105
108
|
* @public
|
|
106
109
|
*/
|
|
107
|
-
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 | GetRecoveryPointRestoreMetadataCommandInput | GetRestoreJobMetadataCommandInput | GetRestoreTestingInferredMetadataCommandInput | GetRestoreTestingPlanCommandInput | GetRestoreTestingSelectionCommandInput | GetSupportedResourceTypesCommandInput | ListBackupJobSummariesCommandInput | ListBackupJobsCommandInput | ListBackupPlanTemplatesCommandInput | ListBackupPlanVersionsCommandInput | ListBackupPlansCommandInput | ListBackupSelectionsCommandInput | ListBackupVaultsCommandInput | ListCopyJobSummariesCommandInput | ListCopyJobsCommandInput | ListFrameworksCommandInput | 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 | UpdateRecoveryPointLifecycleCommandInput | UpdateRegionSettingsCommandInput | UpdateReportPlanCommandInput | UpdateRestoreTestingPlanCommandInput | UpdateRestoreTestingSelectionCommandInput;
|
|
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;
|
|
108
111
|
/**
|
|
109
112
|
* @public
|
|
110
113
|
*/
|
|
111
|
-
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 | GetRecoveryPointRestoreMetadataCommandOutput | GetRestoreJobMetadataCommandOutput | GetRestoreTestingInferredMetadataCommandOutput | GetRestoreTestingPlanCommandOutput | GetRestoreTestingSelectionCommandOutput | GetSupportedResourceTypesCommandOutput | ListBackupJobSummariesCommandOutput | ListBackupJobsCommandOutput | ListBackupPlanTemplatesCommandOutput | ListBackupPlanVersionsCommandOutput | ListBackupPlansCommandOutput | ListBackupSelectionsCommandOutput | ListBackupVaultsCommandOutput | ListCopyJobSummariesCommandOutput | ListCopyJobsCommandOutput | ListFrameworksCommandOutput | 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 | UpdateRecoveryPointLifecycleCommandOutput | UpdateRegionSettingsCommandOutput | UpdateReportPlanCommandOutput | UpdateRestoreTestingPlanCommandOutput | UpdateRestoreTestingSelectionCommandOutput;
|
|
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;
|
|
112
115
|
/**
|
|
113
116
|
* @public
|
|
114
117
|
*/
|
|
@@ -185,6 +188,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
185
188
|
* The AWS region to which this client will send requests
|
|
186
189
|
*/
|
|
187
190
|
region?: string | __Provider<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Setting a client profile is similar to setting a value for the
|
|
193
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
194
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
195
|
+
*
|
|
196
|
+
* When set, and only for environments where an AWS configuration
|
|
197
|
+
* file exists, fields configurable by this file will be retrieved
|
|
198
|
+
* from the specified profile within that file.
|
|
199
|
+
* Conflicting code configuration and environment variables will
|
|
200
|
+
* still have higher priority.
|
|
201
|
+
*
|
|
202
|
+
* For client credential resolution that involves checking the AWS
|
|
203
|
+
* configuration file, the client's profile (this value) will be
|
|
204
|
+
* used unless a different profile is set in the credential
|
|
205
|
+
* provider options.
|
|
206
|
+
*
|
|
207
|
+
*/
|
|
208
|
+
profile?: string;
|
|
188
209
|
/**
|
|
189
210
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
190
211
|
* @internal
|
|
@@ -68,6 +68,13 @@ declare const CreateBackupPlanCommand_base: {
|
|
|
68
68
|
* ],
|
|
69
69
|
* EnableContinuousBackup: true || false,
|
|
70
70
|
* ScheduleExpressionTimezone: "STRING_VALUE",
|
|
71
|
+
* IndexActions: [ // IndexActions
|
|
72
|
+
* { // IndexAction
|
|
73
|
+
* ResourceTypes: [ // ResourceTypes
|
|
74
|
+
* "STRING_VALUE",
|
|
75
|
+
* ],
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
71
78
|
* },
|
|
72
79
|
* ],
|
|
73
80
|
* AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -79,6 +79,8 @@ declare const DescribeRecoveryPointCommand_base: {
|
|
|
79
79
|
* // IsParent: true || false,
|
|
80
80
|
* // ResourceName: "STRING_VALUE",
|
|
81
81
|
* // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
|
|
82
|
+
* // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
|
|
83
|
+
* // IndexStatusMessage: "STRING_VALUE",
|
|
82
84
|
* // };
|
|
83
85
|
*
|
|
84
86
|
* ```
|
|
@@ -72,6 +72,13 @@ declare const GetBackupPlanCommand_base: {
|
|
|
72
72
|
* // ],
|
|
73
73
|
* // EnableContinuousBackup: true || false,
|
|
74
74
|
* // ScheduleExpressionTimezone: "STRING_VALUE",
|
|
75
|
+
* // IndexActions: [ // IndexActions
|
|
76
|
+
* // { // IndexAction
|
|
77
|
+
* // ResourceTypes: [ // ResourceTypes
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
75
82
|
* // },
|
|
76
83
|
* // ],
|
|
77
84
|
* // AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -70,6 +70,13 @@ declare const GetBackupPlanFromJSONCommand_base: {
|
|
|
70
70
|
* // ],
|
|
71
71
|
* // EnableContinuousBackup: true || false,
|
|
72
72
|
* // ScheduleExpressionTimezone: "STRING_VALUE",
|
|
73
|
+
* // IndexActions: [ // IndexActions
|
|
74
|
+
* // { // IndexAction
|
|
75
|
+
* // ResourceTypes: [ // ResourceTypes
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
73
80
|
* // },
|
|
74
81
|
* // ],
|
|
75
82
|
* // AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -70,6 +70,13 @@ declare const GetBackupPlanFromTemplateCommand_base: {
|
|
|
70
70
|
* // ],
|
|
71
71
|
* // EnableContinuousBackup: true || false,
|
|
72
72
|
* // ScheduleExpressionTimezone: "STRING_VALUE",
|
|
73
|
+
* // IndexActions: [ // IndexActions
|
|
74
|
+
* // { // IndexAction
|
|
75
|
+
* // ResourceTypes: [ // ResourceTypes
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
73
80
|
* // },
|
|
74
81
|
* // ],
|
|
75
82
|
* // AdvancedBackupSettings: [ // AdvancedBackupSettings
|