cdk-lambda-subminute 2.0.474 → 2.0.476

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.
@@ -222,6 +222,14 @@ declare class Lambda extends Service {
222
222
  * Retrieves the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
223
223
  */
224
224
  getFunctionEventInvokeConfig(callback?: (err: AWSError, data: Lambda.Types.FunctionEventInvokeConfig) => void): Request<Lambda.Types.FunctionEventInvokeConfig, AWSError>;
225
+ /**
226
+ * Returns your function's recursive loop detection configuration.
227
+ */
228
+ getFunctionRecursionConfig(params: Lambda.Types.GetFunctionRecursionConfigRequest, callback?: (err: AWSError, data: Lambda.Types.GetFunctionRecursionConfigResponse) => void): Request<Lambda.Types.GetFunctionRecursionConfigResponse, AWSError>;
229
+ /**
230
+ * Returns your function's recursive loop detection configuration.
231
+ */
232
+ getFunctionRecursionConfig(callback?: (err: AWSError, data: Lambda.Types.GetFunctionRecursionConfigResponse) => void): Request<Lambda.Types.GetFunctionRecursionConfigResponse, AWSError>;
225
233
  /**
226
234
  * Returns details about a Lambda function URL.
227
235
  */
@@ -438,6 +446,14 @@ declare class Lambda extends Service {
438
446
  * Configures options for asynchronous invocation on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig. By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with UpdateFunctionConfiguration. To send an invocation record to a queue, topic, function, or event bus, specify a destination. You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue.
439
447
  */
440
448
  putFunctionEventInvokeConfig(callback?: (err: AWSError, data: Lambda.Types.FunctionEventInvokeConfig) => void): Request<Lambda.Types.FunctionEventInvokeConfig, AWSError>;
449
+ /**
450
+ * Sets your function's recursive loop detection configuration. When you configure a Lambda function to output to the same service or resource that invokes the function, it's possible to create an infinite recursive loop. For example, a Lambda function might write a message to an Amazon Simple Queue Service (Amazon SQS) queue, which then invokes the same function. This invocation causes the function to write another message to the queue, which in turn invokes the function again. Lambda can detect certain types of recursive loops shortly after they occur. When Lambda detects a recursive loop and your function's recursive loop detection configuration is set to Terminate, it stops your function being invoked and notifies you.
451
+ */
452
+ putFunctionRecursionConfig(params: Lambda.Types.PutFunctionRecursionConfigRequest, callback?: (err: AWSError, data: Lambda.Types.PutFunctionRecursionConfigResponse) => void): Request<Lambda.Types.PutFunctionRecursionConfigResponse, AWSError>;
453
+ /**
454
+ * Sets your function's recursive loop detection configuration. When you configure a Lambda function to output to the same service or resource that invokes the function, it's possible to create an infinite recursive loop. For example, a Lambda function might write a message to an Amazon Simple Queue Service (Amazon SQS) queue, which then invokes the same function. This invocation causes the function to write another message to the queue, which in turn invokes the function again. Lambda can detect certain types of recursive loops shortly after they occur. When Lambda detects a recursive loop and your function's recursive loop detection configuration is set to Terminate, it stops your function being invoked and notifies you.
455
+ */
456
+ putFunctionRecursionConfig(callback?: (err: AWSError, data: Lambda.Types.PutFunctionRecursionConfigResponse) => void): Request<Lambda.Types.PutFunctionRecursionConfigResponse, AWSError>;
441
457
  /**
442
458
  * Adds a provisioned concurrency configuration to a function's alias or version.
443
459
  */
@@ -912,7 +928,7 @@ declare namespace Lambda {
912
928
  */
913
929
  FilterCriteria?: FilterCriteria;
914
930
  /**
915
- * The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds. For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping. Related setting: For streams and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.
931
+ * The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds. For Kinesis, DynamoDB, and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping. Related setting: For Kinesis, DynamoDB, and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.
916
932
  */
917
933
  MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds;
918
934
  /**
@@ -990,7 +1006,7 @@ declare namespace Lambda {
990
1006
  */
991
1007
  FunctionName: FunctionName;
992
1008
  /**
993
- * The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
1009
+ * The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
994
1010
  */
995
1011
  Runtime?: Runtime;
996
1012
  /**
@@ -1482,7 +1498,7 @@ declare namespace Lambda {
1482
1498
  */
1483
1499
  FunctionArn?: NameSpacedFunctionArn;
1484
1500
  /**
1485
- * The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
1501
+ * The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
1486
1502
  */
1487
1503
  Runtime?: Runtime;
1488
1504
  /**
@@ -1768,6 +1784,18 @@ declare namespace Lambda {
1768
1784
  */
1769
1785
  Qualifier?: Qualifier;
1770
1786
  }
1787
+ export interface GetFunctionRecursionConfigRequest {
1788
+ /**
1789
+ *
1790
+ */
1791
+ FunctionName: UnqualifiedFunctionName;
1792
+ }
1793
+ export interface GetFunctionRecursionConfigResponse {
1794
+ /**
1795
+ * If your function's recursive loop detection configuration is Allow, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop. If your function's recursive loop detection configuration is Terminate, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop. By default, Lambda sets your function's configuration to Terminate. You can update this configuration using the PutFunctionRecursionConfig action.
1796
+ */
1797
+ RecursiveLoop?: RecursiveLoop;
1798
+ }
1771
1799
  export interface GetFunctionRequest {
1772
1800
  /**
1773
1801
  * The name or ARN of the Lambda function, version, or alias. Name formats Function name – my-function (name-only), my-function:v1 (with alias). Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
@@ -1898,7 +1926,7 @@ declare namespace Lambda {
1898
1926
  */
1899
1927
  Version?: LayerVersionNumber;
1900
1928
  /**
1901
- * The layer's compatible runtimes. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
1929
+ * The layer's compatible runtimes. The following list includes deprecated runtimes. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
1902
1930
  */
1903
1931
  CompatibleRuntimes?: CompatibleRuntimes;
1904
1932
  /**
@@ -2248,7 +2276,7 @@ declare namespace Lambda {
2248
2276
  */
2249
2277
  CreatedDate?: Timestamp;
2250
2278
  /**
2251
- * The layer's compatible runtimes. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
2279
+ * The layer's compatible runtimes. The following list includes deprecated runtimes. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
2252
2280
  */
2253
2281
  CompatibleRuntimes?: CompatibleRuntimes;
2254
2282
  /**
@@ -2455,7 +2483,7 @@ declare namespace Lambda {
2455
2483
  }
2456
2484
  export interface ListLayerVersionsRequest {
2457
2485
  /**
2458
- * A runtime identifier. For example, java21. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
2486
+ * A runtime identifier. The following list includes deprecated runtimes. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
2459
2487
  */
2460
2488
  CompatibleRuntime?: Runtime;
2461
2489
  /**
@@ -2487,7 +2515,7 @@ declare namespace Lambda {
2487
2515
  }
2488
2516
  export interface ListLayersRequest {
2489
2517
  /**
2490
- * A runtime identifier. For example, java21. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
2518
+ * A runtime identifier. The following list includes deprecated runtimes. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
2491
2519
  */
2492
2520
  CompatibleRuntime?: Runtime;
2493
2521
  /**
@@ -2720,7 +2748,7 @@ declare namespace Lambda {
2720
2748
  */
2721
2749
  Version?: LayerVersionNumber;
2722
2750
  /**
2723
- * The layer's compatible runtimes. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
2751
+ * The layer's compatible runtimes. The following list includes deprecated runtimes. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
2724
2752
  */
2725
2753
  CompatibleRuntimes?: CompatibleRuntimes;
2726
2754
  /**
@@ -2802,6 +2830,22 @@ declare namespace Lambda {
2802
2830
  */
2803
2831
  DestinationConfig?: DestinationConfig;
2804
2832
  }
2833
+ export interface PutFunctionRecursionConfigRequest {
2834
+ /**
2835
+ * The name or ARN of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
2836
+ */
2837
+ FunctionName: UnqualifiedFunctionName;
2838
+ /**
2839
+ * If you set your function's recursive loop detection configuration to Allow, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop. We recommend that you only use this setting if your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes it. If you set your function's recursive loop detection configuration to Terminate, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop. By default, Lambda sets your function's configuration to Terminate. If your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes the function, then use caution and implement suitable guard rails to prevent unexpected charges being billed to your Amazon Web Services account. To learn more about best practices for using recursive invocation patterns, see Recursive patterns that cause run-away Lambda functions in Serverless Land.
2840
+ */
2841
+ RecursiveLoop: RecursiveLoop;
2842
+ }
2843
+ export interface PutFunctionRecursionConfigResponse {
2844
+ /**
2845
+ * The status of your function's recursive loop detection configuration. When this value is set to Allowand Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action. When this value is set to Terminate and Lambda detects your function being invoked as part of a recursive loop, it stops your function being invoked and notifies you.
2846
+ */
2847
+ RecursiveLoop?: RecursiveLoop;
2848
+ }
2805
2849
  export interface PutProvisionedConcurrencyConfigRequest {
2806
2850
  /**
2807
2851
  * The name or ARN of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
@@ -2877,6 +2921,7 @@ declare namespace Lambda {
2877
2921
  export type Qualifier = string;
2878
2922
  export type Queue = string;
2879
2923
  export type Queues = Queue[];
2924
+ export type RecursiveLoop = "Allow"|"Terminate"|string;
2880
2925
  export interface RemoveLayerVersionPermissionRequest {
2881
2926
  /**
2882
2927
  * The name or Amazon Resource Name (ARN) of the layer.
@@ -3037,6 +3082,7 @@ declare namespace Lambda {
3037
3082
  export type TracingMode = "Active"|"PassThrough"|string;
3038
3083
  export type TumblingWindowInSeconds = number;
3039
3084
  export type URI = string;
3085
+ export type UnqualifiedFunctionName = string;
3040
3086
  export type UnreservedConcurrentExecutions = number;
3041
3087
  export interface UntagResourceRequest {
3042
3088
  /**
@@ -3120,7 +3166,7 @@ declare namespace Lambda {
3120
3166
  */
3121
3167
  FilterCriteria?: FilterCriteria;
3122
3168
  /**
3123
- * The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds. For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping. Related setting: For streams and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.
3169
+ * The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds. For Kinesis, DynamoDB, and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping. Related setting: For Kinesis, DynamoDB, and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.
3124
3170
  */
3125
3171
  MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds;
3126
3172
  /**
@@ -3240,7 +3286,7 @@ declare namespace Lambda {
3240
3286
  */
3241
3287
  Environment?: Environment;
3242
3288
  /**
3243
- * The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
3289
+ * The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
3244
3290
  */
3245
3291
  Runtime?: Runtime;
3246
3292
  /**
@@ -220,7 +220,12 @@ declare namespace SsmSap {
220
220
  * The status message.
221
221
  */
222
222
  StatusMessage?: String;
223
+ /**
224
+ * The Amazon Resource Names of the associated AWS Systems Manager for SAP applications.
225
+ */
226
+ AssociatedApplicationArns?: ApplicationArnList;
223
227
  }
228
+ export type ApplicationArnList = SsmSapArn[];
224
229
  export interface ApplicationCredential {
225
230
  /**
226
231
  * The name of the SAP HANA database.
@@ -377,6 +382,7 @@ declare namespace SsmSap {
377
382
  */
378
383
  Arn?: SsmSapArn;
379
384
  }
385
+ export type ComponentArnList = SsmSapArn[];
380
386
  export type ComponentId = string;
381
387
  export type ComponentIdList = ComponentId[];
382
388
  export type ComponentStatus = "ACTIVATED"|"STARTING"|"STOPPED"|"STOPPING"|"RUNNING"|"RUNNING_WITH_ERROR"|"UNDEFINED"|string;
@@ -451,6 +457,10 @@ declare namespace SsmSap {
451
457
  * The time at which the database was last updated.
452
458
  */
453
459
  LastUpdated?: Timestamp;
460
+ /**
461
+ * The Amazon Resource Names of the connected AWS Systems Manager for SAP components.
462
+ */
463
+ ConnectedComponentArns?: ComponentArnList;
454
464
  }
455
465
  export interface DatabaseConnection {
456
466
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1677.0',
86
+ VERSION: '2.1678.0',
87
87
 
88
88
  /**
89
89
  * @api private