cdk-lambda-subminute 2.0.299 → 2.0.301

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 (74) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +36 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +3 -0
  6. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +117 -94
  7. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +37 -31
  8. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.min.json +369 -20
  9. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.paginators.json +12 -0
  10. package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +108 -15
  11. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +434 -269
  12. package/node_modules/aws-sdk/apis/finspace-2021-03-12.min.json +15 -5
  13. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +93 -31
  14. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +3 -0
  15. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +259 -101
  16. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +10 -0
  17. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +724 -151
  18. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.paginators.json +18 -0
  19. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +60 -50
  20. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +578 -33
  21. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.paginators.json +15 -0
  22. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +32 -26
  23. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -51
  24. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +52 -12
  25. package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +31 -26
  26. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +1426 -59
  27. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +54 -0
  28. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +909 -335
  29. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.paginators.json +6 -0
  30. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +6 -2
  31. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +562 -53
  32. package/node_modules/aws-sdk/apis/s3control-2018-08-20.paginators.json +4 -0
  33. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +977 -974
  34. package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +161 -146
  35. package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.min.json +201 -52
  36. package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.paginators.json +6 -0
  37. package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.min.json +1119 -79
  38. package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.paginators.json +52 -0
  39. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +121 -105
  40. package/node_modules/aws-sdk/clients/autoscaling.d.ts +33 -4
  41. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +29 -4
  42. package/node_modules/aws-sdk/clients/codecatalyst.d.ts +386 -5
  43. package/node_modules/aws-sdk/clients/dlm.d.ts +151 -23
  44. package/node_modules/aws-sdk/clients/ec2.d.ts +198 -2
  45. package/node_modules/aws-sdk/clients/fsx.d.ts +7 -3
  46. package/node_modules/aws-sdk/clients/glue.d.ts +228 -0
  47. package/node_modules/aws-sdk/clients/imagebuilder.d.ts +776 -60
  48. package/node_modules/aws-sdk/clients/iot.d.ts +23 -6
  49. package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +593 -6
  50. package/node_modules/aws-sdk/clients/kafka.d.ts +13 -0
  51. package/node_modules/aws-sdk/clients/lambda.d.ts +40 -6
  52. package/node_modules/aws-sdk/clients/macie2.d.ts +54 -16
  53. package/node_modules/aws-sdk/clients/mediapackage.d.ts +2 -2
  54. package/node_modules/aws-sdk/clients/mwaa.d.ts +28 -5
  55. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +1860 -96
  56. package/node_modules/aws-sdk/clients/polly.d.ts +9 -9
  57. package/node_modules/aws-sdk/clients/quicksight.d.ts +537 -20
  58. package/node_modules/aws-sdk/clients/rds.d.ts +1 -1
  59. package/node_modules/aws-sdk/clients/redshift.d.ts +6 -2
  60. package/node_modules/aws-sdk/clients/s3control.d.ts +359 -7
  61. package/node_modules/aws-sdk/clients/sagemaker.d.ts +12 -2
  62. package/node_modules/aws-sdk/clients/ssm.d.ts +38 -8
  63. package/node_modules/aws-sdk/clients/ssmincidents.d.ts +191 -40
  64. package/node_modules/aws-sdk/clients/ssoadmin.d.ts +1517 -128
  65. package/node_modules/aws-sdk/clients/transfer.d.ts +25 -1
  66. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  67. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +36 -36
  68. package/node_modules/aws-sdk/dist/aws-sdk.js +888 -647
  69. package/node_modules/aws-sdk/dist/aws-sdk.min.js +100 -100
  70. package/node_modules/aws-sdk/lib/core.js +1 -1
  71. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +1 -1
  72. package/node_modules/aws-sdk/lib/dynamodb/document_client.js +1 -1
  73. package/node_modules/aws-sdk/package.json +1 -1
  74. package/package.json +5 -5
@@ -12,11 +12,11 @@ declare class DLM extends Service {
12
12
  constructor(options?: DLM.Types.ClientConfiguration)
13
13
  config: Config & DLM.Types.ClientConfiguration;
14
14
  /**
15
- * Creates a policy to manage the lifecycle of the specified Amazon Web Services resources. You can create up to 100 lifecycle policies.
15
+ * Creates an Amazon Data Lifecycle Manager lifecycle policy. Amazon Data Lifecycle Manager supports the following policy types: Custom EBS snapshot policy Custom EBS-backed AMI policy Cross-account copy event policy Default policy for EBS snapshots Default policy for EBS-backed AMIs For more information, see Default policies vs custom policies. If you create a default policy, you can specify the request parameters either in the request body, or in the PolicyDetails request structure, but not both.
16
16
  */
17
17
  createLifecyclePolicy(params: DLM.Types.CreateLifecyclePolicyRequest, callback?: (err: AWSError, data: DLM.Types.CreateLifecyclePolicyResponse) => void): Request<DLM.Types.CreateLifecyclePolicyResponse, AWSError>;
18
18
  /**
19
- * Creates a policy to manage the lifecycle of the specified Amazon Web Services resources. You can create up to 100 lifecycle policies.
19
+ * Creates an Amazon Data Lifecycle Manager lifecycle policy. Amazon Data Lifecycle Manager supports the following policy types: Custom EBS snapshot policy Custom EBS-backed AMI policy Cross-account copy event policy Default policy for EBS snapshots Default policy for EBS-backed AMIs For more information, see Default policies vs custom policies. If you create a default policy, you can specify the request parameters either in the request body, or in the PolicyDetails request structure, but not both.
20
20
  */
21
21
  createLifecyclePolicy(callback?: (err: AWSError, data: DLM.Types.CreateLifecyclePolicyResponse) => void): Request<DLM.Types.CreateLifecyclePolicyResponse, AWSError>;
22
22
  /**
@@ -108,6 +108,7 @@ declare namespace DLM {
108
108
  export type CopyTags = boolean;
109
109
  export type CopyTagsNullable = boolean;
110
110
  export type Count = number;
111
+ export type CreateInterval = number;
111
112
  export interface CreateLifecyclePolicyRequest {
112
113
  /**
113
114
  * The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
@@ -118,17 +119,45 @@ declare namespace DLM {
118
119
  */
119
120
  Description: PolicyDescription;
120
121
  /**
121
- * The desired activation state of the lifecycle policy after creation.
122
+ * The activation state of the lifecycle policy after creation.
122
123
  */
123
124
  State: SettablePolicyStateValues;
124
125
  /**
125
- * The configuration details of the lifecycle policy.
126
+ * The configuration details of the lifecycle policy. If you create a default policy, you can specify the request parameters either in the request body, or in the PolicyDetails request structure, but not both.
126
127
  */
127
- PolicyDetails: PolicyDetails;
128
+ PolicyDetails?: PolicyDetails;
128
129
  /**
129
130
  * The tags to apply to the lifecycle policy during creation.
130
131
  */
131
132
  Tags?: TagMap;
133
+ /**
134
+ * [Default policies only] Specify the type of default policy to create. To create a default policy for EBS snapshots, that creates snapshots of all volumes in the Region that do not have recent backups, specify VOLUME. To create a default policy for EBS-backed AMIs, that creates EBS-backed AMIs from all instances in the Region that do not have recent backups, specify INSTANCE.
135
+ */
136
+ DefaultPolicy?: DefaultPolicyTypeValues;
137
+ /**
138
+ * [Default policies only] Specifies how often the policy should run and create snapshots or AMIs. The creation frequency can range from 1 to 7 days. If you do not specify a value, the default is 1. Default: 1
139
+ */
140
+ CreateInterval?: CreateInterval;
141
+ /**
142
+ * [Default policies only] Specifies how long the policy should retain snapshots or AMIs before deleting them. The retention period can range from 2 to 14 days, but it must be greater than the creation frequency to ensure that the policy retains at least 1 snapshot or AMI at any given time. If you do not specify a value, the default is 7. Default: 7
143
+ */
144
+ RetainInterval?: RetainInterval;
145
+ /**
146
+ * [Default policies only] Indicates whether the policy should copy tags from the source resource to the snapshot or AMI. If you do not specify a value, the default is false. Default: false
147
+ */
148
+ CopyTags?: CopyTagsNullable;
149
+ /**
150
+ * [Default policies only] Defines the snapshot or AMI retention behavior for the policy if the source volume or instance is deleted, or if the policy enters the error, disabled, or deleted state. By default (ExtendDeletion=false): If a source resource is deleted, Amazon Data Lifecycle Manager will continue to delete previously created snapshots or AMIs, up to but not including the last one, based on the specified retention period. If you want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including the last one, specify true. If a policy enters the error, disabled, or deleted state, Amazon Data Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon Data Lifecycle Manager to continue deleting snapshots or AMIs, including the last one, if the policy enters one of these states, specify true. If you enable extended deletion (ExtendDeletion=true), you override both default behaviors simultaneously. If you do not specify a value, the default is false. Default: false
151
+ */
152
+ ExtendDeletion?: ExtendDeletion;
153
+ /**
154
+ * [Default policies only] Specifies destination Regions for snapshot or AMI copies. You can specify up to 3 destination Regions. If you do not want to create cross-Region copies, omit this parameter.
155
+ */
156
+ CrossRegionCopyTargets?: CrossRegionCopyTargetList;
157
+ /**
158
+ * [Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs for target resources that match any of the specified exclusion parameters.
159
+ */
160
+ Exclusions?: Exclusions;
132
161
  }
133
162
  export interface CreateLifecyclePolicyResponse {
134
163
  /**
@@ -138,7 +167,7 @@ declare namespace DLM {
138
167
  }
139
168
  export interface CreateRule {
140
169
  /**
141
- * [Snapshot policies only] Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default. If the policy targets resources in an Amazon Web Services Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
170
+ * [Custom snapshot policies only] Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default. If the policy targets resources in an Amazon Web Services Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
142
171
  */
143
172
  Location?: LocationValues;
144
173
  /**
@@ -158,7 +187,7 @@ declare namespace DLM {
158
187
  */
159
188
  CronExpression?: CronExpression;
160
189
  /**
161
- * [Snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot lifecycle policy that targets instances. This is useful for creating application-consistent snapshots, or for performing specific administrative tasks before or after Amazon Data Lifecycle Manager initiates snapshot creation. For more information, see Automating application-consistent snapshots with pre and post scripts.
190
+ * [Custom snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot lifecycle policy that targets instances. This is useful for creating application-consistent snapshots, or for performing specific administrative tasks before or after Amazon Data Lifecycle Manager initiates snapshot creation. For more information, see Automating application-consistent snapshots with pre and post scripts.
162
191
  */
163
192
  Scripts?: ScriptsList;
164
193
  }
@@ -197,11 +226,11 @@ declare namespace DLM {
197
226
  }
198
227
  export interface CrossRegionCopyRule {
199
228
  /**
200
- * Use this parameter for AMI policies only. For snapshot policies, use Target instead. For snapshot policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies. [AMI policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
229
+ * Use this parameter for AMI policies only. For snapshot policies, use Target instead. For snapshot policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies. [Custom AMI policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
201
230
  */
202
231
  TargetRegion?: TargetRegion;
203
232
  /**
204
- * Use this parameter for snapshot policies only. For AMI policies, use TargetRegion instead. [Snapshot policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
233
+ * Use this parameter for snapshot policies only. For AMI policies, use TargetRegion instead. [Custom snapshot policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
205
234
  */
206
235
  Target?: Target;
207
236
  /**
@@ -221,11 +250,21 @@ declare namespace DLM {
221
250
  */
222
251
  RetainRule?: CrossRegionCopyRetainRule;
223
252
  /**
224
- * [AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.
253
+ * [Custom AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.
225
254
  */
226
255
  DeprecateRule?: CrossRegionCopyDeprecateRule;
227
256
  }
228
257
  export type CrossRegionCopyRules = CrossRegionCopyRule[];
258
+ export interface CrossRegionCopyTarget {
259
+ /**
260
+ * The target Region, for example us-east-1.
261
+ */
262
+ TargetRegion?: TargetRegion;
263
+ }
264
+ export type CrossRegionCopyTargetList = CrossRegionCopyTarget[];
265
+ export type DefaultPoliciesTypeValues = "VOLUME"|"INSTANCE"|"ALL"|string;
266
+ export type DefaultPolicy = boolean;
267
+ export type DefaultPolicyTypeValues = "VOLUME"|"INSTANCE"|string;
229
268
  export interface DeleteLifecyclePolicyRequest {
230
269
  /**
231
270
  * The identifier of the lifecycle policy.
@@ -287,11 +326,29 @@ declare namespace DLM {
287
326
  export type EventSourceValues = "MANAGED_CWE"|string;
288
327
  export type EventTypeValues = "shareSnapshot"|string;
289
328
  export type ExcludeBootVolume = boolean;
329
+ export type ExcludeBootVolumes = boolean;
290
330
  export type ExcludeDataVolumeTagList = Tag[];
331
+ export type ExcludeTagsList = Tag[];
332
+ export type ExcludeVolumeTypesList = VolumeTypeValues[];
333
+ export interface Exclusions {
334
+ /**
335
+ * [Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. If you exclude boot volumes, only volumes attached as data (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specify true.
336
+ */
337
+ ExcludeBootVolumes?: ExcludeBootVolumes;
338
+ /**
339
+ * [Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.
340
+ */
341
+ ExcludeVolumeTypes?: ExcludeVolumeTypesList;
342
+ /**
343
+ * [Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
344
+ */
345
+ ExcludeTags?: ExcludeTagsList;
346
+ }
291
347
  export type ExecuteOperationOnScriptFailure = boolean;
292
348
  export type ExecutionHandler = string;
293
349
  export type ExecutionHandlerServiceValues = "AWS_SYSTEMS_MANAGER"|string;
294
350
  export type ExecutionRoleArn = string;
351
+ export type ExtendDeletion = boolean;
295
352
  export interface FastRestoreRule {
296
353
  /**
297
354
  * The number of snapshots to be enabled with fast snapshot restore.
@@ -331,6 +388,10 @@ declare namespace DLM {
331
388
  * The tags to add to objects created by the policy. Tags are strings in the format key=value. These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
332
389
  */
333
390
  TagsToAdd?: TagsToAddFilterList;
391
+ /**
392
+ * [Default policies only] Specifies the type of default policy to get. Specify one of the following: VOLUME - To get only the default policy for EBS snapshots INSTANCE - To get only the default policy for EBS-backed AMIs ALL - To get all default policies
393
+ */
394
+ DefaultPolicyType?: DefaultPoliciesTypeValues;
334
395
  }
335
396
  export interface GetLifecyclePoliciesResponse {
336
397
  /**
@@ -394,6 +455,10 @@ declare namespace DLM {
394
455
  * The Amazon Resource Name (ARN) of the policy.
395
456
  */
396
457
  PolicyArn?: PolicyArn;
458
+ /**
459
+ * [Default policies only] The type of default policy. Values include: VOLUME - Default policy for EBS snapshots INSTANCE - Default policy for EBS-backed AMIs
460
+ */
461
+ DefaultPolicy?: DefaultPolicy;
397
462
  }
398
463
  export interface LifecyclePolicySummary {
399
464
  /**
@@ -416,6 +481,10 @@ declare namespace DLM {
416
481
  * The type of policy. EBS_SNAPSHOT_MANAGEMENT indicates that the policy manages the lifecycle of Amazon EBS snapshots. IMAGE_MANAGEMENT indicates that the policy manages the lifecycle of EBS-backed AMIs. EVENT_BASED_POLICY indicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.
417
482
  */
418
483
  PolicyType?: PolicyTypeValues;
484
+ /**
485
+ * [Default policies only] The type of default policy. Values include: VOLUME - Default policy for EBS snapshots INSTANCE - Default policy for EBS-backed AMIs
486
+ */
487
+ DefaultPolicy?: DefaultPolicy;
419
488
  }
420
489
  export type LifecyclePolicySummaryList = LifecyclePolicySummary[];
421
490
  export interface ListTagsForResourceRequest {
@@ -434,15 +503,15 @@ declare namespace DLM {
434
503
  export type NoReboot = boolean;
435
504
  export interface Parameters {
436
505
  /**
437
- * [Snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false. If you specify true, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
506
+ * [Custom snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false. If you specify true, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
438
507
  */
439
508
  ExcludeBootVolume?: ExcludeBootVolume;
440
509
  /**
441
- * [AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).
510
+ * [Custom AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).
442
511
  */
443
512
  NoReboot?: NoReboot;
444
513
  /**
445
- * [Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets. If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
514
+ * [Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets. If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
446
515
  */
447
516
  ExcludeDataVolumeTags?: ExcludeDataVolumeTagList;
448
517
  }
@@ -450,27 +519,27 @@ declare namespace DLM {
450
519
  export type PolicyDescription = string;
451
520
  export interface PolicyDetails {
452
521
  /**
453
- * [All policy types] The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account. The default is EBS_SNAPSHOT_MANAGEMENT.
522
+ * [Custom policies only] The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account. The default is EBS_SNAPSHOT_MANAGEMENT.
454
523
  */
455
524
  PolicyType?: PolicyTypeValues;
456
525
  /**
457
- * [Snapshot policies only] The target resource type for snapshot and AMI lifecycle policies. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.
526
+ * [Custom snapshot policies only] The target resource type for snapshot and AMI lifecycle policies. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.
458
527
  */
459
528
  ResourceTypes?: ResourceTypeValuesList;
460
529
  /**
461
- * [Snapshot and AMI policies only] The location of the resources to backup. If the source resources are located in an Amazon Web Services Region, specify CLOUD. If the source resources are located on an Outpost in your account, specify OUTPOST. If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.
530
+ * [Custom snapshot and AMI policies only] The location of the resources to backup. If the source resources are located in an Amazon Web Services Region, specify CLOUD. If the source resources are located on an Outpost in your account, specify OUTPOST. If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.
462
531
  */
463
532
  ResourceLocations?: ResourceLocationList;
464
533
  /**
465
- * [Snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.
534
+ * [Custom snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.
466
535
  */
467
536
  TargetTags?: TargetTagList;
468
537
  /**
469
- * [Snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one mandatory schedule and up to three optional schedules.
538
+ * [Custom snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one mandatory schedule and up to three optional schedules.
470
539
  */
471
540
  Schedules?: ScheduleList;
472
541
  /**
473
- * [Snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies. If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can't omit this parameter or set its values to null.
542
+ * [Custom snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies. If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can't omit this parameter or set its values to null.
474
543
  */
475
544
  Parameters?: Parameters;
476
545
  /**
@@ -481,14 +550,48 @@ declare namespace DLM {
481
550
  * [Event-based policies only] The actions to be performed when the event-based policy is activated. You can specify only one action per policy.
482
551
  */
483
552
  Actions?: ActionList;
553
+ /**
554
+ * The type of policy to create. Specify one of the following: SIMPLIFIED To create a default policy. STANDARD To create a custom policy.
555
+ */
556
+ PolicyLanguage?: PolicyLanguageValues;
557
+ /**
558
+ * [Default policies only] Specify the type of default policy to create. To create a default policy for EBS snapshots, that creates snapshots of all volumes in the Region that do not have recent backups, specify VOLUME. To create a default policy for EBS-backed AMIs, that creates EBS-backed AMIs from all instances in the Region that do not have recent backups, specify INSTANCE.
559
+ */
560
+ ResourceType?: ResourceTypeValues;
561
+ /**
562
+ * [Default policies only] Specifies how often the policy should run and create snapshots or AMIs. The creation frequency can range from 1 to 7 days. If you do not specify a value, the default is 1. Default: 1
563
+ */
564
+ CreateInterval?: CreateInterval;
565
+ /**
566
+ * [Default policies only] Specifies how long the policy should retain snapshots or AMIs before deleting them. The retention period can range from 2 to 14 days, but it must be greater than the creation frequency to ensure that the policy retains at least 1 snapshot or AMI at any given time. If you do not specify a value, the default is 7. Default: 7
567
+ */
568
+ RetainInterval?: RetainInterval;
569
+ /**
570
+ * [Default policies only] Indicates whether the policy should copy tags from the source resource to the snapshot or AMI. If you do not specify a value, the default is false. Default: false
571
+ */
572
+ CopyTags?: CopyTagsNullable;
573
+ /**
574
+ * [Default policies only] Specifies destination Regions for snapshot or AMI copies. You can specify up to 3 destination Regions. If you do not want to create cross-Region copies, omit this parameter.
575
+ */
576
+ CrossRegionCopyTargets?: CrossRegionCopyTargetList;
577
+ /**
578
+ * [Default policies only] Defines the snapshot or AMI retention behavior for the policy if the source volume or instance is deleted, or if the policy enters the error, disabled, or deleted state. By default (ExtendDeletion=false): If a source resource is deleted, Amazon Data Lifecycle Manager will continue to delete previously created snapshots or AMIs, up to but not including the last one, based on the specified retention period. If you want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including the last one, specify true. If a policy enters the error, disabled, or deleted state, Amazon Data Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon Data Lifecycle Manager to continue deleting snapshots or AMIs, including the last one, if the policy enters one of these states, specify true. If you enable extended deletion (ExtendDeletion=true), you override both default behaviors simultaneously. If you do not specify a value, the default is false. Default: false
579
+ */
580
+ ExtendDeletion?: ExtendDeletion;
581
+ /**
582
+ * [Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs for target resources that match any of the specified exclusion parameters.
583
+ */
584
+ Exclusions?: Exclusions;
484
585
  }
485
586
  export type PolicyId = string;
486
587
  export type PolicyIdList = PolicyId[];
588
+ export type PolicyLanguageValues = "SIMPLIFIED"|"STANDARD"|string;
487
589
  export type PolicyTypeValues = "EBS_SNAPSHOT_MANAGEMENT"|"IMAGE_MANAGEMENT"|"EVENT_BASED_POLICY"|string;
488
590
  export type ResourceLocationList = ResourceLocationValues[];
489
591
  export type ResourceLocationValues = "CLOUD"|"OUTPOST"|string;
490
592
  export type ResourceTypeValues = "VOLUME"|"INSTANCE"|string;
491
593
  export type ResourceTypeValuesList = ResourceTypeValues[];
594
+ export type RetainInterval = number;
492
595
  export interface RetainRule {
493
596
  /**
494
597
  * The number of snapshots to retain for each volume, up to a maximum of 1000. For example if you want to retain a maximum of three snapshots, specify 3. When the fourth snapshot is created, the oldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an ArchiveRule.
@@ -544,7 +647,7 @@ declare namespace DLM {
544
647
  */
545
648
  RetainRule?: RetainRule;
546
649
  /**
547
- * [Snapshot policies only] The rule for enabling fast snapshot restore.
650
+ * [Custom snapshot policies only] The rule for enabling fast snapshot restore.
548
651
  */
549
652
  FastRestoreRule?: FastRestoreRule;
550
653
  /**
@@ -552,15 +655,15 @@ declare namespace DLM {
552
655
  */
553
656
  CrossRegionCopyRules?: CrossRegionCopyRules;
554
657
  /**
555
- * [Snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.
658
+ * [Custom snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.
556
659
  */
557
660
  ShareRules?: ShareRules;
558
661
  /**
559
- * [AMI policies only] The AMI deprecation rule for the schedule.
662
+ * [Custom AMI policies only] The AMI deprecation rule for the schedule.
560
663
  */
561
664
  DeprecateRule?: DeprecateRule;
562
665
  /**
563
- * [Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify. For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.
666
+ * [Custom snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify. For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.
564
667
  */
565
668
  ArchiveRule?: ArchiveRule;
566
669
  }
@@ -688,10 +791,35 @@ declare namespace DLM {
688
791
  * The configuration of the lifecycle policy. You cannot update the policy type or the resource type.
689
792
  */
690
793
  PolicyDetails?: PolicyDetails;
794
+ /**
795
+ * [Default policies only] Specifies how often the policy should run and create snapshots or AMIs. The creation frequency can range from 1 to 7 days.
796
+ */
797
+ CreateInterval?: CreateInterval;
798
+ /**
799
+ * [Default policies only] Specifies how long the policy should retain snapshots or AMIs before deleting them. The retention period can range from 2 to 14 days, but it must be greater than the creation frequency to ensure that the policy retains at least 1 snapshot or AMI at any given time.
800
+ */
801
+ RetainInterval?: RetainInterval;
802
+ /**
803
+ * [Default policies only] Indicates whether the policy should copy tags from the source resource to the snapshot or AMI.
804
+ */
805
+ CopyTags?: CopyTagsNullable;
806
+ /**
807
+ * [Default policies only] Defines the snapshot or AMI retention behavior for the policy if the source volume or instance is deleted, or if the policy enters the error, disabled, or deleted state. By default (ExtendDeletion=false): If a source resource is deleted, Amazon Data Lifecycle Manager will continue to delete previously created snapshots or AMIs, up to but not including the last one, based on the specified retention period. If you want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including the last one, specify true. If a policy enters the error, disabled, or deleted state, Amazon Data Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon Data Lifecycle Manager to continue deleting snapshots or AMIs, including the last one, if the policy enters one of these states, specify true. If you enable extended deletion (ExtendDeletion=true), you override both default behaviors simultaneously. Default: false
808
+ */
809
+ ExtendDeletion?: ExtendDeletion;
810
+ /**
811
+ * [Default policies only] Specifies destination Regions for snapshot or AMI copies. You can specify up to 3 destination Regions. If you do not want to create cross-Region copies, omit this parameter.
812
+ */
813
+ CrossRegionCopyTargets?: CrossRegionCopyTargetList;
814
+ /**
815
+ * [Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs for target resources that match any of the specified exclusion parameters.
816
+ */
817
+ Exclusions?: Exclusions;
691
818
  }
692
819
  export interface UpdateLifecyclePolicyResponse {
693
820
  }
694
821
  export type VariableTagsList = Tag[];
822
+ export type VolumeTypeValues = string;
695
823
  /**
696
824
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
697
825
  */