@aws-sdk/client-backup 3.713.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
package/README.md
CHANGED
|
@@ -543,6 +543,14 @@ GetLegalHold
|
|
|
543
543
|
|
|
544
544
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/backup/command/GetLegalHoldCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/GetLegalHoldCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/GetLegalHoldCommandOutput/)
|
|
545
545
|
|
|
546
|
+
</details>
|
|
547
|
+
<details>
|
|
548
|
+
<summary>
|
|
549
|
+
GetRecoveryPointIndexDetails
|
|
550
|
+
</summary>
|
|
551
|
+
|
|
552
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/backup/command/GetRecoveryPointIndexDetailsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/GetRecoveryPointIndexDetailsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/GetRecoveryPointIndexDetailsCommandOutput/)
|
|
553
|
+
|
|
546
554
|
</details>
|
|
547
555
|
<details>
|
|
548
556
|
<summary>
|
|
@@ -671,6 +679,14 @@ ListFrameworks
|
|
|
671
679
|
|
|
672
680
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/backup/command/ListFrameworksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/ListFrameworksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/ListFrameworksCommandOutput/)
|
|
673
681
|
|
|
682
|
+
</details>
|
|
683
|
+
<details>
|
|
684
|
+
<summary>
|
|
685
|
+
ListIndexedRecoveryPoints
|
|
686
|
+
</summary>
|
|
687
|
+
|
|
688
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/backup/command/ListIndexedRecoveryPointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/ListIndexedRecoveryPointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/ListIndexedRecoveryPointsCommandOutput/)
|
|
689
|
+
|
|
674
690
|
</details>
|
|
675
691
|
<details>
|
|
676
692
|
<summary>
|
|
@@ -895,6 +911,14 @@ UpdateGlobalSettings
|
|
|
895
911
|
|
|
896
912
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/backup/command/UpdateGlobalSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/UpdateGlobalSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/UpdateGlobalSettingsCommandOutput/)
|
|
897
913
|
|
|
914
|
+
</details>
|
|
915
|
+
<details>
|
|
916
|
+
<summary>
|
|
917
|
+
UpdateRecoveryPointIndexSettings
|
|
918
|
+
</summary>
|
|
919
|
+
|
|
920
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/backup/command/UpdateRecoveryPointIndexSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/UpdateRecoveryPointIndexSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-backup/Interface/UpdateRecoveryPointIndexSettingsCommandOutput/)
|
|
921
|
+
|
|
898
922
|
</details>
|
|
899
923
|
<details>
|
|
900
924
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -89,6 +89,7 @@ __export(src_exports, {
|
|
|
89
89
|
GetBackupVaultAccessPolicyCommand: () => GetBackupVaultAccessPolicyCommand,
|
|
90
90
|
GetBackupVaultNotificationsCommand: () => GetBackupVaultNotificationsCommand,
|
|
91
91
|
GetLegalHoldCommand: () => GetLegalHoldCommand,
|
|
92
|
+
GetRecoveryPointIndexDetailsCommand: () => GetRecoveryPointIndexDetailsCommand,
|
|
92
93
|
GetRecoveryPointRestoreMetadataCommand: () => GetRecoveryPointRestoreMetadataCommand,
|
|
93
94
|
GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog: () => GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog,
|
|
94
95
|
GetRestoreJobMetadataCommand: () => GetRestoreJobMetadataCommand,
|
|
@@ -98,6 +99,8 @@ __export(src_exports, {
|
|
|
98
99
|
GetRestoreTestingSelectionCommand: () => GetRestoreTestingSelectionCommand,
|
|
99
100
|
GetRestoreTestingSelectionOutputFilterSensitiveLog: () => GetRestoreTestingSelectionOutputFilterSensitiveLog,
|
|
100
101
|
GetSupportedResourceTypesCommand: () => GetSupportedResourceTypesCommand,
|
|
102
|
+
Index: () => Index,
|
|
103
|
+
IndexStatus: () => IndexStatus,
|
|
101
104
|
InvalidParameterValueException: () => InvalidParameterValueException,
|
|
102
105
|
InvalidRequestException: () => InvalidRequestException,
|
|
103
106
|
InvalidResourceStateException: () => InvalidResourceStateException,
|
|
@@ -113,6 +116,7 @@ __export(src_exports, {
|
|
|
113
116
|
ListCopyJobSummariesCommand: () => ListCopyJobSummariesCommand,
|
|
114
117
|
ListCopyJobsCommand: () => ListCopyJobsCommand,
|
|
115
118
|
ListFrameworksCommand: () => ListFrameworksCommand,
|
|
119
|
+
ListIndexedRecoveryPointsCommand: () => ListIndexedRecoveryPointsCommand,
|
|
116
120
|
ListLegalHoldsCommand: () => ListLegalHoldsCommand,
|
|
117
121
|
ListProtectedResourcesByBackupVaultCommand: () => ListProtectedResourcesByBackupVaultCommand,
|
|
118
122
|
ListProtectedResourcesCommand: () => ListProtectedResourcesCommand,
|
|
@@ -161,6 +165,7 @@ __export(src_exports, {
|
|
|
161
165
|
UpdateBackupPlanInputFilterSensitiveLog: () => UpdateBackupPlanInputFilterSensitiveLog,
|
|
162
166
|
UpdateFrameworkCommand: () => UpdateFrameworkCommand,
|
|
163
167
|
UpdateGlobalSettingsCommand: () => UpdateGlobalSettingsCommand,
|
|
168
|
+
UpdateRecoveryPointIndexSettingsCommand: () => UpdateRecoveryPointIndexSettingsCommand,
|
|
164
169
|
UpdateRecoveryPointLifecycleCommand: () => UpdateRecoveryPointLifecycleCommand,
|
|
165
170
|
UpdateRegionSettingsCommand: () => UpdateRegionSettingsCommand,
|
|
166
171
|
UpdateReportPlanCommand: () => UpdateReportPlanCommand,
|
|
@@ -180,6 +185,7 @@ __export(src_exports, {
|
|
|
180
185
|
paginateListCopyJobSummaries: () => paginateListCopyJobSummaries,
|
|
181
186
|
paginateListCopyJobs: () => paginateListCopyJobs,
|
|
182
187
|
paginateListFrameworks: () => paginateListFrameworks,
|
|
188
|
+
paginateListIndexedRecoveryPoints: () => paginateListIndexedRecoveryPoints,
|
|
183
189
|
paginateListLegalHolds: () => paginateListLegalHolds,
|
|
184
190
|
paginateListProtectedResources: () => paginateListProtectedResources,
|
|
185
191
|
paginateListProtectedResourcesByBackupVault: () => paginateListProtectedResourcesByBackupVault,
|
|
@@ -670,6 +676,12 @@ var _DependencyFailureException = class _DependencyFailureException extends Back
|
|
|
670
676
|
};
|
|
671
677
|
__name(_DependencyFailureException, "DependencyFailureException");
|
|
672
678
|
var DependencyFailureException = _DependencyFailureException;
|
|
679
|
+
var IndexStatus = {
|
|
680
|
+
ACTIVE: "ACTIVE",
|
|
681
|
+
DELETING: "DELETING",
|
|
682
|
+
FAILED: "FAILED",
|
|
683
|
+
PENDING: "PENDING"
|
|
684
|
+
};
|
|
673
685
|
var RecoveryPointStatus = {
|
|
674
686
|
COMPLETED: "COMPLETED",
|
|
675
687
|
DELETING: "DELETING",
|
|
@@ -709,6 +721,10 @@ var RestoreJobState = {
|
|
|
709
721
|
PENDING: "PENDING",
|
|
710
722
|
RUNNING: "RUNNING"
|
|
711
723
|
};
|
|
724
|
+
var Index = {
|
|
725
|
+
DISABLED: "DISABLED",
|
|
726
|
+
ENABLED: "ENABLED"
|
|
727
|
+
};
|
|
712
728
|
var BackupRuleFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
713
729
|
...obj,
|
|
714
730
|
...obj.RecoveryPointTags && { RecoveryPointTags: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1306,6 +1322,16 @@ var se_GetLegalHoldCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1306
1322
|
b.m("GET").h(headers).b(body);
|
|
1307
1323
|
return b.build();
|
|
1308
1324
|
}, "se_GetLegalHoldCommand");
|
|
1325
|
+
var se_GetRecoveryPointIndexDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1326
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1327
|
+
const headers = {};
|
|
1328
|
+
b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/index");
|
|
1329
|
+
b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
|
|
1330
|
+
b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
|
|
1331
|
+
let body;
|
|
1332
|
+
b.m("GET").h(headers).b(body);
|
|
1333
|
+
return b.build();
|
|
1334
|
+
}, "se_GetRecoveryPointIndexDetailsCommand");
|
|
1309
1335
|
var se_GetRecoveryPointRestoreMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1310
1336
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1311
1337
|
const headers = {};
|
|
@@ -1525,6 +1551,23 @@ var se_ListFrameworksCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1525
1551
|
b.m("GET").h(headers).q(query).b(body);
|
|
1526
1552
|
return b.build();
|
|
1527
1553
|
}, "se_ListFrameworksCommand");
|
|
1554
|
+
var se_ListIndexedRecoveryPointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1555
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1556
|
+
const headers = {};
|
|
1557
|
+
b.bp("/indexes/recovery-point");
|
|
1558
|
+
const query = (0, import_smithy_client.map)({
|
|
1559
|
+
[_nT]: [, input[_NT]],
|
|
1560
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1561
|
+
[_sRA]: [, input[_SRA]],
|
|
1562
|
+
[_cB]: [() => input.CreatedBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_CB]).toString()],
|
|
1563
|
+
[_cA]: [() => input.CreatedAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_CA]).toString()],
|
|
1564
|
+
[_rT]: [, input[_RT]],
|
|
1565
|
+
[_iS]: [, input[_IS]]
|
|
1566
|
+
});
|
|
1567
|
+
let body;
|
|
1568
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1569
|
+
return b.build();
|
|
1570
|
+
}, "se_ListIndexedRecoveryPointsCommand");
|
|
1528
1571
|
var se_ListLegalHoldsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1529
1572
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1530
1573
|
const headers = {};
|
|
@@ -1616,8 +1659,8 @@ var se_ListReportJobsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1616
1659
|
b.bp("/audit/report-jobs");
|
|
1617
1660
|
const query = (0, import_smithy_client.map)({
|
|
1618
1661
|
[_RPN]: [, input[_BRPN]],
|
|
1619
|
-
[
|
|
1620
|
-
[
|
|
1662
|
+
[_CBr]: [() => input.ByCreationBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_BCByr]).toString()],
|
|
1663
|
+
[_CAr]: [() => input.ByCreationAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_BCAyr]).toString()],
|
|
1621
1664
|
[_St]: [, input[_BSyt]],
|
|
1622
1665
|
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1623
1666
|
[_NT]: [, input[_NT]]
|
|
@@ -1816,6 +1859,7 @@ var se_StartBackupJobCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1816
1859
|
CompleteWindowMinutes: [],
|
|
1817
1860
|
IamRoleArn: [],
|
|
1818
1861
|
IdempotencyToken: [],
|
|
1862
|
+
Index: [],
|
|
1819
1863
|
Lifecycle: (_) => (0, import_smithy_client._json)(_),
|
|
1820
1864
|
RecoveryPointTags: (_) => (0, import_smithy_client._json)(_),
|
|
1821
1865
|
ResourceArn: [],
|
|
@@ -1971,6 +2015,24 @@ var se_UpdateGlobalSettingsCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1971
2015
|
b.m("PUT").h(headers).b(body);
|
|
1972
2016
|
return b.build();
|
|
1973
2017
|
}, "se_UpdateGlobalSettingsCommand");
|
|
2018
|
+
var se_UpdateRecoveryPointIndexSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2019
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2020
|
+
const headers = {
|
|
2021
|
+
"content-type": "application/json"
|
|
2022
|
+
};
|
|
2023
|
+
b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/index");
|
|
2024
|
+
b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
|
|
2025
|
+
b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
|
|
2026
|
+
let body;
|
|
2027
|
+
body = JSON.stringify(
|
|
2028
|
+
(0, import_smithy_client.take)(input, {
|
|
2029
|
+
IamRoleArn: [],
|
|
2030
|
+
Index: []
|
|
2031
|
+
})
|
|
2032
|
+
);
|
|
2033
|
+
b.m("POST").h(headers).b(body);
|
|
2034
|
+
return b.build();
|
|
2035
|
+
}, "se_UpdateRecoveryPointIndexSettingsCommand");
|
|
1974
2036
|
var se_UpdateRecoveryPointLifecycleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1975
2037
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1976
2038
|
const headers = {
|
|
@@ -2490,6 +2552,8 @@ var de_DescribeRecoveryPointCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2490
2552
|
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2491
2553
|
EncryptionKeyArn: import_smithy_client.expectString,
|
|
2492
2554
|
IamRoleArn: import_smithy_client.expectString,
|
|
2555
|
+
IndexStatus: import_smithy_client.expectString,
|
|
2556
|
+
IndexStatusMessage: import_smithy_client.expectString,
|
|
2493
2557
|
IsEncrypted: import_smithy_client.expectBoolean,
|
|
2494
2558
|
IsParent: import_smithy_client.expectBoolean,
|
|
2495
2559
|
LastRestoreTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -2741,6 +2805,28 @@ var de_GetLegalHoldCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2741
2805
|
Object.assign(contents, doc);
|
|
2742
2806
|
return contents;
|
|
2743
2807
|
}, "de_GetLegalHoldCommand");
|
|
2808
|
+
var de_GetRecoveryPointIndexDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2809
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2810
|
+
return de_CommandError(output, context);
|
|
2811
|
+
}
|
|
2812
|
+
const contents = (0, import_smithy_client.map)({
|
|
2813
|
+
$metadata: deserializeMetadata(output)
|
|
2814
|
+
});
|
|
2815
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2816
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2817
|
+
BackupVaultArn: import_smithy_client.expectString,
|
|
2818
|
+
IndexCompletionDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2819
|
+
IndexCreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2820
|
+
IndexDeletionDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2821
|
+
IndexStatus: import_smithy_client.expectString,
|
|
2822
|
+
IndexStatusMessage: import_smithy_client.expectString,
|
|
2823
|
+
RecoveryPointArn: import_smithy_client.expectString,
|
|
2824
|
+
SourceResourceArn: import_smithy_client.expectString,
|
|
2825
|
+
TotalItemsIndexed: import_smithy_client.expectLong
|
|
2826
|
+
});
|
|
2827
|
+
Object.assign(contents, doc);
|
|
2828
|
+
return contents;
|
|
2829
|
+
}, "de_GetRecoveryPointIndexDetailsCommand");
|
|
2744
2830
|
var de_GetRecoveryPointRestoreMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2745
2831
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2746
2832
|
return de_CommandError(output, context);
|
|
@@ -2981,6 +3067,21 @@ var de_ListFrameworksCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2981
3067
|
Object.assign(contents, doc);
|
|
2982
3068
|
return contents;
|
|
2983
3069
|
}, "de_ListFrameworksCommand");
|
|
3070
|
+
var de_ListIndexedRecoveryPointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3071
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3072
|
+
return de_CommandError(output, context);
|
|
3073
|
+
}
|
|
3074
|
+
const contents = (0, import_smithy_client.map)({
|
|
3075
|
+
$metadata: deserializeMetadata(output)
|
|
3076
|
+
});
|
|
3077
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3078
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3079
|
+
IndexedRecoveryPoints: (_) => de_IndexedRecoveryPointList(_, context),
|
|
3080
|
+
NextToken: import_smithy_client.expectString
|
|
3081
|
+
});
|
|
3082
|
+
Object.assign(contents, doc);
|
|
3083
|
+
return contents;
|
|
3084
|
+
}, "de_ListIndexedRecoveryPointsCommand");
|
|
2984
3085
|
var de_ListLegalHoldsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2985
3086
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2986
3087
|
return de_CommandError(output, context);
|
|
@@ -3367,6 +3468,23 @@ var de_UpdateGlobalSettingsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3367
3468
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3368
3469
|
return contents;
|
|
3369
3470
|
}, "de_UpdateGlobalSettingsCommand");
|
|
3471
|
+
var de_UpdateRecoveryPointIndexSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3472
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3473
|
+
return de_CommandError(output, context);
|
|
3474
|
+
}
|
|
3475
|
+
const contents = (0, import_smithy_client.map)({
|
|
3476
|
+
$metadata: deserializeMetadata(output)
|
|
3477
|
+
});
|
|
3478
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3479
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3480
|
+
BackupVaultName: import_smithy_client.expectString,
|
|
3481
|
+
Index: import_smithy_client.expectString,
|
|
3482
|
+
IndexStatus: import_smithy_client.expectString,
|
|
3483
|
+
RecoveryPointArn: import_smithy_client.expectString
|
|
3484
|
+
});
|
|
3485
|
+
Object.assign(contents, doc);
|
|
3486
|
+
return contents;
|
|
3487
|
+
}, "de_UpdateRecoveryPointIndexSettingsCommand");
|
|
3370
3488
|
var de_UpdateRecoveryPointLifecycleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3371
3489
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3372
3490
|
return de_CommandError(output, context);
|
|
@@ -3861,6 +3979,25 @@ var de_FrameworkList = /* @__PURE__ */ __name((output, context) => {
|
|
|
3861
3979
|
});
|
|
3862
3980
|
return retVal;
|
|
3863
3981
|
}, "de_FrameworkList");
|
|
3982
|
+
var de_IndexedRecoveryPoint = /* @__PURE__ */ __name((output, context) => {
|
|
3983
|
+
return (0, import_smithy_client.take)(output, {
|
|
3984
|
+
BackupCreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3985
|
+
BackupVaultArn: import_smithy_client.expectString,
|
|
3986
|
+
IamRoleArn: import_smithy_client.expectString,
|
|
3987
|
+
IndexCreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3988
|
+
IndexStatus: import_smithy_client.expectString,
|
|
3989
|
+
IndexStatusMessage: import_smithy_client.expectString,
|
|
3990
|
+
RecoveryPointArn: import_smithy_client.expectString,
|
|
3991
|
+
ResourceType: import_smithy_client.expectString,
|
|
3992
|
+
SourceResourceArn: import_smithy_client.expectString
|
|
3993
|
+
});
|
|
3994
|
+
}, "de_IndexedRecoveryPoint");
|
|
3995
|
+
var de_IndexedRecoveryPointList = /* @__PURE__ */ __name((output, context) => {
|
|
3996
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3997
|
+
return de_IndexedRecoveryPoint(entry, context);
|
|
3998
|
+
});
|
|
3999
|
+
return retVal;
|
|
4000
|
+
}, "de_IndexedRecoveryPointList");
|
|
3864
4001
|
var de_LegalHold = /* @__PURE__ */ __name((output, context) => {
|
|
3865
4002
|
return (0, import_smithy_client.take)(output, {
|
|
3866
4003
|
CancellationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -3906,6 +4043,8 @@ var de_RecoveryPointByBackupVault = /* @__PURE__ */ __name((output, context) =>
|
|
|
3906
4043
|
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3907
4044
|
EncryptionKeyArn: import_smithy_client.expectString,
|
|
3908
4045
|
IamRoleArn: import_smithy_client.expectString,
|
|
4046
|
+
IndexStatus: import_smithy_client.expectString,
|
|
4047
|
+
IndexStatusMessage: import_smithy_client.expectString,
|
|
3909
4048
|
IsEncrypted: import_smithy_client.expectBoolean,
|
|
3910
4049
|
IsParent: import_smithy_client.expectBoolean,
|
|
3911
4050
|
LastRestoreTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -3933,6 +4072,8 @@ var de_RecoveryPointByResource = /* @__PURE__ */ __name((output, context) => {
|
|
|
3933
4072
|
BackupVaultName: import_smithy_client.expectString,
|
|
3934
4073
|
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3935
4074
|
EncryptionKeyArn: import_smithy_client.expectString,
|
|
4075
|
+
IndexStatus: import_smithy_client.expectString,
|
|
4076
|
+
IndexStatusMessage: import_smithy_client.expectString,
|
|
3936
4077
|
IsParent: import_smithy_client.expectBoolean,
|
|
3937
4078
|
ParentRecoveryPointArn: import_smithy_client.expectString,
|
|
3938
4079
|
RecoveryPointArn: import_smithy_client.expectString,
|
|
@@ -4133,10 +4274,13 @@ var _BSyt = "ByStatus";
|
|
|
4133
4274
|
var _BVAI = "BackupVaultAccountId";
|
|
4134
4275
|
var _BVN = "BackupVaultName";
|
|
4135
4276
|
var _BVT = "ByVaultType";
|
|
4136
|
-
var _CA = "
|
|
4137
|
-
var
|
|
4277
|
+
var _CA = "CreatedAfter";
|
|
4278
|
+
var _CAr = "CreationAfter";
|
|
4279
|
+
var _CB = "CreatedBefore";
|
|
4280
|
+
var _CBr = "CreationBefore";
|
|
4138
4281
|
var _CD = "CancelDescription";
|
|
4139
4282
|
var _ID = "IncludeDeleted";
|
|
4283
|
+
var _IS = "IndexStatus";
|
|
4140
4284
|
var _MBAWSBO = "ManagedByAWSBackupOnly";
|
|
4141
4285
|
var _MC = "MessageCategory";
|
|
4142
4286
|
var _MR = "MaxResults";
|
|
@@ -4146,6 +4290,7 @@ var _RPN = "ReportPlanName";
|
|
|
4146
4290
|
var _RRID = "RetainRecordInDays";
|
|
4147
4291
|
var _RT = "ResourceType";
|
|
4148
4292
|
var _S = "State";
|
|
4293
|
+
var _SRA = "SourceResourceArn";
|
|
4149
4294
|
var _St = "Status";
|
|
4150
4295
|
var _VI = "VersionId";
|
|
4151
4296
|
var _aI = "accountId";
|
|
@@ -4159,6 +4304,7 @@ var _cBo = "completeBefore";
|
|
|
4159
4304
|
var _cD = "cancelDescription";
|
|
4160
4305
|
var _dVA = "destinationVaultArn";
|
|
4161
4306
|
var _iD = "includeDeleted";
|
|
4307
|
+
var _iS = "indexStatus";
|
|
4162
4308
|
var _mBAWSBO = "managedByAWSBackupOnly";
|
|
4163
4309
|
var _mC = "messageCategory";
|
|
4164
4310
|
var _mR = "maxResults";
|
|
@@ -4172,6 +4318,7 @@ var _rRID = "retainRecordInDays";
|
|
|
4172
4318
|
var _rT = "resourceType";
|
|
4173
4319
|
var _rTPA = "restoreTestingPlanArn";
|
|
4174
4320
|
var _s = "state";
|
|
4321
|
+
var _sRA = "sourceResourceArn";
|
|
4175
4322
|
var _sh = "shared";
|
|
4176
4323
|
var _st = "status";
|
|
4177
4324
|
var _vI = "versionId";
|
|
@@ -4762,6 +4909,20 @@ var _GetLegalHoldCommand = class _GetLegalHoldCommand extends import_smithy_clie
|
|
|
4762
4909
|
__name(_GetLegalHoldCommand, "GetLegalHoldCommand");
|
|
4763
4910
|
var GetLegalHoldCommand = _GetLegalHoldCommand;
|
|
4764
4911
|
|
|
4912
|
+
// src/commands/GetRecoveryPointIndexDetailsCommand.ts
|
|
4913
|
+
|
|
4914
|
+
|
|
4915
|
+
|
|
4916
|
+
var _GetRecoveryPointIndexDetailsCommand = class _GetRecoveryPointIndexDetailsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4917
|
+
return [
|
|
4918
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4919
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4920
|
+
];
|
|
4921
|
+
}).s("CryoControllerUserManager", "GetRecoveryPointIndexDetails", {}).n("BackupClient", "GetRecoveryPointIndexDetailsCommand").f(void 0, void 0).ser(se_GetRecoveryPointIndexDetailsCommand).de(de_GetRecoveryPointIndexDetailsCommand).build() {
|
|
4922
|
+
};
|
|
4923
|
+
__name(_GetRecoveryPointIndexDetailsCommand, "GetRecoveryPointIndexDetailsCommand");
|
|
4924
|
+
var GetRecoveryPointIndexDetailsCommand = _GetRecoveryPointIndexDetailsCommand;
|
|
4925
|
+
|
|
4765
4926
|
// src/commands/GetRecoveryPointRestoreMetadataCommand.ts
|
|
4766
4927
|
|
|
4767
4928
|
|
|
@@ -4986,6 +5147,20 @@ var _ListFrameworksCommand = class _ListFrameworksCommand extends import_smithy_
|
|
|
4986
5147
|
__name(_ListFrameworksCommand, "ListFrameworksCommand");
|
|
4987
5148
|
var ListFrameworksCommand = _ListFrameworksCommand;
|
|
4988
5149
|
|
|
5150
|
+
// src/commands/ListIndexedRecoveryPointsCommand.ts
|
|
5151
|
+
|
|
5152
|
+
|
|
5153
|
+
|
|
5154
|
+
var _ListIndexedRecoveryPointsCommand = class _ListIndexedRecoveryPointsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5155
|
+
return [
|
|
5156
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5157
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5158
|
+
];
|
|
5159
|
+
}).s("CryoControllerUserManager", "ListIndexedRecoveryPoints", {}).n("BackupClient", "ListIndexedRecoveryPointsCommand").f(void 0, void 0).ser(se_ListIndexedRecoveryPointsCommand).de(de_ListIndexedRecoveryPointsCommand).build() {
|
|
5160
|
+
};
|
|
5161
|
+
__name(_ListIndexedRecoveryPointsCommand, "ListIndexedRecoveryPointsCommand");
|
|
5162
|
+
var ListIndexedRecoveryPointsCommand = _ListIndexedRecoveryPointsCommand;
|
|
5163
|
+
|
|
4989
5164
|
// src/commands/ListLegalHoldsCommand.ts
|
|
4990
5165
|
|
|
4991
5166
|
|
|
@@ -5378,6 +5553,20 @@ var _UpdateGlobalSettingsCommand = class _UpdateGlobalSettingsCommand extends im
|
|
|
5378
5553
|
__name(_UpdateGlobalSettingsCommand, "UpdateGlobalSettingsCommand");
|
|
5379
5554
|
var UpdateGlobalSettingsCommand = _UpdateGlobalSettingsCommand;
|
|
5380
5555
|
|
|
5556
|
+
// src/commands/UpdateRecoveryPointIndexSettingsCommand.ts
|
|
5557
|
+
|
|
5558
|
+
|
|
5559
|
+
|
|
5560
|
+
var _UpdateRecoveryPointIndexSettingsCommand = class _UpdateRecoveryPointIndexSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5561
|
+
return [
|
|
5562
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5563
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5564
|
+
];
|
|
5565
|
+
}).s("CryoControllerUserManager", "UpdateRecoveryPointIndexSettings", {}).n("BackupClient", "UpdateRecoveryPointIndexSettingsCommand").f(void 0, void 0).ser(se_UpdateRecoveryPointIndexSettingsCommand).de(de_UpdateRecoveryPointIndexSettingsCommand).build() {
|
|
5566
|
+
};
|
|
5567
|
+
__name(_UpdateRecoveryPointIndexSettingsCommand, "UpdateRecoveryPointIndexSettingsCommand");
|
|
5568
|
+
var UpdateRecoveryPointIndexSettingsCommand = _UpdateRecoveryPointIndexSettingsCommand;
|
|
5569
|
+
|
|
5381
5570
|
// src/commands/UpdateRecoveryPointLifecycleCommand.ts
|
|
5382
5571
|
|
|
5383
5572
|
|
|
@@ -5492,6 +5681,7 @@ var commands = {
|
|
|
5492
5681
|
GetBackupVaultAccessPolicyCommand,
|
|
5493
5682
|
GetBackupVaultNotificationsCommand,
|
|
5494
5683
|
GetLegalHoldCommand,
|
|
5684
|
+
GetRecoveryPointIndexDetailsCommand,
|
|
5495
5685
|
GetRecoveryPointRestoreMetadataCommand,
|
|
5496
5686
|
GetRestoreJobMetadataCommand,
|
|
5497
5687
|
GetRestoreTestingInferredMetadataCommand,
|
|
@@ -5508,6 +5698,7 @@ var commands = {
|
|
|
5508
5698
|
ListCopyJobsCommand,
|
|
5509
5699
|
ListCopyJobSummariesCommand,
|
|
5510
5700
|
ListFrameworksCommand,
|
|
5701
|
+
ListIndexedRecoveryPointsCommand,
|
|
5511
5702
|
ListLegalHoldsCommand,
|
|
5512
5703
|
ListProtectedResourcesCommand,
|
|
5513
5704
|
ListProtectedResourcesByBackupVaultCommand,
|
|
@@ -5536,6 +5727,7 @@ var commands = {
|
|
|
5536
5727
|
UpdateBackupPlanCommand,
|
|
5537
5728
|
UpdateFrameworkCommand,
|
|
5538
5729
|
UpdateGlobalSettingsCommand,
|
|
5730
|
+
UpdateRecoveryPointIndexSettingsCommand,
|
|
5539
5731
|
UpdateRecoveryPointLifecycleCommand,
|
|
5540
5732
|
UpdateRegionSettingsCommand,
|
|
5541
5733
|
UpdateReportPlanCommand,
|
|
@@ -5588,6 +5780,10 @@ var paginateListCopyJobs = (0, import_core.createPaginator)(BackupClient, ListCo
|
|
|
5588
5780
|
|
|
5589
5781
|
var paginateListFrameworks = (0, import_core.createPaginator)(BackupClient, ListFrameworksCommand, "NextToken", "NextToken", "MaxResults");
|
|
5590
5782
|
|
|
5783
|
+
// src/pagination/ListIndexedRecoveryPointsPaginator.ts
|
|
5784
|
+
|
|
5785
|
+
var paginateListIndexedRecoveryPoints = (0, import_core.createPaginator)(BackupClient, ListIndexedRecoveryPointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
5786
|
+
|
|
5591
5787
|
// src/pagination/ListLegalHoldsPaginator.ts
|
|
5592
5788
|
|
|
5593
5789
|
var paginateListLegalHolds = (0, import_core.createPaginator)(BackupClient, ListLegalHoldsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -5693,6 +5889,7 @@ var paginateListTags = (0, import_core.createPaginator)(BackupClient, ListTagsCo
|
|
|
5693
5889
|
GetBackupVaultAccessPolicyCommand,
|
|
5694
5890
|
GetBackupVaultNotificationsCommand,
|
|
5695
5891
|
GetLegalHoldCommand,
|
|
5892
|
+
GetRecoveryPointIndexDetailsCommand,
|
|
5696
5893
|
GetRecoveryPointRestoreMetadataCommand,
|
|
5697
5894
|
GetRestoreJobMetadataCommand,
|
|
5698
5895
|
GetRestoreTestingInferredMetadataCommand,
|
|
@@ -5709,6 +5906,7 @@ var paginateListTags = (0, import_core.createPaginator)(BackupClient, ListTagsCo
|
|
|
5709
5906
|
ListCopyJobSummariesCommand,
|
|
5710
5907
|
ListCopyJobsCommand,
|
|
5711
5908
|
ListFrameworksCommand,
|
|
5909
|
+
ListIndexedRecoveryPointsCommand,
|
|
5712
5910
|
ListLegalHoldsCommand,
|
|
5713
5911
|
ListProtectedResourcesByBackupVaultCommand,
|
|
5714
5912
|
ListProtectedResourcesCommand,
|
|
@@ -5737,6 +5935,7 @@ var paginateListTags = (0, import_core.createPaginator)(BackupClient, ListTagsCo
|
|
|
5737
5935
|
UpdateBackupPlanCommand,
|
|
5738
5936
|
UpdateFrameworkCommand,
|
|
5739
5937
|
UpdateGlobalSettingsCommand,
|
|
5938
|
+
UpdateRecoveryPointIndexSettingsCommand,
|
|
5740
5939
|
UpdateRecoveryPointLifecycleCommand,
|
|
5741
5940
|
UpdateRegionSettingsCommand,
|
|
5742
5941
|
UpdateReportPlanCommand,
|
|
@@ -5752,6 +5951,7 @@ var paginateListTags = (0, import_core.createPaginator)(BackupClient, ListTagsCo
|
|
|
5752
5951
|
paginateListCopyJobSummaries,
|
|
5753
5952
|
paginateListCopyJobs,
|
|
5754
5953
|
paginateListFrameworks,
|
|
5954
|
+
paginateListIndexedRecoveryPoints,
|
|
5755
5955
|
paginateListLegalHolds,
|
|
5756
5956
|
paginateListProtectedResourcesByBackupVault,
|
|
5757
5957
|
paginateListProtectedResources,
|
|
@@ -5788,12 +5988,14 @@ var paginateListTags = (0, import_core.createPaginator)(BackupClient, ListTagsCo
|
|
|
5788
5988
|
RestoreTestingRecoveryPointSelectionAlgorithm,
|
|
5789
5989
|
RestoreTestingRecoveryPointType,
|
|
5790
5990
|
DependencyFailureException,
|
|
5991
|
+
IndexStatus,
|
|
5791
5992
|
RecoveryPointStatus,
|
|
5792
5993
|
StorageClass,
|
|
5793
5994
|
RestoreDeletionStatus,
|
|
5794
5995
|
RestoreJobStatus,
|
|
5795
5996
|
RestoreValidationStatus,
|
|
5796
5997
|
RestoreJobState,
|
|
5998
|
+
Index,
|
|
5797
5999
|
BackupRuleFilterSensitiveLog,
|
|
5798
6000
|
BackupPlanFilterSensitiveLog,
|
|
5799
6001
|
BackupRuleInputFilterSensitiveLog,
|
|
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
+
const profileConfig = { profile: config?.profile };
|
|
26
27
|
return {
|
|
27
28
|
...clientSharedValues,
|
|
28
29
|
...config,
|
|
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
|
|
|
32
33
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
33
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
35
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: config?.region ??
|
|
36
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
37
|
+
region: config?.region ??
|
|
38
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
37
39
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
38
40
|
retryMode: config?.retryMode ??
|
|
39
41
|
(0, node_config_provider_1.loadConfig)({
|
|
40
42
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
41
43
|
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
42
|
-
}),
|
|
44
|
+
}, config),
|
|
43
45
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
44
46
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
49
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
48
50
|
};
|
|
49
51
|
};
|
|
50
52
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/Backup.js
CHANGED
|
@@ -42,6 +42,7 @@ import { GetBackupSelectionCommand, } from "./commands/GetBackupSelectionCommand
|
|
|
42
42
|
import { GetBackupVaultAccessPolicyCommand, } from "./commands/GetBackupVaultAccessPolicyCommand";
|
|
43
43
|
import { GetBackupVaultNotificationsCommand, } from "./commands/GetBackupVaultNotificationsCommand";
|
|
44
44
|
import { GetLegalHoldCommand, } from "./commands/GetLegalHoldCommand";
|
|
45
|
+
import { GetRecoveryPointIndexDetailsCommand, } from "./commands/GetRecoveryPointIndexDetailsCommand";
|
|
45
46
|
import { GetRecoveryPointRestoreMetadataCommand, } from "./commands/GetRecoveryPointRestoreMetadataCommand";
|
|
46
47
|
import { GetRestoreJobMetadataCommand, } from "./commands/GetRestoreJobMetadataCommand";
|
|
47
48
|
import { GetRestoreTestingInferredMetadataCommand, } from "./commands/GetRestoreTestingInferredMetadataCommand";
|
|
@@ -58,6 +59,7 @@ import { ListBackupVaultsCommand, } from "./commands/ListBackupVaultsCommand";
|
|
|
58
59
|
import { ListCopyJobsCommand, } from "./commands/ListCopyJobsCommand";
|
|
59
60
|
import { ListCopyJobSummariesCommand, } from "./commands/ListCopyJobSummariesCommand";
|
|
60
61
|
import { ListFrameworksCommand, } from "./commands/ListFrameworksCommand";
|
|
62
|
+
import { ListIndexedRecoveryPointsCommand, } from "./commands/ListIndexedRecoveryPointsCommand";
|
|
61
63
|
import { ListLegalHoldsCommand, } from "./commands/ListLegalHoldsCommand";
|
|
62
64
|
import { ListProtectedResourcesByBackupVaultCommand, } from "./commands/ListProtectedResourcesByBackupVaultCommand";
|
|
63
65
|
import { ListProtectedResourcesCommand, } from "./commands/ListProtectedResourcesCommand";
|
|
@@ -86,6 +88,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
86
88
|
import { UpdateBackupPlanCommand, } from "./commands/UpdateBackupPlanCommand";
|
|
87
89
|
import { UpdateFrameworkCommand, } from "./commands/UpdateFrameworkCommand";
|
|
88
90
|
import { UpdateGlobalSettingsCommand, } from "./commands/UpdateGlobalSettingsCommand";
|
|
91
|
+
import { UpdateRecoveryPointIndexSettingsCommand, } from "./commands/UpdateRecoveryPointIndexSettingsCommand";
|
|
89
92
|
import { UpdateRecoveryPointLifecycleCommand, } from "./commands/UpdateRecoveryPointLifecycleCommand";
|
|
90
93
|
import { UpdateRegionSettingsCommand, } from "./commands/UpdateRegionSettingsCommand";
|
|
91
94
|
import { UpdateReportPlanCommand, } from "./commands/UpdateReportPlanCommand";
|
|
@@ -134,6 +137,7 @@ const commands = {
|
|
|
134
137
|
GetBackupVaultAccessPolicyCommand,
|
|
135
138
|
GetBackupVaultNotificationsCommand,
|
|
136
139
|
GetLegalHoldCommand,
|
|
140
|
+
GetRecoveryPointIndexDetailsCommand,
|
|
137
141
|
GetRecoveryPointRestoreMetadataCommand,
|
|
138
142
|
GetRestoreJobMetadataCommand,
|
|
139
143
|
GetRestoreTestingInferredMetadataCommand,
|
|
@@ -150,6 +154,7 @@ const commands = {
|
|
|
150
154
|
ListCopyJobsCommand,
|
|
151
155
|
ListCopyJobSummariesCommand,
|
|
152
156
|
ListFrameworksCommand,
|
|
157
|
+
ListIndexedRecoveryPointsCommand,
|
|
153
158
|
ListLegalHoldsCommand,
|
|
154
159
|
ListProtectedResourcesCommand,
|
|
155
160
|
ListProtectedResourcesByBackupVaultCommand,
|
|
@@ -178,6 +183,7 @@ const commands = {
|
|
|
178
183
|
UpdateBackupPlanCommand,
|
|
179
184
|
UpdateFrameworkCommand,
|
|
180
185
|
UpdateGlobalSettingsCommand,
|
|
186
|
+
UpdateRecoveryPointIndexSettingsCommand,
|
|
181
187
|
UpdateRecoveryPointLifecycleCommand,
|
|
182
188
|
UpdateRegionSettingsCommand,
|
|
183
189
|
UpdateReportPlanCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetRecoveryPointIndexDetailsCommand, se_GetRecoveryPointIndexDetailsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetRecoveryPointIndexDetailsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("CryoControllerUserManager", "GetRecoveryPointIndexDetails", {})
|
|
17
|
+
.n("BackupClient", "GetRecoveryPointIndexDetailsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetRecoveryPointIndexDetailsCommand)
|
|
20
|
+
.de(de_GetRecoveryPointIndexDetailsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListIndexedRecoveryPointsCommand, se_ListIndexedRecoveryPointsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListIndexedRecoveryPointsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("CryoControllerUserManager", "ListIndexedRecoveryPoints", {})
|
|
17
|
+
.n("BackupClient", "ListIndexedRecoveryPointsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListIndexedRecoveryPointsCommand)
|
|
20
|
+
.de(de_ListIndexedRecoveryPointsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateRecoveryPointIndexSettingsCommand, se_UpdateRecoveryPointIndexSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateRecoveryPointIndexSettingsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("CryoControllerUserManager", "UpdateRecoveryPointIndexSettings", {})
|
|
17
|
+
.n("BackupClient", "UpdateRecoveryPointIndexSettingsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateRecoveryPointIndexSettingsCommand)
|
|
20
|
+
.de(de_UpdateRecoveryPointIndexSettingsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|