@aws-sdk/client-lambda 3.848.0 → 3.851.0

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 (66) hide show
  1. package/README.md +1 -66
  2. package/dist-cjs/index.js +73 -73
  3. package/dist-es/models/models_0.js +43 -43
  4. package/dist-es/waiters/waitForFunctionActive.js +2 -2
  5. package/dist-es/waiters/waitForFunctionActiveV2.js +2 -2
  6. package/dist-es/waiters/waitForFunctionExists.js +2 -2
  7. package/dist-es/waiters/waitForFunctionUpdated.js +2 -2
  8. package/dist-es/waiters/waitForFunctionUpdatedV2.js +2 -2
  9. package/dist-es/waiters/waitForPublishedVersionActive.js +2 -2
  10. package/dist-types/Lambda.d.ts +1 -65
  11. package/dist-types/LambdaClient.d.ts +1 -65
  12. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +2 -17
  13. package/dist-types/commands/AddPermissionCommand.d.ts +2 -24
  14. package/dist-types/commands/CreateAliasCommand.d.ts +1 -6
  15. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -3
  16. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +1 -118
  17. package/dist-types/commands/CreateFunctionCommand.d.ts +3 -42
  18. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -2
  19. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -2
  20. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +2 -6
  21. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -5
  22. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -2
  23. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -2
  24. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -3
  25. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -2
  26. package/dist-types/commands/GetFunctionCommand.d.ts +1 -3
  27. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -2
  28. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -3
  29. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -2
  30. package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +1 -2
  31. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -3
  32. package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -3
  33. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -2
  34. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -3
  35. package/dist-types/commands/InvokeAsyncCommand.d.ts +2 -10
  36. package/dist-types/commands/InvokeCommand.d.ts +14 -55
  37. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +14 -31
  38. package/dist-types/commands/ListAliasesCommand.d.ts +1 -2
  39. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -3
  40. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -2
  41. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -2
  42. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -2
  43. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -9
  44. package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -4
  45. package/dist-types/commands/ListLayersCommand.d.ts +1 -6
  46. package/dist-types/commands/ListTagsCommand.d.ts +1 -2
  47. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -2
  48. package/dist-types/commands/PublishLayerVersionCommand.d.ts +1 -4
  49. package/dist-types/commands/PublishVersionCommand.d.ts +2 -18
  50. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -2
  51. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -9
  52. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -14
  53. package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -7
  54. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -2
  55. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +2 -14
  56. package/dist-types/commands/RemovePermissionCommand.d.ts +2 -13
  57. package/dist-types/commands/UpdateAliasCommand.d.ts +1 -11
  58. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -2
  59. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +2 -121
  60. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +4 -31
  61. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +4 -27
  62. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +1 -2
  63. package/dist-types/index.d.ts +1 -65
  64. package/dist-types/models/models_0.d.ts +1328 -3048
  65. package/dist-types/ts3.4/models/models_0.d.ts +319 -319
  66. package/package.json +1 -1
@@ -27,9 +27,7 @@ declare const GetRuntimeManagementConfigCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the runtime management configuration for a function's version. If the runtime update mode is <b>Manual</b>, this includes the ARN of the
31
- * runtime version and the runtime update mode. If the runtime update mode is <b>Auto</b> or <b>Function update</b>,
32
- * this includes the runtime update mode and <code>null</code> is returned for the ARN. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html">Runtime updates</a>.</p>
30
+ * <p>Retrieves the runtime management configuration for a function's version. If the runtime update mode is <b>Manual</b>, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is <b>Auto</b> or <b>Function update</b>, this includes the runtime update mode and <code>null</code> is returned for the ARN. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html">Runtime updates</a>.</p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -28,14 +28,7 @@ declare const InvokeAsyncCommand_base: {
28
28
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
29
  };
30
30
  /**
31
- * <important>
32
- * <p>For asynchronous function invocation, use <a>Invoke</a>.</p>
33
- * </important>
34
- * <p>Invokes a function asynchronously.</p>
35
- * <note>
36
- * <p>If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not
37
- * propagated to the function, even if X-Ray active tracing is turned on.</p>
38
- * </note>
31
+ * <important> <p>For asynchronous function invocation, use <a>Invoke</a>.</p> </important> <p>Invokes a function asynchronously.</p> <note> <p>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.</p> </note>
39
32
  *
40
33
  * @deprecated
41
34
  * @example
@@ -63,8 +56,7 @@ declare const InvokeAsyncCommand_base: {
63
56
  * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
64
57
  *
65
58
  * @throws {@link InvalidRequestContentException} (client fault)
66
- * <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId'
67
- * header is not a valid UUID string.</p>
59
+ * <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.</p>
68
60
  *
69
61
  * @throws {@link InvalidRuntimeException} (server fault)
70
62
  * <p>The runtime or runtime version specified is not supported.</p>
@@ -40,34 +40,7 @@ declare const InvokeCommand_base: {
40
40
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
41
41
  };
42
42
  /**
43
- * <p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or
44
- * asynchronously. By default, Lambda invokes your function synchronously (i.e. the<code>InvocationType</code>
45
- * is <code>RequestResponse</code>). To invoke a function asynchronously, set <code>InvocationType</code> to
46
- * <code>Event</code>. Lambda passes the <code>ClientContext</code> object to your function for
47
- * synchronous invocations only.</p>
48
- * <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>,
49
- * details about the function response, including errors, are included in the response body and headers. For either
50
- * invocation type, you can find more information in the <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html">execution log</a> and <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html">trace</a>.</p>
51
- * <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,
52
- * client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an
53
- * error, Lambda executes the function up to two more times. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html">Error handling and automatic retries in
54
- * Lambda</a>.</p>
55
- * <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a>,
56
- * Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity
57
- * to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple
58
- * times, even if no error occurs. To retain events that were not processed, configure your function with a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">dead-letter queue</a>.</p>
59
- * <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that
60
- * prevent your function from executing, such as permissions errors, <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">quota</a> errors, or issues with your function's code and
61
- * configuration. For example, Lambda returns <code>TooManyRequestsException</code> if running the
62
- * function would cause you to exceed a concurrency limit at either the account level
63
- * (<code>ConcurrentInvocationLimitExceeded</code>) or function level
64
- * (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p>
65
- * <p>For functions with a long timeout, your client might disconnect during synchronous invocation while it waits
66
- * for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long
67
- * connections with timeout or keep-alive settings.</p>
68
- * <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up
69
- * permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function
70
- * access to other accounts</a>.</p>
43
+ * <p>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. the<code>InvocationType</code> is <code>RequestResponse</code>). To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>. Lambda passes the <code>ClientContext</code> object to your function for synchronous invocations only.</p> <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>, 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 <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html">execution log</a> and <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html">trace</a>.</p> <p>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 <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html">Error handling and automatic retries in Lambda</a>.</p> <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a>, 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 <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">dead-letter queue</a>.</p> <p>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, <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">quota</a> errors, or issues with your function's code and configuration. For example, Lambda returns <code>TooManyRequestsException</code> if running the function would cause you to exceed a concurrency limit at either the account level (<code>ConcurrentInvocationLimitExceeded</code>) or function level (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p> <p>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.</p> <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function access to other accounts</a>.</p>
71
44
  * @example
72
45
  * Use a bare-bones client and the command you need to make an API call.
73
46
  * ```javascript
@@ -104,12 +77,10 @@ declare const InvokeCommand_base: {
104
77
  * <p>Need additional permissions to configure VPC settings.</p>
105
78
  *
106
79
  * @throws {@link EC2ThrottledException} (server fault)
107
- * <p>Amazon EC2 throttled Lambda during Lambda function initialization using
108
- * the execution role provided for the function.</p>
80
+ * <p>Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.</p>
109
81
  *
110
82
  * @throws {@link EC2UnexpectedException} (server fault)
111
- * <p>Lambda received an unexpected Amazon EC2 client exception while setting up for the
112
- * Lambda function.</p>
83
+ * <p>Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.</p>
113
84
  *
114
85
  * @throws {@link EFSIOException} (client fault)
115
86
  * <p>An error occurred when reading from or writing to a connected file system.</p>
@@ -118,24 +89,19 @@ declare const InvokeCommand_base: {
118
89
  * <p>The Lambda function couldn't make a network connection to the configured file system.</p>
119
90
  *
120
91
  * @throws {@link EFSMountFailureException} (client fault)
121
- * <p>The Lambda function couldn't mount the configured file system due to a permission or configuration
122
- * issue.</p>
92
+ * <p>The Lambda function couldn't mount the configured file system due to a permission or configuration issue.</p>
123
93
  *
124
94
  * @throws {@link EFSMountTimeoutException} (client fault)
125
- * <p>The Lambda function made a network connection to the configured file system, but the mount
126
- * operation timed out.</p>
95
+ * <p>The Lambda function made a network connection to the configured file system, but the mount operation timed out.</p>
127
96
  *
128
97
  * @throws {@link ENILimitReachedException} (server fault)
129
- * <p>Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more
130
- * information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda
131
- * quotas</a>.</p>
98
+ * <p>Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
132
99
  *
133
100
  * @throws {@link InvalidParameterValueException} (client fault)
134
101
  * <p>One of the parameters in the request is not valid.</p>
135
102
  *
136
103
  * @throws {@link InvalidRequestContentException} (client fault)
137
- * <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId'
138
- * header is not a valid UUID string.</p>
104
+ * <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.</p>
139
105
  *
140
106
  * @throws {@link InvalidRuntimeException} (server fault)
141
107
  * <p>The runtime or runtime version specified is not supported.</p>
@@ -150,26 +116,22 @@ declare const InvokeCommand_base: {
150
116
  * <p>Lambda could not unzip the deployment package.</p>
151
117
  *
152
118
  * @throws {@link KMSAccessDeniedException} (server fault)
153
- * <p>Lambda couldn't decrypt the environment variables because KMS access was denied.
154
- * Check the Lambda function's KMS permissions.</p>
119
+ * <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
155
120
  *
156
121
  * @throws {@link KMSDisabledException} (server fault)
157
- * <p>Lambda couldn't decrypt the environment variables because the KMS key used is
158
- * disabled. Check the Lambda function's KMS key settings.</p>
122
+ * <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
159
123
  *
160
124
  * @throws {@link KMSInvalidStateException} (server fault)
161
125
  * <p>Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.</p>
162
126
  *
163
127
  * @throws {@link KMSNotFoundException} (server fault)
164
- * <p>Lambda couldn't decrypt the environment variables because the KMS key was not
165
- * found. Check the function's KMS key settings.</p>
128
+ * <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
166
129
  *
167
130
  * @throws {@link RecursiveInvocationException} (client fault)
168
131
  * <p>Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.</p>
169
132
  *
170
133
  * @throws {@link RequestTooLargeException} (client fault)
171
- * <p>The request payload exceeded the <code>Invoke</code> request body JSON input quota. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda
172
- * quotas</a>.</p>
134
+ * <p>The request payload exceeded the <code>Invoke</code> request body JSON input quota. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
173
135
  *
174
136
  * @throws {@link ResourceConflictException} (client fault)
175
137
  * <p>The resource already exists, or another operation is in progress.</p>
@@ -178,15 +140,13 @@ declare const InvokeCommand_base: {
178
140
  * <p>The resource specified in the request does not exist.</p>
179
141
  *
180
142
  * @throws {@link ResourceNotReadyException} (server fault)
181
- * <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to
182
- * reestablish and try again.</p>
143
+ * <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.</p>
183
144
  *
184
145
  * @throws {@link ServiceException} (server fault)
185
146
  * <p>The Lambda service encountered an internal error.</p>
186
147
  *
187
148
  * @throws {@link SnapStartException} (client fault)
188
- * <p>The <code>afterRestore()</code>
189
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html">runtime hook</a> encountered an error. For more information, check the Amazon CloudWatch logs.</p>
149
+ * <p>The <code>afterRestore()</code> <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html">runtime hook</a> encountered an error. For more information, check the Amazon CloudWatch logs.</p>
190
150
  *
191
151
  * @throws {@link SnapStartNotReadyException} (client fault)
192
152
  * <p>Lambda is initializing your function. You can invoke the function when the <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">function state</a> becomes <code>Active</code>.</p>
@@ -195,8 +155,7 @@ declare const InvokeCommand_base: {
195
155
  * <p>Lambda couldn't restore the snapshot within the timeout limit.</p>
196
156
  *
197
157
  * @throws {@link SubnetIPAddressLimitReachedException} (server fault)
198
- * <p>Lambda couldn't set up VPC access for the Lambda function because one or more
199
- * configured subnets has no available IP addresses.</p>
158
+ * <p>Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.</p>
200
159
  *
201
160
  * @throws {@link TooManyRequestsException} (client fault)
202
161
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
@@ -33,10 +33,7 @@ declare const InvokeWithResponseStreamCommand_base: {
33
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
34
  };
35
35
  /**
36
- * <p>Configure your Lambda functions to stream response payloads back to clients. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html">Configuring a Lambda function to stream responses</a>.</p>
37
- * <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up
38
- * permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function
39
- * access to other accounts</a>.</p>
36
+ * <p>Configure your Lambda functions to stream response payloads back to clients. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html">Configuring a Lambda function to stream responses</a>.</p> <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function access to other accounts</a>.</p>
40
37
  * @example
41
38
  * Use a bare-bones client and the command you need to make an API call.
42
39
  * ```javascript
@@ -81,12 +78,10 @@ declare const InvokeWithResponseStreamCommand_base: {
81
78
  * <p>Need additional permissions to configure VPC settings.</p>
82
79
  *
83
80
  * @throws {@link EC2ThrottledException} (server fault)
84
- * <p>Amazon EC2 throttled Lambda during Lambda function initialization using
85
- * the execution role provided for the function.</p>
81
+ * <p>Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.</p>
86
82
  *
87
83
  * @throws {@link EC2UnexpectedException} (server fault)
88
- * <p>Lambda received an unexpected Amazon EC2 client exception while setting up for the
89
- * Lambda function.</p>
84
+ * <p>Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.</p>
90
85
  *
91
86
  * @throws {@link EFSIOException} (client fault)
92
87
  * <p>An error occurred when reading from or writing to a connected file system.</p>
@@ -95,24 +90,19 @@ declare const InvokeWithResponseStreamCommand_base: {
95
90
  * <p>The Lambda function couldn't make a network connection to the configured file system.</p>
96
91
  *
97
92
  * @throws {@link EFSMountFailureException} (client fault)
98
- * <p>The Lambda function couldn't mount the configured file system due to a permission or configuration
99
- * issue.</p>
93
+ * <p>The Lambda function couldn't mount the configured file system due to a permission or configuration issue.</p>
100
94
  *
101
95
  * @throws {@link EFSMountTimeoutException} (client fault)
102
- * <p>The Lambda function made a network connection to the configured file system, but the mount
103
- * operation timed out.</p>
96
+ * <p>The Lambda function made a network connection to the configured file system, but the mount operation timed out.</p>
104
97
  *
105
98
  * @throws {@link ENILimitReachedException} (server fault)
106
- * <p>Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more
107
- * information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda
108
- * quotas</a>.</p>
99
+ * <p>Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
109
100
  *
110
101
  * @throws {@link InvalidParameterValueException} (client fault)
111
102
  * <p>One of the parameters in the request is not valid.</p>
112
103
  *
113
104
  * @throws {@link InvalidRequestContentException} (client fault)
114
- * <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId'
115
- * header is not a valid UUID string.</p>
105
+ * <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.</p>
116
106
  *
117
107
  * @throws {@link InvalidRuntimeException} (server fault)
118
108
  * <p>The runtime or runtime version specified is not supported.</p>
@@ -127,26 +117,22 @@ declare const InvokeWithResponseStreamCommand_base: {
127
117
  * <p>Lambda could not unzip the deployment package.</p>
128
118
  *
129
119
  * @throws {@link KMSAccessDeniedException} (server fault)
130
- * <p>Lambda couldn't decrypt the environment variables because KMS access was denied.
131
- * Check the Lambda function's KMS permissions.</p>
120
+ * <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
132
121
  *
133
122
  * @throws {@link KMSDisabledException} (server fault)
134
- * <p>Lambda couldn't decrypt the environment variables because the KMS key used is
135
- * disabled. Check the Lambda function's KMS key settings.</p>
123
+ * <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
136
124
  *
137
125
  * @throws {@link KMSInvalidStateException} (server fault)
138
126
  * <p>Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.</p>
139
127
  *
140
128
  * @throws {@link KMSNotFoundException} (server fault)
141
- * <p>Lambda couldn't decrypt the environment variables because the KMS key was not
142
- * found. Check the function's KMS key settings.</p>
129
+ * <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
143
130
  *
144
131
  * @throws {@link RecursiveInvocationException} (client fault)
145
132
  * <p>Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.</p>
146
133
  *
147
134
  * @throws {@link RequestTooLargeException} (client fault)
148
- * <p>The request payload exceeded the <code>Invoke</code> request body JSON input quota. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda
149
- * quotas</a>.</p>
135
+ * <p>The request payload exceeded the <code>Invoke</code> request body JSON input quota. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
150
136
  *
151
137
  * @throws {@link ResourceConflictException} (client fault)
152
138
  * <p>The resource already exists, or another operation is in progress.</p>
@@ -155,15 +141,13 @@ declare const InvokeWithResponseStreamCommand_base: {
155
141
  * <p>The resource specified in the request does not exist.</p>
156
142
  *
157
143
  * @throws {@link ResourceNotReadyException} (server fault)
158
- * <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to
159
- * reestablish and try again.</p>
144
+ * <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.</p>
160
145
  *
161
146
  * @throws {@link ServiceException} (server fault)
162
147
  * <p>The Lambda service encountered an internal error.</p>
163
148
  *
164
149
  * @throws {@link SnapStartException} (client fault)
165
- * <p>The <code>afterRestore()</code>
166
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html">runtime hook</a> encountered an error. For more information, check the Amazon CloudWatch logs.</p>
150
+ * <p>The <code>afterRestore()</code> <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html">runtime hook</a> encountered an error. For more information, check the Amazon CloudWatch logs.</p>
167
151
  *
168
152
  * @throws {@link SnapStartNotReadyException} (client fault)
169
153
  * <p>Lambda is initializing your function. You can invoke the function when the <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">function state</a> becomes <code>Active</code>.</p>
@@ -172,8 +156,7 @@ declare const InvokeWithResponseStreamCommand_base: {
172
156
  * <p>Lambda couldn't restore the snapshot within the timeout limit.</p>
173
157
  *
174
158
  * @throws {@link SubnetIPAddressLimitReachedException} (server fault)
175
- * <p>Lambda couldn't set up VPC access for the Lambda function because one or more
176
- * configured subnets has no available IP addresses.</p>
159
+ * <p>Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.</p>
177
160
  *
178
161
  * @throws {@link TooManyRequestsException} (client fault)
179
162
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
@@ -27,8 +27,7 @@ declare const ListAliasesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">aliases</a>
31
- * for a Lambda function.</p>
30
+ * <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">aliases</a> for a Lambda function.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,9 +27,7 @@ declare const ListCodeSigningConfigsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuring-codesigning.html">code
31
- * signing configurations</a>. A request returns up to 10,000 configurations per
32
- * call. You can use the <code>MaxItems</code> parameter to return fewer configurations per call. </p>
30
+ * <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuring-codesigning.html">code signing configurations</a>. A request returns up to 10,000 configurations per call. You can use the <code>MaxItems</code> parameter to return fewer configurations per call. </p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const ListEventSourceMappingsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists event source mappings. Specify an <code>EventSourceArn</code> to show only event source mappings for a
31
- * single event source.</p>
30
+ * <p>Lists event source mappings. Specify an <code>EventSourceArn</code> to show only event source mappings for a single event source.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const ListFunctionEventInvokeConfigsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves a list of configurations for asynchronous invocation for a function.</p>
31
- * <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
30
+ * <p>Retrieves a list of configurations for asynchronous invocation for a function.</p> <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const ListFunctionsByCodeSigningConfigCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>List the functions that use the specified code signing configuration. You can use this method prior to deleting a
31
- * code signing configuration, to verify that no functions are using it.</p>
30
+ * <p>List the functions that use the specified code signing configuration. You can use this method prior to deleting a code signing configuration, to verify that no functions are using it.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,15 +27,7 @@ declare const ListFunctionsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50
31
- * functions per call.</p>
32
- * <p>Set <code>FunctionVersion</code> to <code>ALL</code> to include all published versions of each function in
33
- * addition to the unpublished version.</p>
34
- * <note>
35
- * <p>The <code>ListFunctions</code> operation returns a subset of the <a>FunctionConfiguration</a> fields.
36
- * To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason,
37
- * LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use <a>GetFunction</a>.</p>
38
- * </note>
30
+ * <p>Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.</p> <p>Set <code>FunctionVersion</code> to <code>ALL</code> to include all published versions of each function in addition to the unpublished version.</p> <note> <p>The <code>ListFunctions</code> operation returns a subset of the <a>FunctionConfiguration</a> fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use <a>GetFunction</a>.</p> </note>
39
31
  * @example
40
32
  * Use a bare-bones client and the command you need to make an API call.
41
33
  * ```javascript
@@ -27,10 +27,7 @@ declare const ListLayerVersionsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the versions of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
31
- * layer</a>. Versions that have been deleted aren't listed. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime identifier</a> to list only
32
- * versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only
33
- * layer versions that are compatible with that architecture.</p>
30
+ * <p>Lists the versions of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>. Versions that have been deleted aren't listed. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime identifier</a> to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.</p>
34
31
  * @example
35
32
  * Use a bare-bones client and the command you need to make an API call.
36
33
  * ```javascript
@@ -27,12 +27,7 @@ declare const ListLayersCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html">Lambda
31
- * layers</a> and shows information about the latest version of each. Specify a
32
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime
33
- * identifier</a> to list only layers that indicate that they're compatible with that
34
- * runtime. Specify a compatible architecture to include only layers that are compatible with
35
- * that <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
30
+ * <p>Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html">Lambda layers</a> and shows information about the latest version of each. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime identifier</a> to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
36
31
  * @example
37
32
  * Use a bare-bones client and the command you need to make an API call.
38
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const ListTagsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a function, event source mapping, or code signing configuration's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. You can
31
- * also view function tags with <a>GetFunction</a>.</p>
30
+ * <p>Returns a function, event source mapping, or code signing configuration's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. You can also view function tags with <a>GetFunction</a>.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const ListVersionsByFunctionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">versions</a>,
31
- * with the version-specific configuration of each. Lambda returns up to 50 versions per call.</p>
30
+ * <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">versions</a>, with the version-specific configuration of each. Lambda returns up to 50 versions per call.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,10 +27,7 @@ declare const PublishLayerVersionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
31
- * layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same
32
- * layer name, a new version is created.</p>
33
- * <p>Add layers to your function with <a>CreateFunction</a> or <a>UpdateFunctionConfiguration</a>.</p>
30
+ * <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same layer name, a new version is created.</p> <p>Add layers to your function with <a>CreateFunction</a> or <a>UpdateFunctionConfiguration</a>.</p>
34
31
  * @example
35
32
  * Use a bare-bones client and the command you need to make an API call.
36
33
  * ```javascript
@@ -27,13 +27,7 @@ declare const PublishVersionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates a <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">version</a> from the
31
- * current code and configuration of a function. Use versions to create a snapshot of your function code and
32
- * configuration that doesn't change.</p>
33
- * <p>Lambda doesn't publish a version if the function's configuration and code haven't changed since the last
34
- * version. Use <a>UpdateFunctionCode</a> or <a>UpdateFunctionConfiguration</a> to update the
35
- * function before publishing a version.</p>
36
- * <p>Clients can invoke versions directly or with an alias. To create an alias, use <a>CreateAlias</a>.</p>
30
+ * <p>Creates a <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">version</a> from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change.</p> <p>Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use <a>UpdateFunctionCode</a> or <a>UpdateFunctionConfiguration</a> to update the function before publishing a version.</p> <p>Clients can invoke versions directly or with an alias. To create an alias, use <a>CreateAlias</a>.</p>
37
31
  * @example
38
32
  * Use a bare-bones client and the command you need to make an API call.
39
33
  * ```javascript
@@ -167,17 +161,7 @@ declare const PublishVersionCommand_base: {
167
161
  * <p>One of the parameters in the request is not valid.</p>
168
162
  *
169
163
  * @throws {@link PreconditionFailedException} (client fault)
170
- * <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
171
- * <ul>
172
- * <li>
173
- * <p>
174
- * <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
175
- * </li>
176
- * <li>
177
- * <p>
178
- * <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
179
- * </li>
180
- * </ul>
164
+ * <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p> <ul> <li> <p> <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p> </li> <li> <p> <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p> </li> </ul>
181
165
  *
182
166
  * @throws {@link ResourceConflictException} (client fault)
183
167
  * <p>The resource already exists, or another operation is in progress.</p>
@@ -27,8 +27,7 @@ declare const PutFunctionCodeSigningConfigCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Update the code signing configuration for the function. Changes to the code signing configuration take effect the
31
- * next time a user tries to deploy a code package to the function. </p>
30
+ * <p>Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function. </p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -27,15 +27,7 @@ declare const PutFunctionConcurrencyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency
31
- * level.</p>
32
- * <p>Concurrency settings apply to the function as a whole, including all published versions and the unpublished
33
- * version. Reserving concurrency both ensures that your function has capacity to process the specified number of
34
- * events simultaneously, and prevents it from scaling beyond that level. Use <a>GetFunction</a> to see
35
- * the current setting for a function.</p>
36
- * <p>Use <a>GetAccountSettings</a> to see your Regional concurrency limit. You can reserve concurrency
37
- * for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for
38
- * functions that aren't configured with a per-function limit. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html">Lambda function scaling</a>.</p>
30
+ * <p>Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level.</p> <p>Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use <a>GetFunction</a> to see the current setting for a function.</p> <p>Use <a>GetAccountSettings</a> to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html">Lambda function scaling</a>.</p>
39
31
  * @example
40
32
  * Use a bare-bones client and the command you need to make an API call.
41
33
  * ```javascript
@@ -27,20 +27,7 @@ declare const PutFunctionEventInvokeConfigCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Configures options for <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous
31
- * invocation</a> on a function, version, or alias. If a configuration already exists for a function, version,
32
- * or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without
33
- * affecting existing settings for other options, use <a>UpdateFunctionEventInvokeConfig</a>.</p>
34
- * <p>By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains
35
- * events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous
36
- * invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with
37
- * <a>UpdateFunctionConfiguration</a>.</p>
38
- * <p>To send an invocation record to a queue, topic, S3 bucket, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. You can configure separate destinations for successful invocations (on-success) and events
39
- * that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a
40
- * dead-letter queue.</p>
41
- * <note>
42
- * <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p>
43
- * </note>
30
+ * <p>Configures options for <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a> 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 <a>UpdateFunctionEventInvokeConfig</a>.</p> <p>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 <a>UpdateFunctionConfiguration</a>.</p> <p>To send an invocation record to a queue, topic, S3 bucket, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. 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.</p> <note> <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p> </note>
44
31
  * @example
45
32
  * Use a bare-bones client and the command you need to make an API call.
46
33
  * ```javascript
@@ -27,13 +27,7 @@ declare const PutFunctionRecursionConfigCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Sets your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html">recursive loop detection</a> configuration.</p>
31
- * <p>When you configure a Lambda function to output to the same service or resource that invokes the function, it's possible to create
32
- * 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
33
- * function. This invocation causes the function to write another message to the queue, which in turn invokes the function again.</p>
34
- * <p>Lambda can detect certain types of recursive loops shortly after they occur. When Lambda detects a recursive loop and your
35
- * function's recursive loop detection configuration is set to <code>Terminate</code>, it stops your function being invoked and notifies
36
- * you.</p>
30
+ * <p>Sets your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html">recursive loop detection</a> configuration.</p> <p>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.</p> <p>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 <code>Terminate</code>, it stops your function being invoked and notifies you.</p>
37
31
  * @example
38
32
  * Use a bare-bones client and the command you need to make an API call.
39
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const PutRuntimeManagementConfigCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Sets the runtime management configuration for a function's version. For more information,
31
- * see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html">Runtime updates</a>.</p>
30
+ * <p>Sets the runtime management configuration for a function's version. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html">Runtime updates</a>.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript