cdk-lambda-subminute 2.0.300 → 2.0.302
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/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +52 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +6 -0
- package/node_modules/aws-sdk/apis/cloud9-2017-09-23.examples.json +1 -0
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +90 -81
- package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.min.json +8 -4
- package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +16 -0
- package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.min.json +590 -3
- package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +108 -15
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1864 -1397
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +100 -40
- package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +91 -78
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +3 -0
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +259 -101
- package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +724 -151
- package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.paginators.json +18 -0
- package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.min.json +172 -0
- package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +60 -50
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +578 -33
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.paginators.json +15 -0
- package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +16 -4
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +32 -26
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -51
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +52 -12
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +379 -301
- package/node_modules/aws-sdk/apis/metadata.json +3 -3
- package/node_modules/aws-sdk/apis/osis-2022-01-01.min.json +66 -12
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +1426 -59
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +54 -0
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +909 -335
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +233 -217
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +250 -91
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +39 -38
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +126 -126
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +977 -974
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +161 -146
- package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.min.json +201 -52
- package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.min.json +1121 -73
- package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.paginators.json +52 -0
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.examples.json +228 -0
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.min.json +94 -8
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +121 -105
- package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.min.json +794 -0
- package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.paginators.json +40 -0
- package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +269 -199
- package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +790 -27
- package/node_modules/aws-sdk/apis/wisdom-2020-10-19.paginators.json +18 -0
- package/node_modules/aws-sdk/clients/all.d.ts +1 -1
- package/node_modules/aws-sdk/clients/all.js +2 -2
- package/node_modules/aws-sdk/clients/appmesh.d.ts +2 -2
- package/node_modules/aws-sdk/clients/athena.d.ts +27 -19
- package/node_modules/aws-sdk/clients/cloud9.d.ts +1 -1
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +14 -1
- package/node_modules/aws-sdk/clients/codecatalyst.d.ts +16 -0
- package/node_modules/aws-sdk/clients/codepipeline.d.ts +22 -2
- package/node_modules/aws-sdk/clients/codestarconnections.d.ts +727 -0
- package/node_modules/aws-sdk/clients/connect.d.ts +2 -2
- package/node_modules/aws-sdk/clients/dlm.d.ts +153 -25
- package/node_modules/aws-sdk/clients/ec2.d.ts +582 -23
- package/node_modules/aws-sdk/clients/ecr.d.ts +128 -7
- package/node_modules/aws-sdk/clients/emr.d.ts +80 -43
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +40 -37
- package/node_modules/aws-sdk/clients/fsx.d.ts +7 -3
- package/node_modules/aws-sdk/clients/glue.d.ts +228 -0
- package/node_modules/aws-sdk/clients/imagebuilder.d.ts +776 -60
- package/node_modules/aws-sdk/clients/internetmonitor.d.ts +157 -4
- package/node_modules/aws-sdk/clients/iot.d.ts +23 -6
- package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +593 -6
- package/node_modules/aws-sdk/clients/kafka.d.ts +13 -0
- package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +8 -8
- package/node_modules/aws-sdk/clients/lambda.d.ts +39 -5
- package/node_modules/aws-sdk/clients/macie2.d.ts +54 -16
- package/node_modules/aws-sdk/clients/medialive.d.ts +121 -47
- package/node_modules/aws-sdk/clients/mediapackage.d.ts +2 -2
- package/node_modules/aws-sdk/clients/osis.d.ts +55 -0
- package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +1860 -96
- package/node_modules/aws-sdk/clients/polly.d.ts +9 -9
- package/node_modules/aws-sdk/clients/quicksight.d.ts +537 -20
- package/node_modules/aws-sdk/clients/rds.d.ts +31 -4
- package/node_modules/aws-sdk/clients/redshift.d.ts +207 -0
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +5 -0
- package/node_modules/aws-sdk/clients/s3.d.ts +2 -2
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +12 -2
- package/node_modules/aws-sdk/clients/ssm.d.ts +38 -8
- package/node_modules/aws-sdk/clients/ssmincidents.d.ts +191 -40
- package/node_modules/aws-sdk/clients/ssoadmin.d.ts +1529 -128
- package/node_modules/aws-sdk/clients/ssooidc.d.ts +99 -16
- package/node_modules/aws-sdk/clients/sts.d.ts +3 -3
- package/node_modules/aws-sdk/clients/transfer.d.ts +25 -1
- package/node_modules/aws-sdk/clients/trustedadvisor.d.ts +918 -0
- package/node_modules/aws-sdk/clients/trustedadvisor.js +18 -0
- package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +67 -1
- package/node_modules/aws-sdk/clients/wisdom.d.ts +849 -25
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +1444 -1444
- package/node_modules/aws-sdk/dist/aws-sdk.js +2953 -2158
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +101 -101
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +5 -5
- package/node_modules/aws-sdk/apis/macie-2017-12-19.min.json +0 -222
- package/node_modules/aws-sdk/apis/macie-2017-12-19.paginators.json +0 -14
- package/node_modules/aws-sdk/clients/macie.d.ts +0 -284
- package/node_modules/aws-sdk/clients/macie.js +0 -18
- /package/node_modules/aws-sdk/apis/{macie-2017-12-19.examples.json → trustedadvisor-2022-09-15.examples.json} +0 -0
@@ -5759,7 +5759,7 @@ declare namespace Connect {
|
|
5759
5759
|
SourceType?: SourceType;
|
5760
5760
|
}
|
5761
5761
|
export type IntegrationAssociationSummaryList = IntegrationAssociationSummary[];
|
5762
|
-
export type IntegrationType = "EVENT"|"VOICE_ID"|"PINPOINT_APP"|"WISDOM_ASSISTANT"|"WISDOM_KNOWLEDGE_BASE"|"CASES_DOMAIN"|"APPLICATION"|"FILE_SCANNER"|string;
|
5762
|
+
export type IntegrationType = "EVENT"|"VOICE_ID"|"PINPOINT_APP"|"WISDOM_ASSISTANT"|"WISDOM_KNOWLEDGE_BASE"|"WISDOM_QUICK_RESPONSES"|"CASES_DOMAIN"|"APPLICATION"|"FILE_SCANNER"|string;
|
5763
5763
|
export interface IntervalDetails {
|
5764
5764
|
/**
|
5765
5765
|
* The timezone applied to requested metrics.
|
@@ -6101,7 +6101,7 @@ declare namespace Connect {
|
|
6101
6101
|
*/
|
6102
6102
|
NextToken?: NextToken;
|
6103
6103
|
}
|
6104
|
-
export type ListFlowAssociationResourceType = "
|
6104
|
+
export type ListFlowAssociationResourceType = "VOICE_PHONE_NUMBER"|string;
|
6105
6105
|
export interface ListHoursOfOperationsRequest {
|
6106
6106
|
/**
|
6107
6107
|
* The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
|
@@ -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
|
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
|
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
|
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
|
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
|
-
* [
|
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
|
-
* [
|
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. [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
-
* [
|
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
|
}
|
@@ -572,11 +675,11 @@ declare namespace DLM {
|
|
572
675
|
*/
|
573
676
|
Stages?: StagesList;
|
574
677
|
/**
|
575
|
-
* Indicates the service used to execute the pre and/or post scripts. If you are using custom SSM documents, specify AWS_SYSTEMS_MANAGER. If you are automating VSS Backups, omit this parameter. Default: AWS_SYSTEMS_MANAGER
|
678
|
+
* Indicates the service used to execute the pre and/or post scripts. If you are using custom SSM documents or automating application-consistent snapshots of SAP HANA workloads, specify AWS_SYSTEMS_MANAGER. If you are automating VSS Backups, omit this parameter. Default: AWS_SYSTEMS_MANAGER
|
576
679
|
*/
|
577
680
|
ExecutionHandlerService?: ExecutionHandlerServiceValues;
|
578
681
|
/**
|
579
|
-
* The SSM document that includes the pre and/or post scripts to run. If you are automating VSS backups, specify AWS_VSS_BACKUP. In this case, Amazon Data Lifecycle Manager automatically uses the AWSEC2-CreateVssSnapshot SSM document. If you are using a custom SSM document that you own, specify either the name or ARN of the SSM document. If you are using a custom SSM document that is shared with you, specify the ARN of the SSM document.
|
682
|
+
* The SSM document that includes the pre and/or post scripts to run. If you are automating VSS backups, specify AWS_VSS_BACKUP. In this case, Amazon Data Lifecycle Manager automatically uses the AWSEC2-CreateVssSnapshot SSM document. If you are automating application-consistent snapshots for SAP HANA workloads, specify AWSSystemsManagerSAP-CreateDLMSnapshotForSAPHANA. If you are using a custom SSM document that you own, specify either the name or ARN of the SSM document. If you are using a custom SSM document that is shared with you, specify the ARN of the SSM document.
|
580
683
|
*/
|
581
684
|
ExecutionHandler: ExecutionHandler;
|
582
685
|
/**
|
@@ -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
|
*/
|