Skip to content

Commit e03d20d

Browse files
author
awstools
committed
feat(client-backup): Add Support for Backup Indexing
1 parent a4d166e commit e03d20d

21 files changed

+1816
-4
lines changed

clients/client-backup/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,14 @@ GetLegalHold
543543

544544
[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/)
545545

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+
546554
</details>
547555
<details>
548556
<summary>
@@ -671,6 +679,14 @@ ListFrameworks
671679

672680
[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/)
673681

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+
674690
</details>
675691
<details>
676692
<summary>
@@ -895,6 +911,14 @@ UpdateGlobalSettings
895911

896912
[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/)
897913

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+
898922
</details>
899923
<details>
900924
<summary>

clients/client-backup/src/Backup.ts

+70
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ import {
213213
GetLegalHoldCommandInput,
214214
GetLegalHoldCommandOutput,
215215
} from "./commands/GetLegalHoldCommand";
216+
import {
217+
GetRecoveryPointIndexDetailsCommand,
218+
GetRecoveryPointIndexDetailsCommandInput,
219+
GetRecoveryPointIndexDetailsCommandOutput,
220+
} from "./commands/GetRecoveryPointIndexDetailsCommand";
216221
import {
217222
GetRecoveryPointRestoreMetadataCommand,
218223
GetRecoveryPointRestoreMetadataCommandInput,
@@ -293,6 +298,11 @@ import {
293298
ListFrameworksCommandInput,
294299
ListFrameworksCommandOutput,
295300
} from "./commands/ListFrameworksCommand";
301+
import {
302+
ListIndexedRecoveryPointsCommand,
303+
ListIndexedRecoveryPointsCommandInput,
304+
ListIndexedRecoveryPointsCommandOutput,
305+
} from "./commands/ListIndexedRecoveryPointsCommand";
296306
import {
297307
ListLegalHoldsCommand,
298308
ListLegalHoldsCommandInput,
@@ -425,6 +435,11 @@ import {
425435
UpdateGlobalSettingsCommandInput,
426436
UpdateGlobalSettingsCommandOutput,
427437
} from "./commands/UpdateGlobalSettingsCommand";
438+
import {
439+
UpdateRecoveryPointIndexSettingsCommand,
440+
UpdateRecoveryPointIndexSettingsCommandInput,
441+
UpdateRecoveryPointIndexSettingsCommandOutput,
442+
} from "./commands/UpdateRecoveryPointIndexSettingsCommand";
428443
import {
429444
UpdateRecoveryPointLifecycleCommand,
430445
UpdateRecoveryPointLifecycleCommandInput,
@@ -494,6 +509,7 @@ const commands = {
494509
GetBackupVaultAccessPolicyCommand,
495510
GetBackupVaultNotificationsCommand,
496511
GetLegalHoldCommand,
512+
GetRecoveryPointIndexDetailsCommand,
497513
GetRecoveryPointRestoreMetadataCommand,
498514
GetRestoreJobMetadataCommand,
499515
GetRestoreTestingInferredMetadataCommand,
@@ -510,6 +526,7 @@ const commands = {
510526
ListCopyJobsCommand,
511527
ListCopyJobSummariesCommand,
512528
ListFrameworksCommand,
529+
ListIndexedRecoveryPointsCommand,
513530
ListLegalHoldsCommand,
514531
ListProtectedResourcesCommand,
515532
ListProtectedResourcesByBackupVaultCommand,
@@ -538,6 +555,7 @@ const commands = {
538555
UpdateBackupPlanCommand,
539556
UpdateFrameworkCommand,
540557
UpdateGlobalSettingsCommand,
558+
UpdateRecoveryPointIndexSettingsCommand,
541559
UpdateRecoveryPointLifecycleCommand,
542560
UpdateRegionSettingsCommand,
543561
UpdateReportPlanCommand,
@@ -1235,6 +1253,23 @@ export interface Backup {
12351253
cb: (err: any, data?: GetLegalHoldCommandOutput) => void
12361254
): void;
12371255

1256+
/**
1257+
* @see {@link GetRecoveryPointIndexDetailsCommand}
1258+
*/
1259+
getRecoveryPointIndexDetails(
1260+
args: GetRecoveryPointIndexDetailsCommandInput,
1261+
options?: __HttpHandlerOptions
1262+
): Promise<GetRecoveryPointIndexDetailsCommandOutput>;
1263+
getRecoveryPointIndexDetails(
1264+
args: GetRecoveryPointIndexDetailsCommandInput,
1265+
cb: (err: any, data?: GetRecoveryPointIndexDetailsCommandOutput) => void
1266+
): void;
1267+
getRecoveryPointIndexDetails(
1268+
args: GetRecoveryPointIndexDetailsCommandInput,
1269+
options: __HttpHandlerOptions,
1270+
cb: (err: any, data?: GetRecoveryPointIndexDetailsCommandOutput) => void
1271+
): void;
1272+
12381273
/**
12391274
* @see {@link GetRecoveryPointRestoreMetadataCommand}
12401275
*/
@@ -1501,6 +1536,24 @@ export interface Backup {
15011536
cb: (err: any, data?: ListFrameworksCommandOutput) => void
15021537
): void;
15031538

1539+
/**
1540+
* @see {@link ListIndexedRecoveryPointsCommand}
1541+
*/
1542+
listIndexedRecoveryPoints(): Promise<ListIndexedRecoveryPointsCommandOutput>;
1543+
listIndexedRecoveryPoints(
1544+
args: ListIndexedRecoveryPointsCommandInput,
1545+
options?: __HttpHandlerOptions
1546+
): Promise<ListIndexedRecoveryPointsCommandOutput>;
1547+
listIndexedRecoveryPoints(
1548+
args: ListIndexedRecoveryPointsCommandInput,
1549+
cb: (err: any, data?: ListIndexedRecoveryPointsCommandOutput) => void
1550+
): void;
1551+
listIndexedRecoveryPoints(
1552+
args: ListIndexedRecoveryPointsCommandInput,
1553+
options: __HttpHandlerOptions,
1554+
cb: (err: any, data?: ListIndexedRecoveryPointsCommandOutput) => void
1555+
): void;
1556+
15041557
/**
15051558
* @see {@link ListLegalHoldsCommand}
15061559
*/
@@ -1931,6 +1984,23 @@ export interface Backup {
19311984
cb: (err: any, data?: UpdateGlobalSettingsCommandOutput) => void
19321985
): void;
19331986

1987+
/**
1988+
* @see {@link UpdateRecoveryPointIndexSettingsCommand}
1989+
*/
1990+
updateRecoveryPointIndexSettings(
1991+
args: UpdateRecoveryPointIndexSettingsCommandInput,
1992+
options?: __HttpHandlerOptions
1993+
): Promise<UpdateRecoveryPointIndexSettingsCommandOutput>;
1994+
updateRecoveryPointIndexSettings(
1995+
args: UpdateRecoveryPointIndexSettingsCommandInput,
1996+
cb: (err: any, data?: UpdateRecoveryPointIndexSettingsCommandOutput) => void
1997+
): void;
1998+
updateRecoveryPointIndexSettings(
1999+
args: UpdateRecoveryPointIndexSettingsCommandInput,
2000+
options: __HttpHandlerOptions,
2001+
cb: (err: any, data?: UpdateRecoveryPointIndexSettingsCommandOutput) => void
2002+
): void;
2003+
19342004
/**
19352005
* @see {@link UpdateRecoveryPointLifecycleCommand}
19362006
*/

clients/client-backup/src/BackupClient.ts

+18
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ import {
164164
GetBackupVaultNotificationsCommandOutput,
165165
} from "./commands/GetBackupVaultNotificationsCommand";
166166
import { GetLegalHoldCommandInput, GetLegalHoldCommandOutput } from "./commands/GetLegalHoldCommand";
167+
import {
168+
GetRecoveryPointIndexDetailsCommandInput,
169+
GetRecoveryPointIndexDetailsCommandOutput,
170+
} from "./commands/GetRecoveryPointIndexDetailsCommand";
167171
import {
168172
GetRecoveryPointRestoreMetadataCommandInput,
169173
GetRecoveryPointRestoreMetadataCommandOutput,
@@ -213,6 +217,10 @@ import {
213217
ListCopyJobSummariesCommandOutput,
214218
} from "./commands/ListCopyJobSummariesCommand";
215219
import { ListFrameworksCommandInput, ListFrameworksCommandOutput } from "./commands/ListFrameworksCommand";
220+
import {
221+
ListIndexedRecoveryPointsCommandInput,
222+
ListIndexedRecoveryPointsCommandOutput,
223+
} from "./commands/ListIndexedRecoveryPointsCommand";
216224
import { ListLegalHoldsCommandInput, ListLegalHoldsCommandOutput } from "./commands/ListLegalHoldsCommand";
217225
import {
218226
ListProtectedResourcesByBackupVaultCommandInput,
@@ -283,6 +291,10 @@ import {
283291
UpdateGlobalSettingsCommandInput,
284292
UpdateGlobalSettingsCommandOutput,
285293
} from "./commands/UpdateGlobalSettingsCommand";
294+
import {
295+
UpdateRecoveryPointIndexSettingsCommandInput,
296+
UpdateRecoveryPointIndexSettingsCommandOutput,
297+
} from "./commands/UpdateRecoveryPointIndexSettingsCommand";
286298
import {
287299
UpdateRecoveryPointLifecycleCommandInput,
288300
UpdateRecoveryPointLifecycleCommandOutput,
@@ -357,6 +369,7 @@ export type ServiceInputTypes =
357369
| GetBackupVaultAccessPolicyCommandInput
358370
| GetBackupVaultNotificationsCommandInput
359371
| GetLegalHoldCommandInput
372+
| GetRecoveryPointIndexDetailsCommandInput
360373
| GetRecoveryPointRestoreMetadataCommandInput
361374
| GetRestoreJobMetadataCommandInput
362375
| GetRestoreTestingInferredMetadataCommandInput
@@ -373,6 +386,7 @@ export type ServiceInputTypes =
373386
| ListCopyJobSummariesCommandInput
374387
| ListCopyJobsCommandInput
375388
| ListFrameworksCommandInput
389+
| ListIndexedRecoveryPointsCommandInput
376390
| ListLegalHoldsCommandInput
377391
| ListProtectedResourcesByBackupVaultCommandInput
378392
| ListProtectedResourcesCommandInput
@@ -401,6 +415,7 @@ export type ServiceInputTypes =
401415
| UpdateBackupPlanCommandInput
402416
| UpdateFrameworkCommandInput
403417
| UpdateGlobalSettingsCommandInput
418+
| UpdateRecoveryPointIndexSettingsCommandInput
404419
| UpdateRecoveryPointLifecycleCommandInput
405420
| UpdateRegionSettingsCommandInput
406421
| UpdateReportPlanCommandInput
@@ -453,6 +468,7 @@ export type ServiceOutputTypes =
453468
| GetBackupVaultAccessPolicyCommandOutput
454469
| GetBackupVaultNotificationsCommandOutput
455470
| GetLegalHoldCommandOutput
471+
| GetRecoveryPointIndexDetailsCommandOutput
456472
| GetRecoveryPointRestoreMetadataCommandOutput
457473
| GetRestoreJobMetadataCommandOutput
458474
| GetRestoreTestingInferredMetadataCommandOutput
@@ -469,6 +485,7 @@ export type ServiceOutputTypes =
469485
| ListCopyJobSummariesCommandOutput
470486
| ListCopyJobsCommandOutput
471487
| ListFrameworksCommandOutput
488+
| ListIndexedRecoveryPointsCommandOutput
472489
| ListLegalHoldsCommandOutput
473490
| ListProtectedResourcesByBackupVaultCommandOutput
474491
| ListProtectedResourcesCommandOutput
@@ -497,6 +514,7 @@ export type ServiceOutputTypes =
497514
| UpdateBackupPlanCommandOutput
498515
| UpdateFrameworkCommandOutput
499516
| UpdateGlobalSettingsCommandOutput
517+
| UpdateRecoveryPointIndexSettingsCommandOutput
500518
| UpdateRecoveryPointLifecycleCommandOutput
501519
| UpdateRegionSettingsCommandOutput
502520
| UpdateReportPlanCommandOutput

clients/client-backup/src/commands/CreateBackupPlanCommand.ts

+7
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ export interface CreateBackupPlanCommandOutput extends CreateBackupPlanOutput, _
7373
* ],
7474
* EnableContinuousBackup: true || false,
7575
* ScheduleExpressionTimezone: "STRING_VALUE",
76+
* IndexActions: [ // IndexActions
77+
* { // IndexAction
78+
* ResourceTypes: [ // ResourceTypes
79+
* "STRING_VALUE",
80+
* ],
81+
* },
82+
* ],
7683
* },
7784
* ],
7885
* AdvancedBackupSettings: [ // AdvancedBackupSettings

clients/client-backup/src/commands/DescribeRecoveryPointCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ export interface DescribeRecoveryPointCommandOutput extends DescribeRecoveryPoin
8080
* // IsParent: true || false,
8181
* // ResourceName: "STRING_VALUE",
8282
* // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
83+
* // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
84+
* // IndexStatusMessage: "STRING_VALUE",
8385
* // };
8486
*
8587
* ```

clients/client-backup/src/commands/GetBackupPlanCommand.ts

+7
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ export interface GetBackupPlanCommandOutput extends GetBackupPlanOutput, __Metad
7373
* // ],
7474
* // EnableContinuousBackup: true || false,
7575
* // ScheduleExpressionTimezone: "STRING_VALUE",
76+
* // IndexActions: [ // IndexActions
77+
* // { // IndexAction
78+
* // ResourceTypes: [ // ResourceTypes
79+
* // "STRING_VALUE",
80+
* // ],
81+
* // },
82+
* // ],
7683
* // },
7784
* // ],
7885
* // AdvancedBackupSettings: [ // AdvancedBackupSettings

clients/client-backup/src/commands/GetBackupPlanFromJSONCommand.ts

+7
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ export interface GetBackupPlanFromJSONCommandOutput extends GetBackupPlanFromJSO
7575
* // ],
7676
* // EnableContinuousBackup: true || false,
7777
* // ScheduleExpressionTimezone: "STRING_VALUE",
78+
* // IndexActions: [ // IndexActions
79+
* // { // IndexAction
80+
* // ResourceTypes: [ // ResourceTypes
81+
* // "STRING_VALUE",
82+
* // ],
83+
* // },
84+
* // ],
7885
* // },
7986
* // ],
8087
* // AdvancedBackupSettings: [ // AdvancedBackupSettings

clients/client-backup/src/commands/GetBackupPlanFromTemplateCommand.ts

+7
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ export interface GetBackupPlanFromTemplateCommandOutput extends GetBackupPlanFro
7575
* // ],
7676
* // EnableContinuousBackup: true || false,
7777
* // ScheduleExpressionTimezone: "STRING_VALUE",
78+
* // IndexActions: [ // IndexActions
79+
* // { // IndexAction
80+
* // ResourceTypes: [ // ResourceTypes
81+
* // "STRING_VALUE",
82+
* // ],
83+
* // },
84+
* // ],
7885
* // },
7986
* // ],
8087
* // AdvancedBackupSettings: [ // AdvancedBackupSettings

0 commit comments

Comments
 (0)