@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.
- package/README.md +1 -66
- package/dist-cjs/index.js +73 -73
- package/dist-es/models/models_0.js +43 -43
- package/dist-es/waiters/waitForFunctionActive.js +2 -2
- package/dist-es/waiters/waitForFunctionActiveV2.js +2 -2
- package/dist-es/waiters/waitForFunctionExists.js +2 -2
- package/dist-es/waiters/waitForFunctionUpdated.js +2 -2
- package/dist-es/waiters/waitForFunctionUpdatedV2.js +2 -2
- package/dist-es/waiters/waitForPublishedVersionActive.js +2 -2
- package/dist-types/Lambda.d.ts +1 -65
- package/dist-types/LambdaClient.d.ts +1 -65
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +2 -17
- package/dist-types/commands/AddPermissionCommand.d.ts +2 -24
- package/dist-types/commands/CreateAliasCommand.d.ts +1 -6
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -3
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +1 -118
- package/dist-types/commands/CreateFunctionCommand.d.ts +3 -42
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -2
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -2
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +2 -6
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -5
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -2
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -2
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -3
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -2
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -3
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -2
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -3
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -2
- package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +1 -2
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -3
- package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -3
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -2
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -3
- package/dist-types/commands/InvokeAsyncCommand.d.ts +2 -10
- package/dist-types/commands/InvokeCommand.d.ts +14 -55
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +14 -31
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -2
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -3
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -2
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -2
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -9
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -4
- package/dist-types/commands/ListLayersCommand.d.ts +1 -6
- package/dist-types/commands/ListTagsCommand.d.ts +1 -2
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -2
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +1 -4
- package/dist-types/commands/PublishVersionCommand.d.ts +2 -18
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -2
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -9
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -14
- package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -7
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -2
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +2 -14
- package/dist-types/commands/RemovePermissionCommand.d.ts +2 -13
- package/dist-types/commands/UpdateAliasCommand.d.ts +1 -11
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -2
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +2 -121
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +4 -31
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +4 -27
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +1 -2
- package/dist-types/index.d.ts +1 -65
- package/dist-types/models/models_0.d.ts +1328 -3048
- package/dist-types/ts3.4/models/models_0.d.ts +319 -319
- package/package.json +1 -1
|
@@ -242,71 +242,7 @@ export type LambdaClientResolvedConfigType = __SmithyResolvedConfiguration<__Htt
|
|
|
242
242
|
export interface LambdaClientResolvedConfig extends LambdaClientResolvedConfigType {
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
245
|
-
* <fullname>Lambda</fullname>
|
|
246
|
-
* <p>
|
|
247
|
-
* <b>Overview</b>
|
|
248
|
-
* </p>
|
|
249
|
-
* <p>Lambda is a compute service that lets you run code without provisioning or managing servers.
|
|
250
|
-
* Lambda runs your code on a high-availability compute infrastructure and performs all of the
|
|
251
|
-
* administration of the compute resources, including server and operating system maintenance, capacity provisioning
|
|
252
|
-
* and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any
|
|
253
|
-
* type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p>
|
|
254
|
-
* <p>The <i>Lambda API Reference</i> provides information about
|
|
255
|
-
* each of the API methods, including details about the parameters in each API request and
|
|
256
|
-
* response. </p>
|
|
257
|
-
* <p></p>
|
|
258
|
-
* <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command
|
|
259
|
-
* line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
|
|
260
|
-
* Amazon Web Services</a>. </p>
|
|
261
|
-
* <p>For a list of Region-specific endpoints that Lambda supports,
|
|
262
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda
|
|
263
|
-
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
|
|
264
|
-
* <p>When making the API calls, you will need to
|
|
265
|
-
* authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
|
|
266
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the
|
|
267
|
-
* <i>Amazon Web Services General Reference.</i>. </p>
|
|
268
|
-
* <p>
|
|
269
|
-
* <b>CA certificates</b>
|
|
270
|
-
* </p>
|
|
271
|
-
* <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers
|
|
272
|
-
* can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your
|
|
273
|
-
* computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate
|
|
274
|
-
* environment and do not manage your own computer, you might need to ask an administrator to assist with the
|
|
275
|
-
* update process. The following list shows minimum operating system and Java versions:</p>
|
|
276
|
-
* <ul>
|
|
277
|
-
* <li>
|
|
278
|
-
* <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one
|
|
279
|
-
* of the required CAs in their trust list. </p>
|
|
280
|
-
* </li>
|
|
281
|
-
* <li>
|
|
282
|
-
* <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and
|
|
283
|
-
* later versions contain at least one of the required CAs in their trust list. </p>
|
|
284
|
-
* </li>
|
|
285
|
-
* <li>
|
|
286
|
-
* <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the
|
|
287
|
-
* required CAs in their default trusted CA list. </p>
|
|
288
|
-
* </li>
|
|
289
|
-
* <li>
|
|
290
|
-
* <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December
|
|
291
|
-
* 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p>
|
|
292
|
-
* </li>
|
|
293
|
-
* </ul>
|
|
294
|
-
* <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or
|
|
295
|
-
* programmatically, you will need to ensure your client machines support any of the following CAs: </p>
|
|
296
|
-
* <ul>
|
|
297
|
-
* <li>
|
|
298
|
-
* <p>Amazon Root CA 1</p>
|
|
299
|
-
* </li>
|
|
300
|
-
* <li>
|
|
301
|
-
* <p>Starfield Services Root Certificate Authority - G2</p>
|
|
302
|
-
* </li>
|
|
303
|
-
* <li>
|
|
304
|
-
* <p>Starfield Class 2 Certification Authority</p>
|
|
305
|
-
* </li>
|
|
306
|
-
* </ul>
|
|
307
|
-
* <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer
|
|
308
|
-
* up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a>
|
|
309
|
-
* </p>
|
|
245
|
+
* <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p> <p>The <i>Lambda API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response. </p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. </p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i>. </p> <p> <b>CA certificates</b> </p> <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:</p> <ul> <li> <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list. </p> </li> <li> <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p> </li> </ul> <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs: </p> <ul> <li> <p>Amazon Root CA 1</p> </li> <li> <p>Starfield Services Root Certificate Authority - G2</p> </li> <li> <p>Starfield Class 2 Certification Authority</p> </li> </ul> <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a> </p>
|
|
310
246
|
* @public
|
|
311
247
|
*/
|
|
312
248
|
export declare class LambdaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LambdaClientResolvedConfig> {
|
|
@@ -27,12 +27,7 @@ declare const AddLayerVersionPermissionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Adds permissions to the resource-based policy of a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
31
|
-
* layer</a>. Use this action to grant layer
|
|
32
|
-
* usage permission to other accounts. You can grant permission to a single account, all accounts in an organization,
|
|
33
|
-
* or all Amazon Web Services accounts. </p>
|
|
34
|
-
* <p>To revoke permission, call <a>RemoveLayerVersionPermission</a> with the statement ID that you
|
|
35
|
-
* specified when you added it.</p>
|
|
30
|
+
* <p>Adds permissions to the resource-based policy of a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts. </p> <p>To revoke permission, call <a>RemoveLayerVersionPermission</a> with the statement ID that you specified when you added it.</p>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -70,17 +65,7 @@ declare const AddLayerVersionPermissionCommand_base: {
|
|
|
70
65
|
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
71
66
|
*
|
|
72
67
|
* @throws {@link PreconditionFailedException} (client fault)
|
|
73
|
-
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
|
|
74
|
-
* <ul>
|
|
75
|
-
* <li>
|
|
76
|
-
* <p>
|
|
77
|
-
* <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>
|
|
81
|
-
* <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
|
|
82
|
-
* </li>
|
|
83
|
-
* </ul>
|
|
68
|
+
* <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>
|
|
84
69
|
*
|
|
85
70
|
* @throws {@link ResourceConflictException} (client fault)
|
|
86
71
|
* <p>The resource already exists, or another operation is in progress.</p>
|
|
@@ -27,19 +27,7 @@ declare const AddPermissionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Grants a <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying">principal</a>
|
|
31
|
-
* permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict
|
|
32
|
-
* access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name
|
|
33
|
-
* (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies
|
|
34
|
-
* to version $LATEST.</p>
|
|
35
|
-
* <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. To grant
|
|
36
|
-
* permission to an organization defined in Organizations, specify the organization ID as the
|
|
37
|
-
* <code>PrincipalOrgID</code>. For Amazon Web Services services, the principal is a domain-style identifier that
|
|
38
|
-
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If
|
|
39
|
-
* you grant permission to a service principal without specifying the source, other accounts could potentially
|
|
40
|
-
* configure resources in their account to invoke your Lambda function.</p>
|
|
41
|
-
* <p>This operation adds a statement to a resource-based permissions policy for the function. For more information
|
|
42
|
-
* about function policies, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">Using resource-based policies for Lambda</a>.</p>
|
|
30
|
+
* <p>Grants a <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying">principal</a> permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST.</p> <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. To grant permission to an organization defined in Organizations, specify the organization ID as the <code>PrincipalOrgID</code>. For Amazon Web Services services, the principal is a domain-style identifier that the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.</p> <p>This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">Using resource-based policies for Lambda</a>.</p>
|
|
43
31
|
* @example
|
|
44
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
45
33
|
* ```javascript
|
|
@@ -80,17 +68,7 @@ declare const AddPermissionCommand_base: {
|
|
|
80
68
|
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
81
69
|
*
|
|
82
70
|
* @throws {@link PreconditionFailedException} (client fault)
|
|
83
|
-
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
|
|
84
|
-
* <ul>
|
|
85
|
-
* <li>
|
|
86
|
-
* <p>
|
|
87
|
-
* <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
|
|
88
|
-
* </li>
|
|
89
|
-
* <li>
|
|
90
|
-
* <p>
|
|
91
|
-
* <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
|
|
92
|
-
* </li>
|
|
93
|
-
* </ul>
|
|
71
|
+
* <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>
|
|
94
72
|
*
|
|
95
73
|
* @throws {@link ResourceConflictException} (client fault)
|
|
96
74
|
* <p>The resource already exists, or another operation is in progress.</p>
|
|
@@ -27,12 +27,7 @@ declare const CreateAliasCommand_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-aliases.html">alias</a> for a
|
|
31
|
-
* Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a
|
|
32
|
-
* different version.</p>
|
|
33
|
-
* <p>You can also map an alias to split invocation requests between two versions. Use the
|
|
34
|
-
* <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that
|
|
35
|
-
* it receives.</p>
|
|
30
|
+
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a> for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.</p> <p>You can also map an alias to split invocation requests between two versions. Use the <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that it receives.</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,9 +27,7 @@ declare const CreateCodeSigningConfigCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">code signing configuration</a> defines a list of
|
|
31
|
-
* allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment
|
|
32
|
-
* validation checks fail). </p>
|
|
30
|
+
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">code signing configuration</a> defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail). </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,124 +27,7 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.</p>
|
|
31
|
-
* <p>For details about how to configure different event sources, see the following topics. </p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping">
|
|
36
|
-
* Amazon DynamoDB Streams</a>
|
|
37
|
-
* </p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping">
|
|
42
|
-
* Amazon Kinesis</a>
|
|
43
|
-
* </p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource">
|
|
48
|
-
* Amazon SQS</a>
|
|
49
|
-
* </p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>
|
|
53
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping">
|
|
54
|
-
* Amazon MQ and RabbitMQ</a>
|
|
55
|
-
* </p>
|
|
56
|
-
* </li>
|
|
57
|
-
* <li>
|
|
58
|
-
* <p>
|
|
59
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html">
|
|
60
|
-
* Amazon MSK</a>
|
|
61
|
-
* </p>
|
|
62
|
-
* </li>
|
|
63
|
-
* <li>
|
|
64
|
-
* <p>
|
|
65
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html">
|
|
66
|
-
* Apache Kafka</a>
|
|
67
|
-
* </p>
|
|
68
|
-
* </li>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>
|
|
71
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html">
|
|
72
|
-
* Amazon DocumentDB</a>
|
|
73
|
-
* </p>
|
|
74
|
-
* </li>
|
|
75
|
-
* </ul>
|
|
76
|
-
* <p>The following error handling options are available only for DynamoDB and Kinesis event sources:</p>
|
|
77
|
-
* <ul>
|
|
78
|
-
* <li>
|
|
79
|
-
* <p>
|
|
80
|
-
* <code>BisectBatchOnFunctionError</code> – If the function returns an error, split the batch in two and retry.</p>
|
|
81
|
-
* </li>
|
|
82
|
-
* <li>
|
|
83
|
-
* <p>
|
|
84
|
-
* <code>MaximumRecordAgeInSeconds</code> – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
|
|
85
|
-
* </li>
|
|
86
|
-
* <li>
|
|
87
|
-
* <p>
|
|
88
|
-
* <code>MaximumRetryAttempts</code> – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
89
|
-
* </li>
|
|
90
|
-
* <li>
|
|
91
|
-
* <p>
|
|
92
|
-
* <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p>
|
|
93
|
-
* </li>
|
|
94
|
-
* </ul>
|
|
95
|
-
* <p>For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka), the following option is also available:</p>
|
|
96
|
-
* <ul>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>
|
|
99
|
-
* <code>OnFailure</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or
|
|
100
|
-
* Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations">Adding a destination</a>.</p>
|
|
101
|
-
* </li>
|
|
102
|
-
* </ul>
|
|
103
|
-
* <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
|
|
104
|
-
* <ul>
|
|
105
|
-
* <li>
|
|
106
|
-
* <p>
|
|
107
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params">
|
|
108
|
-
* Amazon DynamoDB Streams</a>
|
|
109
|
-
* </p>
|
|
110
|
-
* </li>
|
|
111
|
-
* <li>
|
|
112
|
-
* <p>
|
|
113
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params">
|
|
114
|
-
* Amazon Kinesis</a>
|
|
115
|
-
* </p>
|
|
116
|
-
* </li>
|
|
117
|
-
* <li>
|
|
118
|
-
* <p>
|
|
119
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params">
|
|
120
|
-
* Amazon SQS</a>
|
|
121
|
-
* </p>
|
|
122
|
-
* </li>
|
|
123
|
-
* <li>
|
|
124
|
-
* <p>
|
|
125
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params">
|
|
126
|
-
* Amazon MQ and RabbitMQ</a>
|
|
127
|
-
* </p>
|
|
128
|
-
* </li>
|
|
129
|
-
* <li>
|
|
130
|
-
* <p>
|
|
131
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms">
|
|
132
|
-
* Amazon MSK</a>
|
|
133
|
-
* </p>
|
|
134
|
-
* </li>
|
|
135
|
-
* <li>
|
|
136
|
-
* <p>
|
|
137
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms">
|
|
138
|
-
* Apache Kafka</a>
|
|
139
|
-
* </p>
|
|
140
|
-
* </li>
|
|
141
|
-
* <li>
|
|
142
|
-
* <p>
|
|
143
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration">
|
|
144
|
-
* Amazon DocumentDB</a>
|
|
145
|
-
* </p>
|
|
146
|
-
* </li>
|
|
147
|
-
* </ul>
|
|
30
|
+
* <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.</p> <p>For details about how to configure different event sources, see the following topics. </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html"> Amazon DocumentDB</a> </p> </li> </ul> <p>The following error handling options are available only for DynamoDB and Kinesis event sources:</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> – If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p> </li> <li> <p> <code>MaximumRetryAttempts</code> – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p> </li> <li> <p> <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p> </li> </ul> <p>For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka), the following option is also available:</p> <ul> <li> <p> <code>OnFailure</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations">Adding a destination</a>.</p> </li> </ul> <p>For information about which configuration parameters apply to each event source, see the following topics.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration"> Amazon DocumentDB</a> </p> </li> </ul>
|
|
148
31
|
* @example
|
|
149
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
150
33
|
* ```javascript
|
|
@@ -27,44 +27,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The
|
|
31
|
-
* deployment package is a .zip file archive or container image that contains your function code. The execution role
|
|
32
|
-
* grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log
|
|
33
|
-
* streaming and X-Ray for request tracing.</p>
|
|
34
|
-
* <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container
|
|
35
|
-
* image</a>, then you set the package type to <code>Image</code>. For a container image, the code property
|
|
36
|
-
* must include the URI of a container image in the Amazon ECR registry. You do not need to specify the
|
|
37
|
-
* handler and runtime properties.</p>
|
|
38
|
-
* <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file archive</a>, then
|
|
39
|
-
* you set the package type to <code>Zip</code>. For a .zip file archive, the code property specifies the location of
|
|
40
|
-
* the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must
|
|
41
|
-
* be compatible with the target instruction set architecture of the function (<code>x86-64</code> or
|
|
42
|
-
* <code>arm64</code>). If you do not specify the architecture, then the default value is
|
|
43
|
-
* <code>x86-64</code>.</p>
|
|
44
|
-
* <p>When you create a function, Lambda provisions an instance of the function and its supporting
|
|
45
|
-
* resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't
|
|
46
|
-
* invoke or modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code>
|
|
47
|
-
* fields in the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to
|
|
48
|
-
* invoke. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Lambda function states</a>.</p>
|
|
49
|
-
* <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version
|
|
50
|
-
* changes when you update your function's code and configuration. A published version is a snapshot of your function
|
|
51
|
-
* code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be
|
|
52
|
-
* changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of
|
|
53
|
-
* your function from its initial configuration.</p>
|
|
54
|
-
* <p>The other parameters let you configure version-specific and function-level settings. You can modify
|
|
55
|
-
* version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply
|
|
56
|
-
* to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>)
|
|
57
|
-
* and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p>
|
|
58
|
-
* <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this
|
|
59
|
-
* function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with
|
|
60
|
-
* <a>UpdateFunctionCode</a>, Lambda checks that the code package has a valid signature from
|
|
61
|
-
* a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted
|
|
62
|
-
* publishers for this function.</p>
|
|
63
|
-
* <p>If another Amazon Web Services account or an Amazon Web Services service invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
|
|
64
|
-
* <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
|
|
65
|
-
* in other Amazon Web Services services, create an event source mapping (<a>CreateEventSourceMapping</a>),
|
|
66
|
-
* or configure a function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Lambda
|
|
67
|
-
* functions</a>.</p>
|
|
30
|
+
* <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.</p> <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a>, then you set the package type to <code>Image</code>. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.</p> <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file archive</a>, then you set the package type to <code>Zip</code>. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (<code>x86-64</code> or <code>arm64</code>). If you do not specify the architecture, then the default value is <code>x86-64</code>.</p> <p>When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code> fields in the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to invoke. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Lambda function states</a>.</p> <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of your function from its initial configuration.</p> <p>The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>) and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p> <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with <a>UpdateFunctionCode</a>, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function.</p> <p>If another Amazon Web Services account or an Amazon Web Services service invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p> <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (<a>CreateEventSourceMapping</a>), or configure a function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Lambda functions</a>.</p>
|
|
68
31
|
* @example
|
|
69
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
70
33
|
* ```javascript
|
|
@@ -269,12 +232,10 @@ declare const CreateFunctionCommand_base: {
|
|
|
269
232
|
* <p>Your Amazon Web Services account has exceeded its maximum total code size. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
270
233
|
*
|
|
271
234
|
* @throws {@link CodeVerificationFailedException} (client fault)
|
|
272
|
-
* <p>The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code
|
|
273
|
-
* signing policy is set to ENFORCE. Lambda blocks the deployment.</p>
|
|
235
|
+
* <p>The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.</p>
|
|
274
236
|
*
|
|
275
237
|
* @throws {@link InvalidCodeSignatureException} (client fault)
|
|
276
|
-
* <p>The code signature failed the integrity check. If the integrity check fails, then Lambda blocks
|
|
277
|
-
* deployment, even if the code signing policy is set to WARN.</p>
|
|
238
|
+
* <p>The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.</p>
|
|
278
239
|
*
|
|
279
240
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
280
241
|
* <p>One of the parameters in the request is not valid.</p>
|
|
@@ -27,8 +27,7 @@ declare const CreateFunctionUrlConfigCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a Lambda function URL with the specified configuration parameters. A function URL is
|
|
31
|
-
* a dedicated HTTP(S) endpoint that you can use to invoke your function.</p>
|
|
30
|
+
* <p>Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your 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,8 +27,7 @@ declare const DeleteCodeSigningConfigCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the code signing configuration. You can delete the code signing configuration only if no function is
|
|
31
|
-
* using it. </p>
|
|
30
|
+
* <p>Deletes the code signing configuration. You can delete the code signing configuration only if no function is 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,10 +27,7 @@ declare const DeleteEventSourceMappingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html">event source
|
|
31
|
-
* mapping</a>. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p>
|
|
32
|
-
* <p>When you delete an event source mapping, it enters a <code>Deleting</code> state and might not be completely
|
|
33
|
-
* deleted for several seconds.</p>
|
|
30
|
+
* <p>Deletes an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html">event source mapping</a>. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p> <p>When you delete an event source mapping, it enters a <code>Deleting</code> state and might not be completely deleted for several seconds.</p>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -172,8 +169,7 @@ declare const DeleteEventSourceMappingCommand_base: {
|
|
|
172
169
|
* <p>The resource already exists, or another operation is in progress.</p>
|
|
173
170
|
*
|
|
174
171
|
* @throws {@link ResourceInUseException} (client fault)
|
|
175
|
-
* <p>The operation conflicts with the resource's availability. For example, you tried to update an event source
|
|
176
|
-
* mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.</p>
|
|
172
|
+
* <p>The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.</p>
|
|
177
173
|
*
|
|
178
174
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
179
175
|
* <p>The resource specified in the request does not exist.</p>
|
|
@@ -27,11 +27,7 @@ declare const DeleteFunctionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
|
|
31
|
-
* Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit
|
|
32
|
-
* permissions for <a>DeleteAlias</a>.</p>
|
|
33
|
-
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Services services and resources that invoke your function
|
|
34
|
-
* directly, delete the trigger in the service where you originally configured it.</p>
|
|
30
|
+
* <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter. Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit permissions for <a>DeleteAlias</a>.</p> <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.</p>
|
|
35
31
|
* @example
|
|
36
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
33
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const DeleteFunctionEventInvokeConfigCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
31
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
30
|
+
* <p>Deletes the configuration for asynchronous invocation for a function, version, or alias.</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 DeleteFunctionUrlConfigCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a Lambda function URL. When you delete a function URL, you
|
|
31
|
-
* can't recover it. Creating a new function URL results in a different URL address.</p>
|
|
30
|
+
* <p>Deletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address.</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 DeleteLayerVersionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
31
|
-
* layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid
|
|
32
|
-
* breaking functions, a copy of the version remains in Lambda until no functions refer to it.</p>
|
|
30
|
+
* <p>Deletes a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.</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 GetEventSourceMappingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns details about an event source mapping. You can get the identifier of a mapping from the output of
|
|
31
|
-
* <a>ListEventSourceMappings</a>.</p>
|
|
30
|
+
* <p>Returns details about an event source mapping. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</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,9 +27,7 @@ declare const GetFunctionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns information about the function or function version, with a link to download the deployment package
|
|
31
|
-
* that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are
|
|
32
|
-
* returned.</p>
|
|
30
|
+
* <p>Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.</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 GetFunctionConcurrencyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a
|
|
31
|
-
* function, use <a>PutFunctionConcurrency</a>.</p>
|
|
30
|
+
* <p>Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use <a>PutFunctionConcurrency</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,9 +27,7 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns the version-specific settings of a Lambda function or version. The output includes only options that
|
|
31
|
-
* can vary between versions of a function. To modify these settings, use <a>UpdateFunctionConfiguration</a>.</p>
|
|
32
|
-
* <p>To get all of a function's details, including function-level settings, use <a>GetFunction</a>.</p>
|
|
30
|
+
* <p>Returns the version-specific settings of a Lambda function or version. The output includes only options that can vary between versions of a function. To modify these settings, use <a>UpdateFunctionConfiguration</a>.</p> <p>To get all of a function's details, including function-level settings, use <a>GetFunction</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
|
|
@@ -27,8 +27,7 @@ declare const GetFunctionEventInvokeConfigCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
31
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
30
|
+
* <p>Retrieves the configuration for asynchronous invocation for a function, version, or alias.</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 GetFunctionRecursionConfigCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html">recursive loop detection</a> configuration.
|
|
31
|
-
* </p>
|
|
30
|
+
* <p>Returns your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html">recursive loop detection</a> configuration. </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 GetLayerVersionByArnCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
31
|
-
* layer</a>, with a link to download the layer archive
|
|
32
|
-
* that's valid for 10 minutes.</p>
|
|
30
|
+
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>, with a link to download the layer archive that's valid for 10 minutes.</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,9 +27,7 @@ declare const GetLayerVersionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
31
|
-
* layer</a>, with a link to download the layer archive
|
|
32
|
-
* that's valid for 10 minutes.</p>
|
|
30
|
+
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>, with a link to download the layer archive that's valid for 10 minutes.</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 GetLayerVersionPolicyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
31
|
-
* layer</a>. For more information, see <a>AddLayerVersionPermission</a>.</p>
|
|
30
|
+
* <p>Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>. For more information, see <a>AddLayerVersionPermission</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
|