cdk-lambda-subminute 2.0.292 → 2.0.294

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 (43) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +27 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +48 -47
  6. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +11 -8
  7. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +55 -0
  8. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +7 -0
  9. package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +29 -16
  10. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +140 -82
  11. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +242 -39
  12. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +217 -52
  13. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +372 -26
  14. package/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +18 -0
  15. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +82 -76
  16. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +26 -24
  17. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +9 -0
  18. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +48 -24
  19. package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +46 -117
  20. package/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json +3 -3
  21. package/node_modules/aws-sdk/clients/cloudformation.d.ts +15 -10
  22. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +50 -22
  23. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +422 -2
  24. package/node_modules/aws-sdk/clients/comprehend.d.ts +73 -19
  25. package/node_modules/aws-sdk/clients/connect.d.ts +6 -2
  26. package/node_modules/aws-sdk/clients/connectcases.d.ts +17 -2
  27. package/node_modules/aws-sdk/clients/ec2.d.ts +65 -0
  28. package/node_modules/aws-sdk/clients/eks.d.ts +221 -9
  29. package/node_modules/aws-sdk/clients/guardduty.d.ts +168 -2
  30. package/node_modules/aws-sdk/clients/lambda.d.ts +8 -8
  31. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +8 -0
  32. package/node_modules/aws-sdk/clients/omics.d.ts +22 -4
  33. package/node_modules/aws-sdk/clients/rds.d.ts +2 -2
  34. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +12 -0
  35. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +40 -2
  36. package/node_modules/aws-sdk/clients/sqs.d.ts +13 -12
  37. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  38. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +17 -17
  39. package/node_modules/aws-sdk/dist/aws-sdk.js +703 -285
  40. package/node_modules/aws-sdk/dist/aws-sdk.min.js +91 -91
  41. package/node_modules/aws-sdk/lib/core.js +1 -1
  42. package/node_modules/aws-sdk/package.json +1 -1
  43. package/package.json +3 -4
@@ -279,19 +279,19 @@ declare class Lambda extends Service {
279
279
  */
280
280
  getRuntimeManagementConfig(callback?: (err: AWSError, data: Lambda.Types.GetRuntimeManagementConfigResponse) => void): Request<Lambda.Types.GetRuntimeManagementConfigResponse, AWSError>;
281
281
  /**
282
- * Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
282
+ * Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType is RequestResponse). To invoke a function asynchronously, set InvocationType to Event. Lambda passes the ClientContext object to your function for synchronous invocations only. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
283
283
  */
284
284
  invoke(params: Lambda.Types.InvocationRequest, callback?: (err: AWSError, data: Lambda.Types.InvocationResponse) => void): Request<Lambda.Types.InvocationResponse, AWSError>;
285
285
  /**
286
- * Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
286
+ * Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType is RequestResponse). To invoke a function asynchronously, set InvocationType to Event. Lambda passes the ClientContext object to your function for synchronous invocations only. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
287
287
  */
288
288
  invoke(callback?: (err: AWSError, data: Lambda.Types.InvocationResponse) => void): Request<Lambda.Types.InvocationResponse, AWSError>;
289
289
  /**
290
- * For asynchronous function invocation, use Invoke. Invokes a function asynchronously.
290
+ * For asynchronous function invocation, use Invoke. Invokes a function asynchronously. If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.
291
291
  */
292
292
  invokeAsync(params: Lambda.Types.InvokeAsyncRequest, callback?: (err: AWSError, data: Lambda.Types.InvokeAsyncResponse) => void): Request<Lambda.Types.InvokeAsyncResponse, AWSError>;
293
293
  /**
294
- * For asynchronous function invocation, use Invoke. Invokes a function asynchronously.
294
+ * For asynchronous function invocation, use Invoke. Invokes a function asynchronously. If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.
295
295
  */
296
296
  invokeAsync(callback?: (err: AWSError, data: Lambda.Types.InvokeAsyncResponse) => void): Request<Lambda.Types.InvokeAsyncResponse, AWSError>;
297
297
  /**
@@ -1069,7 +1069,7 @@ declare namespace Lambda {
1069
1069
  */
1070
1070
  Architectures?: ArchitecturesList;
1071
1071
  /**
1072
- * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.
1072
+ * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
1073
1073
  */
1074
1074
  EphemeralStorage?: EphemeralStorage;
1075
1075
  /**
@@ -1597,7 +1597,7 @@ declare namespace Lambda {
1597
1597
  */
1598
1598
  Architectures?: ArchitecturesList;
1599
1599
  /**
1600
- * The size of the functions /tmp directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.
1600
+ * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
1601
1601
  */
1602
1602
  EphemeralStorage?: EphemeralStorage;
1603
1603
  /**
@@ -2888,7 +2888,7 @@ declare namespace Lambda {
2888
2888
  export type ResourceArn = string;
2889
2889
  export type ResponseStreamingInvocationType = "RequestResponse"|"DryRun"|string;
2890
2890
  export type RoleArn = string;
2891
- export type Runtime = "nodejs"|"nodejs4.3"|"nodejs6.10"|"nodejs8.10"|"nodejs10.x"|"nodejs12.x"|"nodejs14.x"|"nodejs16.x"|"java8"|"java8.al2"|"java11"|"python2.7"|"python3.6"|"python3.7"|"python3.8"|"python3.9"|"dotnetcore1.0"|"dotnetcore2.0"|"dotnetcore2.1"|"dotnetcore3.1"|"dotnet6"|"nodejs4.3-edge"|"go1.x"|"ruby2.5"|"ruby2.7"|"provided"|"provided.al2"|"nodejs18.x"|"python3.10"|"java17"|"ruby3.2"|"python3.11"|string;
2891
+ export type Runtime = "nodejs"|"nodejs4.3"|"nodejs6.10"|"nodejs8.10"|"nodejs10.x"|"nodejs12.x"|"nodejs14.x"|"nodejs16.x"|"java8"|"java8.al2"|"java11"|"python2.7"|"python3.6"|"python3.7"|"python3.8"|"python3.9"|"dotnetcore1.0"|"dotnetcore2.0"|"dotnetcore2.1"|"dotnetcore3.1"|"dotnet6"|"nodejs4.3-edge"|"go1.x"|"ruby2.5"|"ruby2.7"|"provided"|"provided.al2"|"nodejs18.x"|"python3.10"|"java17"|"ruby3.2"|"python3.11"|"nodejs20.x"|"provided.al2023"|string;
2892
2892
  export type RuntimeVersionArn = string;
2893
2893
  export interface RuntimeVersionConfig {
2894
2894
  /**
@@ -3242,7 +3242,7 @@ declare namespace Lambda {
3242
3242
  */
3243
3243
  ImageConfig?: ImageConfig;
3244
3244
  /**
3245
- * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.
3245
+ * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
3246
3246
  */
3247
3247
  EphemeralStorage?: EphemeralStorage;
3248
3248
  /**
@@ -1331,6 +1331,10 @@ declare namespace LexModelsV2 {
1331
1331
  */
1332
1332
  enabled: Boolean;
1333
1333
  destination: AudioLogDestination;
1334
+ /**
1335
+ * The option to enable selective conversation log capture for audio.
1336
+ */
1337
+ selectiveLoggingEnabled?: BoxedBoolean;
1334
1338
  }
1335
1339
  export type AudioLogSettingsList = AudioLogSetting[];
1336
1340
  export type AudioRecognitionStrategy = "UseSlotValuesAsCustomVocabulary"|string;
@@ -7396,6 +7400,10 @@ declare namespace LexModelsV2 {
7396
7400
  */
7397
7401
  enabled: Boolean;
7398
7402
  destination: TextLogDestination;
7403
+ /**
7404
+ * The option to enable selective conversation log capture for text.
7405
+ */
7406
+ selectiveLoggingEnabled?: BoxedBoolean;
7399
7407
  }
7400
7408
  export type TextLogSettingsList = TextLogSetting[];
7401
7409
  export type TimeDimension = "Hours"|"Days"|"Weeks"|string;
@@ -1277,7 +1277,7 @@ declare namespace Omics {
1277
1277
  /**
1278
1278
  * The ARN of the reference.
1279
1279
  */
1280
- referenceArn: ReferenceArn;
1280
+ referenceArn?: ReferenceArn;
1281
1281
  /**
1282
1282
  * The name of the read set.
1283
1283
  */
@@ -1839,7 +1839,7 @@ declare namespace Omics {
1839
1839
  export type FileInformationContentLengthLong = number;
1840
1840
  export type FileInformationPartSizeLong = number;
1841
1841
  export type FileInformationTotalPartsInteger = number;
1842
- export type FileType = "FASTQ"|"BAM"|"CRAM"|string;
1842
+ export type FileType = "FASTQ"|"BAM"|"CRAM"|"UBAM"|string;
1843
1843
  export interface Filter {
1844
1844
  /**
1845
1845
  * The Amazon Resource Number (Arn) for an analytics store.
@@ -2606,6 +2606,14 @@ declare namespace Omics {
2606
2606
  * The location of the run log.
2607
2607
  */
2608
2608
  logLocation?: RunLogLocation;
2609
+ /**
2610
+ * The universally unique identifier for a run.
2611
+ */
2612
+ uuid?: RunUuid;
2613
+ /**
2614
+ * The destination for workflow outputs.
2615
+ */
2616
+ runOutputUri?: RunOutputUri;
2609
2617
  }
2610
2618
  export type GetRunResponsePriorityInteger = number;
2611
2619
  export type GetRunResponseStorageCapacityInteger = number;
@@ -3854,7 +3862,7 @@ declare namespace Omics {
3854
3862
  /**
3855
3863
  * A genome reference ARN to filter on.
3856
3864
  */
3857
- referenceArn?: ReferenceArn;
3865
+ referenceArn?: ReferenceArnFilter;
3858
3866
  /**
3859
3867
  * The filter's start date.
3860
3868
  */
@@ -3990,6 +3998,7 @@ declare namespace Omics {
3990
3998
  export type ReadSetUploadPartListItemPartNumberInteger = number;
3991
3999
  export type ReadSetUploadPartListItemPartSizeLong = number;
3992
4000
  export type ReferenceArn = string;
4001
+ export type ReferenceArnFilter = string;
3993
4002
  export type ReferenceDescription = string;
3994
4003
  export type ReferenceFile = "SOURCE"|"INDEX"|string;
3995
4004
  export interface ReferenceFiles {
@@ -4243,6 +4252,7 @@ declare namespace Omics {
4243
4252
  export type RunStatus = "PENDING"|"STARTING"|"RUNNING"|"STOPPING"|"COMPLETED"|"DELETED"|"CANCELLED"|"FAILED"|string;
4244
4253
  export type RunStatusMessage = string;
4245
4254
  export type RunTimestamp = Date;
4255
+ export type RunUuid = string;
4246
4256
  export type S3Destination = string;
4247
4257
  export type S3Uri = string;
4248
4258
  export type SampleId = string;
@@ -4564,7 +4574,7 @@ declare namespace Omics {
4564
4574
  /**
4565
4575
  * The source's reference ARN.
4566
4576
  */
4567
- referenceArn: ReferenceArn;
4577
+ referenceArn?: ReferenceArn;
4568
4578
  /**
4569
4579
  * The source's name.
4570
4580
  */
@@ -4714,6 +4724,14 @@ declare namespace Omics {
4714
4724
  * The run's tags.
4715
4725
  */
4716
4726
  tags?: TagMap;
4727
+ /**
4728
+ * The universally unique identifier for a run.
4729
+ */
4730
+ uuid?: RunUuid;
4731
+ /**
4732
+ * The destination for workflow outputs.
4733
+ */
4734
+ runOutputUri?: RunOutputUri;
4717
4735
  }
4718
4736
  export interface StartVariantImportRequest {
4719
4737
  /**
@@ -1912,11 +1912,11 @@ declare namespace RDS {
1912
1912
  Manifest?: CustomDBEngineVersionManifest;
1913
1913
  Tags?: TagList;
1914
1914
  /**
1915
- * Reserved for future use.
1915
+ * The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine Imagine (AMI) by using either Source or UseAwsProvidedLatestImage. You can't specify a different JSON manifest when you specify SourceCustomDbEngineVersionIdentifier.
1916
1916
  */
1917
1917
  SourceCustomDbEngineVersionIdentifier?: String255;
1918
1918
  /**
1919
- * Reserved for future use.
1919
+ * Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify UseAwsProvidedLatestImage, you can't also specify ImageId.
1920
1920
  */
1921
1921
  UseAwsProvidedLatestImage?: BooleanOptional;
1922
1922
  }
@@ -603,6 +603,10 @@ declare namespace RedshiftServerless {
603
603
  * The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
604
604
  */
605
605
  enhancedVpcRouting?: Boolean;
606
+ /**
607
+ * The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
608
+ */
609
+ maxCapacity?: Integer;
606
610
  /**
607
611
  * The name of the namespace to associate with the workgroup.
608
612
  */
@@ -1798,6 +1802,10 @@ declare namespace RedshiftServerless {
1798
1802
  * The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
1799
1803
  */
1800
1804
  enhancedVpcRouting?: Boolean;
1805
+ /**
1806
+ * The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
1807
+ */
1808
+ maxCapacity?: Integer;
1801
1809
  /**
1802
1810
  * The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
1803
1811
  */
@@ -1920,6 +1928,10 @@ declare namespace RedshiftServerless {
1920
1928
  * The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
1921
1929
  */
1922
1930
  enhancedVpcRouting?: Boolean;
1931
+ /**
1932
+ * The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
1933
+ */
1934
+ maxCapacity?: Integer;
1923
1935
  /**
1924
1936
  * The namespace the workgroup is associated with.
1925
1937
  */
@@ -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. You must have iam:passRole permission for this role while creating or updating the application.
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
- * Type of resource.
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?: Integer;
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: Integer;
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?: Integer;
450
+ MaxResults?: NullableInteger;
452
451
  }
453
452
  export interface ListMessageMoveTasksResult {
454
453
  /**
@@ -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?: Integer;
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?: Long;
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?: Integer;
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?: Integer;
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?: Integer;
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 (!"#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^_`{|}~). 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?: Integer;
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?: Integer;
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?: Integer;
825
+ MaxNumberOfMessagesPerSecond?: NullableInteger;
825
826
  }
826
827
  export interface StartMessageMoveTaskResult {
827
828
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1490.0',
86
+ VERSION: '2.1493.0',
87
87
 
88
88
  /**
89
89
  * @api private