@aws-sdk/client-backup 3.51.0 → 3.52.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-backup
@@ -137,6 +137,8 @@ var BackupVaultEvent;
137
137
  BackupVaultEvent["RESTORE_JOB_FAILED"] = "RESTORE_JOB_FAILED";
138
138
  BackupVaultEvent["RESTORE_JOB_STARTED"] = "RESTORE_JOB_STARTED";
139
139
  BackupVaultEvent["RESTORE_JOB_SUCCESSFUL"] = "RESTORE_JOB_SUCCESSFUL";
140
+ BackupVaultEvent["S3_BACKUP_OBJECT_FAILED"] = "S3_BACKUP_OBJECT_FAILED";
141
+ BackupVaultEvent["S3_RESTORE_OBJECT_FAILED"] = "S3_RESTORE_OBJECT_FAILED";
140
142
  })(BackupVaultEvent = exports.BackupVaultEvent || (exports.BackupVaultEvent = {}));
141
143
  var BackupVaultListMember;
142
144
  (function (BackupVaultListMember) {
@@ -96,6 +96,8 @@ export var BackupVaultEvent;
96
96
  BackupVaultEvent["RESTORE_JOB_FAILED"] = "RESTORE_JOB_FAILED";
97
97
  BackupVaultEvent["RESTORE_JOB_STARTED"] = "RESTORE_JOB_STARTED";
98
98
  BackupVaultEvent["RESTORE_JOB_SUCCESSFUL"] = "RESTORE_JOB_SUCCESSFUL";
99
+ BackupVaultEvent["S3_BACKUP_OBJECT_FAILED"] = "S3_BACKUP_OBJECT_FAILED";
100
+ BackupVaultEvent["S3_RESTORE_OBJECT_FAILED"] = "S3_RESTORE_OBJECT_FAILED";
99
101
  })(BackupVaultEvent || (BackupVaultEvent = {}));
100
102
  export var BackupVaultListMember;
101
103
  (function (BackupVaultListMember) {
@@ -86,8 +86,7 @@ export declare class Backup extends BackupClient {
86
86
  createBackupPlan(args: CreateBackupPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBackupPlanCommandOutput) => void): void;
87
87
  /**
88
88
  * <p>Creates a JSON document that specifies a set of resources to assign to a backup plan.
89
- * For examples, see <a href="https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json">Assigning resources
90
- * programmatically</a>. </p>
89
+ * For examples, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/assigning-resources.html#assigning-resources-json">Assigning resources programmatically</a>. </p>
91
90
  */
92
91
  createBackupSelection(args: CreateBackupSelectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateBackupSelectionCommandOutput>;
93
92
  createBackupSelection(args: CreateBackupSelectionCommandInput, cb: (err: any, data?: CreateBackupSelectionCommandOutput) => void): void;
@@ -433,11 +432,10 @@ export declare class Backup extends BackupClient {
433
432
  /**
434
433
  * <p>Returns a list of key-value pairs assigned to a target recovery point, backup plan, or
435
434
  * backup vault.</p>
436
- * <note>
437
- * <p>
438
- * <code>ListTags</code> are currently only supported with Amazon EFS
439
- * backups.</p>
440
- * </note>
435
+ * <p>
436
+ * <code>ListTags</code> only works for resource types that support full Backup
437
+ * management of their backups. Those resource types are listed in the "Full Backup management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
438
+ * availability by resource</a> table.</p>
441
439
  */
442
440
  listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
443
441
  listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
@@ -544,11 +542,15 @@ export declare class Backup extends BackupClient {
544
542
  * it expires. Backup transitions and expires backups automatically according to
545
543
  * the lifecycle that you define.</p>
546
544
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
547
- * days. Therefore, the “expire after days” setting must be 90 days greater than the
548
- * “transition to cold after days” setting. The “transition to cold after days” setting cannot
549
- * be changed after a backup has been transitioned to cold.</p>
550
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
551
- * <p>Does not support continuous backups.</p>
545
+ * days. Therefore, the “retention” setting must be 90 days greater than the “transition to
546
+ * cold after days” setting. The “transition to cold after days” setting cannot be changed
547
+ * after a backup has been transitioned to cold.</p>
548
+ * <p>Only resource types that support full Backup management can transition their
549
+ * backups to cold storage. Those resource types are listed in the "Full Backup
550
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
551
+ * availability by resource</a> table. Backup ignores this expression for
552
+ * other resource types.</p>
553
+ * <p>This operation does not support continuous backups.</p>
552
554
  */
553
555
  updateRecoveryPointLifecycle(args: UpdateRecoveryPointLifecycleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRecoveryPointLifecycleCommandOutput>;
554
556
  updateRecoveryPointLifecycle(args: UpdateRecoveryPointLifecycleCommandInput, cb: (err: any, data?: UpdateRecoveryPointLifecycleCommandOutput) => void): void;
@@ -8,8 +8,7 @@ export interface CreateBackupSelectionCommandOutput extends CreateBackupSelectio
8
8
  }
9
9
  /**
10
10
  * <p>Creates a JSON document that specifies a set of resources to assign to a backup plan.
11
- * For examples, see <a href="https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json">Assigning resources
12
- * programmatically</a>. </p>
11
+ * For examples, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/assigning-resources.html#assigning-resources-json">Assigning resources programmatically</a>. </p>
13
12
  * @example
14
13
  * Use a bare-bones client and the command you need to make an API call.
15
14
  * ```javascript
@@ -9,11 +9,10 @@ export interface ListTagsCommandOutput extends ListTagsOutput, __MetadataBearer
9
9
  /**
10
10
  * <p>Returns a list of key-value pairs assigned to a target recovery point, backup plan, or
11
11
  * backup vault.</p>
12
- * <note>
13
- * <p>
14
- * <code>ListTags</code> are currently only supported with Amazon EFS
15
- * backups.</p>
16
- * </note>
12
+ * <p>
13
+ * <code>ListTags</code> only works for resource types that support full Backup
14
+ * management of their backups. Those resource types are listed in the "Full Backup management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
15
+ * availability by resource</a> table.</p>
17
16
  * @example
18
17
  * Use a bare-bones client and the command you need to make an API call.
19
18
  * ```javascript
@@ -12,11 +12,15 @@ export interface UpdateRecoveryPointLifecycleCommandOutput extends UpdateRecover
12
12
  * it expires. Backup transitions and expires backups automatically according to
13
13
  * the lifecycle that you define.</p>
14
14
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
15
- * days. Therefore, the “expire after days” setting must be 90 days greater than the
16
- * “transition to cold after days” setting. The “transition to cold after days” setting cannot
17
- * be changed after a backup has been transitioned to cold.</p>
18
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
19
- * <p>Does not support continuous backups.</p>
15
+ * days. Therefore, the “retention” setting must be 90 days greater than the “transition to
16
+ * cold after days” setting. The “transition to cold after days” setting cannot be changed
17
+ * after a backup has been transitioned to cold.</p>
18
+ * <p>Only resource types that support full Backup management can transition their
19
+ * backups to cold storage. Those resource types are listed in the "Full Backup
20
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
21
+ * availability by resource</a> table. Backup ignores this expression for
22
+ * other resource types.</p>
23
+ * <p>This operation does not support continuous backups.</p>
20
24
  * @example
21
25
  * Use a bare-bones client and the command you need to make an API call.
22
26
  * ```javascript
@@ -230,10 +230,14 @@ export declare namespace BackupJob {
230
230
  * <p>Contains an array of <code>Transition</code> objects specifying how long in days before
231
231
  * a recovery point transitions to cold storage or is deleted.</p>
232
232
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
233
- * days. Therefore, on the console, the “expire after days” setting must be 90 days greater
234
- * than the “transition to cold after days” setting. The “transition to cold after days”
235
- * setting cannot be changed after a backup has been transitioned to cold.</p>
236
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
233
+ * days. Therefore, on the console, the “retention” setting must be 90 days greater than the
234
+ * “transition to cold after days” setting. The “transition to cold after days” setting cannot
235
+ * be changed after a backup has been transitioned to cold.</p>
236
+ * <p>Only resource types that support full Backup management can transition their
237
+ * backups to cold storage. Those resource types are listed in the "Full Backup
238
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
239
+ * availability by resource</a> table. Backup ignores this expression for
240
+ * other resource types.</p>
237
241
  */
238
242
  export interface Lifecycle {
239
243
  /**
@@ -261,10 +265,14 @@ export interface CopyAction {
261
265
  * <p>Contains an array of <code>Transition</code> objects specifying how long in days before
262
266
  * a recovery point transitions to cold storage or is deleted.</p>
263
267
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
264
- * days. Therefore, on the console, the “expire after days” setting must be 90 days greater
265
- * than the “transition to cold after days” setting. The “transition to cold after days”
266
- * setting cannot be changed after a backup has been transitioned to cold.</p>
267
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
268
+ * days. Therefore, on the console, the “retention” setting must be 90 days greater than the
269
+ * “transition to cold after days” setting. The “transition to cold after days” setting cannot
270
+ * be changed after a backup has been transitioned to cold.</p>
271
+ * <p>Only resource types that support full Backup management can transition their
272
+ * backups to cold storage. Those resource types are listed in the "Full Backup
273
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
274
+ * availability by resource</a> table. Backup ignores this expression for
275
+ * other resource types.</p>
268
276
  */
269
277
  Lifecycle?: Lifecycle;
270
278
  /**
@@ -320,10 +328,14 @@ export interface BackupRule {
320
328
  * it expires. Backup transitions and expires backups automatically according to
321
329
  * the lifecycle that you define. </p>
322
330
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
323
- * days. Therefore, the “expire after days” setting must be 90 days greater than the
324
- * “transition to cold after days” setting. The “transition to cold after days” setting cannot
325
- * be changed after a backup has been transitioned to cold. </p>
326
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
331
+ * days. Therefore, the “retention” setting must be 90 days greater than the “transition to
332
+ * cold after days” setting. The “transition to cold after days” setting cannot be changed
333
+ * after a backup has been transitioned to cold. </p>
334
+ * <p>Only resource types that support full Backup management can transition their
335
+ * backups to cold storage. Those resource types are listed in the "Full Backup
336
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
337
+ * availability by resource</a> table. Backup ignores this expression for
338
+ * other resource types.</p>
327
339
  */
328
340
  Lifecycle?: Lifecycle;
329
341
  /**
@@ -419,10 +431,14 @@ export interface BackupRuleInput {
419
431
  * it expires. Backup will transition and expire backups automatically according
420
432
  * to the lifecycle that you define. </p>
421
433
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
422
- * days. Therefore, the “expire after days” setting must be 90 days greater than the
423
- * “transition to cold after days” setting. The “transition to cold after days” setting cannot
424
- * be changed after a backup has been transitioned to cold. </p>
425
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
434
+ * days. Therefore, the “retention” setting must be 90 days greater than the “transition to
435
+ * cold after days” setting. The “transition to cold after days” setting cannot be changed
436
+ * after a backup has been transitioned to cold.</p>
437
+ * <p>Only resource types that support full Backup management can transition their
438
+ * backups to cold storage. Those resource types are listed in the "Full Backup
439
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
440
+ * availability by resource</a> table. Backup ignores this expression for
441
+ * other resource types.</p>
426
442
  */
427
443
  Lifecycle?: Lifecycle;
428
444
  /**
@@ -623,7 +639,7 @@ export interface Condition {
623
639
  /**
624
640
  * <p>An operation applied to a key-value pair used to assign resources to your backup plan.
625
641
  * Condition only supports <code>StringEquals</code>. For more flexible assignment options,
626
- * incluidng <code>StringLike</code> and the ability to exclude resources from your backup
642
+ * including <code>StringLike</code> and the ability to exclude resources from your backup
627
643
  * plan, use <code>Conditions</code> (with an "s" on the end) for your <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BackupSelection.html">
628
644
  * <code>BackupSelection</code>
629
645
  * </a>.</p>
@@ -781,7 +797,9 @@ export declare enum BackupVaultEvent {
781
797
  RESTORE_JOB_COMPLETED = "RESTORE_JOB_COMPLETED",
782
798
  RESTORE_JOB_FAILED = "RESTORE_JOB_FAILED",
783
799
  RESTORE_JOB_STARTED = "RESTORE_JOB_STARTED",
784
- RESTORE_JOB_SUCCESSFUL = "RESTORE_JOB_SUCCESSFUL"
800
+ RESTORE_JOB_SUCCESSFUL = "RESTORE_JOB_SUCCESSFUL",
801
+ S3_BACKUP_OBJECT_FAILED = "S3_BACKUP_OBJECT_FAILED",
802
+ S3_RESTORE_OBJECT_FAILED = "S3_RESTORE_OBJECT_FAILED"
785
803
  }
786
804
  /**
787
805
  * <p>Contains metadata about a backup vault.</p>
@@ -807,8 +825,16 @@ export interface BackupVaultListMember {
807
825
  */
808
826
  CreationDate?: Date;
809
827
  /**
810
- * <p>The server-side encryption key that is used to protect your backups; for example,
811
- * <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
828
+ * <p>A server-side encryption key you can specify to encrypt your backups from services
829
+ * that support full Backup management; for example,
830
+ * <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.
831
+ * If you specify a key, you must specify its ARN, not its alias. If you do not specify a key,
832
+ * Backup creates a KMS key for you by default.</p>
833
+ * <p>To learn which Backup services support full Backup management
834
+ * and how Backup handles encryption for backups from services that do not yet support
835
+ * full Backup, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/encryption.html">
836
+ * Encryption for backups in Backup</a>
837
+ * </p>
812
838
  */
813
839
  EncryptionKeyArn?: string;
814
840
  /**
@@ -876,10 +902,14 @@ export declare namespace BackupVaultListMember {
876
902
  * it expires. Backup transitions and expires backups automatically according to
877
903
  * the lifecycle that you define.</p>
878
904
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
879
- * days. Therefore, the “expire after days” setting must be 90 days greater than the
880
- * “transition to cold after days” setting. The “transition to cold after days” setting cannot
881
- * be changed after a backup has been transitioned to cold.</p>
882
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
905
+ * days. Therefore, the “retention” setting must be 90 days greater than the “transition to
906
+ * cold after days” setting. The “transition to cold after days” setting cannot be changed
907
+ * after a backup has been transitioned to cold.</p>
908
+ * <p>Only resource types that support full Backup management can transition their
909
+ * backups to cold storage. Those resource types are listed in the "Full Backup
910
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
911
+ * availability by resource</a> table. Backup ignores this expression for
912
+ * other resource types.</p>
883
913
  */
884
914
  export interface CalculatedLifecycle {
885
915
  /**
@@ -2267,12 +2297,16 @@ export interface DescribeRecoveryPointOutput {
2267
2297
  /**
2268
2298
  * <p>The lifecycle defines when a protected resource is transitioned to cold storage and when
2269
2299
  * it expires. Backup transitions and expires backups automatically according to
2270
- * the lifecycle that you define. </p>
2300
+ * the lifecycle that you define.</p>
2271
2301
  * <p>Backups that are transitioned to cold storage must be stored in cold storage for a
2272
- * minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than
2273
- * the “transition to cold after days” setting. The “transition to cold after days” setting
2274
- * cannot be changed after a backup has been transitioned to cold. </p>
2275
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
2302
+ * minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the
2303
+ * “transition to cold after days” setting. The “transition to cold after days” setting cannot
2304
+ * be changed after a backup has been transitioned to cold. </p>
2305
+ * <p>Only resource types that support full Backup management can transition their
2306
+ * backups to cold storage. Those resource types are listed in the "Full Backup
2307
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
2308
+ * availability by resource</a> table. Backup ignores this expression for
2309
+ * other resource types.</p>
2276
2310
  */
2277
2311
  Lifecycle?: Lifecycle;
2278
2312
  /**
@@ -2320,10 +2354,14 @@ export interface DescribeRegionSettingsOutput {
2320
2354
  [key: string]: boolean;
2321
2355
  };
2322
2356
  /**
2323
- * <p>Returns whether a DynamoDB recovery point was taken using
2324
- * <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html">
2325
- * Backup's advanced DynamoDB backup features</a>.
2326
- * </p>
2357
+ * <p>Returns whether Backup fully manages the backups for a resource type.</p>
2358
+ * <p>For the benefits of full Backup management, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#full-management"> Full Backup management</a>.</p>
2359
+ * <p>For a list of resource types and whether each supports full Backup
2360
+ * management, see the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
2361
+ * availability by resource</a> table.</p>
2362
+ * <p>If <code>"DynamoDB":false</code>, you can enable full Backup management for
2363
+ * DynamoDB backup by enabling <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli">
2364
+ * Backup's advanced DynamoDB backup features</a>.</p>
2327
2365
  */
2328
2366
  ResourceTypeManagementPreference?: {
2329
2367
  [key: string]: boolean;
@@ -3022,6 +3060,14 @@ export interface GetSupportedResourceTypesOutput {
3022
3060
  * <p>
3023
3061
  * <code>Storage Gateway</code> for Storage Gateway</p>
3024
3062
  * </li>
3063
+ * <li>
3064
+ * <p>
3065
+ * <code>DocDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>
3066
+ * </li>
3067
+ * <li>
3068
+ * <p>
3069
+ * <code>Neptune</code> for Amazon Neptune</p>
3070
+ * </li>
3025
3071
  * </ul>
3026
3072
  */
3027
3073
  ResourceTypes?: string[];
@@ -3073,6 +3119,14 @@ export interface ListBackupJobsInput {
3073
3119
  * <ul>
3074
3120
  * <li>
3075
3121
  * <p>
3122
+ * <code>Aurora</code> for Amazon Aurora</p>
3123
+ * </li>
3124
+ * <li>
3125
+ * <p>
3126
+ * <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>
3127
+ * </li>
3128
+ * <li>
3129
+ * <p>
3076
3130
  * <code>DynamoDB</code> for Amazon DynamoDB</p>
3077
3131
  * </li>
3078
3132
  * <li>
@@ -3089,16 +3143,28 @@ export interface ListBackupJobsInput {
3089
3143
  * </li>
3090
3144
  * <li>
3091
3145
  * <p>
3092
- * <code>RDS</code> for Amazon Relational Database Service</p>
3146
+ * <code>FSx</code> for Amazon FSx</p>
3093
3147
  * </li>
3094
3148
  * <li>
3095
3149
  * <p>
3096
- * <code>Aurora</code> for Amazon Aurora</p>
3150
+ * <code>Neptune</code> for Amazon Neptune</p>
3151
+ * </li>
3152
+ * <li>
3153
+ * <p>
3154
+ * <code>RDS</code> for Amazon Relational Database Service</p>
3097
3155
  * </li>
3098
3156
  * <li>
3099
3157
  * <p>
3100
3158
  * <code>Storage Gateway</code> for Storage Gateway</p>
3101
3159
  * </li>
3160
+ * <li>
3161
+ * <p>
3162
+ * <code>S3</code> for Amazon S3</p>
3163
+ * </li>
3164
+ * <li>
3165
+ * <p>
3166
+ * <code>VirtualMachine</code> for virtual machines</p>
3167
+ * </li>
3102
3168
  * </ul>
3103
3169
  */
3104
3170
  ByResourceType?: string;
@@ -3376,6 +3442,14 @@ export interface ListCopyJobsInput {
3376
3442
  * <ul>
3377
3443
  * <li>
3378
3444
  * <p>
3445
+ * <code>Aurora</code> for Amazon Aurora</p>
3446
+ * </li>
3447
+ * <li>
3448
+ * <p>
3449
+ * <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>
3450
+ * </li>
3451
+ * <li>
3452
+ * <p>
3379
3453
  * <code>DynamoDB</code> for Amazon DynamoDB</p>
3380
3454
  * </li>
3381
3455
  * <li>
@@ -3392,16 +3466,28 @@ export interface ListCopyJobsInput {
3392
3466
  * </li>
3393
3467
  * <li>
3394
3468
  * <p>
3395
- * <code>RDS</code> for Amazon Relational Database Service</p>
3469
+ * <code>FSx</code> for Amazon FSx</p>
3396
3470
  * </li>
3397
3471
  * <li>
3398
3472
  * <p>
3399
- * <code>Aurora</code> for Amazon Aurora</p>
3473
+ * <code>Neptune</code> for Amazon Neptune</p>
3474
+ * </li>
3475
+ * <li>
3476
+ * <p>
3477
+ * <code>RDS</code> for Amazon Relational Database Service</p>
3400
3478
  * </li>
3401
3479
  * <li>
3402
3480
  * <p>
3403
3481
  * <code>Storage Gateway</code> for Storage Gateway</p>
3404
3482
  * </li>
3483
+ * <li>
3484
+ * <p>
3485
+ * <code>S3</code> for Amazon S3</p>
3486
+ * </li>
3487
+ * <li>
3488
+ * <p>
3489
+ * <code>VirtualMachine</code> for virtual machines</p>
3490
+ * </li>
3405
3491
  * </ul>
3406
3492
  */
3407
3493
  ByResourceType?: string;
@@ -3729,10 +3815,14 @@ export interface RecoveryPointByBackupVault {
3729
3815
  * it expires. Backup transitions and expires backups automatically according to
3730
3816
  * the lifecycle that you define. </p>
3731
3817
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
3732
- * days. Therefore, the “expire after days” setting must be 90 days greater than the
3733
- * “transition to cold after days” setting. The “transition to cold after days” setting cannot
3734
- * be changed after a backup has been transitioned to cold. </p>
3735
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
3818
+ * days. Therefore, the “retention” setting must be 90 days greater than the “transition to
3819
+ * cold after days” setting. The “transition to cold after days” setting cannot be changed
3820
+ * after a backup has been transitioned to cold. </p>
3821
+ * <p>Only resource types that support full Backup management can transition their
3822
+ * backups to cold storage. Those resource types are listed in the "Full Backup
3823
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
3824
+ * availability by resource</a> table. Backup ignores this expression for
3825
+ * other resource types.</p>
3736
3826
  */
3737
3827
  Lifecycle?: Lifecycle;
3738
3828
  /**
@@ -4190,7 +4280,8 @@ export interface PutBackupVaultLockConfigurationInput {
4190
4280
  * lifecycle policy with a retention period equal to or longer than the minimum retention
4191
4281
  * period. If the job's retention period is shorter than that minimum retention period, then
4192
4282
  * the vault fails that backup or copy job, and you should either modify your lifecycle
4193
- * settings or use a different vault. Recovery points already saved in the vault prior to
4283
+ * settings or use a different vault. The shortest minimum retention period
4284
+ * you can specify is 1 day. Recovery points already saved in the vault prior to
4194
4285
  * Vault Lock are not affected.</p>
4195
4286
  */
4196
4287
  MinRetentionDays?: number;
@@ -4206,7 +4297,9 @@ export interface PutBackupVaultLockConfigurationInput {
4206
4297
  * lifecycle policy with a retention period equal to or shorter than the maximum retention
4207
4298
  * period. If the job's retention period is longer than that maximum retention period, then
4208
4299
  * the vault fails the backup or copy job, and you should either modify your lifecycle
4209
- * settings or use a different vault. Recovery points already saved in the vault prior to
4300
+ * settings or use a different vault. The longest maximum retention period
4301
+ * you can specify is 36500 days (approximately 100 years).
4302
+ * Recovery points already saved in the vault prior to
4210
4303
  * Vault Lock are not affected.</p>
4211
4304
  */
4212
4305
  MaxRetentionDays?: number;
@@ -4270,6 +4363,11 @@ export interface PutBackupVaultNotificationsInput {
4270
4363
  * <code>RECOVERY_POINT_MODIFIED</code>
4271
4364
  * </p>
4272
4365
  * </li>
4366
+ * <li>
4367
+ * <p>
4368
+ * <code>S3_BACKUP_OBJECT_FAILED</code> | <code>S3_RESTORE_OBJECT_FAILED</code>
4369
+ * </p>
4370
+ * </li>
4273
4371
  * </ul>
4274
4372
  * <note>
4275
4373
  * <p>Ignore the list below because it includes deprecated events. Refer to the list
@@ -4314,9 +4412,9 @@ export interface StartBackupJobInput {
4314
4412
  */
4315
4413
  StartWindowMinutes?: number;
4316
4414
  /**
4317
- * <p>A value in minutes during which a successfully started backup must complete, or else AWS
4318
- * Backup will cancel the job. This value is optional. This value begins counting down from
4319
- * when the backup was scheduled. It does not add additional time for
4415
+ * <p>A value in minutes during which a successfully started backup must complete, or else
4416
+ * Backup will cancel the job. This value is optional. This value begins
4417
+ * counting down from when the backup was scheduled. It does not add additional time for
4320
4418
  * <code>StartWindowMinutes</code>, or if the backup started later than scheduled.</p>
4321
4419
  */
4322
4420
  CompleteWindowMinutes?: number;
@@ -4325,10 +4423,14 @@ export interface StartBackupJobInput {
4325
4423
  * it expires. Backup will transition and expire backups automatically according
4326
4424
  * to the lifecycle that you define. </p>
4327
4425
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
4328
- * days. Therefore, the “expire after days” setting must be 90 days greater than the
4329
- * “transition to cold after days” setting. The “transition to cold after days” setting cannot
4330
- * be changed after a backup has been transitioned to cold. </p>
4331
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
4426
+ * days. Therefore, the “retention” setting must be 90 days greater than the “transition to
4427
+ * cold after days” setting. The “transition to cold after days” setting cannot be changed
4428
+ * after a backup has been transitioned to cold. </p>
4429
+ * <p>Only resource types that support full Backup management can transition their
4430
+ * backups to cold storage. Those resource types are listed in the "Full Backup
4431
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
4432
+ * availability by resource</a> table. Backup ignores this expression for
4433
+ * other resource types.</p>
4332
4434
  */
4333
4435
  Lifecycle?: Lifecycle;
4334
4436
  /**
@@ -4414,10 +4516,14 @@ export interface StartCopyJobInput {
4414
4516
  * <p>Contains an array of <code>Transition</code> objects specifying how long in days before
4415
4517
  * a recovery point transitions to cold storage or is deleted.</p>
4416
4518
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
4417
- * days. Therefore, on the console, the “expire after days” setting must be 90 days greater
4418
- * than the “transition to cold after days” setting. The “transition to cold after days”
4419
- * setting cannot be changed after a backup has been transitioned to cold.</p>
4420
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
4519
+ * days. Therefore, on the console, the “retention” setting must be 90 days greater than the
4520
+ * “transition to cold after days” setting. The “transition to cold after days” setting cannot
4521
+ * be changed after a backup has been transitioned to cold.</p>
4522
+ * <p>Only resource types that support full Backup management can transition their
4523
+ * backups to cold storage. Those resource types are listed in the "Full Backup
4524
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
4525
+ * availability by resource</a> table. Backup ignores this expression for
4526
+ * other resource types.</p>
4421
4527
  */
4422
4528
  Lifecycle?: Lifecycle;
4423
4529
  }
@@ -4554,6 +4660,14 @@ export interface StartRestoreJobInput {
4554
4660
  * <ul>
4555
4661
  * <li>
4556
4662
  * <p>
4663
+ * <code>Aurora</code> for Amazon Aurora</p>
4664
+ * </li>
4665
+ * <li>
4666
+ * <p>
4667
+ * <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>
4668
+ * </li>
4669
+ * <li>
4670
+ * <p>
4557
4671
  * <code>DynamoDB</code> for Amazon DynamoDB</p>
4558
4672
  * </li>
4559
4673
  * <li>
@@ -4570,16 +4684,28 @@ export interface StartRestoreJobInput {
4570
4684
  * </li>
4571
4685
  * <li>
4572
4686
  * <p>
4573
- * <code>RDS</code> for Amazon Relational Database Service</p>
4687
+ * <code>FSx</code> for Amazon FSx</p>
4574
4688
  * </li>
4575
4689
  * <li>
4576
4690
  * <p>
4577
- * <code>Aurora</code> for Amazon Aurora</p>
4691
+ * <code>Neptune</code> for Amazon Neptune</p>
4692
+ * </li>
4693
+ * <li>
4694
+ * <p>
4695
+ * <code>RDS</code> for Amazon Relational Database Service</p>
4578
4696
  * </li>
4579
4697
  * <li>
4580
4698
  * <p>
4581
4699
  * <code>Storage Gateway</code> for Storage Gateway</p>
4582
4700
  * </li>
4701
+ * <li>
4702
+ * <p>
4703
+ * <code>S3</code> for Amazon S3</p>
4704
+ * </li>
4705
+ * <li>
4706
+ * <p>
4707
+ * <code>VirtualMachine</code> for virtual machines</p>
4708
+ * </li>
4583
4709
  * </ul>
4584
4710
  */
4585
4711
  ResourceType?: string;
@@ -4789,9 +4915,9 @@ export interface UpdateRecoveryPointLifecycleInput {
4789
4915
  * it expires. Backup transitions and expires backups automatically according to
4790
4916
  * the lifecycle that you define. </p>
4791
4917
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
4792
- * days. Therefore, the “expire after days” setting must be 90 days greater than the
4793
- * “transition to cold after days” setting. The “transition to cold after days” setting cannot
4794
- * be changed after a backup has been transitioned to cold. </p>
4918
+ * days. Therefore, the “retention” setting must be 90 days greater than the “transition to
4919
+ * cold after days” setting. The “transition to cold after days” setting cannot be changed
4920
+ * after a backup has been transitioned to cold. </p>
4795
4921
  */
4796
4922
  Lifecycle?: Lifecycle;
4797
4923
  }
@@ -4815,12 +4941,16 @@ export interface UpdateRecoveryPointLifecycleOutput {
4815
4941
  /**
4816
4942
  * <p>The lifecycle defines when a protected resource is transitioned to cold storage and when
4817
4943
  * it expires. Backup transitions and expires backups automatically according to
4818
- * the lifecycle that you define. </p>
4944
+ * the lifecycle that you define.</p>
4819
4945
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
4820
- * days. Therefore, the “expire after days” setting must be 90 days greater than the
4821
- * “transition to cold after days” setting. The “transition to cold after days” setting cannot
4822
- * be changed after a backup has been transitioned to cold. </p>
4823
- * <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
4946
+ * days. Therefore, the “retention” setting must be 90 days greater than the “transition to
4947
+ * cold after days” setting. The “transition to cold after days” setting cannot be changed
4948
+ * after a backup has been transitioned to cold.</p>
4949
+ * <p>Only resource types that support full Backup management can transition their
4950
+ * backups to cold storage. Those resource types are listed in the "Full Backup
4951
+ * management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
4952
+ * availability by resource</a> table. Backup ignores this expression for
4953
+ * other resource types.</p>
4824
4954
  */
4825
4955
  Lifecycle?: Lifecycle;
4826
4956
  /**
@@ -4843,10 +4973,10 @@ export interface UpdateRegionSettingsInput {
4843
4973
  [key: string]: boolean;
4844
4974
  };
4845
4975
  /**
4846
- * <p>Enables or disables
4847
- * <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html">
4848
- * Backup's advanced DynamoDB backup features</a> for the
4849
- * Region.</p>
4976
+ * <p>Enables or disables full Backup management of backups for a resource type.
4977
+ * To enable full Backup management for DynamoDB along with <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html">
4978
+ * Backup's advanced DynamoDB backup features</a>, follow the
4979
+ * procedure to <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli"> enable advanced DynamoDB backup programmatically</a>.</p>
4850
4980
  */
4851
4981
  ResourceTypeManagementPreference?: {
4852
4982
  [key: string]: boolean;
@@ -336,7 +336,9 @@ export declare enum BackupVaultEvent {
336
336
  RESTORE_JOB_COMPLETED = "RESTORE_JOB_COMPLETED",
337
337
  RESTORE_JOB_FAILED = "RESTORE_JOB_FAILED",
338
338
  RESTORE_JOB_STARTED = "RESTORE_JOB_STARTED",
339
- RESTORE_JOB_SUCCESSFUL = "RESTORE_JOB_SUCCESSFUL"
339
+ RESTORE_JOB_SUCCESSFUL = "RESTORE_JOB_SUCCESSFUL",
340
+ S3_BACKUP_OBJECT_FAILED = "S3_BACKUP_OBJECT_FAILED",
341
+ S3_RESTORE_OBJECT_FAILED = "S3_RESTORE_OBJECT_FAILED"
340
342
  }
341
343
 
342
344
  export interface BackupVaultListMember {
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.51.0",
4
+ "version": "3.52.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,41 +18,41 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.52.0",
22
+ "@aws-sdk/config-resolver": "3.52.0",
23
+ "@aws-sdk/credential-provider-node": "3.52.0",
24
+ "@aws-sdk/fetch-http-handler": "3.52.0",
25
+ "@aws-sdk/hash-node": "3.52.0",
26
+ "@aws-sdk/invalid-dependency": "3.52.0",
27
+ "@aws-sdk/middleware-content-length": "3.52.0",
28
+ "@aws-sdk/middleware-host-header": "3.52.0",
29
+ "@aws-sdk/middleware-logger": "3.52.0",
30
+ "@aws-sdk/middleware-retry": "3.52.0",
31
+ "@aws-sdk/middleware-serde": "3.52.0",
32
+ "@aws-sdk/middleware-signing": "3.52.0",
33
+ "@aws-sdk/middleware-stack": "3.52.0",
34
+ "@aws-sdk/middleware-user-agent": "3.52.0",
35
+ "@aws-sdk/node-config-provider": "3.52.0",
36
+ "@aws-sdk/node-http-handler": "3.52.0",
37
+ "@aws-sdk/protocol-http": "3.52.0",
38
+ "@aws-sdk/smithy-client": "3.52.0",
39
+ "@aws-sdk/types": "3.52.0",
40
+ "@aws-sdk/url-parser": "3.52.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.52.0",
44
+ "@aws-sdk/util-body-length-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.52.0",
48
+ "@aws-sdk/util-user-agent-node": "3.52.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
56
56
  "@tsconfig/recommended": "1.0.1",
57
57
  "@types/node": "^12.7.5",
58
58
  "@types/uuid": "^8.3.0",