cdk-docker-image-deployment 0.0.86 → 0.0.88

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 (60) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +23 -1
  6. package/node_modules/aws-sdk/README.md +29 -1
  7. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +441 -110
  8. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +12 -0
  9. package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +124 -45
  10. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +331 -215
  11. package/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json +6 -0
  12. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +252 -214
  13. package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +26 -0
  14. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +686 -105
  15. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +43 -8
  16. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +97 -16
  17. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  18. package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +931 -118
  19. package/node_modules/aws-sdk/apis/mgn-2020-02-26.paginators.json +24 -0
  20. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +23 -14
  21. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json +4 -1
  22. package/node_modules/aws-sdk/apis/oam-2022-06-10.examples.json +5 -0
  23. package/node_modules/aws-sdk/apis/oam-2022-06-10.min.json +482 -0
  24. package/node_modules/aws-sdk/apis/oam-2022-06-10.paginators.json +22 -0
  25. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +62 -16
  26. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +379 -236
  27. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
  28. package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +310 -62
  29. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +98 -95
  30. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  31. package/node_modules/aws-sdk/clients/all.js +2 -1
  32. package/node_modules/aws-sdk/clients/backup.d.ts +405 -15
  33. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +30 -16
  34. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +196 -65
  35. package/node_modules/aws-sdk/clients/drs.d.ts +104 -5
  36. package/node_modules/aws-sdk/clients/ecs.d.ts +159 -17
  37. package/node_modules/aws-sdk/clients/efs.d.ts +5 -5
  38. package/node_modules/aws-sdk/clients/iot.d.ts +76 -4
  39. package/node_modules/aws-sdk/clients/iotdata.d.ts +31 -1
  40. package/node_modules/aws-sdk/clients/iotwireless.d.ts +599 -14
  41. package/node_modules/aws-sdk/clients/kendra.d.ts +84 -39
  42. package/node_modules/aws-sdk/clients/mgn.d.ts +1046 -68
  43. package/node_modules/aws-sdk/clients/oam.d.ts +559 -0
  44. package/node_modules/aws-sdk/clients/oam.js +18 -0
  45. package/node_modules/aws-sdk/clients/organizations.d.ts +69 -8
  46. package/node_modules/aws-sdk/clients/rds.d.ts +199 -2
  47. package/node_modules/aws-sdk/clients/textract.d.ts +264 -0
  48. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +210 -191
  49. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +29 -10
  50. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +91 -33
  51. package/node_modules/aws-sdk/dist/aws-sdk.js +1167 -707
  52. package/node_modules/aws-sdk/dist/aws-sdk.min.js +59 -59
  53. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  54. package/node_modules/aws-sdk/lib/core.js +1 -1
  55. package/node_modules/aws-sdk/lib/event_listeners.js +22 -5
  56. package/node_modules/aws-sdk/lib/region_config.js +3 -1
  57. package/node_modules/aws-sdk/lib/region_config_data.json +11 -1
  58. package/node_modules/aws-sdk/lib/signers/bearer.js +1 -1
  59. package/node_modules/aws-sdk/package.json +1 -1
  60. package/package.json +7 -6
@@ -11,6 +11,14 @@ declare class Backup extends Service {
11
11
  */
12
12
  constructor(options?: Backup.Types.ClientConfiguration)
13
13
  config: Config & Backup.Types.ClientConfiguration;
14
+ /**
15
+ * This action removes the specified legal hold on a recovery point. This action can only be performed by a user with sufficient permissions.
16
+ */
17
+ cancelLegalHold(params: Backup.Types.CancelLegalHoldInput, callback?: (err: AWSError, data: Backup.Types.CancelLegalHoldOutput) => void): Request<Backup.Types.CancelLegalHoldOutput, AWSError>;
18
+ /**
19
+ * This action removes the specified legal hold on a recovery point. This action can only be performed by a user with sufficient permissions.
20
+ */
21
+ cancelLegalHold(callback?: (err: AWSError, data: Backup.Types.CancelLegalHoldOutput) => void): Request<Backup.Types.CancelLegalHoldOutput, AWSError>;
14
22
  /**
15
23
  * Creates a backup plan using a backup plan name and backup rules. A backup plan is a document that contains information that Backup uses to schedule tasks that create recovery points for resources. If you call CreateBackupPlan with a plan that already exists, you receive an AlreadyExistsException exception.
16
24
  */
@@ -43,6 +51,14 @@ declare class Backup extends Service {
43
51
  * Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.
44
52
  */
45
53
  createFramework(callback?: (err: AWSError, data: Backup.Types.CreateFrameworkOutput) => void): Request<Backup.Types.CreateFrameworkOutput, AWSError>;
54
+ /**
55
+ * This action creates a legal hold on a recovery point (backup). A legal hold is a restraint on altering or deleting a backup until an authorized user cancels the legal hold. Any actions to delete or disassociate a recovery point will fail with an error if one or more active legal holds are on the recovery point.
56
+ */
57
+ createLegalHold(params: Backup.Types.CreateLegalHoldInput, callback?: (err: AWSError, data: Backup.Types.CreateLegalHoldOutput) => void): Request<Backup.Types.CreateLegalHoldOutput, AWSError>;
58
+ /**
59
+ * This action creates a legal hold on a recovery point (backup). A legal hold is a restraint on altering or deleting a backup until an authorized user cancels the legal hold. Any actions to delete or disassociate a recovery point will fail with an error if one or more active legal holds are on the recovery point.
60
+ */
61
+ createLegalHold(callback?: (err: AWSError, data: Backup.Types.CreateLegalHoldOutput) => void): Request<Backup.Types.CreateLegalHoldOutput, AWSError>;
46
62
  /**
47
63
  * Creates a report plan. A report plan is a document that contains information about the contents of the report and where Backup will deliver it. If you call CreateReportPlan with a plan that already exists, you receive an AlreadyExistsException exception.
48
64
  */
@@ -108,11 +124,11 @@ declare class Backup extends Service {
108
124
  */
109
125
  deleteFramework(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
110
126
  /**
111
- * Deletes the recovery point specified by a recovery point ID. If the recovery point ID belongs to a continuous backup, calling this endpoint deletes the existing continuous backup and stops future continuous backup.
127
+ * Deletes the recovery point specified by a recovery point ID. If the recovery point ID belongs to a continuous backup, calling this endpoint deletes the existing continuous backup and stops future continuous backup. When an IAM role's permissions are insufficient to call this API, the service sends back an HTTP 200 response with an empty HTTP body, but the recovery point is not deleted. Instead, it enters an EXPIRED state. EXPIRED recovery points can be deleted with this API once the IAM role has the iam:CreateServiceLinkedRole action. To learn more about adding this role, see Troubleshooting manual deletions. If the user or role is deleted or the permission within the role is removed, the deletion will not be successful and will enter an EXPIRED state.
112
128
  */
113
129
  deleteRecoveryPoint(params: Backup.Types.DeleteRecoveryPointInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
114
130
  /**
115
- * Deletes the recovery point specified by a recovery point ID. If the recovery point ID belongs to a continuous backup, calling this endpoint deletes the existing continuous backup and stops future continuous backup.
131
+ * Deletes the recovery point specified by a recovery point ID. If the recovery point ID belongs to a continuous backup, calling this endpoint deletes the existing continuous backup and stops future continuous backup. When an IAM role's permissions are insufficient to call this API, the service sends back an HTTP 200 response with an empty HTTP body, but the recovery point is not deleted. Instead, it enters an EXPIRED state. EXPIRED recovery points can be deleted with this API once the IAM role has the iam:CreateServiceLinkedRole action. To learn more about adding this role, see Troubleshooting manual deletions. If the user or role is deleted or the permission within the role is removed, the deletion will not be successful and will enter an EXPIRED state.
116
132
  */
117
133
  deleteRecoveryPoint(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
118
134
  /**
@@ -219,6 +235,14 @@ declare class Backup extends Service {
219
235
  * Deletes the specified continuous backup recovery point from Backup and releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the lifecycle that you specified in your original backup plan. Does not support snapshot backup recovery points.
220
236
  */
221
237
  disassociateRecoveryPoint(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
238
+ /**
239
+ * This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.
240
+ */
241
+ disassociateRecoveryPointFromParent(params: Backup.Types.DisassociateRecoveryPointFromParentInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
242
+ /**
243
+ * This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.
244
+ */
245
+ disassociateRecoveryPointFromParent(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
222
246
  /**
223
247
  * Returns the backup plan that is specified by the plan ID as a backup template.
224
248
  */
@@ -275,6 +299,14 @@ declare class Backup extends Service {
275
299
  * Returns event notifications for the specified backup vault.
276
300
  */
277
301
  getBackupVaultNotifications(callback?: (err: AWSError, data: Backup.Types.GetBackupVaultNotificationsOutput) => void): Request<Backup.Types.GetBackupVaultNotificationsOutput, AWSError>;
302
+ /**
303
+ * This action returns details for a specified legal hold. The details are the body of a legal hold in JSON format, in addition to metadata.
304
+ */
305
+ getLegalHold(params: Backup.Types.GetLegalHoldInput, callback?: (err: AWSError, data: Backup.Types.GetLegalHoldOutput) => void): Request<Backup.Types.GetLegalHoldOutput, AWSError>;
306
+ /**
307
+ * This action returns details for a specified legal hold. The details are the body of a legal hold in JSON format, in addition to metadata.
308
+ */
309
+ getLegalHold(callback?: (err: AWSError, data: Backup.Types.GetLegalHoldOutput) => void): Request<Backup.Types.GetLegalHoldOutput, AWSError>;
278
310
  /**
279
311
  * Returns a set of metadata key-value pairs that were used to create the backup.
280
312
  */
@@ -351,6 +383,14 @@ declare class Backup extends Service {
351
383
  * Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
352
384
  */
353
385
  listFrameworks(callback?: (err: AWSError, data: Backup.Types.ListFrameworksOutput) => void): Request<Backup.Types.ListFrameworksOutput, AWSError>;
386
+ /**
387
+ * This action returns metadata about active and previous legal holds.
388
+ */
389
+ listLegalHolds(params: Backup.Types.ListLegalHoldsInput, callback?: (err: AWSError, data: Backup.Types.ListLegalHoldsOutput) => void): Request<Backup.Types.ListLegalHoldsOutput, AWSError>;
390
+ /**
391
+ * This action returns metadata about active and previous legal holds.
392
+ */
393
+ listLegalHolds(callback?: (err: AWSError, data: Backup.Types.ListLegalHoldsOutput) => void): Request<Backup.Types.ListLegalHoldsOutput, AWSError>;
354
394
  /**
355
395
  * Returns an array of resources successfully backed up by Backup, including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
356
396
  */
@@ -367,6 +407,14 @@ declare class Backup extends Service {
367
407
  * Returns detailed information about the recovery points stored in a backup vault.
368
408
  */
369
409
  listRecoveryPointsByBackupVault(callback?: (err: AWSError, data: Backup.Types.ListRecoveryPointsByBackupVaultOutput) => void): Request<Backup.Types.ListRecoveryPointsByBackupVaultOutput, AWSError>;
410
+ /**
411
+ * This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
412
+ */
413
+ listRecoveryPointsByLegalHold(params: Backup.Types.ListRecoveryPointsByLegalHoldInput, callback?: (err: AWSError, data: Backup.Types.ListRecoveryPointsByLegalHoldOutput) => void): Request<Backup.Types.ListRecoveryPointsByLegalHoldOutput, AWSError>;
414
+ /**
415
+ * This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
416
+ */
417
+ listRecoveryPointsByLegalHold(callback?: (err: AWSError, data: Backup.Types.ListRecoveryPointsByLegalHoldOutput) => void): Request<Backup.Types.ListRecoveryPointsByLegalHoldOutput, AWSError>;
370
418
  /**
371
419
  * Returns detailed information about all the recovery points of the type specified by a resource Amazon Resource Name (ARN). For Amazon EFS and Amazon EC2, this action only lists recovery points created by Backup.
372
420
  */
@@ -464,11 +512,11 @@ declare class Backup extends Service {
464
512
  */
465
513
  startRestoreJob(callback?: (err: AWSError, data: Backup.Types.StartRestoreJobOutput) => void): Request<Backup.Types.StartRestoreJobOutput, AWSError>;
466
514
  /**
467
- * Attempts to cancel a job to create a one-time backup of a resource.
515
+ * Attempts to cancel a job to create a one-time backup of a resource. This action is not supported for the following services: Amazon FSx for Windows File Server, Amazon FSx for Lustre, FSx for ONTAP , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, and Amazon Neptune.
468
516
  */
469
517
  stopBackupJob(params: Backup.Types.StopBackupJobInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
470
518
  /**
471
- * Attempts to cancel a job to create a one-time backup of a resource.
519
+ * Attempts to cancel a job to create a one-time backup of a resource. This action is not supported for the following services: Amazon FSx for Windows File Server, Amazon FSx for Lustre, FSx for ONTAP , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, and Amazon Neptune.
472
520
  */
473
521
  stopBackupJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
474
522
  /**
@@ -631,8 +679,17 @@ declare namespace Backup {
631
679
  * Represents the type of backup for a backup job.
632
680
  */
633
681
  BackupType?: string;
682
+ /**
683
+ * This uniquely identifies a request to Backup to back up a resource. The return will be the parent (composite) job ID.
684
+ */
685
+ ParentJobId?: string;
686
+ /**
687
+ * This is a boolean value indicating this is a parent (composite) backup job.
688
+ */
689
+ IsParent?: boolean;
634
690
  }
635
- export type BackupJobState = "CREATED"|"PENDING"|"RUNNING"|"ABORTING"|"ABORTED"|"COMPLETED"|"FAILED"|"EXPIRED"|string;
691
+ export type BackupJobChildJobsInState = {[key: string]: Long};
692
+ export type BackupJobState = "CREATED"|"PENDING"|"RUNNING"|"ABORTING"|"ABORTED"|"COMPLETED"|"FAILED"|"EXPIRED"|"PARTIAL"|string;
636
693
  export type BackupJobsList = BackupJob[];
637
694
  export type BackupOptionKey = string;
638
695
  export type BackupOptionValue = string;
@@ -731,7 +788,7 @@ declare namespace Backup {
731
788
  */
732
789
  ScheduleExpression?: CronExpression;
733
790
  /**
734
- * A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional.
791
+ * A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, it must be at least 60 minutes to avoid errors.
735
792
  */
736
793
  StartWindowMinutes?: WindowMinutes;
737
794
  /**
@@ -773,7 +830,7 @@ declare namespace Backup {
773
830
  */
774
831
  ScheduleExpression?: CronExpression;
775
832
  /**
776
- * A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional.
833
+ * A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, it must be at least 60 minutes to avoid errors.
777
834
  */
778
835
  StartWindowMinutes?: WindowMinutes;
779
836
  /**
@@ -911,6 +968,22 @@ declare namespace Backup {
911
968
  */
912
969
  DeleteAt?: timestamp;
913
970
  }
971
+ export interface CancelLegalHoldInput {
972
+ /**
973
+ * Legal hold ID required to remove the specified legal hold on a recovery point.
974
+ */
975
+ LegalHoldId: string;
976
+ /**
977
+ * String describing the reason for removing the legal hold.
978
+ */
979
+ CancelDescription: string;
980
+ /**
981
+ * The integer amount in days specifying amount of days after this API operation to remove legal hold.
982
+ */
983
+ RetainRecordInDays?: Long;
984
+ }
985
+ export interface CancelLegalHoldOutput {
986
+ }
914
987
  export type ComplianceResourceIdList = string[];
915
988
  export interface Condition {
916
989
  /**
@@ -1050,8 +1123,29 @@ declare namespace Backup {
1050
1123
  * The type of Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
1051
1124
  */
1052
1125
  ResourceType?: ResourceType;
1126
+ /**
1127
+ * This uniquely identifies a request to Backup to copy a resource. The return will be the parent (composite) job ID.
1128
+ */
1129
+ ParentJobId?: string;
1130
+ /**
1131
+ * This is a boolean value indicating this is a parent (composite) copy job.
1132
+ */
1133
+ IsParent?: boolean;
1134
+ /**
1135
+ * This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack.
1136
+ */
1137
+ CompositeMemberIdentifier?: string;
1138
+ /**
1139
+ * This is the number of child (nested) copy jobs.
1140
+ */
1141
+ NumberOfChildJobs?: Long;
1142
+ /**
1143
+ * This returns the statistics of the included child (nested) copy jobs.
1144
+ */
1145
+ ChildJobsInState?: CopyJobChildJobsInState;
1053
1146
  }
1054
- export type CopyJobState = "CREATED"|"RUNNING"|"COMPLETED"|"FAILED"|string;
1147
+ export type CopyJobChildJobsInState = {[key: string]: Long};
1148
+ export type CopyJobState = "CREATED"|"RUNNING"|"COMPLETED"|"FAILED"|"PARTIAL"|string;
1055
1149
  export type CopyJobsList = CopyJob[];
1056
1150
  export interface CreateBackupPlanInput {
1057
1151
  /**
@@ -1181,6 +1275,58 @@ declare namespace Backup {
1181
1275
  */
1182
1276
  FrameworkArn?: ARN;
1183
1277
  }
1278
+ export interface CreateLegalHoldInput {
1279
+ /**
1280
+ * This is the string title of the legal hold.
1281
+ */
1282
+ Title: string;
1283
+ /**
1284
+ * This is the string description of the legal hold.
1285
+ */
1286
+ Description: string;
1287
+ /**
1288
+ * This is a user-chosen string used to distinguish between otherwise identical calls. Retrying a successful request with the same idempotency token results in a success message with no action taken.
1289
+ */
1290
+ IdempotencyToken?: string;
1291
+ /**
1292
+ * This specifies criteria to assign a set of resources, such as resource types or backup vaults.
1293
+ */
1294
+ RecoveryPointSelection?: RecoveryPointSelection;
1295
+ /**
1296
+ * Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.
1297
+ */
1298
+ Tags?: Tags;
1299
+ }
1300
+ export interface CreateLegalHoldOutput {
1301
+ /**
1302
+ * This is the string title of the legal hold returned after creating the legal hold.
1303
+ */
1304
+ Title?: string;
1305
+ /**
1306
+ * This displays the status of the legal hold returned after creating the legal hold. Statuses can be ACTIVE, PENDING, CANCELED, CANCELING, or FAILED.
1307
+ */
1308
+ Status?: LegalHoldStatus;
1309
+ /**
1310
+ * This is the returned string description of the legal hold.
1311
+ */
1312
+ Description?: string;
1313
+ /**
1314
+ * Legal hold ID returned for the specified legal hold on a recovery point.
1315
+ */
1316
+ LegalHoldId?: string;
1317
+ /**
1318
+ * This is the ARN (Amazon Resource Number) of the created legal hold.
1319
+ */
1320
+ LegalHoldArn?: ARN;
1321
+ /**
1322
+ * Time in number format when legal hold was created.
1323
+ */
1324
+ CreationDate?: timestamp;
1325
+ /**
1326
+ * This specifies criteria to assign a set of resources, such as resource types or backup vaults.
1327
+ */
1328
+ RecoveryPointSelection?: RecoveryPointSelection;
1329
+ }
1184
1330
  export interface CreateReportPlanInput {
1185
1331
  /**
1186
1332
  * The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
@@ -1222,6 +1368,16 @@ declare namespace Backup {
1222
1368
  CreationTime?: timestamp;
1223
1369
  }
1224
1370
  export type CronExpression = string;
1371
+ export interface DateRange {
1372
+ /**
1373
+ * This value is the beginning date, inclusive. The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
1374
+ */
1375
+ FromDate: timestamp;
1376
+ /**
1377
+ * This value is the end date, inclusive. The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
1378
+ */
1379
+ ToDate: timestamp;
1380
+ }
1225
1381
  export interface DeleteBackupPlanInput {
1226
1382
  /**
1227
1383
  * Uniquely identifies a backup plan.
@@ -1389,6 +1545,22 @@ declare namespace Backup {
1389
1545
  * Represents the actual backup type selected for a backup job. For example, if a successful Windows Volume Shadow Copy Service (VSS) backup was taken, BackupType returns "WindowsVSS". If BackupType is empty, then the backup type was a regular backup.
1390
1546
  */
1391
1547
  BackupType?: string;
1548
+ /**
1549
+ * This returns the parent (composite) resource backup job ID.
1550
+ */
1551
+ ParentJobId?: string;
1552
+ /**
1553
+ * This returns the boolean value that a backup job is a parent (composite) job.
1554
+ */
1555
+ IsParent?: boolean;
1556
+ /**
1557
+ * This returns the number of child (nested) backup jobs.
1558
+ */
1559
+ NumberOfChildJobs?: Long;
1560
+ /**
1561
+ * This returns the statistics of the included child (nested) backup jobs.
1562
+ */
1563
+ ChildJobsInState?: BackupJobChildJobsInState;
1392
1564
  }
1393
1565
  export interface DescribeBackupVaultInput {
1394
1566
  /**
@@ -1474,7 +1646,7 @@ declare namespace Backup {
1474
1646
  */
1475
1647
  FrameworkControls?: FrameworkControls;
1476
1648
  /**
1477
- * The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1649
+ * The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
1478
1650
  */
1479
1651
  CreationTime?: timestamp;
1480
1652
  /**
@@ -1566,7 +1738,7 @@ declare namespace Backup {
1566
1738
  */
1567
1739
  IamRoleArn?: IAMRoleArn;
1568
1740
  /**
1569
- * A status code specifying the state of the recovery point. PARTIAL status indicates Backup could not create the recovery point before the backup window closed. To increase your backup plan window using the API, see UpdateBackupPlan. You can also increase your backup plan window using the Console by choosing and editing your backup plan. EXPIRED status indicates that the recovery point has exceeded its retention period, but Backup lacks permission or is otherwise unable to delete it. To manually delete these recovery points, see Step 3: Delete the recovery points in the Clean up resources section of Getting started.
1741
+ * A status code specifying the state of the recovery point. PARTIAL status indicates Backup could not create the recovery point before the backup window closed. To increase your backup plan window using the API, see UpdateBackupPlan. You can also increase your backup plan window using the Console by choosing and editing your backup plan. EXPIRED status indicates that the recovery point has exceeded its retention period, but Backup lacks permission or is otherwise unable to delete it. To manually delete these recovery points, see Step 3: Delete the recovery points in the Clean up resources section of Getting started. STOPPED status occurs on a continuous backup where a user has taken some action that causes the continuous backup to be disabled. This can be caused by the removal of permissions, turning off versioning, turning off events being sent to EventBridge, or disabling the EventBridge rules that are put in place by Backup. To resolve STOPPED status, ensure that all requested permissions are in place and that versioning is enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule running will result in a new continuous recovery point being created. The recovery points with STOPPED status do not need to be deleted.
1570
1742
  */
1571
1743
  Status?: RecoveryPointStatus;
1572
1744
  /**
@@ -1609,6 +1781,18 @@ declare namespace Backup {
1609
1781
  * The date and time that a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC). The value of LastRestoreTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1610
1782
  */
1611
1783
  LastRestoreTime?: timestamp;
1784
+ /**
1785
+ * This is an ARN that uniquely identifies a parent (composite) recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1786
+ */
1787
+ ParentRecoveryPointArn?: ARN;
1788
+ /**
1789
+ * This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack.
1790
+ */
1791
+ CompositeMemberIdentifier?: string;
1792
+ /**
1793
+ * This returns the boolean value that a recovery point is a parent (composite) job.
1794
+ */
1795
+ IsParent?: boolean;
1612
1796
  }
1613
1797
  export interface DescribeRegionSettingsInput {
1614
1798
  }
@@ -1706,6 +1890,16 @@ declare namespace Backup {
1706
1890
  */
1707
1891
  ResourceType?: ResourceType;
1708
1892
  }
1893
+ export interface DisassociateRecoveryPointFromParentInput {
1894
+ /**
1895
+ * This is the name of a logical container where the child (nested) recovery point is stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1896
+ */
1897
+ BackupVaultName: BackupVaultName;
1898
+ /**
1899
+ * This is the Amazon Resource Name (ARN) that uniquely identifies the child (nested) recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1900
+ */
1901
+ RecoveryPointArn: ARN;
1902
+ }
1709
1903
  export interface DisassociateRecoveryPointInput {
1710
1904
  /**
1711
1905
  * The unique name of an Backup vault.
@@ -1747,7 +1941,7 @@ declare namespace Backup {
1747
1941
  */
1748
1942
  NumberOfControls?: integer;
1749
1943
  /**
1750
- * The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1944
+ * The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
1751
1945
  */
1752
1946
  CreationTime?: timestamp;
1753
1947
  /**
@@ -1921,6 +2115,54 @@ declare namespace Backup {
1921
2115
  */
1922
2116
  BackupVaultEvents?: BackupVaultEvents;
1923
2117
  }
2118
+ export interface GetLegalHoldInput {
2119
+ /**
2120
+ * This is the ID required to use GetLegalHold. This unique ID is associated with a specific legal hold.
2121
+ */
2122
+ LegalHoldId: string;
2123
+ }
2124
+ export interface GetLegalHoldOutput {
2125
+ /**
2126
+ * This is the string title of the legal hold.
2127
+ */
2128
+ Title?: string;
2129
+ /**
2130
+ * This is the status of the legal hold. Statuses can be ACTIVE, CREATING, CANCELED, and CANCELING.
2131
+ */
2132
+ Status?: LegalHoldStatus;
2133
+ /**
2134
+ * This is the returned string description of the legal hold.
2135
+ */
2136
+ Description?: string;
2137
+ /**
2138
+ * String describing the reason for removing the legal hold.
2139
+ */
2140
+ CancelDescription?: string;
2141
+ /**
2142
+ * This is the returned ID associated with a specified legal hold.
2143
+ */
2144
+ LegalHoldId?: string;
2145
+ /**
2146
+ * This is the returned framework ARN for the specified legal hold. An Amazon Resource Name (ARN) uniquely identifies a resource. The format of the ARN depends on the resource type.
2147
+ */
2148
+ LegalHoldArn?: ARN;
2149
+ /**
2150
+ * Time in number format when legal hold was created.
2151
+ */
2152
+ CreationDate?: timestamp;
2153
+ /**
2154
+ * Time in number when legal hold was cancelled.
2155
+ */
2156
+ CancellationDate?: timestamp;
2157
+ /**
2158
+ * This is the date and time until which the legal hold record will be retained.
2159
+ */
2160
+ RetainRecordUntil?: timestamp;
2161
+ /**
2162
+ * This specifies criteria to assign a set of resources, such as resource types or backup vaults.
2163
+ */
2164
+ RecoveryPointSelection?: RecoveryPointSelection;
2165
+ }
1924
2166
  export interface GetRecoveryPointRestoreMetadataInput {
1925
2167
  /**
1926
2168
  * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
@@ -1957,6 +2199,38 @@ declare namespace Backup {
1957
2199
  export type IAMPolicy = string;
1958
2200
  export type IAMRoleArn = string;
1959
2201
  export type IsEnabled = boolean;
2202
+ export interface LegalHold {
2203
+ /**
2204
+ * This is the title of a legal hold.
2205
+ */
2206
+ Title?: string;
2207
+ /**
2208
+ * This is the status of the legal hold. Statuses can be ACTIVE, CREATING, CANCELED, and CANCELING.
2209
+ */
2210
+ Status?: LegalHoldStatus;
2211
+ /**
2212
+ * This is the description of a legal hold.
2213
+ */
2214
+ Description?: string;
2215
+ /**
2216
+ * ID of specific legal hold on one or more recovery points.
2217
+ */
2218
+ LegalHoldId?: string;
2219
+ /**
2220
+ * This is an Amazon Resource Number (ARN) that uniquely identifies the legal hold; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
2221
+ */
2222
+ LegalHoldArn?: ARN;
2223
+ /**
2224
+ * This is the time in number format when legal hold was created.
2225
+ */
2226
+ CreationDate?: timestamp;
2227
+ /**
2228
+ * This is the time in number format when legal hold was cancelled.
2229
+ */
2230
+ CancellationDate?: timestamp;
2231
+ }
2232
+ export type LegalHoldStatus = "CREATING"|"ACTIVE"|"CANCELING"|"CANCELED"|string;
2233
+ export type LegalHoldsList = LegalHold[];
1960
2234
  export interface Lifecycle {
1961
2235
  /**
1962
2236
  * Specifies the number of days after creation that a recovery point is moved to cold storage.
@@ -2012,6 +2286,10 @@ declare namespace Backup {
2012
2286
  * Returns only backup jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
2013
2287
  */
2014
2288
  ByCompleteBefore?: timestamp;
2289
+ /**
2290
+ * This is a filter to list child (nested) jobs based on parent job ID.
2291
+ */
2292
+ ByParentJobId?: string;
2015
2293
  }
2016
2294
  export interface ListBackupJobsOutput {
2017
2295
  /**
@@ -2180,6 +2458,10 @@ declare namespace Backup {
2180
2458
  * Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
2181
2459
  */
2182
2460
  ByCompleteAfter?: timestamp;
2461
+ /**
2462
+ * This is a filter to list child (nested) jobs based on parent job ID.
2463
+ */
2464
+ ByParentJobId?: string;
2183
2465
  }
2184
2466
  export interface ListCopyJobsOutput {
2185
2467
  /**
@@ -2211,6 +2493,26 @@ declare namespace Backup {
2211
2493
  */
2212
2494
  NextToken?: string;
2213
2495
  }
2496
+ export interface ListLegalHoldsInput {
2497
+ /**
2498
+ * The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
2499
+ */
2500
+ NextToken?: string;
2501
+ /**
2502
+ * The maximum number of resource list items to be returned.
2503
+ */
2504
+ MaxResults?: MaxResults;
2505
+ }
2506
+ export interface ListLegalHoldsOutput {
2507
+ /**
2508
+ * The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
2509
+ */
2510
+ NextToken?: string;
2511
+ /**
2512
+ * This is an array of returned legal holds, both active and previous.
2513
+ */
2514
+ LegalHolds?: LegalHoldsList;
2515
+ }
2214
2516
  export type ListOfTags = Condition[];
2215
2517
  export interface ListProtectedResourcesInput {
2216
2518
  /**
@@ -2265,6 +2567,10 @@ declare namespace Backup {
2265
2567
  * Returns only recovery points that were created after the specified timestamp.
2266
2568
  */
2267
2569
  ByCreatedAfter?: timestamp;
2570
+ /**
2571
+ * This returns only recovery points that match the specified parent (composite) recovery point Amazon Resource Name (ARN).
2572
+ */
2573
+ ByParentRecoveryPointArn?: ARN;
2268
2574
  }
2269
2575
  export interface ListRecoveryPointsByBackupVaultOutput {
2270
2576
  /**
@@ -2276,6 +2582,30 @@ declare namespace Backup {
2276
2582
  */
2277
2583
  RecoveryPoints?: RecoveryPointByBackupVaultList;
2278
2584
  }
2585
+ export interface ListRecoveryPointsByLegalHoldInput {
2586
+ /**
2587
+ * This is the ID of the legal hold.
2588
+ */
2589
+ LegalHoldId: string;
2590
+ /**
2591
+ * This is the next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
2592
+ */
2593
+ NextToken?: string;
2594
+ /**
2595
+ * This is the maximum number of resource list items to be returned.
2596
+ */
2597
+ MaxResults?: MaxResults;
2598
+ }
2599
+ export interface ListRecoveryPointsByLegalHoldOutput {
2600
+ /**
2601
+ * This is a list of the recovery points returned by ListRecoveryPointsByLegalHold.
2602
+ */
2603
+ RecoveryPoints?: RecoveryPointsList;
2604
+ /**
2605
+ * This return is the next item following a partial list of returned resources.
2606
+ */
2607
+ NextToken?: string;
2608
+ }
2279
2609
  export interface ListRecoveryPointsByResourceInput {
2280
2610
  /**
2281
2611
  * An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
@@ -2485,7 +2815,7 @@ declare namespace Backup {
2485
2815
  */
2486
2816
  SNSTopicArn: ARN;
2487
2817
  /**
2488
- * An array of events that indicate the status of jobs to back up resources to the backup vault. For common use cases and code samples, see Using Amazon SNS to track Backup events. The following events are supported: BACKUP_JOB_STARTED | BACKUP_JOB_COMPLETED COPY_JOB_STARTED | COPY_JOB_SUCCESSFUL | COPY_JOB_FAILED RESTORE_JOB_STARTED | RESTORE_JOB_COMPLETED | RECOVERY_POINT_MODIFIED S3_BACKUP_OBJECT_FAILED | S3_RESTORE_OBJECT_FAILED Ignore the list below because it includes deprecated events. Refer to the list above.
2818
+ * An array of events that indicate the status of jobs to back up resources to the backup vault. For common use cases and code samples, see Using Amazon SNS to track Backup events. The following events are supported: BACKUP_JOB_STARTED | BACKUP_JOB_COMPLETED COPY_JOB_STARTED | COPY_JOB_SUCCESSFUL | COPY_JOB_FAILED RESTORE_JOB_STARTED | RESTORE_JOB_COMPLETED | RECOVERY_POINT_MODIFIED S3_BACKUP_OBJECT_FAILED | S3_RESTORE_OBJECT_FAILED The list below shows items that are deprecated events (for reference) and are no longer in use. They are no longer supported and will not return statuses or notifications. Refer to the list above for current supported events.
2489
2819
  */
2490
2820
  BackupVaultEvents: BackupVaultEvents;
2491
2821
  }
@@ -2562,6 +2892,18 @@ declare namespace Backup {
2562
2892
  * The date and time a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC). The value of LastRestoreTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
2563
2893
  */
2564
2894
  LastRestoreTime?: timestamp;
2895
+ /**
2896
+ * This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
2897
+ */
2898
+ ParentRecoveryPointArn?: ARN;
2899
+ /**
2900
+ * This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack.
2901
+ */
2902
+ CompositeMemberIdentifier?: string;
2903
+ /**
2904
+ * This is a boolean value indicating this is a parent (composite) recovery point.
2905
+ */
2906
+ IsParent?: boolean;
2565
2907
  }
2566
2908
  export type RecoveryPointByBackupVaultList = RecoveryPointByBackupVault[];
2567
2909
  export interface RecoveryPointByResource {
@@ -2593,6 +2935,14 @@ declare namespace Backup {
2593
2935
  * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
2594
2936
  */
2595
2937
  BackupVaultName?: BackupVaultName;
2938
+ /**
2939
+ * This is a boolean value indicating this is a parent (composite) recovery point.
2940
+ */
2941
+ IsParent?: boolean;
2942
+ /**
2943
+ * This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
2944
+ */
2945
+ ParentRecoveryPointArn?: ARN;
2596
2946
  }
2597
2947
  export type RecoveryPointByResourceList = RecoveryPointByResource[];
2598
2948
  export interface RecoveryPointCreator {
@@ -2613,7 +2963,25 @@ declare namespace Backup {
2613
2963
  */
2614
2964
  BackupRuleId?: string;
2615
2965
  }
2966
+ export interface RecoveryPointMember {
2967
+ /**
2968
+ * This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
2969
+ */
2970
+ RecoveryPointArn?: ARN;
2971
+ }
2972
+ export interface RecoveryPointSelection {
2973
+ /**
2974
+ * These are the names of the vaults in which the selected recovery points are contained.
2975
+ */
2976
+ VaultNames?: VaultNames;
2977
+ /**
2978
+ * These are the resources included in the resource selection (including type of resources and vaults).
2979
+ */
2980
+ ResourceIdentifiers?: ResourceIdentifiers;
2981
+ DateRange?: DateRange;
2982
+ }
2616
2983
  export type RecoveryPointStatus = "COMPLETED"|"PARTIAL"|"DELETING"|"EXPIRED"|string;
2984
+ export type RecoveryPointsList = RecoveryPointMember[];
2617
2985
  export interface ReportDeliveryChannel {
2618
2986
  /**
2619
2987
  * The unique name of the S3 bucket that receives your reports.
@@ -2728,8 +3096,21 @@ declare namespace Backup {
2728
3096
  * The number of frameworks a report covers.
2729
3097
  */
2730
3098
  NumberOfFrameworks?: integer;
3099
+ /**
3100
+ * These are the accounts to be included in the report.
3101
+ */
3102
+ Accounts?: stringList;
3103
+ /**
3104
+ * These are the Organizational Units to be included in the report.
3105
+ */
3106
+ OrganizationUnits?: stringList;
3107
+ /**
3108
+ * These are the Regions to be included in the report.
3109
+ */
3110
+ Regions?: stringList;
2731
3111
  }
2732
3112
  export type ResourceArns = ARN[];
3113
+ export type ResourceIdentifiers = string[];
2733
3114
  export type ResourceType = string;
2734
3115
  export type ResourceTypeList = ARN[];
2735
3116
  export type ResourceTypeManagementPreference = {[key: string]: IsEnabled};
@@ -2810,7 +3191,7 @@ declare namespace Backup {
2810
3191
  */
2811
3192
  IdempotencyToken?: string;
2812
3193
  /**
2813
- * A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional, and the default is 8 hours.
3194
+ * A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional, and the default is 8 hours. If this value is included, it must be at least 60 minutes to avoid errors.
2814
3195
  */
2815
3196
  StartWindowMinutes?: WindowMinutes;
2816
3197
  /**
@@ -2843,6 +3224,10 @@ declare namespace Backup {
2843
3224
  * The date and time that a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
2844
3225
  */
2845
3226
  CreationDate?: timestamp;
3227
+ /**
3228
+ * This is a returned boolean value indicating this is a parent (composite) backup job.
3229
+ */
3230
+ IsParent?: boolean;
2846
3231
  }
2847
3232
  export interface StartCopyJobInput {
2848
3233
  /**
@@ -2876,6 +3261,10 @@ declare namespace Backup {
2876
3261
  * The date and time that a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
2877
3262
  */
2878
3263
  CreationDate?: timestamp;
3264
+ /**
3265
+ * This is a returned boolean value indicating this is a parent (composite) copy job.
3266
+ */
3267
+ IsParent?: boolean;
2879
3268
  }
2880
3269
  export interface StartReportJobInput {
2881
3270
  /**
@@ -2903,7 +3292,7 @@ declare namespace Backup {
2903
3292
  */
2904
3293
  Metadata: Metadata;
2905
3294
  /**
2906
- * The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
3295
+ * The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example: arn:aws:iam::123456789012:role/S3Access.
2907
3296
  */
2908
3297
  IamRoleArn?: IAMRoleArn;
2909
3298
  /**
@@ -3012,7 +3401,7 @@ declare namespace Backup {
3012
3401
  */
3013
3402
  FrameworkArn?: ARN;
3014
3403
  /**
3015
- * The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
3404
+ * The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
3016
3405
  */
3017
3406
  CreationTime?: timestamp;
3018
3407
  }
@@ -3100,6 +3489,7 @@ declare namespace Backup {
3100
3489
  */
3101
3490
  CreationTime?: timestamp;
3102
3491
  }
3492
+ export type VaultNames = string[];
3103
3493
  export type WindowMinutes = number;
3104
3494
  export type integer = number;
3105
3495
  export type long = number;