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.
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +18 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +3 -0
- package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +29 -16
- package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +39 -13
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +217 -52
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +82 -76
- package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +25 -21
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +330 -108
- package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json +49 -0
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +9 -0
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +48 -24
- package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +46 -117
- package/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json +3 -3
- package/node_modules/aws-sdk/clients/connect.d.ts +1 -1
- package/node_modules/aws-sdk/clients/connectcases.d.ts +17 -2
- package/node_modules/aws-sdk/clients/dataexchange.d.ts +2 -1
- package/node_modules/aws-sdk/clients/dlm.d.ts +40 -2
- package/node_modules/aws-sdk/clients/guardduty.d.ts +168 -2
- package/node_modules/aws-sdk/clients/lambda.d.ts +8 -8
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +8 -0
- package/node_modules/aws-sdk/clients/omics.d.ts +17 -0
- package/node_modules/aws-sdk/clients/rds.d.ts +347 -8
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +12 -0
- package/node_modules/aws-sdk/clients/resiliencehub.d.ts +40 -2
- package/node_modules/aws-sdk/clients/sqs.d.ts +15 -13
- 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 +14 -14
- package/node_modules/aws-sdk/dist/aws-sdk.js +446 -230
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +33 -33
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -500,6 +500,10 @@ declare namespace Resiliencehub {
|
|
500
500
|
* Identifier of the alarm recommendation.
|
501
501
|
*/
|
502
502
|
recommendationId: Uuid;
|
503
|
+
/**
|
504
|
+
* Status of the recommended Amazon CloudWatch alarm.
|
505
|
+
*/
|
506
|
+
recommendationStatus?: RecommendationStatus;
|
503
507
|
/**
|
504
508
|
* Reference identifier of the alarm recommendation.
|
505
509
|
*/
|
@@ -2371,6 +2375,7 @@ declare namespace Resiliencehub {
|
|
2371
2375
|
*/
|
2372
2376
|
terraformSourceName?: String255;
|
2373
2377
|
}
|
2378
|
+
export type Long = number;
|
2374
2379
|
export type LongOptional = number;
|
2375
2380
|
export type MaxResults = number;
|
2376
2381
|
export type NextToken = string;
|
@@ -2380,7 +2385,7 @@ declare namespace Resiliencehub {
|
|
2380
2385
|
*/
|
2381
2386
|
crossAccountRoleArns?: IamRoleArnList;
|
2382
2387
|
/**
|
2383
|
-
* Existing Amazon Web Services IAM role name in the primary Amazon Web Services account that will be assumed by Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.
|
2388
|
+
* Existing Amazon Web Services IAM role name in the primary Amazon Web Services account that will be assumed by Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment. You must have iam:passRole permission for this role while creating or updating the application. Currently, invokerRoleName accepts only [A-Za-z0-9_+=,.@-] characters.
|
2384
2389
|
*/
|
2385
2390
|
invokerRoleName?: IamRoleName;
|
2386
2391
|
/**
|
@@ -2420,7 +2425,7 @@ declare namespace Resiliencehub {
|
|
2420
2425
|
*/
|
2421
2426
|
resourceName?: EntityName;
|
2422
2427
|
/**
|
2423
|
-
*
|
2428
|
+
* The type of resource.
|
2424
2429
|
*/
|
2425
2430
|
resourceType: String255;
|
2426
2431
|
/**
|
@@ -2547,6 +2552,7 @@ declare namespace Resiliencehub {
|
|
2547
2552
|
targetRegion?: AwsRegion;
|
2548
2553
|
}
|
2549
2554
|
export type RecommendationItemList = RecommendationItem[];
|
2555
|
+
export type RecommendationStatus = "Implemented"|"Inactive"|"NotImplemented"|"Excluded"|string;
|
2550
2556
|
export interface RecommendationTemplate {
|
2551
2557
|
/**
|
2552
2558
|
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
@@ -2691,6 +2697,10 @@ declare namespace Resiliencehub {
|
|
2691
2697
|
}
|
2692
2698
|
export type ResiliencyPolicyTier = "MissionCritical"|"Critical"|"Important"|"CoreServices"|"NonCritical"|"NotApplicable"|string;
|
2693
2699
|
export interface ResiliencyScore {
|
2700
|
+
/**
|
2701
|
+
* The score generated by Resilience Hub for the scoring component after running an assessment. For example, if the score is 25 points, it indicates the overall score of your application generated by Resilience Hub after running an assessment.
|
2702
|
+
*/
|
2703
|
+
componentScore?: ScoringComponentResiliencyScores;
|
2694
2704
|
/**
|
2695
2705
|
* The disruption score for a valid key.
|
2696
2706
|
*/
|
@@ -2700,6 +2710,7 @@ declare namespace Resiliencehub {
|
|
2700
2710
|
*/
|
2701
2711
|
score: Double;
|
2702
2712
|
}
|
2713
|
+
export type ResiliencyScoreType = "Compliance"|"Test"|"Alarm"|"Sop"|string;
|
2703
2714
|
export interface ResolveAppVersionResourcesRequest {
|
2704
2715
|
/**
|
2705
2716
|
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
@@ -2804,6 +2815,25 @@ declare namespace Resiliencehub {
|
|
2804
2815
|
prefix?: String500;
|
2805
2816
|
}
|
2806
2817
|
export type S3Url = string;
|
2818
|
+
export interface ScoringComponentResiliencyScore {
|
2819
|
+
/**
|
2820
|
+
* Number of recommendations that were excluded from the assessment. For example, if the Excluded count for Resilience Hub recommended Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.
|
2821
|
+
*/
|
2822
|
+
excludedCount?: Long;
|
2823
|
+
/**
|
2824
|
+
* Number of issues that must be resolved to obtain the maximum possible score for the scoring component. For SOPs, alarms, and FIS experiments, these are the number of recommendations that must be implemented. For compliance, it is the number of Application Components that has breached the resiliency policy. For example, if the Outstanding count for Resilience Hub recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch alarms must be fixed to achieve the maximum possible score.
|
2825
|
+
*/
|
2826
|
+
outstandingCount?: Long;
|
2827
|
+
/**
|
2828
|
+
* Maximum possible score that can be obtained for the scoring component. If the Possible score is 20 points, it indicates the maximum possible score you can achieve for your application when you run a new assessment after implementing all the Resilience Hub recommendations.
|
2829
|
+
*/
|
2830
|
+
possibleScore?: Double;
|
2831
|
+
/**
|
2832
|
+
* Resiliency score of your application.
|
2833
|
+
*/
|
2834
|
+
score?: Double;
|
2835
|
+
}
|
2836
|
+
export type ScoringComponentResiliencyScores = {[key: string]: ScoringComponentResiliencyScore};
|
2807
2837
|
export type Seconds = number;
|
2808
2838
|
export interface SopRecommendation {
|
2809
2839
|
/**
|
@@ -2830,6 +2860,10 @@ declare namespace Resiliencehub {
|
|
2830
2860
|
* Identifier for the SOP recommendation.
|
2831
2861
|
*/
|
2832
2862
|
recommendationId: Uuid;
|
2863
|
+
/**
|
2864
|
+
* Status of the recommended standard operating procedure.
|
2865
|
+
*/
|
2866
|
+
recommendationStatus?: RecommendationStatus;
|
2833
2867
|
/**
|
2834
2868
|
* Reference identifier for the SOP recommendation.
|
2835
2869
|
*/
|
@@ -2934,6 +2968,10 @@ declare namespace Resiliencehub {
|
|
2934
2968
|
* Identifier for the test recommendation.
|
2935
2969
|
*/
|
2936
2970
|
recommendationId?: Uuid;
|
2971
|
+
/**
|
2972
|
+
* Status of the recommended test.
|
2973
|
+
*/
|
2974
|
+
recommendationStatus?: RecommendationStatus;
|
2937
2975
|
/**
|
2938
2976
|
* Reference identifier for the test recommendation.
|
2939
2977
|
*/
|
@@ -275,7 +275,7 @@ declare namespace SQS {
|
|
275
275
|
/**
|
276
276
|
* The new value (in seconds) for the message's visibility timeout.
|
277
277
|
*/
|
278
|
-
VisibilityTimeout?:
|
278
|
+
VisibilityTimeout?: NullableInteger;
|
279
279
|
}
|
280
280
|
export type ChangeMessageVisibilityBatchRequestEntryList = ChangeMessageVisibilityBatchRequestEntry[];
|
281
281
|
export interface ChangeMessageVisibilityBatchResult {
|
@@ -307,7 +307,7 @@ declare namespace SQS {
|
|
307
307
|
/**
|
308
308
|
* The new value for the message's visibility timeout (in seconds). Values range: 0 to 43200. Maximum: 12 hours.
|
309
309
|
*/
|
310
|
-
VisibilityTimeout:
|
310
|
+
VisibilityTimeout: NullableInteger;
|
311
311
|
}
|
312
312
|
export interface CreateQueueRequest {
|
313
313
|
/**
|
@@ -415,7 +415,6 @@ declare namespace SQS {
|
|
415
415
|
*/
|
416
416
|
QueueUrl?: String;
|
417
417
|
}
|
418
|
-
export type Integer = number;
|
419
418
|
export interface ListDeadLetterSourceQueuesRequest {
|
420
419
|
/**
|
421
420
|
* The URL of a dead-letter queue. Queue URLs and names are case-sensitive.
|
@@ -448,7 +447,7 @@ declare namespace SQS {
|
|
448
447
|
/**
|
449
448
|
* The maximum number of results to include in the response. The default is 1, which provides the most recent message movement task. The upper limit is 10.
|
450
449
|
*/
|
451
|
-
MaxResults?:
|
450
|
+
MaxResults?: NullableInteger;
|
452
451
|
}
|
453
452
|
export interface ListMessageMoveTasksResult {
|
454
453
|
/**
|
@@ -464,7 +463,7 @@ declare namespace SQS {
|
|
464
463
|
/**
|
465
464
|
* The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
|
466
465
|
*/
|
467
|
-
Status?:
|
466
|
+
Status?: TaskStatus;
|
468
467
|
/**
|
469
468
|
* The ARN of the queue that contains the messages to be moved to another queue.
|
470
469
|
*/
|
@@ -476,7 +475,7 @@ declare namespace SQS {
|
|
476
475
|
/**
|
477
476
|
* The number of messages to be moved per second (the message movement rate), if it has been specified in the StartMessageMoveTask request. If a MaxNumberOfMessagesPerSecond has not been specified in the StartMessageMoveTask request, this field value will be NULL.
|
478
477
|
*/
|
479
|
-
MaxNumberOfMessagesPerSecond?:
|
478
|
+
MaxNumberOfMessagesPerSecond?: NullableInteger;
|
480
479
|
/**
|
481
480
|
* The approximate number of messages already moved to the destination queue.
|
482
481
|
*/
|
@@ -484,7 +483,7 @@ declare namespace SQS {
|
|
484
483
|
/**
|
485
484
|
* The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task.
|
486
485
|
*/
|
487
|
-
ApproximateNumberOfMessagesToMove?:
|
486
|
+
ApproximateNumberOfMessagesToMove?: NullableLong;
|
488
487
|
/**
|
489
488
|
* The task failure reason (only included if the task status is FAILED).
|
490
489
|
*/
|
@@ -614,6 +613,8 @@ declare namespace SQS {
|
|
614
613
|
*/
|
615
614
|
DataType: String;
|
616
615
|
}
|
616
|
+
export type NullableInteger = number;
|
617
|
+
export type NullableLong = number;
|
617
618
|
export interface PurgeQueueRequest {
|
618
619
|
/**
|
619
620
|
* The URL of the queue from which the PurgeQueue action deletes messages. Queue URLs and names are case-sensitive.
|
@@ -639,15 +640,15 @@ declare namespace SQS {
|
|
639
640
|
/**
|
640
641
|
* The maximum number of messages to return. Amazon SQS never returns more messages than this value (however, fewer messages might be returned). Valid values: 1 to 10. Default: 1.
|
641
642
|
*/
|
642
|
-
MaxNumberOfMessages?:
|
643
|
+
MaxNumberOfMessages?: NullableInteger;
|
643
644
|
/**
|
644
645
|
* The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request.
|
645
646
|
*/
|
646
|
-
VisibilityTimeout?:
|
647
|
+
VisibilityTimeout?: NullableInteger;
|
647
648
|
/**
|
648
649
|
* The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. If a message is available, the call returns sooner than WaitTimeSeconds. If no messages are available and the wait time expires, the call returns successfully with an empty list of messages. To avoid HTTP errors, ensure that the HTTP response timeout for ReceiveMessage requests is longer than the WaitTimeSeconds parameter. For example, with the Java SDK, you can set HTTP transport settings using the NettyNioAsyncHttpClient for asynchronous clients, or the ApacheHttpClient for synchronous clients.
|
649
650
|
*/
|
650
|
-
WaitTimeSeconds?:
|
651
|
+
WaitTimeSeconds?: NullableInteger;
|
651
652
|
/**
|
652
653
|
* This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of ReceiveMessage calls. If a networking issue occurs after a ReceiveMessage action, and instead of a response you receive a generic error, it is possible to retry the same action with an identical ReceiveRequestAttemptId to retrieve the same set of messages, even if their visibility timeout has not yet expired. You can use ReceiveRequestAttemptId only for 5 minutes after a ReceiveMessage action. When you set FifoQueue, a caller of the ReceiveMessage action can provide a ReceiveRequestAttemptId explicitly. If a caller of the ReceiveMessage action doesn't provide a ReceiveRequestAttemptId, Amazon SQS generates a ReceiveRequestAttemptId. It is possible to retry the ReceiveMessage action with the same ReceiveRequestAttemptId if none of the messages have been modified (deleted or had their visibility changes). During a visibility timeout, subsequent calls with the same ReceiveRequestAttemptId return the same messages and receipt handles. If a retry occurs within the deduplication interval, it resets the visibility timeout. For more information, see Visibility Timeout in the Amazon SQS Developer Guide. If a caller of the ReceiveMessage action still processes messages when the visibility timeout expires and messages become visible, another worker consuming from the same queue can receive the same messages and therefore process duplicates. Also, if a consumer whose message processing time is longer than the visibility timeout tries to delete the processed messages, the action fails with an error. To mitigate this effect, ensure that your application observes a safe threshold before the visibility timeout expires and extend the visibility timeout as necessary. While messages with a particular MessageGroupId are invisible, no more messages belonging to the same MessageGroupId are returned until the visibility timeout expires. You can still receive messages with another MessageGroupId as long as it is also visible. If a caller of ReceiveMessage can't track the ReceiveRequestAttemptId, no retries work until the original visibility timeout expires. As a result, delays might occur but the messages in the queue remain in a strict order. The maximum length of ReceiveRequestAttemptId is 128 characters. ReceiveRequestAttemptId can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). For best practices of using ReceiveRequestAttemptId, see Using the ReceiveRequestAttemptId Request Parameter in the Amazon SQS Developer Guide.
|
653
654
|
*/
|
@@ -691,7 +692,7 @@ declare namespace SQS {
|
|
691
692
|
/**
|
692
693
|
* The length of time, in seconds, for which a specific message is delayed. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue is applied. When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level.
|
693
694
|
*/
|
694
|
-
DelaySeconds?:
|
695
|
+
DelaySeconds?: NullableInteger;
|
695
696
|
/**
|
696
697
|
* Each message attribute consists of a Name, Type, and Value. For more information, see Amazon SQS message attributes in the Amazon SQS Developer Guide.
|
697
698
|
*/
|
@@ -759,7 +760,7 @@ declare namespace SQS {
|
|
759
760
|
/**
|
760
761
|
* The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue applies. When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level.
|
761
762
|
*/
|
762
|
-
DelaySeconds?:
|
763
|
+
DelaySeconds?: NullableInteger;
|
763
764
|
/**
|
764
765
|
* Each message attribute consists of a Name, Type, and Value. For more information, see Amazon SQS message attributes in the Amazon SQS Developer Guide.
|
765
766
|
*/
|
@@ -821,7 +822,7 @@ declare namespace SQS {
|
|
821
822
|
/**
|
822
823
|
* The number of messages to be moved per second (the message movement rate). You can use this field to define a fixed message movement rate. The maximum value for messages per second is 500. If this field is left blank, the system will optimize the rate based on the queue message backlog size, which may vary throughout the duration of the message movement task.
|
823
824
|
*/
|
824
|
-
MaxNumberOfMessagesPerSecond?:
|
825
|
+
MaxNumberOfMessagesPerSecond?: NullableInteger;
|
825
826
|
}
|
826
827
|
export interface StartMessageMoveTaskResult {
|
827
828
|
/**
|
@@ -845,6 +846,7 @@ declare namespace SQS {
|
|
845
846
|
Tags: TagMap;
|
846
847
|
}
|
847
848
|
export type TagValue = string;
|
849
|
+
export type TaskStatus = "RUNNING"|"FAILED"|"CANCELLING"|"CANCELLED"|"COMPLETED"|string;
|
848
850
|
export type Token = string;
|
849
851
|
export interface UntagQueueRequest {
|
850
852
|
/**
|