cdk-lambda-subminute 2.0.291 → 2.0.293

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 (36) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +18 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +3 -0
  6. package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +29 -16
  7. package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +39 -13
  8. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +217 -52
  9. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +82 -76
  10. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +25 -21
  11. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +330 -108
  12. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +12 -0
  13. package/node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json +49 -0
  14. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +9 -0
  15. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +48 -24
  16. package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +46 -117
  17. package/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json +3 -3
  18. package/node_modules/aws-sdk/clients/connect.d.ts +1 -1
  19. package/node_modules/aws-sdk/clients/connectcases.d.ts +17 -2
  20. package/node_modules/aws-sdk/clients/dataexchange.d.ts +2 -1
  21. package/node_modules/aws-sdk/clients/dlm.d.ts +40 -2
  22. package/node_modules/aws-sdk/clients/guardduty.d.ts +168 -2
  23. package/node_modules/aws-sdk/clients/lambda.d.ts +8 -8
  24. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +8 -0
  25. package/node_modules/aws-sdk/clients/omics.d.ts +17 -0
  26. package/node_modules/aws-sdk/clients/rds.d.ts +347 -8
  27. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +12 -0
  28. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +40 -2
  29. package/node_modules/aws-sdk/clients/sqs.d.ts +15 -13
  30. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  31. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +14 -14
  32. package/node_modules/aws-sdk/dist/aws-sdk.js +446 -230
  33. package/node_modules/aws-sdk/dist/aws-sdk.min.js +33 -33
  34. package/node_modules/aws-sdk/lib/core.js +1 -1
  35. package/node_modules/aws-sdk/package.json +1 -1
  36. package/package.json +3 -3
@@ -2,14 +2,16 @@
2
2
  "version": "2.0",
3
3
  "metadata": {
4
4
  "apiVersion": "2012-11-05",
5
+ "awsQueryCompatible": {},
5
6
  "endpointPrefix": "sqs",
6
- "protocol": "query",
7
+ "jsonVersion": "1.0",
8
+ "protocol": "json",
7
9
  "serviceAbbreviation": "Amazon SQS",
8
10
  "serviceFullName": "Amazon Simple Queue Service",
9
11
  "serviceId": "SQS",
10
12
  "signatureVersion": "v4",
11
- "uid": "sqs-2012-11-05",
12
- "xmlNamespace": "http://queue.amazonaws.com/doc/2012-11-05/"
13
+ "targetPrefix": "AmazonSQS",
14
+ "uid": "sqs-2012-11-05"
13
15
  },
14
16
  "operations": {
15
17
  "AddPermission": {
@@ -26,16 +28,12 @@
26
28
  "Label": {},
27
29
  "AWSAccountIds": {
28
30
  "type": "list",
29
- "member": {
30
- "locationName": "AWSAccountId"
31
- },
31
+ "member": {},
32
32
  "flattened": true
33
33
  },
34
34
  "Actions": {
35
35
  "type": "list",
36
- "member": {
37
- "locationName": "ActionName"
38
- },
36
+ "member": {},
39
37
  "flattened": true
40
38
  }
41
39
  }
@@ -52,7 +50,6 @@
52
50
  }
53
51
  },
54
52
  "output": {
55
- "resultWrapper": "CancelMessageMoveTaskResult",
56
53
  "type": "structure",
57
54
  "members": {
58
55
  "ApproximateNumberOfMessagesMoved": {
@@ -90,7 +87,6 @@
90
87
  "Entries": {
91
88
  "type": "list",
92
89
  "member": {
93
- "locationName": "ChangeMessageVisibilityBatchRequestEntry",
94
90
  "type": "structure",
95
91
  "required": [
96
92
  "Id",
@@ -109,7 +105,6 @@
109
105
  }
110
106
  },
111
107
  "output": {
112
- "resultWrapper": "ChangeMessageVisibilityBatchResult",
113
108
  "type": "structure",
114
109
  "required": [
115
110
  "Successful",
@@ -119,7 +114,6 @@
119
114
  "Successful": {
120
115
  "type": "list",
121
116
  "member": {
122
- "locationName": "ChangeMessageVisibilityBatchResultEntry",
123
117
  "type": "structure",
124
118
  "required": [
125
119
  "Id"
@@ -145,17 +139,14 @@
145
139
  "members": {
146
140
  "QueueName": {},
147
141
  "Attributes": {
148
- "shape": "Sk",
149
- "locationName": "Attribute"
142
+ "shape": "Sk"
150
143
  },
151
144
  "tags": {
152
- "shape": "Sm",
153
- "locationName": "Tag"
145
+ "shape": "Sm"
154
146
  }
155
147
  }
156
148
  },
157
149
  "output": {
158
- "resultWrapper": "CreateQueueResult",
159
150
  "type": "structure",
160
151
  "members": {
161
152
  "QueueUrl": {}
@@ -187,7 +178,6 @@
187
178
  "Entries": {
188
179
  "type": "list",
189
180
  "member": {
190
- "locationName": "DeleteMessageBatchRequestEntry",
191
181
  "type": "structure",
192
182
  "required": [
193
183
  "Id",
@@ -203,7 +193,6 @@
203
193
  }
204
194
  },
205
195
  "output": {
206
- "resultWrapper": "DeleteMessageBatchResult",
207
196
  "type": "structure",
208
197
  "required": [
209
198
  "Successful",
@@ -213,7 +202,6 @@
213
202
  "Successful": {
214
203
  "type": "list",
215
204
  "member": {
216
- "locationName": "DeleteMessageBatchResultEntry",
217
205
  "type": "structure",
218
206
  "required": [
219
207
  "Id"
@@ -255,12 +243,10 @@
255
243
  }
256
244
  },
257
245
  "output": {
258
- "resultWrapper": "GetQueueAttributesResult",
259
246
  "type": "structure",
260
247
  "members": {
261
248
  "Attributes": {
262
- "shape": "Sk",
263
- "locationName": "Attribute"
249
+ "shape": "Sk"
264
250
  }
265
251
  }
266
252
  }
@@ -277,7 +263,6 @@
277
263
  }
278
264
  },
279
265
  "output": {
280
- "resultWrapper": "GetQueueUrlResult",
281
266
  "type": "structure",
282
267
  "members": {
283
268
  "QueueUrl": {}
@@ -299,7 +284,6 @@
299
284
  }
300
285
  },
301
286
  "output": {
302
- "resultWrapper": "ListDeadLetterSourceQueuesResult",
303
287
  "type": "structure",
304
288
  "required": [
305
289
  "queueUrls"
@@ -326,13 +310,12 @@
326
310
  }
327
311
  },
328
312
  "output": {
329
- "resultWrapper": "ListMessageMoveTasksResult",
330
313
  "type": "structure",
331
314
  "members": {
332
315
  "Results": {
316
+ "flattened": true,
333
317
  "type": "list",
334
318
  "member": {
335
- "locationName": "ListMessageMoveTasksResultEntry",
336
319
  "type": "structure",
337
320
  "members": {
338
321
  "TaskHandle": {},
@@ -353,8 +336,7 @@
353
336
  "type": "long"
354
337
  }
355
338
  }
356
- },
357
- "flattened": true
339
+ }
358
340
  }
359
341
  }
360
342
  }
@@ -370,12 +352,10 @@
370
352
  }
371
353
  },
372
354
  "output": {
373
- "resultWrapper": "ListQueueTagsResult",
374
355
  "type": "structure",
375
356
  "members": {
376
357
  "Tags": {
377
- "shape": "Sm",
378
- "locationName": "Tag"
358
+ "shape": "Sm"
379
359
  }
380
360
  }
381
361
  }
@@ -392,7 +372,6 @@
392
372
  }
393
373
  },
394
374
  "output": {
395
- "resultWrapper": "ListQueuesResult",
396
375
  "type": "structure",
397
376
  "members": {
398
377
  "QueueUrls": {
@@ -426,9 +405,7 @@
426
405
  },
427
406
  "MessageAttributeNames": {
428
407
  "type": "list",
429
- "member": {
430
- "locationName": "MessageAttributeName"
431
- },
408
+ "member": {},
432
409
  "flattened": true
433
410
  },
434
411
  "MaxNumberOfMessages": {
@@ -444,13 +421,11 @@
444
421
  }
445
422
  },
446
423
  "output": {
447
- "resultWrapper": "ReceiveMessageResult",
448
424
  "type": "structure",
449
425
  "members": {
450
426
  "Messages": {
451
427
  "type": "list",
452
428
  "member": {
453
- "locationName": "Message",
454
429
  "type": "structure",
455
430
  "members": {
456
431
  "MessageId": {},
@@ -458,20 +433,14 @@
458
433
  "MD5OfBody": {},
459
434
  "Body": {},
460
435
  "Attributes": {
461
- "locationName": "Attribute",
462
436
  "type": "map",
463
- "key": {
464
- "locationName": "Name"
465
- },
466
- "value": {
467
- "locationName": "Value"
468
- },
437
+ "key": {},
438
+ "value": {},
469
439
  "flattened": true
470
440
  },
471
441
  "MD5OfMessageAttributes": {},
472
442
  "MessageAttributes": {
473
- "shape": "S1p",
474
- "locationName": "MessageAttribute"
443
+ "shape": "S1r"
475
444
  }
476
445
  }
477
446
  },
@@ -507,19 +476,16 @@
507
476
  "type": "integer"
508
477
  },
509
478
  "MessageAttributes": {
510
- "shape": "S1p",
511
- "locationName": "MessageAttribute"
479
+ "shape": "S1r"
512
480
  },
513
481
  "MessageSystemAttributes": {
514
- "shape": "S1w",
515
- "locationName": "MessageSystemAttribute"
482
+ "shape": "S1y"
516
483
  },
517
484
  "MessageDeduplicationId": {},
518
485
  "MessageGroupId": {}
519
486
  }
520
487
  },
521
488
  "output": {
522
- "resultWrapper": "SendMessageResult",
523
489
  "type": "structure",
524
490
  "members": {
525
491
  "MD5OfMessageBody": {},
@@ -542,7 +508,6 @@
542
508
  "Entries": {
543
509
  "type": "list",
544
510
  "member": {
545
- "locationName": "SendMessageBatchRequestEntry",
546
511
  "type": "structure",
547
512
  "required": [
548
513
  "Id",
@@ -555,12 +520,10 @@
555
520
  "type": "integer"
556
521
  },
557
522
  "MessageAttributes": {
558
- "shape": "S1p",
559
- "locationName": "MessageAttribute"
523
+ "shape": "S1r"
560
524
  },
561
525
  "MessageSystemAttributes": {
562
- "shape": "S1w",
563
- "locationName": "MessageSystemAttribute"
526
+ "shape": "S1y"
564
527
  },
565
528
  "MessageDeduplicationId": {},
566
529
  "MessageGroupId": {}
@@ -571,7 +534,6 @@
571
534
  }
572
535
  },
573
536
  "output": {
574
- "resultWrapper": "SendMessageBatchResult",
575
537
  "type": "structure",
576
538
  "required": [
577
539
  "Successful",
@@ -581,7 +543,6 @@
581
543
  "Successful": {
582
544
  "type": "list",
583
545
  "member": {
584
- "locationName": "SendMessageBatchResultEntry",
585
546
  "type": "structure",
586
547
  "required": [
587
548
  "Id",
@@ -615,8 +576,7 @@
615
576
  "members": {
616
577
  "QueueUrl": {},
617
578
  "Attributes": {
618
- "shape": "Sk",
619
- "locationName": "Attribute"
579
+ "shape": "Sk"
620
580
  }
621
581
  }
622
582
  }
@@ -636,7 +596,6 @@
636
596
  }
637
597
  },
638
598
  "output": {
639
- "resultWrapper": "StartMessageMoveTaskResult",
640
599
  "type": "structure",
641
600
  "members": {
642
601
  "TaskHandle": {}
@@ -669,9 +628,7 @@
669
628
  "QueueUrl": {},
670
629
  "TagKeys": {
671
630
  "type": "list",
672
- "member": {
673
- "locationName": "TagKey"
674
- },
631
+ "member": {},
675
632
  "flattened": true
676
633
  }
677
634
  }
@@ -682,7 +639,6 @@
682
639
  "Sg": {
683
640
  "type": "list",
684
641
  "member": {
685
- "locationName": "BatchResultErrorEntry",
686
642
  "type": "structure",
687
643
  "required": [
688
644
  "Id",
@@ -702,47 +658,30 @@
702
658
  },
703
659
  "Sk": {
704
660
  "type": "map",
705
- "key": {
706
- "locationName": "Name"
707
- },
708
- "value": {
709
- "locationName": "Value"
710
- },
711
- "flattened": true,
712
- "locationName": "Attribute"
661
+ "key": {},
662
+ "value": {},
663
+ "flattened": true
713
664
  },
714
665
  "Sm": {
715
666
  "type": "map",
716
- "key": {
717
- "locationName": "Key"
718
- },
719
- "value": {
720
- "locationName": "Value"
721
- },
722
- "flattened": true,
723
- "locationName": "Tag"
667
+ "key": {},
668
+ "value": {},
669
+ "flattened": true
724
670
  },
725
671
  "Sz": {
726
672
  "type": "list",
727
- "member": {
728
- "locationName": "AttributeName"
729
- },
673
+ "member": {},
730
674
  "flattened": true
731
675
  },
732
676
  "S17": {
733
677
  "type": "list",
734
- "member": {
735
- "locationName": "QueueUrl"
736
- },
678
+ "member": {},
737
679
  "flattened": true
738
680
  },
739
- "S1p": {
681
+ "S1r": {
740
682
  "type": "map",
741
- "key": {
742
- "locationName": "Name"
743
- },
683
+ "key": {},
744
684
  "value": {
745
- "locationName": "Value",
746
685
  "type": "structure",
747
686
  "required": [
748
687
  "DataType"
@@ -753,40 +692,32 @@
753
692
  "type": "blob"
754
693
  },
755
694
  "StringListValues": {
756
- "shape": "S1s",
757
- "flattened": true,
758
- "locationName": "StringListValue"
695
+ "shape": "S1u",
696
+ "flattened": true
759
697
  },
760
698
  "BinaryListValues": {
761
- "shape": "S1t",
762
- "flattened": true,
763
- "locationName": "BinaryListValue"
699
+ "shape": "S1v",
700
+ "flattened": true
764
701
  },
765
702
  "DataType": {}
766
703
  }
767
704
  },
768
705
  "flattened": true
769
706
  },
770
- "S1s": {
707
+ "S1u": {
771
708
  "type": "list",
772
- "member": {
773
- "locationName": "StringListValue"
774
- }
709
+ "member": {}
775
710
  },
776
- "S1t": {
711
+ "S1v": {
777
712
  "type": "list",
778
713
  "member": {
779
- "locationName": "BinaryListValue",
780
714
  "type": "blob"
781
715
  }
782
716
  },
783
- "S1w": {
717
+ "S1y": {
784
718
  "type": "map",
785
- "key": {
786
- "locationName": "Name"
787
- },
719
+ "key": {},
788
720
  "value": {
789
- "locationName": "Value",
790
721
  "type": "structure",
791
722
  "required": [
792
723
  "DataType"
@@ -797,14 +728,12 @@
797
728
  "type": "blob"
798
729
  },
799
730
  "StringListValues": {
800
- "shape": "S1s",
801
- "flattened": true,
802
- "locationName": "StringListValue"
731
+ "shape": "S1u",
732
+ "flattened": true
803
733
  },
804
734
  "BinaryListValues": {
805
- "shape": "S1t",
806
- "flattened": true,
807
- "locationName": "BinaryListValue"
735
+ "shape": "S1v",
736
+ "flattened": true
808
737
  },
809
738
  "DataType": {}
810
739
  }
@@ -2,15 +2,15 @@
2
2
  "pagination": {
3
3
  "ListDeadLetterSourceQueues": {
4
4
  "input_token": "NextToken",
5
- "limit_key": "MaxResults",
6
5
  "output_token": "NextToken",
6
+ "limit_key": "MaxResults",
7
7
  "result_key": "queueUrls"
8
8
  },
9
9
  "ListQueues": {
10
10
  "input_token": "NextToken",
11
- "limit_key": "MaxResults",
12
11
  "output_token": "NextToken",
12
+ "limit_key": "MaxResults",
13
13
  "result_key": "QueueUrls"
14
14
  }
15
15
  }
16
- }
16
+ }
@@ -8280,7 +8280,7 @@ declare namespace Connect {
8280
8280
  /**
8281
8281
  * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. InstanceID is a required field. The "Required: No" below is incorrect.
8282
8282
  */
8283
- InstanceId?: InstanceId;
8283
+ InstanceId: InstanceId;
8284
8284
  /**
8285
8285
  * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
8286
8286
  */
@@ -60,11 +60,11 @@ declare class ConnectCases extends Service {
60
60
  */
61
61
  createLayout(callback?: (err: AWSError, data: ConnectCases.Types.CreateLayoutResponse) => void): Request<ConnectCases.Types.CreateLayoutResponse, AWSError>;
62
62
  /**
63
- * Creates a related item (comments, tasks, and contacts) and associates it with a case. A Related Item is a resource that is associated with a case. It may or may not have an external identifier linking it to an external resource (for example, a contactArn). All Related Items have their own internal identifier, the relatedItemArn. Examples of related items include comments and contacts.
63
+ * Creates a related item (comments, tasks, and contacts) and associates it with a case. A Related Item is a resource that is associated with a case. It may or may not have an external identifier linking it to an external resource (for example, a contactArn). All Related Items have their own internal identifier, the relatedItemArn. Examples of related items include comments and contacts. If you provide a value for performedBy.userArn you must also have DescribeUser permission on the ARN of the user that you provide. &lt;/note&gt;
64
64
  */
65
65
  createRelatedItem(params: ConnectCases.Types.CreateRelatedItemRequest, callback?: (err: AWSError, data: ConnectCases.Types.CreateRelatedItemResponse) => void): Request<ConnectCases.Types.CreateRelatedItemResponse, AWSError>;
66
66
  /**
67
- * Creates a related item (comments, tasks, and contacts) and associates it with a case. A Related Item is a resource that is associated with a case. It may or may not have an external identifier linking it to an external resource (for example, a contactArn). All Related Items have their own internal identifier, the relatedItemArn. Examples of related items include comments and contacts.
67
+ * Creates a related item (comments, tasks, and contacts) and associates it with a case. A Related Item is a resource that is associated with a case. It may or may not have an external identifier linking it to an external resource (for example, a contactArn). All Related Items have their own internal identifier, the relatedItemArn. Examples of related items include comments and contacts. If you provide a value for performedBy.userArn you must also have DescribeUser permission on the ARN of the user that you provide. &lt;/note&gt;
68
68
  */
69
69
  createRelatedItem(callback?: (err: AWSError, data: ConnectCases.Types.CreateRelatedItemResponse) => void): Request<ConnectCases.Types.CreateRelatedItemResponse, AWSError>;
70
70
  /**
@@ -510,6 +510,10 @@ declare namespace ConnectCases {
510
510
  * The unique identifier of the Cases domain.
511
511
  */
512
512
  domainId: DomainId;
513
+ /**
514
+ * Represents the creator of the related item.
515
+ */
516
+ performedBy?: UserUnion;
513
517
  /**
514
518
  * The type of a related item.
515
519
  */
@@ -1326,6 +1330,10 @@ declare namespace ConnectCases {
1326
1330
  * Represents the content of a particular type of related item.
1327
1331
  */
1328
1332
  content: RelatedItemContent;
1333
+ /**
1334
+ * Represents the creator of the related item.
1335
+ */
1336
+ performedBy?: UserUnion;
1329
1337
  /**
1330
1338
  * Unique identifier of a related item.
1331
1339
  */
@@ -1494,6 +1502,13 @@ declare namespace ConnectCases {
1494
1502
  }
1495
1503
  export interface UpdateTemplateResponse {
1496
1504
  }
1505
+ export type UserArn = string;
1506
+ export interface UserUnion {
1507
+ /**
1508
+ * Represents the Amazon Connect ARN of the user.
1509
+ */
1510
+ userArn?: UserArn;
1511
+ }
1497
1512
  export type Value = string;
1498
1513
  export type ValuesList = Value[];
1499
1514
  /**
@@ -2129,7 +2129,7 @@ declare namespace DataExchange {
2129
2129
  /**
2130
2130
  * Free-form text field for providers to add information about their notifications.
2131
2131
  */
2132
- Comment?: __stringMin0Max16384;
2132
+ Comment?: __stringMin0Max4096;
2133
2133
  /**
2134
2134
  * Affected data set of the notification.
2135
2135
  */
@@ -2416,6 +2416,7 @@ declare namespace DataExchange {
2416
2416
  export type __doubleMin0 = number;
2417
2417
  export type __string = string;
2418
2418
  export type __stringMin0Max16384 = string;
2419
+ export type __stringMin0Max4096 = string;
2419
2420
  export type __stringMin10Max512 = string;
2420
2421
  export type __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093 = string;
2421
2422
  /**
@@ -157,6 +157,10 @@ declare namespace DLM {
157
157
  * The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see Cron expressions in the Amazon CloudWatch User Guide.
158
158
  */
159
159
  CronExpression?: CronExpression;
160
+ /**
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.
162
+ */
163
+ Scripts?: ScriptsList;
160
164
  }
161
165
  export type CronExpression = string;
162
166
  export interface CrossRegionCopyAction {
@@ -193,11 +197,11 @@ declare namespace DLM {
193
197
  }
194
198
  export interface CrossRegionCopyRule {
195
199
  /**
196
- * Avoid using this parameter when creating new policies. Instead, use Target to specify a target Region or a target Outpost for snapshot copies. For policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.
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.
197
201
  */
198
202
  TargetRegion?: TargetRegion;
199
203
  /**
200
- * The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies. Use this parameter instead of TargetRegion. Do not specify both.
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.
201
205
  */
202
206
  Target?: Target;
203
207
  /**
@@ -284,6 +288,9 @@ declare namespace DLM {
284
288
  export type EventTypeValues = "shareSnapshot"|string;
285
289
  export type ExcludeBootVolume = boolean;
286
290
  export type ExcludeDataVolumeTagList = Tag[];
291
+ export type ExecuteOperationOnScriptFailure = boolean;
292
+ export type ExecutionHandler = string;
293
+ export type ExecutionHandlerServiceValues = "AWS_SYSTEMS_MANAGER"|string;
287
294
  export type ExecutionRoleArn = string;
288
295
  export interface FastRestoreRule {
289
296
  /**
@@ -559,6 +566,35 @@ declare namespace DLM {
559
566
  }
560
567
  export type ScheduleList = Schedule[];
561
568
  export type ScheduleName = string;
569
+ export interface Script {
570
+ /**
571
+ * Indicate which scripts Amazon Data Lifecycle Manager should run on target instances. Pre scripts run before Amazon Data Lifecycle Manager initiates snapshot creation. Post scripts run after Amazon Data Lifecycle Manager initiates snapshot creation. To run a pre script only, specify PRE. In this case, Amazon Data Lifecycle Manager calls the SSM document with the pre-script parameter before initiating snapshot creation. To run a post script only, specify POST. In this case, Amazon Data Lifecycle Manager calls the SSM document with the post-script parameter after initiating snapshot creation. To run both pre and post scripts, specify both PRE and POST. In this case, Amazon Data Lifecycle Manager calls the SSM document with the pre-script parameter before initiating snapshot creation, and then it calls the SSM document again with the post-script parameter after initiating snapshot creation. If you are automating VSS Backups, omit this parameter. Default: PRE and POST
572
+ */
573
+ Stages?: StagesList;
574
+ /**
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
576
+ */
577
+ ExecutionHandlerService?: ExecutionHandlerServiceValues;
578
+ /**
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.
580
+ */
581
+ ExecutionHandler: ExecutionHandler;
582
+ /**
583
+ * Indicates whether Amazon Data Lifecycle Manager should default to crash-consistent snapshots if the pre script fails. To default to crash consistent snapshot if the pre script fails, specify true. To skip the instance for snapshot creation if the pre script fails, specify false. This parameter is supported only if you run a pre script. If you run a post script only, omit this parameter. Default: true
584
+ */
585
+ ExecuteOperationOnScriptFailure?: ExecuteOperationOnScriptFailure;
586
+ /**
587
+ * Specifies a timeout period, in seconds, after which Amazon Data Lifecycle Manager fails the script run attempt if it has not completed. If a script does not complete within its timeout period, Amazon Data Lifecycle Manager fails the attempt. The timeout period applies to the pre and post scripts individually. If you are automating VSS Backups, omit this parameter. Default: 10
588
+ */
589
+ ExecutionTimeout?: ScriptExecutionTimeout;
590
+ /**
591
+ * Specifies the number of times Amazon Data Lifecycle Manager should retry scripts that fail. If the pre script fails, Amazon Data Lifecycle Manager retries the entire snapshot creation process, including running the pre and post scripts. If the post script fails, Amazon Data Lifecycle Manager retries the post script only; in this case, the pre script will have completed and the snapshot might have been created. If you do not want Amazon Data Lifecycle Manager to retry failed scripts, specify 0. Default: 0
592
+ */
593
+ MaximumRetryCount?: ScriptMaximumRetryCount;
594
+ }
595
+ export type ScriptExecutionTimeout = number;
596
+ export type ScriptMaximumRetryCount = number;
597
+ export type ScriptsList = Script[];
562
598
  export type SettablePolicyStateValues = "ENABLED"|"DISABLED"|string;
563
599
  export interface ShareRule {
564
600
  /**
@@ -577,6 +613,8 @@ declare namespace DLM {
577
613
  export type ShareRules = ShareRule[];
578
614
  export type ShareTargetAccountList = AwsAccountId[];
579
615
  export type SnapshotOwnerList = AwsAccountId[];
616
+ export type StageValues = "PRE"|"POST"|string;
617
+ export type StagesList = StageValues[];
580
618
  export type StandardTierRetainRuleCount = number;
581
619
  export type StandardTierRetainRuleInterval = number;
582
620
  export type StatusMessage = string;