@aws-sdk/client-backup 3.299.0 → 3.301.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.
Files changed (73) hide show
  1. package/dist-types/commands/CancelLegalHoldCommand.d.ts +5 -0
  2. package/dist-types/commands/CreateBackupPlanCommand.d.ts +43 -0
  3. package/dist-types/commands/CreateBackupSelectionCommand.d.ts +47 -0
  4. package/dist-types/commands/CreateBackupVaultCommand.d.ts +8 -0
  5. package/dist-types/commands/CreateFrameworkCommand.d.ts +30 -0
  6. package/dist-types/commands/CreateLegalHoldCommand.d.ts +20 -0
  7. package/dist-types/commands/CreateReportPlanCommand.d.ts +31 -0
  8. package/dist-types/commands/DeleteBackupPlanCommand.d.ts +3 -0
  9. package/dist-types/commands/DeleteBackupSelectionCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteBackupVaultAccessPolicyCommand.d.ts +3 -0
  11. package/dist-types/commands/DeleteBackupVaultCommand.d.ts +3 -0
  12. package/dist-types/commands/DeleteBackupVaultLockConfigurationCommand.d.ts +3 -0
  13. package/dist-types/commands/DeleteBackupVaultNotificationsCommand.d.ts +3 -0
  14. package/dist-types/commands/DeleteFrameworkCommand.d.ts +3 -0
  15. package/dist-types/commands/DeleteRecoveryPointCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteReportPlanCommand.d.ts +3 -0
  17. package/dist-types/commands/DescribeBackupJobCommand.d.ts +3 -0
  18. package/dist-types/commands/DescribeBackupVaultCommand.d.ts +3 -0
  19. package/dist-types/commands/DescribeCopyJobCommand.d.ts +3 -0
  20. package/dist-types/commands/DescribeFrameworkCommand.d.ts +3 -0
  21. package/dist-types/commands/DescribeGlobalSettingsCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeProtectedResourceCommand.d.ts +3 -0
  23. package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeRegionSettingsCommand.d.ts +1 -0
  25. package/dist-types/commands/DescribeReportJobCommand.d.ts +3 -0
  26. package/dist-types/commands/DescribeReportPlanCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribeRestoreJobCommand.d.ts +3 -0
  28. package/dist-types/commands/DisassociateRecoveryPointCommand.d.ts +4 -0
  29. package/dist-types/commands/DisassociateRecoveryPointFromParentCommand.d.ts +4 -0
  30. package/dist-types/commands/ExportBackupPlanTemplateCommand.d.ts +3 -0
  31. package/dist-types/commands/GetBackupPlanCommand.d.ts +4 -0
  32. package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +3 -0
  33. package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +3 -0
  34. package/dist-types/commands/GetBackupSelectionCommand.d.ts +4 -0
  35. package/dist-types/commands/GetBackupVaultAccessPolicyCommand.d.ts +3 -0
  36. package/dist-types/commands/GetBackupVaultNotificationsCommand.d.ts +3 -0
  37. package/dist-types/commands/GetLegalHoldCommand.d.ts +3 -0
  38. package/dist-types/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +4 -0
  39. package/dist-types/commands/GetSupportedResourceTypesCommand.d.ts +1 -0
  40. package/dist-types/commands/ListBackupJobsCommand.d.ts +14 -0
  41. package/dist-types/commands/ListBackupPlanTemplatesCommand.d.ts +4 -0
  42. package/dist-types/commands/ListBackupPlanVersionsCommand.d.ts +5 -0
  43. package/dist-types/commands/ListBackupPlansCommand.d.ts +5 -0
  44. package/dist-types/commands/ListBackupSelectionsCommand.d.ts +5 -0
  45. package/dist-types/commands/ListBackupVaultsCommand.d.ts +4 -0
  46. package/dist-types/commands/ListCopyJobsCommand.d.ts +14 -0
  47. package/dist-types/commands/ListFrameworksCommand.d.ts +4 -0
  48. package/dist-types/commands/ListLegalHoldsCommand.d.ts +4 -0
  49. package/dist-types/commands/ListProtectedResourcesCommand.d.ts +4 -0
  50. package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +11 -0
  51. package/dist-types/commands/ListRecoveryPointsByLegalHoldCommand.d.ts +5 -0
  52. package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +5 -0
  53. package/dist-types/commands/ListReportJobsCommand.d.ts +8 -0
  54. package/dist-types/commands/ListReportPlansCommand.d.ts +4 -0
  55. package/dist-types/commands/ListRestoreJobsCommand.d.ts +10 -0
  56. package/dist-types/commands/ListTagsCommand.d.ts +5 -0
  57. package/dist-types/commands/PutBackupVaultAccessPolicyCommand.d.ts +4 -0
  58. package/dist-types/commands/PutBackupVaultLockConfigurationCommand.d.ts +6 -0
  59. package/dist-types/commands/PutBackupVaultNotificationsCommand.d.ts +7 -0
  60. package/dist-types/commands/StartBackupJobCommand.d.ts +18 -0
  61. package/dist-types/commands/StartCopyJobCommand.d.ts +11 -0
  62. package/dist-types/commands/StartReportJobCommand.d.ts +4 -0
  63. package/dist-types/commands/StartRestoreJobCommand.d.ts +9 -0
  64. package/dist-types/commands/StopBackupJobCommand.d.ts +3 -0
  65. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  66. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  67. package/dist-types/commands/UpdateBackupPlanCommand.d.ts +40 -0
  68. package/dist-types/commands/UpdateFrameworkCommand.d.ts +27 -0
  69. package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +5 -0
  70. package/dist-types/commands/UpdateRecoveryPointLifecycleCommand.d.ts +8 -0
  71. package/dist-types/commands/UpdateRegionSettingsCommand.d.ts +8 -0
  72. package/dist-types/commands/UpdateReportPlanCommand.d.ts +28 -0
  73. package/package.json +8 -8
@@ -27,6 +27,10 @@ export interface ListBackupPlanTemplatesCommandOutput extends ListBackupPlanTemp
27
27
  * import { BackupClient, ListBackupPlanTemplatesCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, ListBackupPlanTemplatesCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // ListBackupPlanTemplatesInput
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
30
34
  * const command = new ListBackupPlanTemplatesCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -27,6 +27,11 @@ export interface ListBackupPlanVersionsCommandOutput extends ListBackupPlanVersi
27
27
  * import { BackupClient, ListBackupPlanVersionsCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, ListBackupPlanVersionsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // ListBackupPlanVersionsInput
31
+ * BackupPlanId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListBackupPlanVersionsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -28,6 +28,11 @@ export interface ListBackupPlansCommandOutput extends ListBackupPlansOutput, __M
28
28
  * import { BackupClient, ListBackupPlansCommand } from "@aws-sdk/client-backup"; // ES Modules import
29
29
  * // const { BackupClient, ListBackupPlansCommand } = require("@aws-sdk/client-backup"); // CommonJS import
30
30
  * const client = new BackupClient(config);
31
+ * const input = { // ListBackupPlansInput
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * IncludeDeleted: true || false,
35
+ * };
31
36
  * const command = new ListBackupPlansCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -27,6 +27,11 @@ export interface ListBackupSelectionsCommandOutput extends ListBackupSelectionsO
27
27
  * import { BackupClient, ListBackupSelectionsCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, ListBackupSelectionsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // ListBackupSelectionsInput
31
+ * BackupPlanId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListBackupSelectionsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,10 @@ export interface ListBackupVaultsCommandOutput extends ListBackupVaultsOutput, _
27
27
  * import { BackupClient, ListBackupVaultsCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, ListBackupVaultsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // ListBackupVaultsInput
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
30
34
  * const command = new ListBackupVaultsCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,20 @@ export interface ListCopyJobsCommandOutput extends ListCopyJobsOutput, __Metadat
26
26
  * import { BackupClient, ListCopyJobsCommand } from "@aws-sdk/client-backup"; // ES Modules import
27
27
  * // const { BackupClient, ListCopyJobsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
28
28
  * const client = new BackupClient(config);
29
+ * const input = { // ListCopyJobsInput
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * ByResourceArn: "STRING_VALUE",
33
+ * ByState: "CREATED" || "RUNNING" || "COMPLETED" || "FAILED" || "PARTIAL",
34
+ * ByCreatedBefore: new Date("TIMESTAMP"),
35
+ * ByCreatedAfter: new Date("TIMESTAMP"),
36
+ * ByResourceType: "STRING_VALUE",
37
+ * ByDestinationVaultArn: "STRING_VALUE",
38
+ * ByAccountId: "STRING_VALUE",
39
+ * ByCompleteBefore: new Date("TIMESTAMP"),
40
+ * ByCompleteAfter: new Date("TIMESTAMP"),
41
+ * ByParentJobId: "STRING_VALUE",
42
+ * };
29
43
  * const command = new ListCopyJobsCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -26,6 +26,10 @@ export interface ListFrameworksCommandOutput extends ListFrameworksOutput, __Met
26
26
  * import { BackupClient, ListFrameworksCommand } from "@aws-sdk/client-backup"; // ES Modules import
27
27
  * // const { BackupClient, ListFrameworksCommand } = require("@aws-sdk/client-backup"); // CommonJS import
28
28
  * const client = new BackupClient(config);
29
+ * const input = { // ListFrameworksInput
30
+ * MaxResults: Number("int"),
31
+ * NextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListFrameworksCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface ListLegalHoldsCommandOutput extends ListLegalHoldsOutput, __Met
26
26
  * import { BackupClient, ListLegalHoldsCommand } from "@aws-sdk/client-backup"; // ES Modules import
27
27
  * // const { BackupClient, ListLegalHoldsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
28
28
  * const client = new BackupClient(config);
29
+ * const input = { // ListLegalHoldsInput
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListLegalHoldsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -28,6 +28,10 @@ export interface ListProtectedResourcesCommandOutput extends ListProtectedResour
28
28
  * import { BackupClient, ListProtectedResourcesCommand } from "@aws-sdk/client-backup"; // ES Modules import
29
29
  * // const { BackupClient, ListProtectedResourcesCommand } = require("@aws-sdk/client-backup"); // CommonJS import
30
30
  * const client = new BackupClient(config);
31
+ * const input = { // ListProtectedResourcesInput
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
31
35
  * const command = new ListProtectedResourcesCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -26,6 +26,17 @@ export interface ListRecoveryPointsByBackupVaultCommandOutput extends ListRecove
26
26
  * import { BackupClient, ListRecoveryPointsByBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
27
27
  * // const { BackupClient, ListRecoveryPointsByBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
28
28
  * const client = new BackupClient(config);
29
+ * const input = { // ListRecoveryPointsByBackupVaultInput
30
+ * BackupVaultName: "STRING_VALUE", // required
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * ByResourceArn: "STRING_VALUE",
34
+ * ByResourceType: "STRING_VALUE",
35
+ * ByBackupPlanId: "STRING_VALUE",
36
+ * ByCreatedBefore: new Date("TIMESTAMP"),
37
+ * ByCreatedAfter: new Date("TIMESTAMP"),
38
+ * ByParentRecoveryPointArn: "STRING_VALUE",
39
+ * };
29
40
  * const command = new ListRecoveryPointsByBackupVaultCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -27,6 +27,11 @@ export interface ListRecoveryPointsByLegalHoldCommandOutput extends ListRecovery
27
27
  * import { BackupClient, ListRecoveryPointsByLegalHoldCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, ListRecoveryPointsByLegalHoldCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // ListRecoveryPointsByLegalHoldInput
31
+ * LegalHoldId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListRecoveryPointsByLegalHoldCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -31,6 +31,11 @@ export interface ListRecoveryPointsByResourceCommandOutput extends ListRecoveryP
31
31
  * import { BackupClient, ListRecoveryPointsByResourceCommand } from "@aws-sdk/client-backup"; // ES Modules import
32
32
  * // const { BackupClient, ListRecoveryPointsByResourceCommand } = require("@aws-sdk/client-backup"); // CommonJS import
33
33
  * const client = new BackupClient(config);
34
+ * const input = { // ListRecoveryPointsByResourceInput
35
+ * ResourceArn: "STRING_VALUE", // required
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
34
39
  * const command = new ListRecoveryPointsByResourceCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -26,6 +26,14 @@ export interface ListReportJobsCommandOutput extends ListReportJobsOutput, __Met
26
26
  * import { BackupClient, ListReportJobsCommand } from "@aws-sdk/client-backup"; // ES Modules import
27
27
  * // const { BackupClient, ListReportJobsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
28
28
  * const client = new BackupClient(config);
29
+ * const input = { // ListReportJobsInput
30
+ * ByReportPlanName: "STRING_VALUE",
31
+ * ByCreationBefore: new Date("TIMESTAMP"),
32
+ * ByCreationAfter: new Date("TIMESTAMP"),
33
+ * ByStatus: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * NextToken: "STRING_VALUE",
36
+ * };
29
37
  * const command = new ListReportJobsCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -27,6 +27,10 @@ export interface ListReportPlansCommandOutput extends ListReportPlansOutput, __M
27
27
  * import { BackupClient, ListReportPlansCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, ListReportPlansCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // ListReportPlansInput
31
+ * MaxResults: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
30
34
  * const command = new ListReportPlansCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -27,6 +27,16 @@ export interface ListRestoreJobsCommandOutput extends ListRestoreJobsOutput, __M
27
27
  * import { BackupClient, ListRestoreJobsCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, ListRestoreJobsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // ListRestoreJobsInput
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * ByAccountId: "STRING_VALUE",
34
+ * ByCreatedBefore: new Date("TIMESTAMP"),
35
+ * ByCreatedAfter: new Date("TIMESTAMP"),
36
+ * ByStatus: "PENDING" || "RUNNING" || "COMPLETED" || "ABORTED" || "FAILED",
37
+ * ByCompleteBefore: new Date("TIMESTAMP"),
38
+ * ByCompleteAfter: new Date("TIMESTAMP"),
39
+ * };
30
40
  * const command = new ListRestoreJobsCommand(input);
31
41
  * const response = await client.send(command);
32
42
  * ```
@@ -31,6 +31,11 @@ export interface ListTagsCommandOutput extends ListTagsOutput, __MetadataBearer
31
31
  * import { BackupClient, ListTagsCommand } from "@aws-sdk/client-backup"; // ES Modules import
32
32
  * // const { BackupClient, ListTagsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
33
33
  * const client = new BackupClient(config);
34
+ * const input = { // ListTagsInput
35
+ * ResourceArn: "STRING_VALUE", // required
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
34
39
  * const command = new ListTagsCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -28,6 +28,10 @@ export interface PutBackupVaultAccessPolicyCommandOutput extends __MetadataBeare
28
28
  * import { BackupClient, PutBackupVaultAccessPolicyCommand } from "@aws-sdk/client-backup"; // ES Modules import
29
29
  * // const { BackupClient, PutBackupVaultAccessPolicyCommand } = require("@aws-sdk/client-backup"); // CommonJS import
30
30
  * const client = new BackupClient(config);
31
+ * const input = { // PutBackupVaultAccessPolicyInput
32
+ * BackupVaultName: "STRING_VALUE", // required
33
+ * Policy: "STRING_VALUE",
34
+ * };
31
35
  * const command = new PutBackupVaultAccessPolicyCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -38,6 +38,12 @@ export interface PutBackupVaultLockConfigurationCommandOutput extends __Metadata
38
38
  * import { BackupClient, PutBackupVaultLockConfigurationCommand } from "@aws-sdk/client-backup"; // ES Modules import
39
39
  * // const { BackupClient, PutBackupVaultLockConfigurationCommand } = require("@aws-sdk/client-backup"); // CommonJS import
40
40
  * const client = new BackupClient(config);
41
+ * const input = { // PutBackupVaultLockConfigurationInput
42
+ * BackupVaultName: "STRING_VALUE", // required
43
+ * MinRetentionDays: Number("long"),
44
+ * MaxRetentionDays: Number("long"),
45
+ * ChangeableForDays: Number("long"),
46
+ * };
41
47
  * const command = new PutBackupVaultLockConfigurationCommand(input);
42
48
  * const response = await client.send(command);
43
49
  * ```
@@ -26,6 +26,13 @@ export interface PutBackupVaultNotificationsCommandOutput extends __MetadataBear
26
26
  * import { BackupClient, PutBackupVaultNotificationsCommand } from "@aws-sdk/client-backup"; // ES Modules import
27
27
  * // const { BackupClient, PutBackupVaultNotificationsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
28
28
  * const client = new BackupClient(config);
29
+ * const input = { // PutBackupVaultNotificationsInput
30
+ * BackupVaultName: "STRING_VALUE", // required
31
+ * SNSTopicArn: "STRING_VALUE", // required
32
+ * BackupVaultEvents: [ // BackupVaultEvents // required
33
+ * "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED",
34
+ * ],
35
+ * };
29
36
  * const command = new PutBackupVaultNotificationsCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,24 @@ export interface StartBackupJobCommandOutput extends StartBackupJobOutput, __Met
26
26
  * import { BackupClient, StartBackupJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
27
27
  * // const { BackupClient, StartBackupJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
28
28
  * const client = new BackupClient(config);
29
+ * const input = { // StartBackupJobInput
30
+ * BackupVaultName: "STRING_VALUE", // required
31
+ * ResourceArn: "STRING_VALUE", // required
32
+ * IamRoleArn: "STRING_VALUE", // required
33
+ * IdempotencyToken: "STRING_VALUE",
34
+ * StartWindowMinutes: Number("long"),
35
+ * CompleteWindowMinutes: Number("long"),
36
+ * Lifecycle: { // Lifecycle
37
+ * MoveToColdStorageAfterDays: Number("long"),
38
+ * DeleteAfterDays: Number("long"),
39
+ * },
40
+ * RecoveryPointTags: { // Tags
41
+ * "<keys>": "STRING_VALUE",
42
+ * },
43
+ * BackupOptions: { // BackupOptions
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * };
29
47
  * const command = new StartBackupJobCommand(input);
30
48
  * const response = await client.send(command);
31
49
  * ```
@@ -27,6 +27,17 @@ export interface StartCopyJobCommandOutput extends StartCopyJobOutput, __Metadat
27
27
  * import { BackupClient, StartCopyJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, StartCopyJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // StartCopyJobInput
31
+ * RecoveryPointArn: "STRING_VALUE", // required
32
+ * SourceBackupVaultName: "STRING_VALUE", // required
33
+ * DestinationBackupVaultArn: "STRING_VALUE", // required
34
+ * IamRoleArn: "STRING_VALUE", // required
35
+ * IdempotencyToken: "STRING_VALUE",
36
+ * Lifecycle: { // Lifecycle
37
+ * MoveToColdStorageAfterDays: Number("long"),
38
+ * DeleteAfterDays: Number("long"),
39
+ * },
40
+ * };
30
41
  * const command = new StartCopyJobCommand(input);
31
42
  * const response = await client.send(command);
32
43
  * ```
@@ -26,6 +26,10 @@ export interface StartReportJobCommandOutput extends StartReportJobOutput, __Met
26
26
  * import { BackupClient, StartReportJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
27
27
  * // const { BackupClient, StartReportJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
28
28
  * const client = new BackupClient(config);
29
+ * const input = { // StartReportJobInput
30
+ * ReportPlanName: "STRING_VALUE", // required
31
+ * IdempotencyToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new StartReportJobCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,15 @@ export interface StartRestoreJobCommandOutput extends StartRestoreJobOutput, __M
26
26
  * import { BackupClient, StartRestoreJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
27
27
  * // const { BackupClient, StartRestoreJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
28
28
  * const client = new BackupClient(config);
29
+ * const input = { // StartRestoreJobInput
30
+ * RecoveryPointArn: "STRING_VALUE", // required
31
+ * Metadata: { // Metadata // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * IamRoleArn: "STRING_VALUE",
35
+ * IdempotencyToken: "STRING_VALUE",
36
+ * ResourceType: "STRING_VALUE",
37
+ * };
29
38
  * const command = new StartRestoreJobCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -30,6 +30,9 @@ export interface StopBackupJobCommandOutput extends __MetadataBearer {
30
30
  * import { BackupClient, StopBackupJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
31
31
  * // const { BackupClient, StopBackupJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
32
32
  * const client = new BackupClient(config);
33
+ * const input = { // StopBackupJobInput
34
+ * BackupJobId: "STRING_VALUE", // required
35
+ * };
33
36
  * const command = new StopBackupJobCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
@@ -27,6 +27,12 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
27
27
  * import { BackupClient, TagResourceCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, TagResourceCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // TagResourceInput
31
+ * ResourceArn: "STRING_VALUE", // required
32
+ * Tags: { // Tags // required
33
+ * "<keys>": "STRING_VALUE",
34
+ * },
35
+ * };
30
36
  * const command = new TagResourceCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
27
27
  * import { BackupClient, UntagResourceCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, UntagResourceCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // UntagResourceInput
31
+ * ResourceArn: "STRING_VALUE", // required
32
+ * TagKeyList: [ // TagKeyList // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
30
36
  * const command = new UntagResourceCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -28,6 +28,46 @@ export interface UpdateBackupPlanCommandOutput extends UpdateBackupPlanOutput, _
28
28
  * import { BackupClient, UpdateBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
29
29
  * // const { BackupClient, UpdateBackupPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
30
30
  * const client = new BackupClient(config);
31
+ * const input = { // UpdateBackupPlanInput
32
+ * BackupPlanId: "STRING_VALUE", // required
33
+ * BackupPlan: { // BackupPlanInput
34
+ * BackupPlanName: "STRING_VALUE", // required
35
+ * Rules: [ // BackupRulesInput // required
36
+ * { // BackupRuleInput
37
+ * RuleName: "STRING_VALUE", // required
38
+ * TargetBackupVaultName: "STRING_VALUE", // required
39
+ * ScheduleExpression: "STRING_VALUE",
40
+ * StartWindowMinutes: Number("long"),
41
+ * CompletionWindowMinutes: Number("long"),
42
+ * Lifecycle: { // Lifecycle
43
+ * MoveToColdStorageAfterDays: Number("long"),
44
+ * DeleteAfterDays: Number("long"),
45
+ * },
46
+ * RecoveryPointTags: { // Tags
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * CopyActions: [ // CopyActions
50
+ * { // CopyAction
51
+ * Lifecycle: {
52
+ * MoveToColdStorageAfterDays: Number("long"),
53
+ * DeleteAfterDays: Number("long"),
54
+ * },
55
+ * DestinationBackupVaultArn: "STRING_VALUE", // required
56
+ * },
57
+ * ],
58
+ * EnableContinuousBackup: true || false,
59
+ * },
60
+ * ],
61
+ * AdvancedBackupSettings: [ // AdvancedBackupSettings
62
+ * { // AdvancedBackupSetting
63
+ * ResourceType: "STRING_VALUE",
64
+ * BackupOptions: { // BackupOptions
65
+ * "<keys>": "STRING_VALUE",
66
+ * },
67
+ * },
68
+ * ],
69
+ * },
70
+ * };
31
71
  * const command = new UpdateBackupPlanCommand(input);
32
72
  * const response = await client.send(command);
33
73
  * ```
@@ -27,6 +27,33 @@ export interface UpdateFrameworkCommandOutput extends UpdateFrameworkOutput, __M
27
27
  * import { BackupClient, UpdateFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, UpdateFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // UpdateFrameworkInput
31
+ * FrameworkName: "STRING_VALUE", // required
32
+ * FrameworkDescription: "STRING_VALUE",
33
+ * FrameworkControls: [ // FrameworkControls
34
+ * { // FrameworkControl
35
+ * ControlName: "STRING_VALUE", // required
36
+ * ControlInputParameters: [ // ControlInputParameters
37
+ * { // ControlInputParameter
38
+ * ParameterName: "STRING_VALUE",
39
+ * ParameterValue: "STRING_VALUE",
40
+ * },
41
+ * ],
42
+ * ControlScope: { // ControlScope
43
+ * ComplianceResourceIds: [ // ComplianceResourceIdList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * ComplianceResourceTypes: [ // ResourceTypeList
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * Tags: { // stringMap
50
+ * "<keys>": "STRING_VALUE",
51
+ * },
52
+ * },
53
+ * },
54
+ * ],
55
+ * IdempotencyToken: "STRING_VALUE",
56
+ * };
30
57
  * const command = new UpdateFrameworkCommand(input);
31
58
  * const response = await client.send(command);
32
59
  * ```
@@ -28,6 +28,11 @@ export interface UpdateGlobalSettingsCommandOutput extends __MetadataBearer {
28
28
  * import { BackupClient, UpdateGlobalSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import
29
29
  * // const { BackupClient, UpdateGlobalSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
30
30
  * const client = new BackupClient(config);
31
+ * const input = { // UpdateGlobalSettingsInput
32
+ * GlobalSettings: { // GlobalSettings
33
+ * "<keys>": "STRING_VALUE",
34
+ * },
35
+ * };
31
36
  * const command = new UpdateGlobalSettingsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -38,6 +38,14 @@ export interface UpdateRecoveryPointLifecycleCommandOutput extends UpdateRecover
38
38
  * import { BackupClient, UpdateRecoveryPointLifecycleCommand } from "@aws-sdk/client-backup"; // ES Modules import
39
39
  * // const { BackupClient, UpdateRecoveryPointLifecycleCommand } = require("@aws-sdk/client-backup"); // CommonJS import
40
40
  * const client = new BackupClient(config);
41
+ * const input = { // UpdateRecoveryPointLifecycleInput
42
+ * BackupVaultName: "STRING_VALUE", // required
43
+ * RecoveryPointArn: "STRING_VALUE", // required
44
+ * Lifecycle: { // Lifecycle
45
+ * MoveToColdStorageAfterDays: Number("long"),
46
+ * DeleteAfterDays: Number("long"),
47
+ * },
48
+ * };
41
49
  * const command = new UpdateRecoveryPointLifecycleCommand(input);
42
50
  * const response = await client.send(command);
43
51
  * ```
@@ -31,6 +31,14 @@ export interface UpdateRegionSettingsCommandOutput extends __MetadataBearer {
31
31
  * import { BackupClient, UpdateRegionSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import
32
32
  * // const { BackupClient, UpdateRegionSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
33
33
  * const client = new BackupClient(config);
34
+ * const input = { // UpdateRegionSettingsInput
35
+ * ResourceTypeOptInPreference: { // ResourceTypeOptInPreference
36
+ * "<keys>": true || false,
37
+ * },
38
+ * ResourceTypeManagementPreference: { // ResourceTypeManagementPreference
39
+ * "<keys>": true || false,
40
+ * },
41
+ * };
34
42
  * const command = new UpdateRegionSettingsCommand(input);
35
43
  * const response = await client.send(command);
36
44
  * ```
@@ -27,6 +27,34 @@ export interface UpdateReportPlanCommandOutput extends UpdateReportPlanOutput, _
27
27
  * import { BackupClient, UpdateReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
28
28
  * // const { BackupClient, UpdateReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
29
29
  * const client = new BackupClient(config);
30
+ * const input = { // UpdateReportPlanInput
31
+ * ReportPlanName: "STRING_VALUE", // required
32
+ * ReportPlanDescription: "STRING_VALUE",
33
+ * ReportDeliveryChannel: { // ReportDeliveryChannel
34
+ * S3BucketName: "STRING_VALUE", // required
35
+ * S3KeyPrefix: "STRING_VALUE",
36
+ * Formats: [ // FormatList
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * },
40
+ * ReportSetting: { // ReportSetting
41
+ * ReportTemplate: "STRING_VALUE", // required
42
+ * FrameworkArns: [ // stringList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * NumberOfFrameworks: Number("int"),
46
+ * Accounts: [
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * OrganizationUnits: [
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * Regions: [
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * },
56
+ * IdempotencyToken: "STRING_VALUE",
57
+ * };
30
58
  * const command = new UpdateReportPlanCommand(input);
31
59
  * const response = await client.send(command);
32
60
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-backup",
3
3
  "description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"