cdk-lambda-subminute 2.0.300 → 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.
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +23 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.min.json +8 -4
- 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 +30 -20
- 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/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/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/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/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 +1119 -79
- package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.paginators.json +52 -0
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +121 -105
- package/node_modules/aws-sdk/clients/codecatalyst.d.ts +16 -0
- package/node_modules/aws-sdk/clients/dlm.d.ts +151 -23
- package/node_modules/aws-sdk/clients/ec2.d.ts +19 -1
- 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/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/lambda.d.ts +39 -5
- package/node_modules/aws-sdk/clients/macie2.d.ts +54 -16
- package/node_modules/aws-sdk/clients/mediapackage.d.ts +2 -2
- 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/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 +1517 -128
- package/node_modules/aws-sdk/clients/transfer.d.ts +25 -1
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +27 -27
- package/node_modules/aws-sdk/dist/aws-sdk.js +324 -271
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +69 -69
- 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
@@ -399,6 +399,10 @@ declare namespace CodeCatalyst {
|
|
399
399
|
* Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage when created from the Amazon CodeCatalyst console, but there is no default when programmatically creating a Dev Environment. Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.
|
400
400
|
*/
|
401
401
|
persistentStorage: PersistentStorageConfiguration;
|
402
|
+
/**
|
403
|
+
* The name of the connection to use connect to a Amazon VPC.
|
404
|
+
*/
|
405
|
+
vpcConnectionName?: NameString;
|
402
406
|
}
|
403
407
|
export type CreateDevEnvironmentRequestAliasString = string;
|
404
408
|
export interface CreateDevEnvironmentResponse {
|
@@ -414,6 +418,10 @@ declare namespace CodeCatalyst {
|
|
414
418
|
* The system-generated unique ID of the Dev Environment.
|
415
419
|
*/
|
416
420
|
id: Uuid;
|
421
|
+
/**
|
422
|
+
* The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.
|
423
|
+
*/
|
424
|
+
vpcConnectionName?: NameString;
|
417
425
|
}
|
418
426
|
export interface CreateProjectRequest {
|
419
427
|
/**
|
@@ -737,6 +745,10 @@ declare namespace CodeCatalyst {
|
|
737
745
|
* Information about the configuration of persistent storage for the Dev Environment.
|
738
746
|
*/
|
739
747
|
persistentStorage: PersistentStorage;
|
748
|
+
/**
|
749
|
+
* The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.
|
750
|
+
*/
|
751
|
+
vpcConnectionName?: NameString;
|
740
752
|
}
|
741
753
|
export type DevEnvironmentSummaryAliasString = string;
|
742
754
|
export type DevEnvironmentSummaryCreatorIdString = string;
|
@@ -920,6 +932,10 @@ declare namespace CodeCatalyst {
|
|
920
932
|
* Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage.
|
921
933
|
*/
|
922
934
|
persistentStorage: PersistentStorage;
|
935
|
+
/**
|
936
|
+
* The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.
|
937
|
+
*/
|
938
|
+
vpcConnectionName?: NameString;
|
923
939
|
}
|
924
940
|
export type GetDevEnvironmentResponseAliasString = string;
|
925
941
|
export type GetDevEnvironmentResponseCreatorIdString = string;
|
@@ -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
|
}
|
@@ -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
|
*/
|
@@ -11210,6 +11210,10 @@ declare namespace EC2 {
|
|
11210
11210
|
* The ID of the tenant application with the device-identity provider.
|
11211
11211
|
*/
|
11212
11212
|
TenantId?: String;
|
11213
|
+
/**
|
11214
|
+
* The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
|
11215
|
+
*/
|
11216
|
+
PublicSigningKeyUrl?: String;
|
11213
11217
|
}
|
11214
11218
|
export interface CreateVerifiedAccessTrustProviderOidcOptions {
|
11215
11219
|
/**
|
@@ -18119,8 +18123,12 @@ declare namespace EC2 {
|
|
18119
18123
|
* The ID of the tenant application with the device-identity provider.
|
18120
18124
|
*/
|
18121
18125
|
TenantId?: String;
|
18126
|
+
/**
|
18127
|
+
* The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
|
18128
|
+
*/
|
18129
|
+
PublicSigningKeyUrl?: String;
|
18122
18130
|
}
|
18123
|
-
export type DeviceTrustProviderType = "jamf"|"crowdstrike"|string;
|
18131
|
+
export type DeviceTrustProviderType = "jamf"|"crowdstrike"|"jumpcloud"|string;
|
18124
18132
|
export type DeviceType = "ebs"|"instance-store"|string;
|
18125
18133
|
export interface DhcpConfiguration {
|
18126
18134
|
/**
|
@@ -28914,6 +28922,12 @@ declare namespace EC2 {
|
|
28914
28922
|
*/
|
28915
28923
|
VerifiedAccessInstance?: VerifiedAccessInstance;
|
28916
28924
|
}
|
28925
|
+
export interface ModifyVerifiedAccessTrustProviderDeviceOptions {
|
28926
|
+
/**
|
28927
|
+
* The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
|
28928
|
+
*/
|
28929
|
+
PublicSigningKeyUrl?: String;
|
28930
|
+
}
|
28917
28931
|
export interface ModifyVerifiedAccessTrustProviderOidcOptions {
|
28918
28932
|
/**
|
28919
28933
|
* The OIDC issuer.
|
@@ -28953,6 +28967,10 @@ declare namespace EC2 {
|
|
28953
28967
|
* The options for an OpenID Connect-compatible user-identity trust provider.
|
28954
28968
|
*/
|
28955
28969
|
OidcOptions?: ModifyVerifiedAccessTrustProviderOidcOptions;
|
28970
|
+
/**
|
28971
|
+
* The options for a device-based trust provider. This parameter is required when the provider type is device.
|
28972
|
+
*/
|
28973
|
+
DeviceOptions?: ModifyVerifiedAccessTrustProviderDeviceOptions;
|
28956
28974
|
/**
|
28957
28975
|
* A description for the Verified Access trust provider.
|
28958
28976
|
*/
|
@@ -316,11 +316,11 @@ declare class FSx extends Service {
|
|
316
316
|
*/
|
317
317
|
updateFileCache(callback?: (err: AWSError, data: FSx.Types.UpdateFileCacheResponse) => void): Request<FSx.Types.UpdateFileCacheResponse, AWSError>;
|
318
318
|
/**
|
319
|
-
* Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request. For FSx for Windows File Server file systems, you can update the following properties: AuditLogConfiguration AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity StorageType ThroughputCapacity DiskIopsConfiguration WeeklyMaintenanceStartTime For FSx for Lustre file systems, you can update the following properties: AutoImportPolicy AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DataCompressionType LogConfiguration LustreRootSquashConfiguration StorageCapacity WeeklyMaintenanceStartTime For FSx for ONTAP file systems, you can update the following properties: AddRouteTableIds AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DiskIopsConfiguration FsxAdminPassword RemoveRouteTableIds StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime For FSx for OpenZFS file systems, you can update the following properties: AddRouteTableIds AutomaticBackupRetentionDays CopyTagsToBackups CopyTagsToVolumes DailyAutomaticBackupStartTime DiskIopsConfiguration RemoveRouteTableIds StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime
|
319
|
+
* Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request. For FSx for Windows File Server file systems, you can update the following properties: AuditLogConfiguration AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity StorageType ThroughputCapacity DiskIopsConfiguration WeeklyMaintenanceStartTime For FSx for Lustre file systems, you can update the following properties: AutoImportPolicy AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DataCompressionType LogConfiguration LustreRootSquashConfiguration PerUnitStorageThroughput StorageCapacity WeeklyMaintenanceStartTime For FSx for ONTAP file systems, you can update the following properties: AddRouteTableIds AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DiskIopsConfiguration FsxAdminPassword RemoveRouteTableIds StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime For FSx for OpenZFS file systems, you can update the following properties: AddRouteTableIds AutomaticBackupRetentionDays CopyTagsToBackups CopyTagsToVolumes DailyAutomaticBackupStartTime DiskIopsConfiguration RemoveRouteTableIds StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime
|
320
320
|
*/
|
321
321
|
updateFileSystem(params: FSx.Types.UpdateFileSystemRequest, callback?: (err: AWSError, data: FSx.Types.UpdateFileSystemResponse) => void): Request<FSx.Types.UpdateFileSystemResponse, AWSError>;
|
322
322
|
/**
|
323
|
-
* Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request. For FSx for Windows File Server file systems, you can update the following properties: AuditLogConfiguration AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity StorageType ThroughputCapacity DiskIopsConfiguration WeeklyMaintenanceStartTime For FSx for Lustre file systems, you can update the following properties: AutoImportPolicy AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DataCompressionType LogConfiguration LustreRootSquashConfiguration StorageCapacity WeeklyMaintenanceStartTime For FSx for ONTAP file systems, you can update the following properties: AddRouteTableIds AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DiskIopsConfiguration FsxAdminPassword RemoveRouteTableIds StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime For FSx for OpenZFS file systems, you can update the following properties: AddRouteTableIds AutomaticBackupRetentionDays CopyTagsToBackups CopyTagsToVolumes DailyAutomaticBackupStartTime DiskIopsConfiguration RemoveRouteTableIds StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime
|
323
|
+
* Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request. For FSx for Windows File Server file systems, you can update the following properties: AuditLogConfiguration AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity StorageType ThroughputCapacity DiskIopsConfiguration WeeklyMaintenanceStartTime For FSx for Lustre file systems, you can update the following properties: AutoImportPolicy AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DataCompressionType LogConfiguration LustreRootSquashConfiguration PerUnitStorageThroughput StorageCapacity WeeklyMaintenanceStartTime For FSx for ONTAP file systems, you can update the following properties: AddRouteTableIds AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DiskIopsConfiguration FsxAdminPassword RemoveRouteTableIds StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime For FSx for OpenZFS file systems, you can update the following properties: AddRouteTableIds AutomaticBackupRetentionDays CopyTagsToBackups CopyTagsToVolumes DailyAutomaticBackupStartTime DiskIopsConfiguration RemoveRouteTableIds StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime
|
324
324
|
*/
|
325
325
|
updateFileSystem(callback?: (err: AWSError, data: FSx.Types.UpdateFileSystemResponse) => void): Request<FSx.Types.UpdateFileSystemResponse, AWSError>;
|
326
326
|
/**
|
@@ -3040,6 +3040,10 @@ declare namespace FSx {
|
|
3040
3040
|
* The Lustre root squash configuration used when updating an Amazon FSx for Lustre file system. When enabled, root squash restricts root-level access from clients that try to access your file system as a root user.
|
3041
3041
|
*/
|
3042
3042
|
RootSquashConfiguration?: LustreRootSquashConfiguration;
|
3043
|
+
/**
|
3044
|
+
* The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per second per tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values depend on the deployment type of the file system, as follows: For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB. For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 MB/s/TiB. For more information, see Managing throughput capacity.
|
3045
|
+
*/
|
3046
|
+
PerUnitStorageThroughput?: PerUnitStorageThroughput;
|
3043
3047
|
}
|
3044
3048
|
export interface UpdateFileSystemOntapConfiguration {
|
3045
3049
|
AutomaticBackupRetentionDays?: AutomaticBackupRetentionDays;
|
@@ -3078,7 +3082,7 @@ declare namespace FSx {
|
|
3078
3082
|
CopyTagsToVolumes?: Flag;
|
3079
3083
|
DailyAutomaticBackupStartTime?: DailyTime;
|
3080
3084
|
/**
|
3081
|
-
* The throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second
 (MB/s). Valid values depend on the DeploymentType you choose, as follows: For MULTI_AZ_1 and SINGLE_AZ_2, valid values are 160, 320, 640, 1280, 2560, 3840, 5120, 7680, or 10240
|
3085
|
+
* The throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second
 (MB/s). Valid values depend on the DeploymentType you choose, as follows: For MULTI_AZ_1 and SINGLE_AZ_2, valid values are 160, 320, 640, 1280, 2560, 3840, 5120, 7680, or 10240 MB/s. For SINGLE_AZ_1, valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s.
|
3082
3086
|
*/
|
3083
3087
|
ThroughputCapacity?: MegabytesPerSecond;
|
3084
3088
|
WeeklyMaintenanceStartTime?: WeeklyTime;
|