From 9cddb205087dc9739a3e83c66258715c7f53a783 Mon Sep 17 00:00:00 2001 From: Barry Devlin Date: Fri, 19 Mar 2021 09:50:56 -0700 Subject: [PATCH] Documentation updates --- doc_source/API_AccountLimit.md | 2 +- doc_source/API_AccountUsage.md | 2 +- doc_source/API_AddLayerVersionPermission.md | 6 +- doc_source/API_AddPermission.md | 2 +- doc_source/API_AliasConfiguration.md | 2 +- doc_source/API_AliasRoutingConfiguration.md | 2 +- doc_source/API_AllowedPublishers.md | 2 +- doc_source/API_CodeSigningConfig.md | 2 +- doc_source/API_CodeSigningPolicies.md | 2 +- doc_source/API_Concurrency.md | 2 +- doc_source/API_CreateAlias.md | 2 +- doc_source/API_CreateCodeSigningConfig.md | 2 +- doc_source/API_CreateEventSourceMapping.md | 88 +++++++++-- doc_source/API_CreateFunction.md | 101 ++++++++++-- doc_source/API_DeadLetterConfig.md | 2 +- doc_source/API_DeleteAlias.md | 2 +- doc_source/API_DeleteCodeSigningConfig.md | 2 +- doc_source/API_DeleteEventSourceMapping.md | 45 +++++- doc_source/API_DeleteFunction.md | 2 +- .../API_DeleteFunctionCodeSigningConfig.md | 2 +- doc_source/API_DeleteFunctionConcurrency.md | 2 +- .../API_DeleteFunctionEventInvokeConfig.md | 2 +- doc_source/API_DeleteLayerVersion.md | 2 +- .../API_DeleteProvisionedConcurrencyConfig.md | 2 +- doc_source/API_DestinationConfig.md | 2 +- doc_source/API_Environment.md | 2 +- doc_source/API_EnvironmentError.md | 2 +- doc_source/API_EnvironmentResponse.md | 2 +- .../API_EventSourceMappingConfiguration.md | 41 ++++- doc_source/API_FileSystemConfig.md | 2 +- doc_source/API_FunctionCode.md | 9 +- doc_source/API_FunctionCodeLocation.md | 12 +- doc_source/API_FunctionConfiguration.md | 35 ++++- doc_source/API_FunctionEventInvokeConfig.md | 2 +- doc_source/API_GetAccountSettings.md | 2 +- doc_source/API_GetAlias.md | 2 +- doc_source/API_GetCodeSigningConfig.md | 2 +- doc_source/API_GetEventSourceMapping.md | 45 +++++- doc_source/API_GetFunction.md | 24 ++- .../API_GetFunctionCodeSigningConfig.md | 2 +- doc_source/API_GetFunctionConcurrency.md | 2 +- doc_source/API_GetFunctionConfiguration.md | 49 +++++- .../API_GetFunctionEventInvokeConfig.md | 2 +- doc_source/API_GetLayerVersion.md | 8 +- doc_source/API_GetLayerVersionByArn.md | 8 +- doc_source/API_GetLayerVersionPolicy.md | 2 +- doc_source/API_GetPolicy.md | 2 +- .../API_GetProvisionedConcurrencyConfig.md | 2 +- doc_source/API_ImageConfig.md | 4 +- doc_source/API_ImageConfigError.md | 2 +- doc_source/API_ImageConfigResponse.md | 2 +- doc_source/API_Invoke.md | 2 +- doc_source/API_InvokeAsync.md | 2 +- doc_source/API_Layer.md | 14 +- doc_source/API_LayerVersionContentInput.md | 2 +- doc_source/API_LayerVersionContentOutput.md | 12 +- doc_source/API_LayerVersionsListItem.md | 4 +- doc_source/API_LayersListItem.md | 2 +- doc_source/API_ListAliases.md | 2 +- doc_source/API_ListCodeSigningConfigs.md | 2 +- doc_source/API_ListEventSourceMappings.md | 11 +- .../API_ListFunctionEventInvokeConfigs.md | 2 +- doc_source/API_ListFunctions.md | 27 +++- .../API_ListFunctionsByCodeSigningConfig.md | 2 +- doc_source/API_ListLayerVersions.md | 4 +- doc_source/API_ListLayers.md | 4 +- .../API_ListProvisionedConcurrencyConfigs.md | 2 +- doc_source/API_ListTags.md | 2 +- doc_source/API_ListVersionsByFunction.md | 20 ++- doc_source/API_OnFailure.md | 2 +- doc_source/API_OnSuccess.md | 2 +- doc_source/API_Operations.md | 9 ++ ...PI_ProvisionedConcurrencyConfigListItem.md | 2 +- doc_source/API_PublishLayerVersion.md | 10 +- doc_source/API_PublishVersion.md | 49 +++++- .../API_PutFunctionCodeSigningConfig.md | 2 +- doc_source/API_PutFunctionConcurrency.md | 2 +- .../API_PutFunctionEventInvokeConfig.md | 2 +- .../API_PutProvisionedConcurrencyConfig.md | 2 +- .../API_RemoveLayerVersionPermission.md | 2 +- doc_source/API_RemovePermission.md | 2 +- doc_source/API_SelfManagedEventSource.md | 2 +- doc_source/API_SourceAccessConfiguration.md | 20 ++- doc_source/API_TagResource.md | 2 +- doc_source/API_TracingConfig.md | 2 +- doc_source/API_TracingConfigResponse.md | 2 +- doc_source/API_Types.md | 7 + doc_source/API_UntagResource.md | 2 +- doc_source/API_UpdateAlias.md | 2 +- doc_source/API_UpdateCodeSigningConfig.md | 2 +- doc_source/API_UpdateEventSourceMapping.md | 73 +++++++-- doc_source/API_UpdateFunctionCode.md | 72 ++++++++- doc_source/API_UpdateFunctionConfiguration.md | 77 +++++++-- .../API_UpdateFunctionEventInvokeConfig.md | 2 +- doc_source/API_VpcConfig.md | 2 +- doc_source/API_VpcConfigResponse.md | 2 +- doc_source/access-control-resource-based.md | 4 +- doc_source/applications-tutorial.md | 1 - doc_source/code-editor.md | 36 ++++- doc_source/configuration-aliases.md | 15 +- doc_source/configuration-database.md | 21 ++- doc_source/configuration-envvars.md | 146 ++++++++++-------- doc_source/configuration-filesystem.md | 17 +- doc_source/configuration-images.md | 24 ++- doc_source/configuration-layers.md | 2 +- doc_source/configuration-memory.md | 16 +- doc_source/configuration-preview.md | 96 ------------ doc_source/configuration-tags.md | 14 +- doc_source/configuration-versions.md | 12 +- doc_source/configuration-vpc-endpoints.md | 5 + doc_source/configuration-vpc.md | 8 +- doc_source/csharp-handler.md | 4 +- doc_source/gettingstarted-limits.md | 2 +- doc_source/golang-envvars.md | 2 +- doc_source/index.md | 19 ++- doc_source/invocation-retries.md | 2 +- doc_source/java-package-eclipse.md | 6 + doc_source/kafka-using-cluster.md | 4 + doc_source/lambda-api-permissions-ref.md | 2 + doc_source/lambda-rolling-deployments.md | 2 + doc_source/lambda-services.md | 1 + doc_source/logging-using-cloudtrail.md | 2 + doc_source/monitoring-servicemap.md | 31 +++- doc_source/runtimes-avx2.md | 2 + doc_source/runtimes-context.md | 2 + doc_source/runtimes-custom.md | 2 +- doc_source/runtimes-extensions-api.md | 6 +- doc_source/security_iam_troubleshoot.md | 4 +- doc_source/services-apigateway-code.md | 2 - doc_source/services-apigateway-tutorial.md | 2 + .../services-cloudwatchevents-tutorial.md | 6 +- doc_source/services-cloudwatchevents.md | 5 +- doc_source/services-connect.md | 41 +++++ doc_source/services-ec2-tutorial.md | 2 + doc_source/stepfunctions-patterns.md | 1 + doc_source/troubleshooting-deployment.md | 2 +- doc_source/with-ddb.md | 2 +- doc_source/with-kinesis.md | 2 +- doc_source/with-sqs-create-package.md | 3 +- 139 files changed, 1152 insertions(+), 446 deletions(-) delete mode 100644 doc_source/configuration-preview.md create mode 100644 doc_source/services-connect.md diff --git a/doc_source/API_AccountLimit.md b/doc_source/API_AccountLimit.md index 5f40217b..e59478cf 100644 --- a/doc_source/API_AccountLimit.md +++ b/doc_source/API_AccountLimit.md @@ -35,5 +35,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AccountLimit) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AccountLimit) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AccountLimit) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AccountLimit) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AccountLimit) \ No newline at end of file diff --git a/doc_source/API_AccountUsage.md b/doc_source/API_AccountUsage.md index 5ca7c5ad..6f70e7c4 100644 --- a/doc_source/API_AccountUsage.md +++ b/doc_source/API_AccountUsage.md @@ -19,5 +19,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AccountUsage) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AccountUsage) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AccountUsage) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AccountUsage) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AccountUsage) \ No newline at end of file diff --git a/doc_source/API_AddLayerVersionPermission.md b/doc_source/API_AddLayerVersionPermission.md index cb84d5e2..b327715e 100644 --- a/doc_source/API_AddLayerVersionPermission.md +++ b/doc_source/API_AddLayerVersionPermission.md @@ -1,6 +1,6 @@ # AddLayerVersionPermission -Adds permissions to the resource\-based policy of a version of an [AWS Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)\. Use this action to grant layer usage permission to other accounts\. You can grant permission to a single account, all AWS accounts, or all accounts in an organization\. +Adds permissions to the resource\-based policy of a version of an [AWS Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)\. 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 AWS accounts\. To revoke permission, call [RemoveLayerVersionPermission](API_RemoveLayerVersionPermission.md) with the statement ID that you specified when you added it\. @@ -52,7 +52,7 @@ Pattern: `o-[a-z0-9]{10,32}` Required: No ** [Principal](#API_AddLayerVersionPermission_RequestSyntax) ** -An account ID, or `*` to grant permission to all AWS accounts\. +An account ID, or `*` to grant layer usage permission to all accounts in an organization, or all AWS accounts \(if `organizationId` is not specified\)\. For the last case, make sure that you really do want all AWS accounts to have usage permission to this layer\. Type: String Pattern: `\d{12}|\*|arn:(aws[a-zA-Z-]*):iam::\d{12}:root` Required: Yes @@ -127,7 +127,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/AddLayerVersionPermission) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AddLayerVersionPermission) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AddLayerVersionPermission) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AddLayerVersionPermission) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AddLayerVersionPermission) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/AddLayerVersionPermission) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/AddLayerVersionPermission) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/AddLayerVersionPermission) diff --git a/doc_source/API_AddPermission.md b/doc_source/API_AddPermission.md index 35f57f17..01452a8c 100644 --- a/doc_source/API_AddPermission.md +++ b/doc_source/API_AddPermission.md @@ -149,7 +149,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/AddPermission) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AddPermission) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AddPermission) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AddPermission) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AddPermission) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/AddPermission) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/AddPermission) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/AddPermission) diff --git a/doc_source/API_AliasConfiguration.md b/doc_source/API_AliasConfiguration.md index c4850463..c2be5893 100644 --- a/doc_source/API_AliasConfiguration.md +++ b/doc_source/API_AliasConfiguration.md @@ -45,5 +45,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AliasConfiguration) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AliasConfiguration) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AliasConfiguration) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AliasConfiguration) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AliasConfiguration) \ No newline at end of file diff --git a/doc_source/API_AliasRoutingConfiguration.md b/doc_source/API_AliasRoutingConfiguration.md index 04330b69..641fc0c9 100644 --- a/doc_source/API_AliasRoutingConfiguration.md +++ b/doc_source/API_AliasRoutingConfiguration.md @@ -17,5 +17,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AliasRoutingConfiguration) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AliasRoutingConfiguration) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AliasRoutingConfiguration) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AliasRoutingConfiguration) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AliasRoutingConfiguration) \ No newline at end of file diff --git a/doc_source/API_AllowedPublishers.md b/doc_source/API_AllowedPublishers.md index 125a3a0e..808b7807 100644 --- a/doc_source/API_AllowedPublishers.md +++ b/doc_source/API_AllowedPublishers.md @@ -16,5 +16,5 @@ Required: Yes For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AllowedPublishers) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AllowedPublishers) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AllowedPublishers) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AllowedPublishers) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AllowedPublishers) \ No newline at end of file diff --git a/doc_source/API_CodeSigningConfig.md b/doc_source/API_CodeSigningConfig.md index 9014e737..c787444c 100644 --- a/doc_source/API_CodeSigningConfig.md +++ b/doc_source/API_CodeSigningConfig.md @@ -43,5 +43,5 @@ Required: Yes For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/CodeSigningConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/CodeSigningConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/CodeSigningConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/CodeSigningConfig) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/CodeSigningConfig) \ No newline at end of file diff --git a/doc_source/API_CodeSigningPolicies.md b/doc_source/API_CodeSigningPolicies.md index 82ca2b40..2d49743f 100644 --- a/doc_source/API_CodeSigningPolicies.md +++ b/doc_source/API_CodeSigningPolicies.md @@ -16,5 +16,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/CodeSigningPolicies) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/CodeSigningPolicies) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/CodeSigningPolicies) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/CodeSigningPolicies) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/CodeSigningPolicies) \ No newline at end of file diff --git a/doc_source/API_Concurrency.md b/doc_source/API_Concurrency.md index 68753c1d..2fb185a9 100644 --- a/doc_source/API_Concurrency.md +++ b/doc_source/API_Concurrency.md @@ -13,5 +13,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/Concurrency) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/Concurrency) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/Concurrency) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/Concurrency) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/Concurrency) \ No newline at end of file diff --git a/doc_source/API_CreateAlias.md b/doc_source/API_CreateAlias.md index 0bef67af..33ef85bd 100644 --- a/doc_source/API_CreateAlias.md +++ b/doc_source/API_CreateAlias.md @@ -152,7 +152,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/CreateAlias) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/CreateAlias) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/CreateAlias) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/CreateAlias) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/CreateAlias) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/CreateAlias) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/CreateAlias) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/CreateAlias) diff --git a/doc_source/API_CreateCodeSigningConfig.md b/doc_source/API_CreateCodeSigningConfig.md index e7f55a0a..01be275e 100644 --- a/doc_source/API_CreateCodeSigningConfig.md +++ b/doc_source/API_CreateCodeSigningConfig.md @@ -92,7 +92,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/CreateCodeSigningConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/CreateCodeSigningConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/CreateCodeSigningConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/CreateCodeSigningConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/CreateCodeSigningConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/CreateCodeSigningConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/CreateCodeSigningConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/CreateCodeSigningConfig) diff --git a/doc_source/API_CreateEventSourceMapping.md b/doc_source/API_CreateEventSourceMapping.md index ad941e89..7c9f4ba5 100644 --- a/doc_source/API_CreateEventSourceMapping.md +++ b/doc_source/API_CreateEventSourceMapping.md @@ -8,6 +8,7 @@ For details about each event source type, see the following topics\. + [Using AWS Lambda with Amazon SQS](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html) + [Using AWS Lambda with Amazon MQ](https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html) + [Using AWS Lambda with Amazon MSK](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html) ++ [Using AWS Lambda with Self\-Managed Apache Kafka](https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html) The following error handling options are only available for stream sources \(DynamoDB and Kinesis\): + `BisectBatchOnFunctionError` \- If the function returns an error, split the batch in two and retry\. @@ -36,11 +37,17 @@ Content-type: application/json "Enabled": boolean, "EventSourceArn": "string", "FunctionName": "string", + "FunctionResponseTypes": [ "string" ], "MaximumBatchingWindowInSeconds": number, "MaximumRecordAgeInSeconds": number, "MaximumRetryAttempts": number, "ParallelizationFactor": number, "Queues": [ "string" ], + "SelfManagedEventSource": { + "Endpoints": { + "string" : [ "string" ] + } + }, "SourceAccessConfigurations": [ { "Type": "string", @@ -49,7 +56,8 @@ Content-type: application/json ], "StartingPosition": "string", "StartingPositionTimestamp": number, - "Topics": [ "string" ] + "Topics": [ "string" ], + "TumblingWindowInSeconds": number } ``` @@ -65,8 +73,9 @@ The request accepts the following data in JSON format\. The maximum number of items to retrieve in a single batch\. + **Amazon Kinesis** \- Default 100\. Max 10,000\. + **Amazon DynamoDB Streams** \- Default 100\. Max 1,000\. -+ **Amazon Simple Queue Service** \- Default 10\. Max 10\. ++ **Amazon Simple Queue Service** \- Default 10\. For standard queues the max is 10,000\. For FIFO queues the max is 10\. + **Amazon Managed Streaming for Apache Kafka** \- Default 100\. Max 10,000\. ++ **Self\-Managed Apache Kafka** \- Default 100\. Max 10,000\. Type: Integer Valid Range: Minimum value of 1\. Maximum value of 10000\. Required: No @@ -94,7 +103,7 @@ The Amazon Resource Name \(ARN\) of the event source\. + **Amazon Managed Streaming for Apache Kafka** \- The ARN of the cluster\. Type: String Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` -Required: Yes +Required: No ** [FunctionName](#API_CreateEventSourceMapping_RequestSyntax) ** The name of the Lambda function\. @@ -110,8 +119,15 @@ Length Constraints: Minimum length of 1\. Maximum length of 140\. Pattern: `(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?` Required: Yes + ** [FunctionResponseTypes](#API_CreateEventSourceMapping_RequestSyntax) ** +\(Streams\) A list of current response type enums applied to the event source mapping\. +Type: Array of strings +Array Members: Fixed number of 1 item\. +Valid Values:` ReportBatchItemFailures` +Required: No + ** [MaximumBatchingWindowInSeconds](#API_CreateEventSourceMapping_RequestSyntax) ** -\(Streams\) The maximum amount of time to gather records before invoking the function, in seconds\. +\(Streams and SQS standard queues\) The maximum amount of time to gather records before invoking the function, in seconds\. Type: Integer Valid Range: Minimum value of 0\. Maximum value of 300\. Required: No @@ -140,14 +156,17 @@ Type: Array of strings Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 1000\. Pattern: `[\s\S]*` +Required: No + + ** [SelfManagedEventSource](#API_CreateEventSourceMapping_RequestSyntax) ** +The Self\-Managed Apache Kafka cluster to send records\. +Type: [SelfManagedEventSource](API_SelfManagedEventSource.md) object Required: No ** [SourceAccessConfigurations](#API_CreateEventSourceMapping_RequestSyntax) ** - \(MQ\) The Secrets Manager secret that stores your broker credentials\. To store your secret, use the following format: ` { "username": "your username", "password": "your password" }` -To reference the secret, use the following format: `[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]` -The value of `Type` is always `BASIC_AUTH`\. To encrypt the secret, you can use customer or service managed keys\. When using a customer managed KMS key, the Lambda execution role requires `kms:Decrypt` permissions\. +An array of the authentication protocol, or the VPC components to secure your event source\. Type: Array of [SourceAccessConfiguration](API_SourceAccessConfiguration.md) objects -Array Members: Fixed number of 1 item\. +Array Members: Minimum number of 0 items\. Maximum number of 22 items\. Required: No ** [StartingPosition](#API_CreateEventSourceMapping_RequestSyntax) ** @@ -162,11 +181,17 @@ Type: Timestamp Required: No ** [Topics](#API_CreateEventSourceMapping_RequestSyntax) ** - \(MSK\) The name of the Kafka topic\. +The name of the Kafka topic\. Type: Array of strings Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 249\. Pattern: `^[^.]([a-zA-Z0-9\-_.]+)` +Required: No + + ** [TumblingWindowInSeconds](#API_CreateEventSourceMapping_RequestSyntax) ** +\(Streams\) The duration in seconds of a processing window\. The range is between 1 second up to 900 seconds\. +Type: Integer +Valid Range: Minimum value of 0\. Maximum value of 900\. Required: No ## Response Syntax @@ -188,6 +213,7 @@ Content-type: application/json }, "EventSourceArn": "string", "FunctionArn": "string", + "FunctionResponseTypes": [ "string" ], "LastModified": number, "LastProcessingResult": "string", "MaximumBatchingWindowInSeconds": number, @@ -195,15 +221,23 @@ Content-type: application/json "MaximumRetryAttempts": number, "ParallelizationFactor": number, "Queues": [ "string" ], + "SelfManagedEventSource": { + "Endpoints": { + "string" : [ "string" ] + } + }, "SourceAccessConfigurations": [ { "Type": "string", "URI": "string" } ], + "StartingPosition": "string", + "StartingPositionTimestamp": number, "State": "string", "StateTransitionReason": "string", "Topics": [ "string" ], + "TumblingWindowInSeconds": number, "UUID": "string" } ``` @@ -237,6 +271,12 @@ The ARN of the Lambda function\. Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` + ** [FunctionResponseTypes](#API_CreateEventSourceMapping_ResponseSyntax) ** +\(Streams\) A list of current response type enums applied to the event source mapping\. +Type: Array of strings +Array Members: Fixed number of 1 item\. +Valid Values:` ReportBatchItemFailures` + ** [LastModified](#API_CreateEventSourceMapping_ResponseSyntax) ** The date that the event source mapping was last updated, or its state changed, in Unix time seconds\. Type: Timestamp @@ -246,7 +286,7 @@ The result of the last AWS Lambda invocation of your Lambda function\. Type: String ** [MaximumBatchingWindowInSeconds](#API_CreateEventSourceMapping_ResponseSyntax) ** -\(Streams\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. +\(Streams and SQS standard queues\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. Type: Integer Valid Range: Minimum value of 0\. Maximum value of 300\. @@ -272,12 +312,23 @@ Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 1000\. Pattern: `[\s\S]*` + ** [SelfManagedEventSource](#API_CreateEventSourceMapping_ResponseSyntax) ** +The Self\-Managed Apache Kafka cluster for your event source\. +Type: [SelfManagedEventSource](API_SelfManagedEventSource.md) object + ** [SourceAccessConfigurations](#API_CreateEventSourceMapping_ResponseSyntax) ** - \(MQ\) The Secrets Manager secret that stores your broker credentials\. To store your secret, use the following format: ` { "username": "your username", "password": "your password" }` -To reference the secret, use the following format: `[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]` -The value of `Type` is always `BASIC_AUTH`\. To encrypt the secret, you can use customer or service managed keys\. When using a customer managed KMS key, the Lambda execution role requires `kms:Decrypt` permissions\. +An array of the authentication protocol, or the VPC components to secure your event source\. Type: Array of [SourceAccessConfiguration](API_SourceAccessConfiguration.md) objects -Array Members: Fixed number of 1 item\. +Array Members: Minimum number of 0 items\. Maximum number of 22 items\. + + ** [StartingPosition](#API_CreateEventSourceMapping_ResponseSyntax) ** +The position in a stream from which to start reading\. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources\. `AT_TIMESTAMP` is only supported for Amazon Kinesis streams\. +Type: String +Valid Values:` TRIM_HORIZON | LATEST | AT_TIMESTAMP` + + ** [StartingPositionTimestamp](#API_CreateEventSourceMapping_ResponseSyntax) ** +With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to start reading, in Unix time seconds\. +Type: Timestamp ** [State](#API_CreateEventSourceMapping_ResponseSyntax) ** The state of the event source mapping\. It can be one of the following: `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, or `Deleting`\. @@ -288,12 +339,17 @@ Indicates whether the last change to the event source mapping was made by a user Type: String ** [Topics](#API_CreateEventSourceMapping_ResponseSyntax) ** - \(MSK\) The name of the Kafka topic to consume\. +The name of the Kafka topic\. Type: Array of strings Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 249\. Pattern: `^[^.]([a-zA-Z0-9\-_.]+)` + ** [TumblingWindowInSeconds](#API_CreateEventSourceMapping_ResponseSyntax) ** +\(Streams\) The duration in seconds of a processing window\. The range is between 1 second up to 900 seconds\. +Type: Integer +Valid Range: Minimum value of 0\. Maximum value of 900\. + ** [UUID](#API_CreateEventSourceMapping_ResponseSyntax) ** The identifier of the event source mapping\. Type: String @@ -327,7 +383,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/CreateEventSourceMapping) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/CreateEventSourceMapping) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/CreateEventSourceMapping) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/CreateEventSourceMapping) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/CreateEventSourceMapping) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/CreateEventSourceMapping) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/CreateEventSourceMapping) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/CreateEventSourceMapping) diff --git a/doc_source/API_CreateFunction.md b/doc_source/API_CreateFunction.md index f87bbbec..12105e88 100644 --- a/doc_source/API_CreateFunction.md +++ b/doc_source/API_CreateFunction.md @@ -1,6 +1,6 @@ # CreateFunction -Creates a Lambda function\. To create a function, you need a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/deployment-package-v2.html) and an [execution role](https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role)\. The deployment package contains your function code\. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X\-Ray for request tracing\. +Creates a Lambda function\. To create a function, you need a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) and an [execution role](https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role)\. 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 AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X\-Ray for request tracing\. 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 `State`, `StateReason`, and `StateReasonCode` fields in the response from [GetFunctionConfiguration](API_GetFunctionConfiguration.md) indicate when the function is ready to invoke\. For more information, see [Function States](https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html)\. @@ -8,6 +8,8 @@ A function has an unpublished version, and can have published versions and alias The other parameters let you configure version\-specific and function\-level settings\. You can modify version\-specific settings later with [UpdateFunctionConfiguration](API_UpdateFunctionConfiguration.md)\. Function\-level settings apply to both the unpublished and published versions of the function, and include tags \([TagResource](API_TagResource.md)\) and per\-function concurrency limits \([PutFunctionConcurrency](API_PutFunctionConcurrency.md)\)\. +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 [UpdateFunctionCode](API_UpdateFunctionCode.md), Lambda checks that the code package has a valid signature from a trusted publisher\. The code\-signing configuration includes set set of signing profiles, which define the trusted publishers for this function\. + If another account or an AWS service invokes your function, use [AddPermission](API_AddPermission.md) to grant permission by creating a resource\-based IAM policy\. You can grant permissions at the function level, on a version, or on an alias\. To invoke your function directly, use [Invoke](API_Invoke.md)\. To invoke your function in response to events in other AWS services, create an event source mapping \([CreateEventSourceMapping](API_CreateEventSourceMapping.md)\), or configure a function trigger in the other service\. For more information, see [Invoking Functions](https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html)\. @@ -20,11 +22,13 @@ Content-type: application/json { "Code": { + "ImageUri": "string", "S3Bucket": "string", "S3Key": "string", "S3ObjectVersion": "string", "ZipFile": blob }, + "CodeSigningConfigArn": "string", "DeadLetterConfig": { "TargetArn": "string" }, @@ -42,9 +46,15 @@ Content-type: application/json ], "FunctionName": "string", "Handler": "string", + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + }, "KMSKeyArn": "string", "Layers": [ "string" ], "MemorySize": number, + "PackageType": "string", "Publish": boolean, "Role": "string", "Runtime": "string", @@ -75,6 +85,13 @@ The code for the function\. Type: [FunctionCode](API_FunctionCode.md) object Required: Yes + ** [CodeSigningConfigArn](#API_CreateFunction_RequestSyntax) ** +To enable code signing for this function, specify the ARN of a code\-signing configuration\. A code\-signing configuration includes a set of signing profiles, which define the trusted publishers for this function\. +Type: String +Length Constraints: Maximum length of 200\. +Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}:\d{12}:code-signing-config:csc-[a-z0-9]{17}` +Required: No + ** [DeadLetterConfig](#API_CreateFunction_RequestSyntax) ** A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing\. For more information, see [Dead Letter Queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq)\. Type: [DeadLetterConfig](API_DeadLetterConfig.md) object @@ -115,7 +132,12 @@ The name of the method within your code that Lambda calls to execute your functi Type: String Length Constraints: Maximum length of 128\. Pattern: `[^\s]+` -Required: Yes +Required: No + + ** [ImageConfig](#API_CreateFunction_RequestSyntax) ** + [Container image configuration values](https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html) that override the values in the container image Dockerfile\. +Type: [ImageConfig](API_ImageConfig.md) object +Required: No ** [KMSKeyArn](#API_CreateFunction_RequestSyntax) ** The ARN of the AWS Key Management Service \(AWS KMS\) key that's used to encrypt your function's environment variables\. If it's not provided, AWS Lambda uses a default service key\. @@ -131,9 +153,15 @@ Pattern: `arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\d{12}:layer:[a-zA-Z0-9-_]+:[0- Required: No ** [MemorySize](#API_CreateFunction_RequestSyntax) ** -The amount of memory that your function has access to\. Increasing the function's memory also increases its CPU allocation\. The default value is 128 MB\. The value must be a multiple of 64 MB\. +The amount of memory available to the function at runtime\. Increasing the function's memory also increases its CPU allocation\. The default value is 128 MB\. The value can be any multiple of 1 MB\. Type: Integer -Valid Range: Minimum value of 128\. Maximum value of 3008\. +Valid Range: Minimum value of 128\. Maximum value of 10240\. +Required: No + + ** [PackageType](#API_CreateFunction_RequestSyntax) ** +The type of deployment package\. Set to `Image` for container image and set `Zip` for ZIP archive\. +Type: String +Valid Values:` Zip | Image` Required: No ** [Publish](#API_CreateFunction_RequestSyntax) ** @@ -150,8 +178,8 @@ Required: Yes ** [Runtime](#API_CreateFunction_RequestSyntax) ** The identifier of the function's [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html)\. Type: String -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` -Required: Yes +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Required: No ** [Tags](#API_CreateFunction_RequestSyntax) ** A list of [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to apply to the function\. @@ -205,6 +233,17 @@ Content-type: application/json "FunctionArn": "string", "FunctionName": "string", "Handler": "string", + "ImageConfigResponse": { + "Error": { + "ErrorCode": "string", + "Message": "string" + }, + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + } + }, "KMSKeyArn": "string", "LastModified": "string", "LastUpdateStatus": "string", @@ -213,14 +252,19 @@ Content-type: application/json "Layers": [ { "Arn": "string", - "CodeSize": number + "CodeSize": number, + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" } ], "MasterArn": "string", "MemorySize": number, + "PackageType": "string", "RevisionId": "string", "Role": "string", "Runtime": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string", "State": "string", "StateReason": "string", "StateReasonCode": "string", @@ -286,6 +330,10 @@ Type: String Length Constraints: Maximum length of 128\. Pattern: `[^\s]+` + ** [ImageConfigResponse](#API_CreateFunction_ResponseSyntax) ** +The function's image configuration values\. +Type: [ImageConfigResponse](API_ImageConfigResponse.md) object + ** [KMSKeyArn](#API_CreateFunction_ResponseSyntax) ** The KMS key that's used to encrypt the function's environment variables\. This key is only returned if you've configured a customer managed CMK\. Type: String @@ -307,7 +355,7 @@ Type: String ** [LastUpdateStatusReasonCode](#API_CreateFunction_ResponseSyntax) ** The reason code for the last update that was performed on the function\. Type: String -Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Layers](#API_CreateFunction_ResponseSyntax) ** The function's [ layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)\. @@ -319,9 +367,14 @@ Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` ** [MemorySize](#API_CreateFunction_ResponseSyntax) ** -The memory that's allocated to the function\. +The amount of memory available to the function at runtime\. Type: Integer -Valid Range: Minimum value of 128\. Maximum value of 3008\. +Valid Range: Minimum value of 128\. Maximum value of 10240\. + + ** [PackageType](#API_CreateFunction_ResponseSyntax) ** +The type of deployment package\. Set to `Image` for container image and set `Zip` for \.zip file archive\. +Type: String +Valid Values:` Zip | Image` ** [RevisionId](#API_CreateFunction_ResponseSyntax) ** The latest updated revision of the function or alias\. @@ -335,7 +388,17 @@ Pattern: `arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+` ** [Runtime](#API_CreateFunction_ResponseSyntax) ** The runtime environment for the Lambda function\. Type: String -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` + + ** [SigningJobArn](#API_CreateFunction_ResponseSyntax) ** +The ARN of the signing job\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` + + ** [SigningProfileVersionArn](#API_CreateFunction_ResponseSyntax) ** +The ARN of the signing profile version\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` ** [State](#API_CreateFunction_ResponseSyntax) ** The current state of the function\. When the state is `Inactive`, you can reactivate the function by invoking it\. @@ -349,7 +412,7 @@ Type: String ** [StateReasonCode](#API_CreateFunction_ResponseSyntax) ** The reason code for the function's current state\. When the code is `Creating`, you can't invoke or modify the function\. Type: String -Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Timeout](#API_CreateFunction_ResponseSyntax) ** The amount of time in seconds that Lambda allows a function to run before stopping it\. @@ -372,8 +435,20 @@ Type: [VpcConfigResponse](API_VpcConfigResponse.md) object ## Errors + **CodeSigningConfigNotFoundException** +The specified code signing configuration does not exist\. +HTTP Status Code: 404 + **CodeStorageExceededException** You have exceeded your maximum total code size per account\. [Learn more](https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +HTTP Status Code: 400 + + **CodeVerificationFailedException** +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\. +HTTP Status Code: 400 + + **InvalidCodeSignatureException** +The code signature failed the integrity check\. Lambda always blocks deployment if the integrity check fails, even if code signing policy is set to WARN\. HTTP Status Code: 400 **InvalidParameterValueException** @@ -403,7 +478,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/CreateFunction) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/CreateFunction) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/CreateFunction) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/CreateFunction) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/CreateFunction) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/CreateFunction) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/CreateFunction) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/CreateFunction) diff --git a/doc_source/API_DeadLetterConfig.md b/doc_source/API_DeadLetterConfig.md index 091cb236..e958b423 100644 --- a/doc_source/API_DeadLetterConfig.md +++ b/doc_source/API_DeadLetterConfig.md @@ -15,5 +15,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeadLetterConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeadLetterConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeadLetterConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeadLetterConfig) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/DeadLetterConfig) \ No newline at end of file diff --git a/doc_source/API_DeleteAlias.md b/doc_source/API_DeleteAlias.md index f114deeb..3ecd3ad8 100644 --- a/doc_source/API_DeleteAlias.md +++ b/doc_source/API_DeleteAlias.md @@ -69,7 +69,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/DeleteAlias) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteAlias) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeleteAlias) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeleteAlias) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteAlias) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/DeleteAlias) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteAlias) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteAlias) diff --git a/doc_source/API_DeleteCodeSigningConfig.md b/doc_source/API_DeleteCodeSigningConfig.md index 73ee4ae7..af2018a0 100644 --- a/doc_source/API_DeleteCodeSigningConfig.md +++ b/doc_source/API_DeleteCodeSigningConfig.md @@ -57,7 +57,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/DeleteCodeSigningConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteCodeSigningConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeleteCodeSigningConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeleteCodeSigningConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteCodeSigningConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/DeleteCodeSigningConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteCodeSigningConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteCodeSigningConfig) diff --git a/doc_source/API_DeleteEventSourceMapping.md b/doc_source/API_DeleteEventSourceMapping.md index 44f1d88c..759438f1 100644 --- a/doc_source/API_DeleteEventSourceMapping.md +++ b/doc_source/API_DeleteEventSourceMapping.md @@ -41,6 +41,7 @@ Content-type: application/json }, "EventSourceArn": "string", "FunctionArn": "string", + "FunctionResponseTypes": [ "string" ], "LastModified": number, "LastProcessingResult": "string", "MaximumBatchingWindowInSeconds": number, @@ -48,15 +49,23 @@ Content-type: application/json "MaximumRetryAttempts": number, "ParallelizationFactor": number, "Queues": [ "string" ], + "SelfManagedEventSource": { + "Endpoints": { + "string" : [ "string" ] + } + }, "SourceAccessConfigurations": [ { "Type": "string", "URI": "string" } ], + "StartingPosition": "string", + "StartingPositionTimestamp": number, "State": "string", "StateTransitionReason": "string", "Topics": [ "string" ], + "TumblingWindowInSeconds": number, "UUID": "string" } ``` @@ -90,6 +99,12 @@ The ARN of the Lambda function\. Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` + ** [FunctionResponseTypes](#API_DeleteEventSourceMapping_ResponseSyntax) ** +\(Streams\) A list of current response type enums applied to the event source mapping\. +Type: Array of strings +Array Members: Fixed number of 1 item\. +Valid Values:` ReportBatchItemFailures` + ** [LastModified](#API_DeleteEventSourceMapping_ResponseSyntax) ** The date that the event source mapping was last updated, or its state changed, in Unix time seconds\. Type: Timestamp @@ -99,7 +114,7 @@ The result of the last AWS Lambda invocation of your Lambda function\. Type: String ** [MaximumBatchingWindowInSeconds](#API_DeleteEventSourceMapping_ResponseSyntax) ** -\(Streams\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. +\(Streams and SQS standard queues\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. Type: Integer Valid Range: Minimum value of 0\. Maximum value of 300\. @@ -125,12 +140,23 @@ Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 1000\. Pattern: `[\s\S]*` + ** [SelfManagedEventSource](#API_DeleteEventSourceMapping_ResponseSyntax) ** +The Self\-Managed Apache Kafka cluster for your event source\. +Type: [SelfManagedEventSource](API_SelfManagedEventSource.md) object + ** [SourceAccessConfigurations](#API_DeleteEventSourceMapping_ResponseSyntax) ** - \(MQ\) The Secrets Manager secret that stores your broker credentials\. To store your secret, use the following format: ` { "username": "your username", "password": "your password" }` -To reference the secret, use the following format: `[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]` -The value of `Type` is always `BASIC_AUTH`\. To encrypt the secret, you can use customer or service managed keys\. When using a customer managed KMS key, the Lambda execution role requires `kms:Decrypt` permissions\. +An array of the authentication protocol, or the VPC components to secure your event source\. Type: Array of [SourceAccessConfiguration](API_SourceAccessConfiguration.md) objects -Array Members: Fixed number of 1 item\. +Array Members: Minimum number of 0 items\. Maximum number of 22 items\. + + ** [StartingPosition](#API_DeleteEventSourceMapping_ResponseSyntax) ** +The position in a stream from which to start reading\. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources\. `AT_TIMESTAMP` is only supported for Amazon Kinesis streams\. +Type: String +Valid Values:` TRIM_HORIZON | LATEST | AT_TIMESTAMP` + + ** [StartingPositionTimestamp](#API_DeleteEventSourceMapping_ResponseSyntax) ** +With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to start reading, in Unix time seconds\. +Type: Timestamp ** [State](#API_DeleteEventSourceMapping_ResponseSyntax) ** The state of the event source mapping\. It can be one of the following: `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, or `Deleting`\. @@ -141,12 +167,17 @@ Indicates whether the last change to the event source mapping was made by a user Type: String ** [Topics](#API_DeleteEventSourceMapping_ResponseSyntax) ** - \(MSK\) The name of the Kafka topic to consume\. +The name of the Kafka topic\. Type: Array of strings Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 249\. Pattern: `^[^.]([a-zA-Z0-9\-_.]+)` + ** [TumblingWindowInSeconds](#API_DeleteEventSourceMapping_ResponseSyntax) ** +\(Streams\) The duration in seconds of a processing window\. The range is between 1 second up to 900 seconds\. +Type: Integer +Valid Range: Minimum value of 0\. Maximum value of 900\. + ** [UUID](#API_DeleteEventSourceMapping_ResponseSyntax) ** The identifier of the event source mapping\. Type: String @@ -180,7 +211,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/DeleteEventSourceMapping) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteEventSourceMapping) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeleteEventSourceMapping) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeleteEventSourceMapping) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteEventSourceMapping) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/DeleteEventSourceMapping) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteEventSourceMapping) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteEventSourceMapping) diff --git a/doc_source/API_DeleteFunction.md b/doc_source/API_DeleteFunction.md index 96f3b3f4..f2ce995b 100644 --- a/doc_source/API_DeleteFunction.md +++ b/doc_source/API_DeleteFunction.md @@ -74,7 +74,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/DeleteFunction) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteFunction) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeleteFunction) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeleteFunction) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteFunction) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/DeleteFunction) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteFunction) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteFunction) diff --git a/doc_source/API_DeleteFunctionCodeSigningConfig.md b/doc_source/API_DeleteFunctionCodeSigningConfig.md index e1044a4d..3727e079 100644 --- a/doc_source/API_DeleteFunctionCodeSigningConfig.md +++ b/doc_source/API_DeleteFunctionCodeSigningConfig.md @@ -71,7 +71,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/DeleteFunctionCodeSigningConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteFunctionCodeSigningConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeleteFunctionCodeSigningConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeleteFunctionCodeSigningConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteFunctionCodeSigningConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/DeleteFunctionCodeSigningConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteFunctionCodeSigningConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteFunctionCodeSigningConfig) diff --git a/doc_source/API_DeleteFunctionConcurrency.md b/doc_source/API_DeleteFunctionConcurrency.md index 9cd0fd8f..38f30490 100644 --- a/doc_source/API_DeleteFunctionConcurrency.md +++ b/doc_source/API_DeleteFunctionConcurrency.md @@ -67,7 +67,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/DeleteFunctionConcurrency) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteFunctionConcurrency) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeleteFunctionConcurrency) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeleteFunctionConcurrency) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteFunctionConcurrency) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/DeleteFunctionConcurrency) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteFunctionConcurrency) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteFunctionConcurrency) diff --git a/doc_source/API_DeleteFunctionEventInvokeConfig.md b/doc_source/API_DeleteFunctionEventInvokeConfig.md index 95012343..5b686b74 100644 --- a/doc_source/API_DeleteFunctionEventInvokeConfig.md +++ b/doc_source/API_DeleteFunctionEventInvokeConfig.md @@ -70,7 +70,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/DeleteFunctionEventInvokeConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteFunctionEventInvokeConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeleteFunctionEventInvokeConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeleteFunctionEventInvokeConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteFunctionEventInvokeConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/DeleteFunctionEventInvokeConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteFunctionEventInvokeConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteFunctionEventInvokeConfig) diff --git a/doc_source/API_DeleteLayerVersion.md b/doc_source/API_DeleteLayerVersion.md index 3ae903a4..7efc4d20 100644 --- a/doc_source/API_DeleteLayerVersion.md +++ b/doc_source/API_DeleteLayerVersion.md @@ -53,7 +53,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/DeleteLayerVersion) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteLayerVersion) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeleteLayerVersion) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeleteLayerVersion) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteLayerVersion) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/DeleteLayerVersion) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteLayerVersion) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteLayerVersion) diff --git a/doc_source/API_DeleteProvisionedConcurrencyConfig.md b/doc_source/API_DeleteProvisionedConcurrencyConfig.md index f108599a..7781aacb 100644 --- a/doc_source/API_DeleteProvisionedConcurrencyConfig.md +++ b/doc_source/API_DeleteProvisionedConcurrencyConfig.md @@ -73,7 +73,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig) diff --git a/doc_source/API_DestinationConfig.md b/doc_source/API_DestinationConfig.md index 9230f2cb..6e7375b2 100644 --- a/doc_source/API_DestinationConfig.md +++ b/doc_source/API_DestinationConfig.md @@ -19,5 +19,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DestinationConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/DestinationConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/DestinationConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DestinationConfig) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/DestinationConfig) \ No newline at end of file diff --git a/doc_source/API_Environment.md b/doc_source/API_Environment.md index 9e140772..d7d1c480 100644 --- a/doc_source/API_Environment.md +++ b/doc_source/API_Environment.md @@ -15,5 +15,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/Environment) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/Environment) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/Environment) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/Environment) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/Environment) \ No newline at end of file diff --git a/doc_source/API_EnvironmentError.md b/doc_source/API_EnvironmentError.md index 58d1e16f..94ce5d75 100644 --- a/doc_source/API_EnvironmentError.md +++ b/doc_source/API_EnvironmentError.md @@ -19,5 +19,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/EnvironmentError) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/EnvironmentError) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/EnvironmentError) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/EnvironmentError) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/EnvironmentError) \ No newline at end of file diff --git a/doc_source/API_EnvironmentResponse.md b/doc_source/API_EnvironmentResponse.md index 625bfee0..7bbc27d4 100644 --- a/doc_source/API_EnvironmentResponse.md +++ b/doc_source/API_EnvironmentResponse.md @@ -20,5 +20,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/EnvironmentResponse) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/EnvironmentResponse) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/EnvironmentResponse) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/EnvironmentResponse) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/EnvironmentResponse) \ No newline at end of file diff --git a/doc_source/API_EventSourceMappingConfiguration.md b/doc_source/API_EventSourceMappingConfiguration.md index 9e78f5c5..f82fb0fe 100644 --- a/doc_source/API_EventSourceMappingConfiguration.md +++ b/doc_source/API_EventSourceMappingConfiguration.md @@ -30,6 +30,13 @@ Required: No The ARN of the Lambda function\. Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` +Required: No + + **FunctionResponseTypes** +\(Streams\) A list of current response type enums applied to the event source mapping\. +Type: Array of strings +Array Members: Fixed number of 1 item\. +Valid Values:` ReportBatchItemFailures` Required: No **LastModified** @@ -43,7 +50,7 @@ Type: String Required: No **MaximumBatchingWindowInSeconds** -\(Streams\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. +\(Streams and SQS standard queues\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. Type: Integer Valid Range: Minimum value of 0\. Maximum value of 300\. Required: No @@ -72,14 +79,28 @@ Type: Array of strings Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 1000\. Pattern: `[\s\S]*` +Required: No + + **SelfManagedEventSource** +The Self\-Managed Apache Kafka cluster for your event source\. +Type: [SelfManagedEventSource](API_SelfManagedEventSource.md) object Required: No **SourceAccessConfigurations** - \(MQ\) The Secrets Manager secret that stores your broker credentials\. To store your secret, use the following format: ` { "username": "your username", "password": "your password" }` -To reference the secret, use the following format: `[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]` -The value of `Type` is always `BASIC_AUTH`\. To encrypt the secret, you can use customer or service managed keys\. When using a customer managed KMS key, the Lambda execution role requires `kms:Decrypt` permissions\. +An array of the authentication protocol, or the VPC components to secure your event source\. Type: Array of [SourceAccessConfiguration](API_SourceAccessConfiguration.md) objects -Array Members: Fixed number of 1 item\. +Array Members: Minimum number of 0 items\. Maximum number of 22 items\. +Required: No + + **StartingPosition** +The position in a stream from which to start reading\. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources\. `AT_TIMESTAMP` is only supported for Amazon Kinesis streams\. +Type: String +Valid Values:` TRIM_HORIZON | LATEST | AT_TIMESTAMP` +Required: No + + **StartingPositionTimestamp** +With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to start reading, in Unix time seconds\. +Type: Timestamp Required: No **State** @@ -93,11 +114,17 @@ Type: String Required: No **Topics** - \(MSK\) The name of the Kafka topic to consume\. +The name of the Kafka topic\. Type: Array of strings Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 249\. Pattern: `^[^.]([a-zA-Z0-9\-_.]+)` +Required: No + + **TumblingWindowInSeconds** +\(Streams\) The duration in seconds of a processing window\. The range is between 1 second up to 900 seconds\. +Type: Integer +Valid Range: Minimum value of 0\. Maximum value of 900\. Required: No **UUID** @@ -110,5 +137,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/EventSourceMappingConfiguration) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/EventSourceMappingConfiguration) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/EventSourceMappingConfiguration) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/EventSourceMappingConfiguration) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/EventSourceMappingConfiguration) \ No newline at end of file diff --git a/doc_source/API_FileSystemConfig.md b/doc_source/API_FileSystemConfig.md index 2a18b234..4aa62f56 100644 --- a/doc_source/API_FileSystemConfig.md +++ b/doc_source/API_FileSystemConfig.md @@ -23,5 +23,5 @@ Required: Yes For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/FileSystemConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/FileSystemConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/FileSystemConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/FileSystemConfig) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/FileSystemConfig) \ No newline at end of file diff --git a/doc_source/API_FunctionCode.md b/doc_source/API_FunctionCode.md index 8487a2d7..6ebb6ed3 100644 --- a/doc_source/API_FunctionCode.md +++ b/doc_source/API_FunctionCode.md @@ -1,9 +1,14 @@ # FunctionCode -The code for the Lambda function\. You can specify either an object in Amazon S3, or upload a deployment package directly\. +The code for the Lambda function\. You can specify either an object in Amazon S3, upload a \.zip file archive deployment package directly, or specify the URI of a container image\. ## Contents + **ImageUri** +URI of a container image in the Amazon ECR registry\. +Type: String +Required: No + **S3Bucket** An Amazon S3 bucket in the same AWS Region as your function\. The bucket can be in a different AWS account\. Type: String @@ -33,5 +38,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/FunctionCode) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/FunctionCode) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/FunctionCode) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/FunctionCode) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/FunctionCode) \ No newline at end of file diff --git a/doc_source/API_FunctionCodeLocation.md b/doc_source/API_FunctionCodeLocation.md index 850b4594..59c99331 100644 --- a/doc_source/API_FunctionCodeLocation.md +++ b/doc_source/API_FunctionCodeLocation.md @@ -4,6 +4,11 @@ Details about a function's deployment package\. ## Contents + **ImageUri** +URI of a container image in the Amazon ECR registry\. +Type: String +Required: No + **Location** A presigned URL that you can use to download the deployment package\. Type: String @@ -12,6 +17,11 @@ Required: No **RepositoryType** The service that's hosting the file\. Type: String +Required: No + + **ResolvedImageUri** +The resolved URI for the image\. +Type: String Required: No ## See Also @@ -19,5 +29,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/FunctionCodeLocation) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/FunctionCodeLocation) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/FunctionCodeLocation) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/FunctionCodeLocation) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/FunctionCodeLocation) \ No newline at end of file diff --git a/doc_source/API_FunctionConfiguration.md b/doc_source/API_FunctionConfiguration.md index 2fa66b1c..be995ce7 100644 --- a/doc_source/API_FunctionConfiguration.md +++ b/doc_source/API_FunctionConfiguration.md @@ -54,6 +54,11 @@ The function that Lambda calls to begin executing your function\. Type: String Length Constraints: Maximum length of 128\. Pattern: `[^\s]+` +Required: No + + **ImageConfigResponse** +The function's image configuration values\. +Type: [ImageConfigResponse](API_ImageConfigResponse.md) object Required: No **KMSKeyArn** @@ -81,7 +86,7 @@ Required: No **LastUpdateStatusReasonCode** The reason code for the last update that was performed on the function\. Type: String -Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` Required: No **Layers** @@ -96,9 +101,15 @@ Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:functi Required: No **MemorySize** -The memory that's allocated to the function\. +The amount of memory available to the function at runtime\. Type: Integer -Valid Range: Minimum value of 128\. Maximum value of 3008\. +Valid Range: Minimum value of 128\. Maximum value of 10240\. +Required: No + + **PackageType** +The type of deployment package\. Set to `Image` for container image and set `Zip` for \.zip file archive\. +Type: String +Valid Values:` Zip | Image` Required: No **RevisionId** @@ -115,7 +126,19 @@ Required: No **Runtime** The runtime environment for the Lambda function\. Type: String -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Required: No + + **SigningJobArn** +The ARN of the signing job\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` +Required: No + + **SigningProfileVersionArn** +The ARN of the signing profile version\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` Required: No **State** @@ -132,7 +155,7 @@ Required: No **StateReasonCode** The reason code for the function's current state\. When the code is `Creating`, you can't invoke or modify the function\. Type: String -Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` Required: No **Timeout** @@ -163,5 +186,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/FunctionConfiguration) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/FunctionConfiguration) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/FunctionConfiguration) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/FunctionConfiguration) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/FunctionConfiguration) \ No newline at end of file diff --git a/doc_source/API_FunctionEventInvokeConfig.md b/doc_source/API_FunctionEventInvokeConfig.md index e4236102..e2ca486e 100644 --- a/doc_source/API_FunctionEventInvokeConfig.md +++ b/doc_source/API_FunctionEventInvokeConfig.md @@ -41,5 +41,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/FunctionEventInvokeConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/FunctionEventInvokeConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/FunctionEventInvokeConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/FunctionEventInvokeConfig) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/FunctionEventInvokeConfig) \ No newline at end of file diff --git a/doc_source/API_GetAccountSettings.md b/doc_source/API_GetAccountSettings.md index e87f8194..a2da9476 100644 --- a/doc_source/API_GetAccountSettings.md +++ b/doc_source/API_GetAccountSettings.md @@ -68,7 +68,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetAccountSettings) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetAccountSettings) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetAccountSettings) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetAccountSettings) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetAccountSettings) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetAccountSettings) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetAccountSettings) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetAccountSettings) diff --git a/doc_source/API_GetAlias.md b/doc_source/API_GetAlias.md index 4b13be19..b6e3e516 100644 --- a/doc_source/API_GetAlias.md +++ b/doc_source/API_GetAlias.md @@ -115,7 +115,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetAlias) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetAlias) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetAlias) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetAlias) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetAlias) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetAlias) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetAlias) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetAlias) diff --git a/doc_source/API_GetCodeSigningConfig.md b/doc_source/API_GetCodeSigningConfig.md index 3910db03..459415c7 100644 --- a/doc_source/API_GetCodeSigningConfig.md +++ b/doc_source/API_GetCodeSigningConfig.md @@ -75,7 +75,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetCodeSigningConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetCodeSigningConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetCodeSigningConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetCodeSigningConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetCodeSigningConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetCodeSigningConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetCodeSigningConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetCodeSigningConfig) diff --git a/doc_source/API_GetEventSourceMapping.md b/doc_source/API_GetEventSourceMapping.md index f073a04e..fb1c29a7 100644 --- a/doc_source/API_GetEventSourceMapping.md +++ b/doc_source/API_GetEventSourceMapping.md @@ -39,6 +39,7 @@ Content-type: application/json }, "EventSourceArn": "string", "FunctionArn": "string", + "FunctionResponseTypes": [ "string" ], "LastModified": number, "LastProcessingResult": "string", "MaximumBatchingWindowInSeconds": number, @@ -46,15 +47,23 @@ Content-type: application/json "MaximumRetryAttempts": number, "ParallelizationFactor": number, "Queues": [ "string" ], + "SelfManagedEventSource": { + "Endpoints": { + "string" : [ "string" ] + } + }, "SourceAccessConfigurations": [ { "Type": "string", "URI": "string" } ], + "StartingPosition": "string", + "StartingPositionTimestamp": number, "State": "string", "StateTransitionReason": "string", "Topics": [ "string" ], + "TumblingWindowInSeconds": number, "UUID": "string" } ``` @@ -88,6 +97,12 @@ The ARN of the Lambda function\. Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` + ** [FunctionResponseTypes](#API_GetEventSourceMapping_ResponseSyntax) ** +\(Streams\) A list of current response type enums applied to the event source mapping\. +Type: Array of strings +Array Members: Fixed number of 1 item\. +Valid Values:` ReportBatchItemFailures` + ** [LastModified](#API_GetEventSourceMapping_ResponseSyntax) ** The date that the event source mapping was last updated, or its state changed, in Unix time seconds\. Type: Timestamp @@ -97,7 +112,7 @@ The result of the last AWS Lambda invocation of your Lambda function\. Type: String ** [MaximumBatchingWindowInSeconds](#API_GetEventSourceMapping_ResponseSyntax) ** -\(Streams\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. +\(Streams and SQS standard queues\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. Type: Integer Valid Range: Minimum value of 0\. Maximum value of 300\. @@ -123,12 +138,23 @@ Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 1000\. Pattern: `[\s\S]*` + ** [SelfManagedEventSource](#API_GetEventSourceMapping_ResponseSyntax) ** +The Self\-Managed Apache Kafka cluster for your event source\. +Type: [SelfManagedEventSource](API_SelfManagedEventSource.md) object + ** [SourceAccessConfigurations](#API_GetEventSourceMapping_ResponseSyntax) ** - \(MQ\) The Secrets Manager secret that stores your broker credentials\. To store your secret, use the following format: ` { "username": "your username", "password": "your password" }` -To reference the secret, use the following format: `[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]` -The value of `Type` is always `BASIC_AUTH`\. To encrypt the secret, you can use customer or service managed keys\. When using a customer managed KMS key, the Lambda execution role requires `kms:Decrypt` permissions\. +An array of the authentication protocol, or the VPC components to secure your event source\. Type: Array of [SourceAccessConfiguration](API_SourceAccessConfiguration.md) objects -Array Members: Fixed number of 1 item\. +Array Members: Minimum number of 0 items\. Maximum number of 22 items\. + + ** [StartingPosition](#API_GetEventSourceMapping_ResponseSyntax) ** +The position in a stream from which to start reading\. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources\. `AT_TIMESTAMP` is only supported for Amazon Kinesis streams\. +Type: String +Valid Values:` TRIM_HORIZON | LATEST | AT_TIMESTAMP` + + ** [StartingPositionTimestamp](#API_GetEventSourceMapping_ResponseSyntax) ** +With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to start reading, in Unix time seconds\. +Type: Timestamp ** [State](#API_GetEventSourceMapping_ResponseSyntax) ** The state of the event source mapping\. It can be one of the following: `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, or `Deleting`\. @@ -139,12 +165,17 @@ Indicates whether the last change to the event source mapping was made by a user Type: String ** [Topics](#API_GetEventSourceMapping_ResponseSyntax) ** - \(MSK\) The name of the Kafka topic to consume\. +The name of the Kafka topic\. Type: Array of strings Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 249\. Pattern: `^[^.]([a-zA-Z0-9\-_.]+)` + ** [TumblingWindowInSeconds](#API_GetEventSourceMapping_ResponseSyntax) ** +\(Streams\) The duration in seconds of a processing window\. The range is between 1 second up to 900 seconds\. +Type: Integer +Valid Range: Minimum value of 0\. Maximum value of 900\. + ** [UUID](#API_GetEventSourceMapping_ResponseSyntax) ** The identifier of the event source mapping\. Type: String @@ -174,7 +205,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetEventSourceMapping) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetEventSourceMapping) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetEventSourceMapping) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetEventSourceMapping) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetEventSourceMapping) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetEventSourceMapping) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetEventSourceMapping) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetEventSourceMapping) diff --git a/doc_source/API_GetFunction.md b/doc_source/API_GetFunction.md index 247f695e..ee3d29e0 100644 --- a/doc_source/API_GetFunction.md +++ b/doc_source/API_GetFunction.md @@ -41,8 +41,10 @@ Content-type: application/json { "Code": { + "ImageUri": "string", "Location": "string", - "RepositoryType": "string" + "RepositoryType": "string", + "ResolvedImageUri": "string" }, "Concurrency": { "ReservedConcurrentExecutions": number @@ -72,6 +74,17 @@ Content-type: application/json "FunctionArn": "string", "FunctionName": "string", "Handler": "string", + "ImageConfigResponse": { + "Error": { + "ErrorCode": "string", + "Message": "string" + }, + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + } + }, "KMSKeyArn": "string", "LastModified": "string", "LastUpdateStatus": "string", @@ -80,14 +93,19 @@ Content-type: application/json "Layers": [ { "Arn": "string", - "CodeSize": number + "CodeSize": number, + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" } ], "MasterArn": "string", "MemorySize": number, + "PackageType": "string", "RevisionId": "string", "Role": "string", "Runtime": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string", "State": "string", "StateReason": "string", "StateReasonCode": "string", @@ -155,7 +173,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetFunction) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetFunction) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetFunction) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetFunction) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetFunction) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetFunction) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetFunction) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetFunction) diff --git a/doc_source/API_GetFunctionCodeSigningConfig.md b/doc_source/API_GetFunctionCodeSigningConfig.md index 2a4604df..3e3c1b64 100644 --- a/doc_source/API_GetFunctionCodeSigningConfig.md +++ b/doc_source/API_GetFunctionCodeSigningConfig.md @@ -89,7 +89,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetFunctionCodeSigningConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetFunctionCodeSigningConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetFunctionCodeSigningConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetFunctionCodeSigningConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetFunctionCodeSigningConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetFunctionCodeSigningConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetFunctionCodeSigningConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetFunctionCodeSigningConfig) diff --git a/doc_source/API_GetFunctionConcurrency.md b/doc_source/API_GetFunctionConcurrency.md index c0e7e63a..143a3c22 100644 --- a/doc_source/API_GetFunctionConcurrency.md +++ b/doc_source/API_GetFunctionConcurrency.md @@ -75,7 +75,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetFunctionConcurrency) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetFunctionConcurrency) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetFunctionConcurrency) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetFunctionConcurrency) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetFunctionConcurrency) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetFunctionConcurrency) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetFunctionConcurrency) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetFunctionConcurrency) diff --git a/doc_source/API_GetFunctionConfiguration.md b/doc_source/API_GetFunctionConfiguration.md index 4d3a9dc4..8fc54d45 100644 --- a/doc_source/API_GetFunctionConfiguration.md +++ b/doc_source/API_GetFunctionConfiguration.md @@ -66,6 +66,17 @@ Content-type: application/json "FunctionArn": "string", "FunctionName": "string", "Handler": "string", + "ImageConfigResponse": { + "Error": { + "ErrorCode": "string", + "Message": "string" + }, + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + } + }, "KMSKeyArn": "string", "LastModified": "string", "LastUpdateStatus": "string", @@ -74,14 +85,19 @@ Content-type: application/json "Layers": [ { "Arn": "string", - "CodeSize": number + "CodeSize": number, + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" } ], "MasterArn": "string", "MemorySize": number, + "PackageType": "string", "RevisionId": "string", "Role": "string", "Runtime": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string", "State": "string", "StateReason": "string", "StateReasonCode": "string", @@ -147,6 +163,10 @@ Type: String Length Constraints: Maximum length of 128\. Pattern: `[^\s]+` + ** [ImageConfigResponse](#API_GetFunctionConfiguration_ResponseSyntax) ** +The function's image configuration values\. +Type: [ImageConfigResponse](API_ImageConfigResponse.md) object + ** [KMSKeyArn](#API_GetFunctionConfiguration_ResponseSyntax) ** The KMS key that's used to encrypt the function's environment variables\. This key is only returned if you've configured a customer managed CMK\. Type: String @@ -168,7 +188,7 @@ Type: String ** [LastUpdateStatusReasonCode](#API_GetFunctionConfiguration_ResponseSyntax) ** The reason code for the last update that was performed on the function\. Type: String -Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Layers](#API_GetFunctionConfiguration_ResponseSyntax) ** The function's [ layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)\. @@ -180,9 +200,14 @@ Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` ** [MemorySize](#API_GetFunctionConfiguration_ResponseSyntax) ** -The memory that's allocated to the function\. +The amount of memory available to the function at runtime\. Type: Integer -Valid Range: Minimum value of 128\. Maximum value of 3008\. +Valid Range: Minimum value of 128\. Maximum value of 10240\. + + ** [PackageType](#API_GetFunctionConfiguration_ResponseSyntax) ** +The type of deployment package\. Set to `Image` for container image and set `Zip` for \.zip file archive\. +Type: String +Valid Values:` Zip | Image` ** [RevisionId](#API_GetFunctionConfiguration_ResponseSyntax) ** The latest updated revision of the function or alias\. @@ -196,7 +221,17 @@ Pattern: `arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+` ** [Runtime](#API_GetFunctionConfiguration_ResponseSyntax) ** The runtime environment for the Lambda function\. Type: String -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` + + ** [SigningJobArn](#API_GetFunctionConfiguration_ResponseSyntax) ** +The ARN of the signing job\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` + + ** [SigningProfileVersionArn](#API_GetFunctionConfiguration_ResponseSyntax) ** +The ARN of the signing profile version\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` ** [State](#API_GetFunctionConfiguration_ResponseSyntax) ** The current state of the function\. When the state is `Inactive`, you can reactivate the function by invoking it\. @@ -210,7 +245,7 @@ Type: String ** [StateReasonCode](#API_GetFunctionConfiguration_ResponseSyntax) ** The reason code for the function's current state\. When the code is `Creating`, you can't invoke or modify the function\. Type: String -Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Timeout](#API_GetFunctionConfiguration_ResponseSyntax) ** The amount of time in seconds that Lambda allows a function to run before stopping it\. @@ -256,7 +291,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetFunctionConfiguration) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetFunctionConfiguration) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetFunctionConfiguration) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetFunctionConfiguration) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetFunctionConfiguration) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetFunctionConfiguration) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetFunctionConfiguration) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetFunctionConfiguration) diff --git a/doc_source/API_GetFunctionEventInvokeConfig.md b/doc_source/API_GetFunctionEventInvokeConfig.md index 171a7824..a1ff02fc 100644 --- a/doc_source/API_GetFunctionEventInvokeConfig.md +++ b/doc_source/API_GetFunctionEventInvokeConfig.md @@ -117,7 +117,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetFunctionEventInvokeConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetFunctionEventInvokeConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetFunctionEventInvokeConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetFunctionEventInvokeConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetFunctionEventInvokeConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetFunctionEventInvokeConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetFunctionEventInvokeConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetFunctionEventInvokeConfig) diff --git a/doc_source/API_GetLayerVersion.md b/doc_source/API_GetLayerVersion.md index d0469dc3..61c5fcd7 100644 --- a/doc_source/API_GetLayerVersion.md +++ b/doc_source/API_GetLayerVersion.md @@ -37,7 +37,9 @@ Content-type: application/json "Content": { "CodeSha256": "string", "CodeSize": number, - "Location": "string" + "Location": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" }, "CreatedDate": "string", "Description": "string", @@ -58,7 +60,7 @@ The following data is returned in JSON format by the service\. The layer's compatible runtimes\. Type: Array of strings Array Members: Maximum number of 15 items\. -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` ** [Content](#API_GetLayerVersion_ResponseSyntax) ** Details about the layer version\. @@ -119,7 +121,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetLayerVersion) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetLayerVersion) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetLayerVersion) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetLayerVersion) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetLayerVersion) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetLayerVersion) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetLayerVersion) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetLayerVersion) diff --git a/doc_source/API_GetLayerVersionByArn.md b/doc_source/API_GetLayerVersionByArn.md index 46aaf325..e4c3cf0d 100644 --- a/doc_source/API_GetLayerVersionByArn.md +++ b/doc_source/API_GetLayerVersionByArn.md @@ -33,7 +33,9 @@ Content-type: application/json "Content": { "CodeSha256": "string", "CodeSize": number, - "Location": "string" + "Location": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" }, "CreatedDate": "string", "Description": "string", @@ -54,7 +56,7 @@ The following data is returned in JSON format by the service\. The layer's compatible runtimes\. Type: Array of strings Array Members: Maximum number of 15 items\. -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` ** [Content](#API_GetLayerVersionByArn_ResponseSyntax) ** Details about the layer version\. @@ -115,7 +117,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetLayerVersionByArn) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetLayerVersionByArn) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetLayerVersionByArn) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetLayerVersionByArn) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetLayerVersionByArn) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetLayerVersionByArn) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetLayerVersionByArn) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetLayerVersionByArn) diff --git a/doc_source/API_GetLayerVersionPolicy.md b/doc_source/API_GetLayerVersionPolicy.md index 5f080c3f..8a6f1f17 100644 --- a/doc_source/API_GetLayerVersionPolicy.md +++ b/doc_source/API_GetLayerVersionPolicy.md @@ -77,7 +77,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetLayerVersionPolicy) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetLayerVersionPolicy) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetLayerVersionPolicy) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetLayerVersionPolicy) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetLayerVersionPolicy) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetLayerVersionPolicy) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetLayerVersionPolicy) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetLayerVersionPolicy) diff --git a/doc_source/API_GetPolicy.md b/doc_source/API_GetPolicy.md index 35421479..7e9d820e 100644 --- a/doc_source/API_GetPolicy.md +++ b/doc_source/API_GetPolicy.md @@ -84,7 +84,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetPolicy) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetPolicy) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetPolicy) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetPolicy) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetPolicy) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetPolicy) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetPolicy) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetPolicy) diff --git a/doc_source/API_GetProvisionedConcurrencyConfig.md b/doc_source/API_GetProvisionedConcurrencyConfig.md index 0f08ee63..4248db3d 100644 --- a/doc_source/API_GetProvisionedConcurrencyConfig.md +++ b/doc_source/API_GetProvisionedConcurrencyConfig.md @@ -113,7 +113,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/GetProvisionedConcurrencyConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/GetProvisionedConcurrencyConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/GetProvisionedConcurrencyConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/GetProvisionedConcurrencyConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/GetProvisionedConcurrencyConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/GetProvisionedConcurrencyConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/GetProvisionedConcurrencyConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/GetProvisionedConcurrencyConfig) diff --git a/doc_source/API_ImageConfig.md b/doc_source/API_ImageConfig.md index 1b4f1fdd..ac7ed0bb 100644 --- a/doc_source/API_ImageConfig.md +++ b/doc_source/API_ImageConfig.md @@ -1,6 +1,6 @@ # ImageConfig -Configuration values that override the container image Dockerfile settings\. See [Container settings](https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html)\. +Configuration values that override the container image Dockerfile settings\. See [Container settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms)\. ## Contents @@ -27,5 +27,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ImageConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ImageConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ImageConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ImageConfig) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/ImageConfig) \ No newline at end of file diff --git a/doc_source/API_ImageConfigError.md b/doc_source/API_ImageConfigError.md index b43ac4bc..2e0f10d5 100644 --- a/doc_source/API_ImageConfigError.md +++ b/doc_source/API_ImageConfigError.md @@ -19,5 +19,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ImageConfigError) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ImageConfigError) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ImageConfigError) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ImageConfigError) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/ImageConfigError) \ No newline at end of file diff --git a/doc_source/API_ImageConfigResponse.md b/doc_source/API_ImageConfigResponse.md index 4b19ddeb..a71f8502 100644 --- a/doc_source/API_ImageConfigResponse.md +++ b/doc_source/API_ImageConfigResponse.md @@ -19,5 +19,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ImageConfigResponse) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ImageConfigResponse) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ImageConfigResponse) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ImageConfigResponse) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/ImageConfigResponse) \ No newline at end of file diff --git a/doc_source/API_Invoke.md b/doc_source/API_Invoke.md index e982a0f1..294589d9 100644 --- a/doc_source/API_Invoke.md +++ b/doc_source/API_Invoke.md @@ -216,7 +216,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/Invoke) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/Invoke) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/Invoke) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/Invoke) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/Invoke) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/Invoke) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/Invoke) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/Invoke) diff --git a/doc_source/API_InvokeAsync.md b/doc_source/API_InvokeAsync.md index f7246f81..69395006 100644 --- a/doc_source/API_InvokeAsync.md +++ b/doc_source/API_InvokeAsync.md @@ -81,7 +81,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/InvokeAsync) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/InvokeAsync) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/InvokeAsync) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/InvokeAsync) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/InvokeAsync) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/InvokeAsync) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/InvokeAsync) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/InvokeAsync) diff --git a/doc_source/API_Layer.md b/doc_source/API_Layer.md index df0d9d16..80c3a729 100644 --- a/doc_source/API_Layer.md +++ b/doc_source/API_Layer.md @@ -14,6 +14,18 @@ Required: No **CodeSize** The size of the layer archive in bytes\. Type: Long +Required: No + + **SigningJobArn** +The Amazon Resource Name \(ARN\) of a signing job\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` +Required: No + + **SigningProfileVersionArn** +The Amazon Resource Name \(ARN\) for a signing profile version\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` Required: No ## See Also @@ -21,5 +33,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/Layer) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/Layer) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/Layer) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/Layer) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/Layer) \ No newline at end of file diff --git a/doc_source/API_LayerVersionContentInput.md b/doc_source/API_LayerVersionContentInput.md index df236db4..8f946fc3 100644 --- a/doc_source/API_LayerVersionContentInput.md +++ b/doc_source/API_LayerVersionContentInput.md @@ -33,5 +33,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/LayerVersionContentInput) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/LayerVersionContentInput) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/LayerVersionContentInput) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/LayerVersionContentInput) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/LayerVersionContentInput) \ No newline at end of file diff --git a/doc_source/API_LayerVersionContentOutput.md b/doc_source/API_LayerVersionContentOutput.md index 09f64516..b0ead36e 100644 --- a/doc_source/API_LayerVersionContentOutput.md +++ b/doc_source/API_LayerVersionContentOutput.md @@ -17,6 +17,16 @@ Required: No **Location** A link to the layer archive in Amazon S3 that is valid for 10 minutes\. Type: String +Required: No + + **SigningJobArn** +The Amazon Resource Name \(ARN\) of a signing job\. +Type: String +Required: No + + **SigningProfileVersionArn** +The Amazon Resource Name \(ARN\) for a signing profile version\. +Type: String Required: No ## See Also @@ -24,5 +34,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/LayerVersionContentOutput) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/LayerVersionContentOutput) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/LayerVersionContentOutput) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/LayerVersionContentOutput) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/LayerVersionContentOutput) \ No newline at end of file diff --git a/doc_source/API_LayerVersionsListItem.md b/doc_source/API_LayerVersionsListItem.md index 2e858f4a..f2df4764 100644 --- a/doc_source/API_LayerVersionsListItem.md +++ b/doc_source/API_LayerVersionsListItem.md @@ -8,7 +8,7 @@ Details about a version of an [AWS Lambda layer](https://docs.aws.amazon.com/lam The layer's compatible runtimes\. Type: Array of strings Array Members: Maximum number of 15 items\. -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` Required: No **CreatedDate** @@ -45,5 +45,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/LayerVersionsListItem) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/LayerVersionsListItem) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/LayerVersionsListItem) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/LayerVersionsListItem) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/LayerVersionsListItem) \ No newline at end of file diff --git a/doc_source/API_LayersListItem.md b/doc_source/API_LayersListItem.md index 96e5e748..8748e7b8 100644 --- a/doc_source/API_LayersListItem.md +++ b/doc_source/API_LayersListItem.md @@ -28,5 +28,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/LayersListItem) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/LayersListItem) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/LayersListItem) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/LayersListItem) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/LayersListItem) \ No newline at end of file diff --git a/doc_source/API_ListAliases.md b/doc_source/API_ListAliases.md index 6440d010..355812a0 100644 --- a/doc_source/API_ListAliases.md +++ b/doc_source/API_ListAliases.md @@ -104,7 +104,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListAliases) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListAliases) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListAliases) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListAliases) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListAliases) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListAliases) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListAliases) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListAliases) diff --git a/doc_source/API_ListCodeSigningConfigs.md b/doc_source/API_ListCodeSigningConfigs.md index 517dbaf5..2317b88d 100644 --- a/doc_source/API_ListCodeSigningConfigs.md +++ b/doc_source/API_ListCodeSigningConfigs.md @@ -79,7 +79,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListCodeSigningConfigs) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListCodeSigningConfigs) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListCodeSigningConfigs) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListCodeSigningConfigs) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListCodeSigningConfigs) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListCodeSigningConfigs) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListCodeSigningConfigs) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListCodeSigningConfigs) diff --git a/doc_source/API_ListEventSourceMappings.md b/doc_source/API_ListEventSourceMappings.md index 803b3be6..7ff4f8fe 100644 --- a/doc_source/API_ListEventSourceMappings.md +++ b/doc_source/API_ListEventSourceMappings.md @@ -64,6 +64,7 @@ Content-type: application/json }, "EventSourceArn": "string", "FunctionArn": "string", + "FunctionResponseTypes": [ "string" ], "LastModified": number, "LastProcessingResult": "string", "MaximumBatchingWindowInSeconds": number, @@ -71,15 +72,23 @@ Content-type: application/json "MaximumRetryAttempts": number, "ParallelizationFactor": number, "Queues": [ "string" ], + "SelfManagedEventSource": { + "Endpoints": { + "string" : [ "string" ] + } + }, "SourceAccessConfigurations": [ { "Type": "string", "URI": "string" } ], + "StartingPosition": "string", + "StartingPositionTimestamp": number, "State": "string", "StateTransitionReason": "string", "Topics": [ "string" ], + "TumblingWindowInSeconds": number, "UUID": "string" } ], @@ -126,7 +135,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListEventSourceMappings) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListEventSourceMappings) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListEventSourceMappings) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListEventSourceMappings) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListEventSourceMappings) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListEventSourceMappings) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListEventSourceMappings) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListEventSourceMappings) diff --git a/doc_source/API_ListFunctionEventInvokeConfigs.md b/doc_source/API_ListFunctionEventInvokeConfigs.md index 4b865687..b689c65c 100644 --- a/doc_source/API_ListFunctionEventInvokeConfigs.md +++ b/doc_source/API_ListFunctionEventInvokeConfigs.md @@ -103,7 +103,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListFunctionEventInvokeConfigs) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListFunctionEventInvokeConfigs) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListFunctionEventInvokeConfigs) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListFunctionEventInvokeConfigs) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListFunctionEventInvokeConfigs) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListFunctionEventInvokeConfigs) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListFunctionEventInvokeConfigs) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListFunctionEventInvokeConfigs) diff --git a/doc_source/API_ListFunctions.md b/doc_source/API_ListFunctions.md index ae21f90a..e99ef63e 100644 --- a/doc_source/API_ListFunctions.md +++ b/doc_source/API_ListFunctions.md @@ -2,7 +2,10 @@ Returns a list of Lambda functions, with the version\-specific configuration of each\. Lambda returns up to 50 functions per call\. -Set `FunctionVersion` to `ALL` to include all published versions of each function in addition to the unpublished version\. To get more information about a function or version, use [GetFunction](API_GetFunction.md)\. +Set `FunctionVersion` to `ALL` to include all published versions of each function in addition to the unpublished version\. + +**Note** +The `ListFunctions` action returns a subset of the [FunctionConfiguration](API_FunctionConfiguration.md) fields\. To get the additional fields \(State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode\) for a function or version, use [GetFunction](API_GetFunction.md)\. ## Request Syntax @@ -26,7 +29,7 @@ For Lambda@Edge functions, the AWS Region of the master function\. For example, Pattern: `ALL|[a-z]{2}(-gov)?-[a-z]+-\d{1}` ** [MaxItems](#API_ListFunctions_RequestSyntax) ** -The maximum number of functions to return\. +The maximum number of functions to return in the response\. Note that `ListFunctions` returns a maximum of 50 items in each response, even if you set the number higher\. Valid Range: Minimum value of 1\. Maximum value of 10000\. ## Request Body @@ -66,6 +69,17 @@ Content-type: application/json "FunctionArn": "string", "FunctionName": "string", "Handler": "string", + "ImageConfigResponse": { + "Error": { + "ErrorCode": "string", + "Message": "string" + }, + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + } + }, "KMSKeyArn": "string", "LastModified": "string", "LastUpdateStatus": "string", @@ -74,14 +88,19 @@ Content-type: application/json "Layers": [ { "Arn": "string", - "CodeSize": number + "CodeSize": number, + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" } ], "MasterArn": "string", "MemorySize": number, + "PackageType": "string", "RevisionId": "string", "Role": "string", "Runtime": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string", "State": "string", "StateReason": "string", "StateReasonCode": "string", @@ -136,7 +155,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListFunctions) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListFunctions) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListFunctions) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListFunctions) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListFunctions) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListFunctions) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListFunctions) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListFunctions) diff --git a/doc_source/API_ListFunctionsByCodeSigningConfig.md b/doc_source/API_ListFunctionsByCodeSigningConfig.md index 39443594..a2cc5696 100644 --- a/doc_source/API_ListFunctionsByCodeSigningConfig.md +++ b/doc_source/API_ListFunctionsByCodeSigningConfig.md @@ -77,7 +77,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListFunctionsByCodeSigningConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListFunctionsByCodeSigningConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListFunctionsByCodeSigningConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListFunctionsByCodeSigningConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListFunctionsByCodeSigningConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListFunctionsByCodeSigningConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListFunctionsByCodeSigningConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListFunctionsByCodeSigningConfig) diff --git a/doc_source/API_ListLayerVersions.md b/doc_source/API_ListLayerVersions.md index 1e38e5f3..eacec069 100644 --- a/doc_source/API_ListLayerVersions.md +++ b/doc_source/API_ListLayerVersions.md @@ -14,7 +14,7 @@ The request uses the following URI parameters\. ** [CompatibleRuntime](#API_ListLayerVersions_RequestSyntax) ** A runtime identifier\. For example, `go1.x`\. -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` ** [LayerName](#API_ListLayerVersions_RequestSyntax) ** The name or Amazon Resource Name \(ARN\) of the layer\. @@ -93,7 +93,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListLayerVersions) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListLayerVersions) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListLayerVersions) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListLayerVersions) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListLayerVersions) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListLayerVersions) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListLayerVersions) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListLayerVersions) diff --git a/doc_source/API_ListLayers.md b/doc_source/API_ListLayers.md index cf6939f7..4adf853d 100644 --- a/doc_source/API_ListLayers.md +++ b/doc_source/API_ListLayers.md @@ -14,7 +14,7 @@ The request uses the following URI parameters\. ** [CompatibleRuntime](#API_ListLayers_RequestSyntax) ** A runtime identifier\. For example, `go1.x`\. -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` ** [Marker](#API_ListLayers_RequestSyntax) ** A pagination token returned by a previous call\. @@ -87,7 +87,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListLayers) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListLayers) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListLayers) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListLayers) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListLayers) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListLayers) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListLayers) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListLayers) diff --git a/doc_source/API_ListProvisionedConcurrencyConfigs.md b/doc_source/API_ListProvisionedConcurrencyConfigs.md index 5cb586fe..77a1530d 100644 --- a/doc_source/API_ListProvisionedConcurrencyConfigs.md +++ b/doc_source/API_ListProvisionedConcurrencyConfigs.md @@ -96,7 +96,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListProvisionedConcurrencyConfigs) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListProvisionedConcurrencyConfigs) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListProvisionedConcurrencyConfigs) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListProvisionedConcurrencyConfigs) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListProvisionedConcurrencyConfigs) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListProvisionedConcurrencyConfigs) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListProvisionedConcurrencyConfigs) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListProvisionedConcurrencyConfigs) diff --git a/doc_source/API_ListTags.md b/doc_source/API_ListTags.md index e5e7d1d5..d2dc7f0b 100644 --- a/doc_source/API_ListTags.md +++ b/doc_source/API_ListTags.md @@ -69,7 +69,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListTags) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListTags) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListTags) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListTags) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListTags) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListTags) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListTags) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListTags) diff --git a/doc_source/API_ListVersionsByFunction.md b/doc_source/API_ListVersionsByFunction.md index cfdddb83..a6bb06e9 100644 --- a/doc_source/API_ListVersionsByFunction.md +++ b/doc_source/API_ListVersionsByFunction.md @@ -69,6 +69,17 @@ Content-type: application/json "FunctionArn": "string", "FunctionName": "string", "Handler": "string", + "ImageConfigResponse": { + "Error": { + "ErrorCode": "string", + "Message": "string" + }, + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + } + }, "KMSKeyArn": "string", "LastModified": "string", "LastUpdateStatus": "string", @@ -77,14 +88,19 @@ Content-type: application/json "Layers": [ { "Arn": "string", - "CodeSize": number + "CodeSize": number, + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" } ], "MasterArn": "string", "MemorySize": number, + "PackageType": "string", "RevisionId": "string", "Role": "string", "Runtime": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string", "State": "string", "StateReason": "string", "StateReasonCode": "string", @@ -142,7 +158,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/ListVersionsByFunction) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ListVersionsByFunction) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ListVersionsByFunction) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ListVersionsByFunction) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ListVersionsByFunction) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/ListVersionsByFunction) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/ListVersionsByFunction) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/ListVersionsByFunction) diff --git a/doc_source/API_OnFailure.md b/doc_source/API_OnFailure.md index 144e32dc..46402c85 100644 --- a/doc_source/API_OnFailure.md +++ b/doc_source/API_OnFailure.md @@ -16,5 +16,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/OnFailure) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/OnFailure) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/OnFailure) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/OnFailure) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/OnFailure) \ No newline at end of file diff --git a/doc_source/API_OnSuccess.md b/doc_source/API_OnSuccess.md index 97935571..ae14a7ea 100644 --- a/doc_source/API_OnSuccess.md +++ b/doc_source/API_OnSuccess.md @@ -16,5 +16,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/OnSuccess) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/OnSuccess) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/OnSuccess) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/OnSuccess) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/OnSuccess) \ No newline at end of file diff --git a/doc_source/API_Operations.md b/doc_source/API_Operations.md index 4dedc902..70a90b0c 100644 --- a/doc_source/API_Operations.md +++ b/doc_source/API_Operations.md @@ -4,19 +4,24 @@ The following actions are supported: + [AddLayerVersionPermission](API_AddLayerVersionPermission.md) + [AddPermission](API_AddPermission.md) + [CreateAlias](API_CreateAlias.md) ++ [CreateCodeSigningConfig](API_CreateCodeSigningConfig.md) + [CreateEventSourceMapping](API_CreateEventSourceMapping.md) + [CreateFunction](API_CreateFunction.md) + [DeleteAlias](API_DeleteAlias.md) ++ [DeleteCodeSigningConfig](API_DeleteCodeSigningConfig.md) + [DeleteEventSourceMapping](API_DeleteEventSourceMapping.md) + [DeleteFunction](API_DeleteFunction.md) ++ [DeleteFunctionCodeSigningConfig](API_DeleteFunctionCodeSigningConfig.md) + [DeleteFunctionConcurrency](API_DeleteFunctionConcurrency.md) + [DeleteFunctionEventInvokeConfig](API_DeleteFunctionEventInvokeConfig.md) + [DeleteLayerVersion](API_DeleteLayerVersion.md) + [DeleteProvisionedConcurrencyConfig](API_DeleteProvisionedConcurrencyConfig.md) + [GetAccountSettings](API_GetAccountSettings.md) + [GetAlias](API_GetAlias.md) ++ [GetCodeSigningConfig](API_GetCodeSigningConfig.md) + [GetEventSourceMapping](API_GetEventSourceMapping.md) + [GetFunction](API_GetFunction.md) ++ [GetFunctionCodeSigningConfig](API_GetFunctionCodeSigningConfig.md) + [GetFunctionConcurrency](API_GetFunctionConcurrency.md) + [GetFunctionConfiguration](API_GetFunctionConfiguration.md) + [GetFunctionEventInvokeConfig](API_GetFunctionEventInvokeConfig.md) @@ -28,9 +33,11 @@ The following actions are supported: + [Invoke](API_Invoke.md) + [InvokeAsync](API_InvokeAsync.md) + [ListAliases](API_ListAliases.md) ++ [ListCodeSigningConfigs](API_ListCodeSigningConfigs.md) + [ListEventSourceMappings](API_ListEventSourceMappings.md) + [ListFunctionEventInvokeConfigs](API_ListFunctionEventInvokeConfigs.md) + [ListFunctions](API_ListFunctions.md) ++ [ListFunctionsByCodeSigningConfig](API_ListFunctionsByCodeSigningConfig.md) + [ListLayers](API_ListLayers.md) + [ListLayerVersions](API_ListLayerVersions.md) + [ListProvisionedConcurrencyConfigs](API_ListProvisionedConcurrencyConfigs.md) @@ -38,6 +45,7 @@ The following actions are supported: + [ListVersionsByFunction](API_ListVersionsByFunction.md) + [PublishLayerVersion](API_PublishLayerVersion.md) + [PublishVersion](API_PublishVersion.md) ++ [PutFunctionCodeSigningConfig](API_PutFunctionCodeSigningConfig.md) + [PutFunctionConcurrency](API_PutFunctionConcurrency.md) + [PutFunctionEventInvokeConfig](API_PutFunctionEventInvokeConfig.md) + [PutProvisionedConcurrencyConfig](API_PutProvisionedConcurrencyConfig.md) @@ -46,6 +54,7 @@ The following actions are supported: + [TagResource](API_TagResource.md) + [UntagResource](API_UntagResource.md) + [UpdateAlias](API_UpdateAlias.md) ++ [UpdateCodeSigningConfig](API_UpdateCodeSigningConfig.md) + [UpdateEventSourceMapping](API_UpdateEventSourceMapping.md) + [UpdateFunctionCode](API_UpdateFunctionCode.md) + [UpdateFunctionConfiguration](API_UpdateFunctionConfiguration.md) diff --git a/doc_source/API_ProvisionedConcurrencyConfigListItem.md b/doc_source/API_ProvisionedConcurrencyConfigListItem.md index 7325b710..73d4e84e 100644 --- a/doc_source/API_ProvisionedConcurrencyConfigListItem.md +++ b/doc_source/API_ProvisionedConcurrencyConfigListItem.md @@ -49,5 +49,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/ProvisionedConcurrencyConfigListItem) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/ProvisionedConcurrencyConfigListItem) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/ProvisionedConcurrencyConfigListItem) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/ProvisionedConcurrencyConfigListItem) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/ProvisionedConcurrencyConfigListItem) \ No newline at end of file diff --git a/doc_source/API_PublishLayerVersion.md b/doc_source/API_PublishLayerVersion.md index fcbe9f72..21b6f62a 100644 --- a/doc_source/API_PublishLayerVersion.md +++ b/doc_source/API_PublishLayerVersion.md @@ -41,7 +41,7 @@ The request accepts the following data in JSON format\. A list of compatible [function runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html)\. Used for filtering with [ListLayers](API_ListLayers.md) and [ListLayerVersions](API_ListLayerVersions.md)\. Type: Array of strings Array Members: Maximum number of 15 items\. -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` Required: No ** [Content](#API_PublishLayerVersion_RequestSyntax) ** @@ -75,7 +75,9 @@ Content-type: application/json "Content": { "CodeSha256": "string", "CodeSize": number, - "Location": "string" + "Location": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" }, "CreatedDate": "string", "Description": "string", @@ -96,7 +98,7 @@ The following data is returned in JSON format by the service\. The layer's compatible runtimes\. Type: Array of strings Array Members: Maximum number of 15 items\. -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` ** [Content](#API_PublishLayerVersion_ResponseSyntax) ** Details about the layer version\. @@ -161,7 +163,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/PublishLayerVersion) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/PublishLayerVersion) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/PublishLayerVersion) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/PublishLayerVersion) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/PublishLayerVersion) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/PublishLayerVersion) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/PublishLayerVersion) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/PublishLayerVersion) diff --git a/doc_source/API_PublishVersion.md b/doc_source/API_PublishVersion.md index 4e1749f3..d361190c 100644 --- a/doc_source/API_PublishVersion.md +++ b/doc_source/API_PublishVersion.md @@ -86,6 +86,17 @@ Content-type: application/json "FunctionArn": "string", "FunctionName": "string", "Handler": "string", + "ImageConfigResponse": { + "Error": { + "ErrorCode": "string", + "Message": "string" + }, + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + } + }, "KMSKeyArn": "string", "LastModified": "string", "LastUpdateStatus": "string", @@ -94,14 +105,19 @@ Content-type: application/json "Layers": [ { "Arn": "string", - "CodeSize": number + "CodeSize": number, + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" } ], "MasterArn": "string", "MemorySize": number, + "PackageType": "string", "RevisionId": "string", "Role": "string", "Runtime": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string", "State": "string", "StateReason": "string", "StateReasonCode": "string", @@ -167,6 +183,10 @@ Type: String Length Constraints: Maximum length of 128\. Pattern: `[^\s]+` + ** [ImageConfigResponse](#API_PublishVersion_ResponseSyntax) ** +The function's image configuration values\. +Type: [ImageConfigResponse](API_ImageConfigResponse.md) object + ** [KMSKeyArn](#API_PublishVersion_ResponseSyntax) ** The KMS key that's used to encrypt the function's environment variables\. This key is only returned if you've configured a customer managed CMK\. Type: String @@ -188,7 +208,7 @@ Type: String ** [LastUpdateStatusReasonCode](#API_PublishVersion_ResponseSyntax) ** The reason code for the last update that was performed on the function\. Type: String -Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Layers](#API_PublishVersion_ResponseSyntax) ** The function's [ layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)\. @@ -200,9 +220,14 @@ Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` ** [MemorySize](#API_PublishVersion_ResponseSyntax) ** -The memory that's allocated to the function\. +The amount of memory available to the function at runtime\. Type: Integer -Valid Range: Minimum value of 128\. Maximum value of 3008\. +Valid Range: Minimum value of 128\. Maximum value of 10240\. + + ** [PackageType](#API_PublishVersion_ResponseSyntax) ** +The type of deployment package\. Set to `Image` for container image and set `Zip` for \.zip file archive\. +Type: String +Valid Values:` Zip | Image` ** [RevisionId](#API_PublishVersion_ResponseSyntax) ** The latest updated revision of the function or alias\. @@ -216,7 +241,17 @@ Pattern: `arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+` ** [Runtime](#API_PublishVersion_ResponseSyntax) ** The runtime environment for the Lambda function\. Type: String -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` + + ** [SigningJobArn](#API_PublishVersion_ResponseSyntax) ** +The ARN of the signing job\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` + + ** [SigningProfileVersionArn](#API_PublishVersion_ResponseSyntax) ** +The ARN of the signing profile version\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` ** [State](#API_PublishVersion_ResponseSyntax) ** The current state of the function\. When the state is `Inactive`, you can reactivate the function by invoking it\. @@ -230,7 +265,7 @@ Type: String ** [StateReasonCode](#API_PublishVersion_ResponseSyntax) ** The reason code for the function's current state\. When the code is `Creating`, you can't invoke or modify the function\. Type: String -Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Timeout](#API_PublishVersion_ResponseSyntax) ** The amount of time in seconds that Lambda allows a function to run before stopping it\. @@ -288,7 +323,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/PublishVersion) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/PublishVersion) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/PublishVersion) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/PublishVersion) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/PublishVersion) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/PublishVersion) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/PublishVersion) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/PublishVersion) diff --git a/doc_source/API_PutFunctionCodeSigningConfig.md b/doc_source/API_PutFunctionCodeSigningConfig.md index 18cc1352..8263662a 100644 --- a/doc_source/API_PutFunctionCodeSigningConfig.md +++ b/doc_source/API_PutFunctionCodeSigningConfig.md @@ -109,7 +109,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/PutFunctionCodeSigningConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/PutFunctionCodeSigningConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/PutFunctionCodeSigningConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/PutFunctionCodeSigningConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/PutFunctionCodeSigningConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/PutFunctionCodeSigningConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/PutFunctionCodeSigningConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/PutFunctionCodeSigningConfig) diff --git a/doc_source/API_PutFunctionConcurrency.md b/doc_source/API_PutFunctionConcurrency.md index c1ec66a8..367942bc 100644 --- a/doc_source/API_PutFunctionConcurrency.md +++ b/doc_source/API_PutFunctionConcurrency.md @@ -94,7 +94,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/PutFunctionConcurrency) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/PutFunctionConcurrency) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/PutFunctionConcurrency) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/PutFunctionConcurrency) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/PutFunctionConcurrency) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/PutFunctionConcurrency) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/PutFunctionConcurrency) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/PutFunctionConcurrency) diff --git a/doc_source/API_PutFunctionEventInvokeConfig.md b/doc_source/API_PutFunctionEventInvokeConfig.md index 7de52ada..ec123c06 100644 --- a/doc_source/API_PutFunctionEventInvokeConfig.md +++ b/doc_source/API_PutFunctionEventInvokeConfig.md @@ -156,7 +156,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/PutFunctionEventInvokeConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/PutFunctionEventInvokeConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/PutFunctionEventInvokeConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/PutFunctionEventInvokeConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/PutFunctionEventInvokeConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/PutFunctionEventInvokeConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/PutFunctionEventInvokeConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/PutFunctionEventInvokeConfig) diff --git a/doc_source/API_PutProvisionedConcurrencyConfig.md b/doc_source/API_PutProvisionedConcurrencyConfig.md index 09083ef0..5123b441 100644 --- a/doc_source/API_PutProvisionedConcurrencyConfig.md +++ b/doc_source/API_PutProvisionedConcurrencyConfig.md @@ -124,7 +124,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/PutProvisionedConcurrencyConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/PutProvisionedConcurrencyConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/PutProvisionedConcurrencyConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/PutProvisionedConcurrencyConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/PutProvisionedConcurrencyConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/PutProvisionedConcurrencyConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/PutProvisionedConcurrencyConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/PutProvisionedConcurrencyConfig) diff --git a/doc_source/API_RemoveLayerVersionPermission.md b/doc_source/API_RemoveLayerVersionPermission.md index 0bad24c5..529e3980 100644 --- a/doc_source/API_RemoveLayerVersionPermission.md +++ b/doc_source/API_RemoveLayerVersionPermission.md @@ -74,7 +74,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/RemoveLayerVersionPermission) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/RemoveLayerVersionPermission) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/RemoveLayerVersionPermission) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/RemoveLayerVersionPermission) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/RemoveLayerVersionPermission) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/RemoveLayerVersionPermission) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/RemoveLayerVersionPermission) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/RemoveLayerVersionPermission) diff --git a/doc_source/API_RemovePermission.md b/doc_source/API_RemovePermission.md index 6f877055..f7533bc9 100644 --- a/doc_source/API_RemovePermission.md +++ b/doc_source/API_RemovePermission.md @@ -81,7 +81,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/RemovePermission) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/RemovePermission) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/RemovePermission) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/RemovePermission) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/RemovePermission) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/RemovePermission) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/RemovePermission) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/RemovePermission) diff --git a/doc_source/API_SelfManagedEventSource.md b/doc_source/API_SelfManagedEventSource.md index 5ea2260c..cdf08843 100644 --- a/doc_source/API_SelfManagedEventSource.md +++ b/doc_source/API_SelfManagedEventSource.md @@ -19,5 +19,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/SelfManagedEventSource) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/SelfManagedEventSource) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/SelfManagedEventSource) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/SelfManagedEventSource) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/SelfManagedEventSource) \ No newline at end of file diff --git a/doc_source/API_SourceAccessConfiguration.md b/doc_source/API_SourceAccessConfiguration.md index 8a21b665..06601520 100644 --- a/doc_source/API_SourceAccessConfiguration.md +++ b/doc_source/API_SourceAccessConfiguration.md @@ -1,21 +1,25 @@ # SourceAccessConfiguration - \(MQ\) The Secrets Manager secret that stores your broker credentials\. To store your secret, use the following format: ` { "username": "your username", "password": "your password" }` +You can specify the authentication protocol, or the VPC components to secure access to your event source\. ## Contents **Type** -To reference the secret, use the following format: `[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]` -The value of `Type` is always `BASIC_AUTH`\. To encrypt the secret, you can use customer or service managed keys\. When using a customer managed KMS key, the Lambda execution role requires `kms:Decrypt` permissions\. +The type of authentication protocol or the VPC components for your event source\. For example: `"Type":"SASL_SCRAM_512_AUTH"`\. ++ `BASIC_AUTH` \- \(MQ\) The Secrets Manager secret that stores your broker credentials\. ++ `VPC_SUBNET` \- The subnets associated with your VPC\. Lambda connects to these subnets to fetch data from your Self\-Managed Apache Kafka cluster\. ++ `VPC_SECURITY_GROUP` \- The VPC security group used to manage access to your Self\-Managed Apache Kafka brokers\. ++ `SASL_SCRAM_256_AUTH` \- The Secrets Manager ARN of your secret key used for SASL SCRAM\-256 authentication of your Self\-Managed Apache Kafka brokers\. ++ `SASL_SCRAM_512_AUTH` \- The Secrets Manager ARN of your secret key used for SASL SCRAM\-512 authentication of your Self\-Managed Apache Kafka brokers\. Type: String -Valid Values:` BASIC_AUTH` +Valid Values:` BASIC_AUTH | VPC_SUBNET | VPC_SECURITY_GROUP | SASL_SCRAM_512_AUTH | SASL_SCRAM_256_AUTH` Required: No **URI** -To reference the secret, use the following format: `[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]` -The value of `Type` is always `BASIC_AUTH`\. To encrypt the secret, you can use customer or service managed keys\. When using a customer managed KMS key, the Lambda execution role requires `kms:Decrypt` permissions\. +The value for your chosen configuration in `Type`\. For example: `"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"`\. Type: String -Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` +Length Constraints: Minimum length of 1\. Maximum length of 200\. +Pattern: `[a-zA-Z0-9-\/*:_+=.@-]*` Required: No ## See Also @@ -23,5 +27,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/SourceAccessConfiguration) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/SourceAccessConfiguration) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/SourceAccessConfiguration) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/SourceAccessConfiguration) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/SourceAccessConfiguration) \ No newline at end of file diff --git a/doc_source/API_TagResource.md b/doc_source/API_TagResource.md index 7c144f26..81d0c506 100644 --- a/doc_source/API_TagResource.md +++ b/doc_source/API_TagResource.md @@ -72,7 +72,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/TagResource) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/TagResource) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/TagResource) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/TagResource) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/TagResource) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/TagResource) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/TagResource) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/TagResource) diff --git a/doc_source/API_TracingConfig.md b/doc_source/API_TracingConfig.md index 40bef909..653b1917 100644 --- a/doc_source/API_TracingConfig.md +++ b/doc_source/API_TracingConfig.md @@ -15,5 +15,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/TracingConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/TracingConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/TracingConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/TracingConfig) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/TracingConfig) \ No newline at end of file diff --git a/doc_source/API_TracingConfigResponse.md b/doc_source/API_TracingConfigResponse.md index 97f01023..acfdfabb 100644 --- a/doc_source/API_TracingConfigResponse.md +++ b/doc_source/API_TracingConfigResponse.md @@ -15,5 +15,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/TracingConfigResponse) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/TracingConfigResponse) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/TracingConfigResponse) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/TracingConfigResponse) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/TracingConfigResponse) \ No newline at end of file diff --git a/doc_source/API_Types.md b/doc_source/API_Types.md index ebedf4f7..aaa9f473 100644 --- a/doc_source/API_Types.md +++ b/doc_source/API_Types.md @@ -5,6 +5,9 @@ The following data types are supported: + [AccountUsage](API_AccountUsage.md) + [AliasConfiguration](API_AliasConfiguration.md) + [AliasRoutingConfiguration](API_AliasRoutingConfiguration.md) ++ [AllowedPublishers](API_AllowedPublishers.md) ++ [CodeSigningConfig](API_CodeSigningConfig.md) ++ [CodeSigningPolicies](API_CodeSigningPolicies.md) + [Concurrency](API_Concurrency.md) + [DeadLetterConfig](API_DeadLetterConfig.md) + [DestinationConfig](API_DestinationConfig.md) @@ -17,6 +20,9 @@ The following data types are supported: + [FunctionCodeLocation](API_FunctionCodeLocation.md) + [FunctionConfiguration](API_FunctionConfiguration.md) + [FunctionEventInvokeConfig](API_FunctionEventInvokeConfig.md) ++ [ImageConfig](API_ImageConfig.md) ++ [ImageConfigError](API_ImageConfigError.md) ++ [ImageConfigResponse](API_ImageConfigResponse.md) + [Layer](API_Layer.md) + [LayersListItem](API_LayersListItem.md) + [LayerVersionContentInput](API_LayerVersionContentInput.md) @@ -25,6 +31,7 @@ The following data types are supported: + [OnFailure](API_OnFailure.md) + [OnSuccess](API_OnSuccess.md) + [ProvisionedConcurrencyConfigListItem](API_ProvisionedConcurrencyConfigListItem.md) ++ [SelfManagedEventSource](API_SelfManagedEventSource.md) + [SourceAccessConfiguration](API_SourceAccessConfiguration.md) + [TracingConfig](API_TracingConfig.md) + [TracingConfigResponse](API_TracingConfigResponse.md) diff --git a/doc_source/API_UntagResource.md b/doc_source/API_UntagResource.md index b1e30427..eb23ed5e 100644 --- a/doc_source/API_UntagResource.md +++ b/doc_source/API_UntagResource.md @@ -64,7 +64,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/UntagResource) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/UntagResource) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/UntagResource) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/UntagResource) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/UntagResource) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/UntagResource) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/UntagResource) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/UntagResource) diff --git a/doc_source/API_UpdateAlias.md b/doc_source/API_UpdateAlias.md index 609444f5..e1d3748f 100644 --- a/doc_source/API_UpdateAlias.md +++ b/doc_source/API_UpdateAlias.md @@ -158,7 +158,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/UpdateAlias) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/UpdateAlias) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/UpdateAlias) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/UpdateAlias) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/UpdateAlias) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/UpdateAlias) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/UpdateAlias) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/UpdateAlias) diff --git a/doc_source/API_UpdateCodeSigningConfig.md b/doc_source/API_UpdateCodeSigningConfig.md index c7f21012..a12662bc 100644 --- a/doc_source/API_UpdateCodeSigningConfig.md +++ b/doc_source/API_UpdateCodeSigningConfig.md @@ -102,7 +102,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/UpdateCodeSigningConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/UpdateCodeSigningConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/UpdateCodeSigningConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/UpdateCodeSigningConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/UpdateCodeSigningConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/UpdateCodeSigningConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/UpdateCodeSigningConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/UpdateCodeSigningConfig) diff --git a/doc_source/API_UpdateEventSourceMapping.md b/doc_source/API_UpdateEventSourceMapping.md index c6a09e35..4e6263f3 100644 --- a/doc_source/API_UpdateEventSourceMapping.md +++ b/doc_source/API_UpdateEventSourceMapping.md @@ -28,6 +28,7 @@ Content-type: application/json }, "Enabled": boolean, "FunctionName": "string", + "FunctionResponseTypes": [ "string" ], "MaximumBatchingWindowInSeconds": number, "MaximumRecordAgeInSeconds": number, "MaximumRetryAttempts": number, @@ -37,7 +38,8 @@ Content-type: application/json "Type": "string", "URI": "string" } - ] + ], + "TumblingWindowInSeconds": number } ``` @@ -57,8 +59,9 @@ The request accepts the following data in JSON format\. The maximum number of items to retrieve in a single batch\. + **Amazon Kinesis** \- Default 100\. Max 10,000\. + **Amazon DynamoDB Streams** \- Default 100\. Max 1,000\. -+ **Amazon Simple Queue Service** \- Default 10\. Max 10\. ++ **Amazon Simple Queue Service** \- Default 10\. For standard queues the max is 10,000\. For FIFO queues the max is 10\. + **Amazon Managed Streaming for Apache Kafka** \- Default 100\. Max 10,000\. ++ **Self\-Managed Apache Kafka** \- Default 100\. Max 10,000\. Type: Integer Valid Range: Minimum value of 1\. Maximum value of 10000\. Required: No @@ -90,10 +93,17 @@ The length constraint applies only to the full ARN\. If you specify only the fun Type: String Length Constraints: Minimum length of 1\. Maximum length of 140\. Pattern: `(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?` +Required: No + + ** [FunctionResponseTypes](#API_UpdateEventSourceMapping_RequestSyntax) ** +\(Streams\) A list of current response type enums applied to the event source mapping\. +Type: Array of strings +Array Members: Fixed number of 1 item\. +Valid Values:` ReportBatchItemFailures` Required: No ** [MaximumBatchingWindowInSeconds](#API_UpdateEventSourceMapping_RequestSyntax) ** -\(Streams\) The maximum amount of time to gather records before invoking the function, in seconds\. +\(Streams and SQS standard queues\) The maximum amount of time to gather records before invoking the function, in seconds\. Type: Integer Valid Range: Minimum value of 0\. Maximum value of 300\. Required: No @@ -117,11 +127,15 @@ Valid Range: Minimum value of 1\. Maximum value of 10\. Required: No ** [SourceAccessConfigurations](#API_UpdateEventSourceMapping_RequestSyntax) ** - \(MQ\) The Secrets Manager secret that stores your broker credentials\. To store your secret, use the following format: ` { "username": "your username", "password": "your password" }` -To reference the secret, use the following format: `[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]` -The value of `Type` is always `BASIC_AUTH`\. To encrypt the secret, you can use customer or service managed keys\. When using a customer managed KMS key, the Lambda execution role requires `kms:Decrypt` permissions\. +An array of the authentication protocol, or the VPC components to secure your event source\. Type: Array of [SourceAccessConfiguration](API_SourceAccessConfiguration.md) objects -Array Members: Fixed number of 1 item\. +Array Members: Minimum number of 0 items\. Maximum number of 22 items\. +Required: No + + ** [TumblingWindowInSeconds](#API_UpdateEventSourceMapping_RequestSyntax) ** +\(Streams\) The duration in seconds of a processing window\. The range is between 1 second up to 900 seconds\. +Type: Integer +Valid Range: Minimum value of 0\. Maximum value of 900\. Required: No ## Response Syntax @@ -143,6 +157,7 @@ Content-type: application/json }, "EventSourceArn": "string", "FunctionArn": "string", + "FunctionResponseTypes": [ "string" ], "LastModified": number, "LastProcessingResult": "string", "MaximumBatchingWindowInSeconds": number, @@ -150,15 +165,23 @@ Content-type: application/json "MaximumRetryAttempts": number, "ParallelizationFactor": number, "Queues": [ "string" ], + "SelfManagedEventSource": { + "Endpoints": { + "string" : [ "string" ] + } + }, "SourceAccessConfigurations": [ { "Type": "string", "URI": "string" } ], + "StartingPosition": "string", + "StartingPositionTimestamp": number, "State": "string", "StateTransitionReason": "string", "Topics": [ "string" ], + "TumblingWindowInSeconds": number, "UUID": "string" } ``` @@ -192,6 +215,12 @@ The ARN of the Lambda function\. Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` + ** [FunctionResponseTypes](#API_UpdateEventSourceMapping_ResponseSyntax) ** +\(Streams\) A list of current response type enums applied to the event source mapping\. +Type: Array of strings +Array Members: Fixed number of 1 item\. +Valid Values:` ReportBatchItemFailures` + ** [LastModified](#API_UpdateEventSourceMapping_ResponseSyntax) ** The date that the event source mapping was last updated, or its state changed, in Unix time seconds\. Type: Timestamp @@ -201,7 +230,7 @@ The result of the last AWS Lambda invocation of your Lambda function\. Type: String ** [MaximumBatchingWindowInSeconds](#API_UpdateEventSourceMapping_ResponseSyntax) ** -\(Streams\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. +\(Streams and SQS standard queues\) The maximum amount of time to gather records before invoking the function, in seconds\. The default value is zero\. Type: Integer Valid Range: Minimum value of 0\. Maximum value of 300\. @@ -227,12 +256,23 @@ Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 1000\. Pattern: `[\s\S]*` + ** [SelfManagedEventSource](#API_UpdateEventSourceMapping_ResponseSyntax) ** +The Self\-Managed Apache Kafka cluster for your event source\. +Type: [SelfManagedEventSource](API_SelfManagedEventSource.md) object + ** [SourceAccessConfigurations](#API_UpdateEventSourceMapping_ResponseSyntax) ** - \(MQ\) The Secrets Manager secret that stores your broker credentials\. To store your secret, use the following format: ` { "username": "your username", "password": "your password" }` -To reference the secret, use the following format: `[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]` -The value of `Type` is always `BASIC_AUTH`\. To encrypt the secret, you can use customer or service managed keys\. When using a customer managed KMS key, the Lambda execution role requires `kms:Decrypt` permissions\. +An array of the authentication protocol, or the VPC components to secure your event source\. Type: Array of [SourceAccessConfiguration](API_SourceAccessConfiguration.md) objects -Array Members: Fixed number of 1 item\. +Array Members: Minimum number of 0 items\. Maximum number of 22 items\. + + ** [StartingPosition](#API_UpdateEventSourceMapping_ResponseSyntax) ** +The position in a stream from which to start reading\. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources\. `AT_TIMESTAMP` is only supported for Amazon Kinesis streams\. +Type: String +Valid Values:` TRIM_HORIZON | LATEST | AT_TIMESTAMP` + + ** [StartingPositionTimestamp](#API_UpdateEventSourceMapping_ResponseSyntax) ** +With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to start reading, in Unix time seconds\. +Type: Timestamp ** [State](#API_UpdateEventSourceMapping_ResponseSyntax) ** The state of the event source mapping\. It can be one of the following: `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, or `Deleting`\. @@ -243,12 +283,17 @@ Indicates whether the last change to the event source mapping was made by a user Type: String ** [Topics](#API_UpdateEventSourceMapping_ResponseSyntax) ** - \(MSK\) The name of the Kafka topic to consume\. +The name of the Kafka topic\. Type: Array of strings Array Members: Fixed number of 1 item\. Length Constraints: Minimum length of 1\. Maximum length of 249\. Pattern: `^[^.]([a-zA-Z0-9\-_.]+)` + ** [TumblingWindowInSeconds](#API_UpdateEventSourceMapping_ResponseSyntax) ** +\(Streams\) The duration in seconds of a processing window\. The range is between 1 second up to 900 seconds\. +Type: Integer +Valid Range: Minimum value of 0\. Maximum value of 900\. + ** [UUID](#API_UpdateEventSourceMapping_ResponseSyntax) ** The identifier of the event source mapping\. Type: String @@ -286,7 +331,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/UpdateEventSourceMapping) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/UpdateEventSourceMapping) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/UpdateEventSourceMapping) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/UpdateEventSourceMapping) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/UpdateEventSourceMapping) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/UpdateEventSourceMapping) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/UpdateEventSourceMapping) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/UpdateEventSourceMapping) diff --git a/doc_source/API_UpdateFunctionCode.md b/doc_source/API_UpdateFunctionCode.md index f0f55d47..8f181f19 100644 --- a/doc_source/API_UpdateFunctionCode.md +++ b/doc_source/API_UpdateFunctionCode.md @@ -1,9 +1,12 @@ # UpdateFunctionCode -Updates a Lambda function's code\. +Updates a Lambda function's code\. If code signing is enabled for the function, the code package must be signed by a trusted publisher\. For more information, see [Configuring code signing](https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html)\. The function's code is locked when you publish a version\. You can't modify the code of a published version, only the unpublished version\. +**Note** +For a function defined as a container image, Lambda resolves the image tag to an image digest\. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function\. + ## Request Syntax ``` @@ -12,6 +15,7 @@ Content-type: application/json { "DryRun": boolean, + "ImageUri": "string", "Publish": boolean, "RevisionId": "string", "S3Bucket": "string", @@ -44,6 +48,11 @@ The request accepts the following data in JSON format\. ** [DryRun](#API_UpdateFunctionCode_RequestSyntax) ** Set to true to validate the request parameters and access permissions without modifying the function code\. Type: Boolean +Required: No + + ** [ImageUri](#API_UpdateFunctionCode_RequestSyntax) ** +URI of a container image in the Amazon ECR registry\. +Type: String Required: No ** [Publish](#API_UpdateFunctionCode_RequestSyntax) ** @@ -111,6 +120,17 @@ Content-type: application/json "FunctionArn": "string", "FunctionName": "string", "Handler": "string", + "ImageConfigResponse": { + "Error": { + "ErrorCode": "string", + "Message": "string" + }, + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + } + }, "KMSKeyArn": "string", "LastModified": "string", "LastUpdateStatus": "string", @@ -119,14 +139,19 @@ Content-type: application/json "Layers": [ { "Arn": "string", - "CodeSize": number + "CodeSize": number, + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" } ], "MasterArn": "string", "MemorySize": number, + "PackageType": "string", "RevisionId": "string", "Role": "string", "Runtime": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string", "State": "string", "StateReason": "string", "StateReasonCode": "string", @@ -192,6 +217,10 @@ Type: String Length Constraints: Maximum length of 128\. Pattern: `[^\s]+` + ** [ImageConfigResponse](#API_UpdateFunctionCode_ResponseSyntax) ** +The function's image configuration values\. +Type: [ImageConfigResponse](API_ImageConfigResponse.md) object + ** [KMSKeyArn](#API_UpdateFunctionCode_ResponseSyntax) ** The KMS key that's used to encrypt the function's environment variables\. This key is only returned if you've configured a customer managed CMK\. Type: String @@ -213,7 +242,7 @@ Type: String ** [LastUpdateStatusReasonCode](#API_UpdateFunctionCode_ResponseSyntax) ** The reason code for the last update that was performed on the function\. Type: String -Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Layers](#API_UpdateFunctionCode_ResponseSyntax) ** The function's [ layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)\. @@ -225,9 +254,14 @@ Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` ** [MemorySize](#API_UpdateFunctionCode_ResponseSyntax) ** -The memory that's allocated to the function\. +The amount of memory available to the function at runtime\. Type: Integer -Valid Range: Minimum value of 128\. Maximum value of 3008\. +Valid Range: Minimum value of 128\. Maximum value of 10240\. + + ** [PackageType](#API_UpdateFunctionCode_ResponseSyntax) ** +The type of deployment package\. Set to `Image` for container image and set `Zip` for \.zip file archive\. +Type: String +Valid Values:` Zip | Image` ** [RevisionId](#API_UpdateFunctionCode_ResponseSyntax) ** The latest updated revision of the function or alias\. @@ -241,7 +275,17 @@ Pattern: `arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+` ** [Runtime](#API_UpdateFunctionCode_ResponseSyntax) ** The runtime environment for the Lambda function\. Type: String -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` + + ** [SigningJobArn](#API_UpdateFunctionCode_ResponseSyntax) ** +The ARN of the signing job\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` + + ** [SigningProfileVersionArn](#API_UpdateFunctionCode_ResponseSyntax) ** +The ARN of the signing profile version\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` ** [State](#API_UpdateFunctionCode_ResponseSyntax) ** The current state of the function\. When the state is `Inactive`, you can reactivate the function by invoking it\. @@ -255,7 +299,7 @@ Type: String ** [StateReasonCode](#API_UpdateFunctionCode_ResponseSyntax) ** The reason code for the function's current state\. When the code is `Creating`, you can't invoke or modify the function\. Type: String -Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Timeout](#API_UpdateFunctionCode_ResponseSyntax) ** The amount of time in seconds that Lambda allows a function to run before stopping it\. @@ -278,8 +322,20 @@ Type: [VpcConfigResponse](API_VpcConfigResponse.md) object ## Errors + **CodeSigningConfigNotFoundException** +The specified code signing configuration does not exist\. +HTTP Status Code: 404 + **CodeStorageExceededException** You have exceeded your maximum total code size per account\. [Learn more](https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +HTTP Status Code: 400 + + **CodeVerificationFailedException** +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\. +HTTP Status Code: 400 + + **InvalidCodeSignatureException** +The code signature failed the integrity check\. Lambda always blocks deployment if the integrity check fails, even if code signing policy is set to WARN\. HTTP Status Code: 400 **InvalidParameterValueException** @@ -313,7 +369,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/UpdateFunctionCode) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/UpdateFunctionCode) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/UpdateFunctionCode) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/UpdateFunctionCode) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/UpdateFunctionCode) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/UpdateFunctionCode) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/UpdateFunctionCode) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/UpdateFunctionCode) diff --git a/doc_source/API_UpdateFunctionConfiguration.md b/doc_source/API_UpdateFunctionConfiguration.md index f4b2ea77..f828bcfe 100644 --- a/doc_source/API_UpdateFunctionConfiguration.md +++ b/doc_source/API_UpdateFunctionConfiguration.md @@ -31,6 +31,11 @@ Content-type: application/json } ], "Handler": "string", + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + }, "KMSKeyArn": "string", "Layers": [ "string" ], "MemorySize": number, @@ -95,6 +100,11 @@ The name of the method within your code that Lambda calls to execute your functi Type: String Length Constraints: Maximum length of 128\. Pattern: `[^\s]+` +Required: No + + ** [ImageConfig](#API_UpdateFunctionConfiguration_RequestSyntax) ** + [Container image configuration values](https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html) that override the values in the container image Dockerfile\. +Type: [ImageConfig](API_ImageConfig.md) object Required: No ** [KMSKeyArn](#API_UpdateFunctionConfiguration_RequestSyntax) ** @@ -111,9 +121,9 @@ Pattern: `arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\d{12}:layer:[a-zA-Z0-9-_]+:[0- Required: No ** [MemorySize](#API_UpdateFunctionConfiguration_RequestSyntax) ** -The amount of memory that your function has access to\. Increasing the function's memory also increases its CPU allocation\. The default value is 128 MB\. The value must be a multiple of 64 MB\. +The amount of memory available to the function at runtime\. Increasing the function's memory also increases its CPU allocation\. The default value is 128 MB\. The value can be any multiple of 1 MB\. Type: Integer -Valid Range: Minimum value of 128\. Maximum value of 3008\. +Valid Range: Minimum value of 128\. Maximum value of 10240\. Required: No ** [RevisionId](#API_UpdateFunctionConfiguration_RequestSyntax) ** @@ -130,7 +140,7 @@ Required: No ** [Runtime](#API_UpdateFunctionConfiguration_RequestSyntax) ** The identifier of the function's [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html)\. Type: String -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` Required: No ** [Timeout](#API_UpdateFunctionConfiguration_RequestSyntax) ** @@ -180,6 +190,17 @@ Content-type: application/json "FunctionArn": "string", "FunctionName": "string", "Handler": "string", + "ImageConfigResponse": { + "Error": { + "ErrorCode": "string", + "Message": "string" + }, + "ImageConfig": { + "Command": [ "string" ], + "EntryPoint": [ "string" ], + "WorkingDirectory": "string" + } + }, "KMSKeyArn": "string", "LastModified": "string", "LastUpdateStatus": "string", @@ -188,14 +209,19 @@ Content-type: application/json "Layers": [ { "Arn": "string", - "CodeSize": number + "CodeSize": number, + "SigningJobArn": "string", + "SigningProfileVersionArn": "string" } ], "MasterArn": "string", "MemorySize": number, + "PackageType": "string", "RevisionId": "string", "Role": "string", "Runtime": "string", + "SigningJobArn": "string", + "SigningProfileVersionArn": "string", "State": "string", "StateReason": "string", "StateReasonCode": "string", @@ -261,6 +287,10 @@ Type: String Length Constraints: Maximum length of 128\. Pattern: `[^\s]+` + ** [ImageConfigResponse](#API_UpdateFunctionConfiguration_ResponseSyntax) ** +The function's image configuration values\. +Type: [ImageConfigResponse](API_ImageConfigResponse.md) object + ** [KMSKeyArn](#API_UpdateFunctionConfiguration_ResponseSyntax) ** The KMS key that's used to encrypt the function's environment variables\. This key is only returned if you've configured a customer managed CMK\. Type: String @@ -282,7 +312,7 @@ Type: String ** [LastUpdateStatusReasonCode](#API_UpdateFunctionConfiguration_ResponseSyntax) ** The reason code for the last update that was performed on the function\. Type: String -Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Layers](#API_UpdateFunctionConfiguration_ResponseSyntax) ** The function's [ layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)\. @@ -294,9 +324,14 @@ Type: String Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?` ** [MemorySize](#API_UpdateFunctionConfiguration_ResponseSyntax) ** -The memory that's allocated to the function\. +The amount of memory available to the function at runtime\. Type: Integer -Valid Range: Minimum value of 128\. Maximum value of 3008\. +Valid Range: Minimum value of 128\. Maximum value of 10240\. + + ** [PackageType](#API_UpdateFunctionConfiguration_ResponseSyntax) ** +The type of deployment package\. Set to `Image` for container image and set `Zip` for \.zip file archive\. +Type: String +Valid Values:` Zip | Image` ** [RevisionId](#API_UpdateFunctionConfiguration_ResponseSyntax) ** The latest updated revision of the function or alias\. @@ -310,7 +345,17 @@ Pattern: `arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+` ** [Runtime](#API_UpdateFunctionConfiguration_ResponseSyntax) ** The runtime environment for the Lambda function\. Type: String -Valid Values:` nodejs10.x | nodejs12.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore2.1 | dotnetcore3.1 | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` +Valid Values:` nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2` + + ** [SigningJobArn](#API_UpdateFunctionConfiguration_ResponseSyntax) ** +The ARN of the signing job\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` + + ** [SigningProfileVersionArn](#API_UpdateFunctionConfiguration_ResponseSyntax) ** +The ARN of the signing profile version\. +Type: String +Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)` ** [State](#API_UpdateFunctionConfiguration_ResponseSyntax) ** The current state of the function\. When the state is `Inactive`, you can reactivate the function by invoking it\. @@ -324,7 +369,7 @@ Type: String ** [StateReasonCode](#API_UpdateFunctionConfiguration_ResponseSyntax) ** The reason code for the function's current state\. When the code is `Creating`, you can't invoke or modify the function\. Type: String -Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup` +Valid Values:` Idle | Creating | Restoring | EniLimitExceeded | InsufficientRolePermissions | InvalidConfiguration | InternalError | SubnetOutOfIPAddresses | InvalidSubnet | InvalidSecurityGroup | ImageDeleted | ImageAccessDenied | InvalidImage` ** [Timeout](#API_UpdateFunctionConfiguration_ResponseSyntax) ** The amount of time in seconds that Lambda allows a function to run before stopping it\. @@ -347,6 +392,18 @@ Type: [VpcConfigResponse](API_VpcConfigResponse.md) object ## Errors + **CodeSigningConfigNotFoundException** +The specified code signing configuration does not exist\. +HTTP Status Code: 404 + + **CodeVerificationFailedException** +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\. +HTTP Status Code: 400 + + **InvalidCodeSignatureException** +The code signature failed the integrity check\. Lambda always blocks deployment if the integrity check fails, even if code signing policy is set to WARN\. +HTTP Status Code: 400 + **InvalidParameterValueException** One of the parameters in the request is invalid\. HTTP Status Code: 400 @@ -378,7 +435,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/UpdateFunctionConfiguration) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/UpdateFunctionConfiguration) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/UpdateFunctionConfiguration) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/UpdateFunctionConfiguration) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/UpdateFunctionConfiguration) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/UpdateFunctionConfiguration) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/UpdateFunctionConfiguration) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/UpdateFunctionConfiguration) diff --git a/doc_source/API_UpdateFunctionEventInvokeConfig.md b/doc_source/API_UpdateFunctionEventInvokeConfig.md index 33509a9b..3a5cb783 100644 --- a/doc_source/API_UpdateFunctionEventInvokeConfig.md +++ b/doc_source/API_UpdateFunctionEventInvokeConfig.md @@ -154,7 +154,7 @@ For more information about using this API in one of the language\-specific AWS S + [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/UpdateFunctionEventInvokeConfig) + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/UpdateFunctionEventInvokeConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/UpdateFunctionEventInvokeConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/UpdateFunctionEventInvokeConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/UpdateFunctionEventInvokeConfig) + [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/UpdateFunctionEventInvokeConfig) + [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/UpdateFunctionEventInvokeConfig) + [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/UpdateFunctionEventInvokeConfig) diff --git a/doc_source/API_VpcConfig.md b/doc_source/API_VpcConfig.md index 8b29a124..d2610bb6 100644 --- a/doc_source/API_VpcConfig.md +++ b/doc_source/API_VpcConfig.md @@ -21,5 +21,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/VpcConfig) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/VpcConfig) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/VpcConfig) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/VpcConfig) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/VpcConfig) \ No newline at end of file diff --git a/doc_source/API_VpcConfigResponse.md b/doc_source/API_VpcConfigResponse.md index 37a49bed..b68675f5 100644 --- a/doc_source/API_VpcConfigResponse.md +++ b/doc_source/API_VpcConfigResponse.md @@ -26,5 +26,5 @@ Required: No For more information about using this API in one of the language\-specific AWS SDKs, see the following: + [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/VpcConfigResponse) + [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/VpcConfigResponse) -+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/VpcConfigResponse) ++ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/VpcConfigResponse) + [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/VpcConfigResponse) \ No newline at end of file diff --git a/doc_source/access-control-resource-based.md b/doc_source/access-control-resource-based.md index 1f95f955..4d4d82de 100644 --- a/doc_source/access-control-resource-based.md +++ b/doc_source/access-control-resource-based.md @@ -27,7 +27,7 @@ For Lambda functions, you can [grant an account permission](#permissions-resourc "Service": "s3.amazonaws.com" }, "Action": "lambda:InvokeFunction", - "Resource": "arn:aws:lambda:us-east-2:123456789012:function:my-function", + "Resource": "arn:aws:lambda:us-east-2:123456789012:function:my-function”, "Condition": { "StringEquals": { "AWS:SourceAccount": "123456789012" @@ -225,4 +225,4 @@ Use `remove-layer-version-permission` to remove statements from the policy\. ``` aws lambda remove-layer-version-permission --layer-name my-layer --version-number 3 --statement-id engineering-org -``` +``` \ No newline at end of file diff --git a/doc_source/applications-tutorial.md b/doc_source/applications-tutorial.md index 7c4c9ddb..e017d02d 100644 --- a/doc_source/applications-tutorial.md +++ b/doc_source/applications-tutorial.md @@ -63,7 +63,6 @@ Create an application in the Lambda console\. In Lambda, an application is an AW 1. Configure application settings\. + **Application name** – **my\-app**\. - + **Application description** – **my application**\. + **Runtime** – **Node\.js 10\.x**\. + **Source control service** – **CodeCommit**\. + **Repository name** – **my\-app\-repo**\. diff --git a/doc_source/code-editor.md b/doc_source/code-editor.md index 6812db13..2472dcff 100644 --- a/doc_source/code-editor.md +++ b/doc_source/code-editor.md @@ -4,6 +4,8 @@ The Lambda console provides a code editor for languages that do not require comp The code editor includes the *menu bar*, *windows*, and the *editor pane*\. + + ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor.png) For a list of what the commands do, see the [Menu commands reference](https://docs.aws.amazon.com/cloud9/latest/user-guide/menu-commands.html) in the *AWS Cloud9 User Guide*\. Note that some of the commands listed in that reference are not available in the code editor\. @@ -26,6 +28,8 @@ You can use the **Environment** window in the code editor to create, open, and m ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-env-menu.png) + + **To open a single file and show its contents in the editor pane**, double\-click the file in the **Environment** window\. **To open multiple files and show their contents in the editor pane**, choose the files in the **Environment** window\. Right\-click the selection, and then choose **Open**\. @@ -33,9 +37,13 @@ You can use the **Environment** window in the code editor to create, open, and m **To create a new file**, do one of the following: + In the **Environment** window, right\-click the folder where you want the new file to go, and then choose **New File**\. Type the file's name and extension, and then press Enter \. + Choose **File, New File** on the menu bar\. When you're ready to save the file, choose **File, Save** or **File, Save As** on the menu bar\. Then use the **Save As** dialog box that displays to name the file and choose where to save it\. -+ In the tab buttons bar in the editor pane, choose the **\+** button, and then choose **New File**\. When you're ready to save the file, choose **File, Save** or **File, Save As** on the menu bar\. Then use the **Save As** dialog box that displays to name the file and choose where to save it\. ++ In the tab buttons bar in the editor pane, choose the **\+** button, and then choose **New File**\. When you're ready to save the file, choose **File, Save** or **File, Save As** on the menu bar\. Then use the **Save As** dialog box that displays to name the file and choose where to save it\. + + ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-env-new.png) + + **To create a new folder**, right\-click the folder in the **Environment** window where you want the new folder to go, and then choose **New Folder**\. Type the folder's name, and then press Enter \. **To save a file**, with the file open and its contents visible in the editor pane, choose **File, Save** on the menu bar\. @@ -48,6 +56,8 @@ You can use the **Environment** window in the code editor to create, open, and m **To collapse folders**, choose the gear icon in the **Environment** window, and then choose **Collapse All Folders**\. + + ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-env-collapse.png) **To show or hide hidden files**, choose the gear icon in the **Environment** window, and then choose **Show Hidden Files**\. @@ -58,17 +68,27 @@ Use the editor pane in the code editor to view and write code\. ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-editor-pane.png) + + ### Working with tab buttons Use the *tab buttons bar* to select, view, and create files\. + + ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-tab-buttons-bar.png) + + **To display an open file's contents**, do one of the following: + Choose the file's tab\. -+ Choose the drop\-down menu button in the tab buttons bar, and then choose the file's name\. ++ Choose the drop\-down menu button in the tab buttons bar, and then choose the file's name\. + + ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-drop-down-list.png) + + **To close an open file**, do one of the following: + Choose the **X** icon in the file's tab\. + Choose the file's tab\. Then choose the drop\-down menu button in the tab buttons bar, and choose **Close Pane**\. @@ -83,12 +103,20 @@ Use the status bar to move quickly to a line in the active file and to change ho ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-status-bar.png) + + **To move quickly to a line in the active file**, choose the line selector, type the line number to go to, and then press Enter \. + + ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-line-selector.png) + + **To change the code color scheme in the active file**, choose the code color scheme selector, and then choose the new code color scheme\. + + ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-code-color.png) **To change in the active file whether soft tabs or spaces are used, the tab size, or whether to convert to spaces or tabs**, choose the spaces and tabs selector, and then choose the new settings\. @@ -99,6 +127,8 @@ Use the status bar to move quickly to a line in the active file and to change ho ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-status-bar-settings.png) + + ## Working in fullscreen mode You can expand the code editor to get more room to work with your code\. @@ -107,6 +137,8 @@ To expand the code editor to the edges of the web browser window, choose the **T ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/code-editor/code-editor-menu-bar-fullscreen.png) + + To shrink the code editor to its original size, choose the **Toggle fullscreen** button again\. In fullscreen mode, additional options are displayed on the menu bar: **Save** and **Test**\. Choosing **Save** saves the function code\. Choosing **Test** or **Configure Events** enables you to create or edit the function's test events\. diff --git a/doc_source/configuration-aliases.md b/doc_source/configuration-aliases.md index 7876becd..9af84539 100644 --- a/doc_source/configuration-aliases.md +++ b/doc_source/configuration-aliases.md @@ -2,6 +2,17 @@ You can create one or more aliases for your Lambda function\. A Lambda alias is like a pointer to a specific function version\. Users can access the function version using the alias Amazon Resource Name \(ARN\)\. +**Topics** ++ [Creating a function alias \(Console\)](#configuration-aliases-config) ++ [Managing aliases with the Lambda API](#versioning-aliases-api) ++ [Using aliases](#using-aliases) ++ [Resource policies](#versioning-permissions-alias) ++ [Alias routing configuration](#configuring-alias-routing) + +## Creating a function alias \(Console\) + +You can create a function alias using the Lambda console\. + **To create an alias** 1. Open the [Functions page](https://console.aws.amazon.com/lambda/home#/functions) on the Lambda console\. @@ -143,4 +154,6 @@ When you configure traffic weights between two function versions, there are two `19:44:37 START RequestId: request id Version: $version ` For alias invocations, Lambda uses the `Executed Version` dimension to filter the metric data by the invoked version\. For more information, see [Working with AWS Lambda function metrics](monitoring-metrics.md)\. -+ **Response payload \(synchronous invocations\)** – Responses to synchronous function invocations include an `x-amz-executed-version` header to indicate which function version has been invoked\. \ No newline at end of file ++ **Response payload \(synchronous invocations\)** – Responses to synchronous function invocations include an `x-amz-executed-version` header to indicate which function version has been invoked\. + + \ No newline at end of file diff --git a/doc_source/configuration-database.md b/doc_source/configuration-database.md index 1d84a658..8e42e650 100644 --- a/doc_source/configuration-database.md +++ b/doc_source/configuration-database.md @@ -1,6 +1,15 @@ # Configuring database access for a Lambda function -You can use the Lambda console to create an Amazon RDS Proxy database proxy for your function\. A database proxy manages a pool of database connections and relays queries from a function\. This enables a function to reach high [concurrency](gettingstarted-concepts.md#gettingstarted-concepts-concurrency) levels without exhausting database connections\. +You can create an Amazon RDS Proxy database proxy for your function\. A database proxy manages a pool of database connections and relays queries from a function\. This enables a function to reach high [concurrency](gettingstarted-concepts.md#gettingstarted-concepts-concurrency) levels without exhausting database connections\. + +**Topics** ++ [Creating a database proxy \(console\)](#configuration-database-config) ++ [Using the function's permissions for authentication](#configuration-database-auth) ++ [Sample application](#configuration-database-sample) + +## Creating a database proxy \(console\) + +You can use the Lambda console to create an Amazon RDS Proxy database proxy\. **To create a database proxy** @@ -20,9 +29,9 @@ You can use the Lambda console to create an Amazon RDS Proxy database proxy for ``` { - "username": "admin", - "password": "e2abcecxmpldc897" - } + "username": "admin", + "password": "e2abcecxmpldc897" + } ``` + **IAM role** – An IAM role with permission to use the secret, and a trust policy that allows Amazon RDS to assume the role\. + **Authentication** – The authentication and authorization method for connecting to the proxy from your function code\. @@ -36,10 +45,6 @@ Proxy creation takes a few minutes\. When the proxy is available, configure your Standard [Amazon RDS Proxy pricing](https://aws.amazon.com/rds/proxy/pricing/) applies\. For more information, see [Managing connections with the Amazon RDS Proxy](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-proxy.html) in the Amazon Aurora User Guide\. -**Topics** -+ [Using the function's permissions for authentication](#configuration-database-auth) -+ [Sample application](#configuration-database-sample) - ## Using the function's permissions for authentication By default, you can connect to a proxy with the same username and password that it uses to connect to the database\. The only difference in your function code is the endpoint that the database client connects to\. The drawback of this method is that you must expose the password to your function code, either by configuring it in a secure environment variable or by retrieving it from Secrets Manager\. diff --git a/doc_source/configuration-envvars.md b/doc_source/configuration-envvars.md index 9abf6b67..cf46ef31 100644 --- a/doc_source/configuration-envvars.md +++ b/doc_source/configuration-envvars.md @@ -5,7 +5,22 @@ You can use environment variables to adjust your function's behavior without upd **Note** To increase database security, we recommend that you use AWS Secrets Manager instead of environment variables to store database credentials\. For more information, see [Configuring database access for a Lambda function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-database.html)\. -You set environment variables on the unpublished version of your function by specifying a key and value\. When you publish a version, the environment variables are locked for that version along with other [version\-specific configuration](configuration-console.md)\. +Environment variables are not evaluated prior to the function invocation\. Any value you define is considered a literal string and not expanded\. Perform the variable evaluation in your function code\. + +**Topics** ++ [Configuring environment variables](#configuration-envvars-config) ++ [Configuring environment variables with the API](#configuration-envvars-api) ++ [Example scenario for environment variables](#configuration-envvars-example) ++ [Retrieve environment variables](#configuration-envvars-retrieve) ++ [Defined runtime environment variables](#configuration-envvars-runtime) ++ [Securing environment variables](#configuration-envvars-encryption) ++ [Sample code and templates](#configuration-envvars-samples) + +## Configuring environment variables + +You define environment variables on the unpublished version of your function\. When you publish a version, the environment variables are locked for that version along with other [version\-specific configuration](configuration-console.md)\. + +You create an environment variable on your function by defining a key and a value\. Your function uses the name of the key to retrieve the value of environment variable\. **To set environment variables in the Lambda console** @@ -13,9 +28,9 @@ You set environment variables on the unpublished version of your function by spe 1. Choose a function\. -1. Choose **Code** if it is not already selected\. +1. Choose **Configuration**, then choose **Environment variables**\. -1. Scroll down\. Under **Environment variables**, choose **Edit**\. +1. Under **Environment variables**, choose **Edit**\. 1. Choose **Add environment variable**\. @@ -29,7 +44,59 @@ You set environment variables on the unpublished version of your function by spe 1. Choose **Save**\. -Use environment variables to pass environment\-specific settings to your code\. For example, you can have two functions with the same code but different configuration\. One function connects to a test database, and the other connects to a production database\. In this situation, you use environment variables to tell the function the hostname and other connection details for the database\. +## Configuring environment variables with the API + +To manage environment variables with the AWS CLI or AWS SDK, use the following API operations\. ++ [UpdateFunctionConfiguration](API_UpdateFunctionConfiguration.md) ++ [GetFunctionConfiguration](API_GetFunctionConfiguration.md) ++ [CreateFunction](API_CreateFunction.md) + +The following example sets two environment variables on a function named `my-function`\. + +``` +aws lambda update-function-configuration --function-name my-function \ + --environment "Variables={BUCKET=my-bucket,KEY=file.txt}" +``` + +When you apply environment variables with the `update-function-configuration` command, the entire contents of the `Variables` structure is replaced\. To retain existing environment variables when you add a new one, include all existing values in your request\. + +To get the current configuration, use the `get-function-configuration` command\. + +``` +aws lambda get-function-configuration --function-name my-function +``` + +You should see the following output: + +``` +{ + "FunctionName": "my-function", + "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function", + "Runtime": "nodejs12.x", + "Role": "arn:aws:iam::123456789012:role/lambda-role", + "Environment": { + "Variables": { + "BUCKET": "my-bucket", + "KEY": "file.txt" + } + }, + "RevisionId": "0894d3c1-2a3d-4d48-bf7f-abade99f3c15", + ... +} +``` + +To ensure that the values don't change between when you read the configuration and when you update it, you can pass the revision ID from the output of `get-function-configuration` as a parameter to `update-function-configuration`\. + +To configure a function's encryption key, set the `KMSKeyARN` option\. + +``` +aws lambda update-function-configuration --function-name my-function \ + --kms-key-arn arn:aws:kms:us-east-2:123456789012:key/055efbb4-xmpl-4336-ba9c-538c7d31f599 +``` + +## Example scenario for environment variables + +You can use environment variables to customize function behavior in your test environment and production environment\. For example, you can create two functions with the same code but different configurations\. One function connects to a test database, and the other connects to a production database\. In this situation, you use environment variables to tell the function the hostname and other connection details for the database\. The following example shows how to define the database host and database name as environment variables\. @@ -37,8 +104,7 @@ The following example shows how to define the database host and database name as If you want your test environment to generate more debug information than the production environment, you could set an environment variable to configure your test environment to use more verbose logging or more detailed tracing\. -**Note** -Environment variables are not evaluated prior to the function invocation\. Any value you define is considered a literal string and not expanded\. Perform the variable evaluation in the function code\. +## Retrieve environment variables To retrieve environment variables in your function code, use the standard method for your programming language\. @@ -54,7 +120,7 @@ let region = process.env.AWS_REGION ``` import os -region = os.environ['AWS_REGION'] + region = os.environ['AWS_REGION'] ``` **Note** @@ -103,13 +169,7 @@ $region = $env:AWS_REGION Lambda stores environment variables securely by encrypting them at rest\. You can [configure Lambda to use a different encryption key](#configuration-envvars-encryption), encrypt environment variable values on the client side, or set environment variables in an AWS CloudFormation template with AWS Secrets Manager\. -**Topics** -+ [Runtime environment variables](#configuration-envvars-runtime) -+ [Securing environment variables](#configuration-envvars-encryption) -+ [Configuring environment variables with the Lambda API](#configuration-envvars-api) -+ [Sample code and templates](#configuration-envvars-samples) - -## Runtime environment variables +## Defined runtime environment variables Lambda [runtimes](lambda-runtimes.md) set several environment variables during initialization\. Most of the environment variables provide information about the function or runtime\. The keys for these environment variables are *reserved* and cannot be set in your function configuration\. @@ -157,9 +217,9 @@ When you provide the key, only users in your account with access to the key can 1. Choose a function\. -1. Choose **Code** if it is not already selected\. +1. Choose **Configuration**, then choose **Environment variables**\. -1. Scroll down\. Under **Environment variables**, choose **Edit**\. +1. Under **Environment variables**, choose **Edit**\. 1. Expand **Encryption configuration**\. @@ -210,9 +270,9 @@ You can also encrypt environment variable values on the client side before sendi 1. Choose a function\. -1. Choose **Code** if it is not already selected\. +1. Choose **Configuration**, then choose **Environment variables**\. -1. Scroll down\. Under **Environment variables**, choose **Edit**\. +1. Under **Environment variables**, choose **Edit**\. 1. Expand **Encryption configuration**\. @@ -229,56 +289,6 @@ To view sample code for your function's language, choose **Code** next to an env Another option is to store passwords in AWS Secrets Manager secrets\. You can reference the secret in your AWS CloudFormation templates to set passwords on databases\. You can also set the value of an environment variable on the Lambda function\. For an example, see the next section\. -## Configuring environment variables with the Lambda API - -To manage environment variables with the AWS CLI or AWS SDK, use the following API operations\. -+ [UpdateFunctionConfiguration](API_UpdateFunctionConfiguration.md) -+ [GetFunctionConfiguration](API_GetFunctionConfiguration.md) -+ [CreateFunction](API_CreateFunction.md) - -The following example sets two environment variables on a function named `my-function`\. - -``` -aws lambda update-function-configuration --function-name my-function \ - --environment "Variables={BUCKET=my-bucket,KEY=file.txt}" -``` - -When you apply environment variables with the `update-function-configuration` command, the entire contents of the `Variables` structure is replaced\. To retain existing environment variables when you add a new one, include all existing values in your request\. - -To get the current configuration, use the `get-function-configuration` command\. - -``` -aws lambda get-function-configuration --function-name my-function -``` - -You should see the following output: - -``` -{ - "FunctionName": "my-function", - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function", - "Runtime": "nodejs12.x", - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Environment": { - "Variables": { - "BUCKET": "my-bucket", - "KEY": "file.txt" - } - }, - "RevisionId": "0894d3c1-2a3d-4d48-bf7f-abade99f3c15", - ... -} -``` - -To ensure that the values don't change between when you read the configuration and when you update it, you can pass the revision ID from the output of `get-function-configuration` as a parameter to `update-function-configuration`\. - -To configure a function's encryption key, set the `KMSKeyARN` option\. - -``` -aws lambda update-function-configuration --function-name my-function \ - --kms-key-arn arn:aws:kms:us-east-2:123456789012:key/055efbb4-xmpl-4336-ba9c-538c7d31f599 -``` - ## Sample code and templates Sample applications in this guide's GitHub repository demonstrate the use of environment variables in function code and AWS CloudFormation templates\. diff --git a/doc_source/configuration-filesystem.md b/doc_source/configuration-filesystem.md index 930b1cc5..d11a0713 100644 --- a/doc_source/configuration-filesystem.md +++ b/doc_source/configuration-filesystem.md @@ -2,6 +2,16 @@ You can configure a function to mount an Amazon Elastic File System \(Amazon EFS\) file system to a local directory\. With Amazon EFS, your function code can access and modify shared resources safely and at high concurrency\. +**Topics** ++ [Connecting to a file system \(console\)](#configuration-filesystem-config) ++ [Configuring a file system and access point](#configuration-filesystem-setup) ++ [Execution role and user permissions](#configuration-filesystem-permissions) ++ [Configuring file system access with the Lambda API](#configuration-filesystem-api) ++ [AWS CloudFormation and AWS SAM](#configuration-filesystem-cloudformation) ++ [Sample applications](#configuration-filesystem-samples) + +## Connecting to a file system \(console\) + A function connects to a file system over the local network in a VPC\. The subnets that your function connects to can be the same subnets that contain mount points for your file system, or subnets in the same Availability Zone that can route NFS traffic \(port 2049\) to the file system\. **Note** @@ -27,13 +37,6 @@ Lambda charges for data transfer between VPCs\. This only applies if your functi For more information about Lambda's integration with Amazon EFS, see [Using Amazon EFS with Lambda](services-efs.md)\. -**Topics** -+ [Configuring a file system and access point](#configuration-filesystem-setup) -+ [Execution role and user permissions](#configuration-filesystem-permissions) -+ [Configuring file system access with the Lambda API](#configuration-filesystem-api) -+ [AWS CloudFormation and AWS SAM](#configuration-filesystem-cloudformation) -+ [Sample applications](#configuration-filesystem-samples) - ## Configuring a file system and access point Create a file system in Amazon EFS with a mount target in every Availability Zone that your function connects to\. For performance and resilience, use at least two Availability Zones\. For example, in a simple configuration you could have a VPC with two private subnets in separate Availability Zones\. The function connects to both subnets and a mount target is available in each\. Ensure that NFS traffic \(port 2049\) is allowed by the security groups used by the function and mount targets\. diff --git a/doc_source/configuration-images.md b/doc_source/configuration-images.md index 5c252be0..10bf3d74 100644 --- a/doc_source/configuration-images.md +++ b/doc_source/configuration-images.md @@ -42,19 +42,17 @@ For example, use the IAM console to create a role with the following policy: ``` { "Version": "2012-10-17", - "Statement": { - [ - { - "Sid": "VisualEditor0", - "Effect": "Allow", - "Action": [ - "ecr:SetRepositoryPolicy", - "ecr:GetRepositoryPolicy" - ], - "Resource": "arn:aws:ecr:::repository//" - } - ] - } + "Statement": [ + { + "Sid": "VisualEditor0", + "Effect": "Allow", + "Action": [ + "ecr:SetRepositoryPolicy", + "ecr:GetRepositoryPolicy" + ], + "Resource": "arn:aws:ecr:::repository//" + } + ] } ``` diff --git a/doc_source/configuration-layers.md b/doc_source/configuration-layers.md index 6dd8a5d0..a91abe0e 100644 --- a/doc_source/configuration-layers.md +++ b/doc_source/configuration-layers.md @@ -271,7 +271,7 @@ jq.zip ------ -For more information about path settings in the Lambda execution environment, see [Runtime environment variables](configuration-envvars.md#configuration-envvars-runtime)\. +For more information about path settings in the Lambda execution environment, see [Defined runtime environment variables](configuration-envvars.md#configuration-envvars-runtime)\. ## Layer permissions diff --git a/doc_source/configuration-memory.md b/doc_source/configuration-memory.md index ee80ac23..b88d5251 100644 --- a/doc_source/configuration-memory.md +++ b/doc_source/configuration-memory.md @@ -4,7 +4,11 @@ Lambda allocates CPU power in proportion to the amount of memory configured\. *M This page describes how to update the memory allotted to your function in the Lambda console\. -## Configuring function memory in the Lambda console +**Topics** ++ [Configuring function memory \(console\)](#configuration-memory-console) ++ [Accepting function memory recommendations \(console\)](#configuration-memory-optimization-accept) + +## Configuring function memory \(console\) You can configure the memory of your function in the Lambda console\. @@ -14,13 +18,15 @@ You can configure the memory of your function in the Lambda console\. 1. Choose a function\. -1. On the [function configuration page](configuration-console.md), on the **Basic settings** pane, choose **Edit**\. +1. Choose **Configuration** and then choose **General configuration** + +1. Under **General configuration**, choose **Edit**\. 1. For **Memory \(MB\)**, set a value from 128 MB to 10,240 MB\. 1. Choose **Save**\. -## Accepting function memory recommendations on the Lambda console +## Accepting function memory recommendations \(console\) If you have administrator permissions in AWS Identity and Access Management \(IAM\), you can opt in to receive Lambda function memory setting recommendations from AWS Compute Optimizer\. For instructions on opting in to memory recommendations for your account or organization, see [Opting in your account](https://docs.aws.amazon.com/compute-optimizer/latest/ug/getting-started.html#account-opt-in) in the *AWS Compute Optimizer User Guide*\. @@ -32,7 +38,9 @@ When you've opted in and your [Lambda function meets Compute Optimizer requireme 1. Choose a function\. -1. On the [function configuration page](configuration-console.md), on the **Basic settings** pane, choose **Edit**\. +1. Choose **Configuration** and then choose **General configuration** + +1. Under **General configuration**, choose **Edit**\. 1. Under **Memory \(MB\)**, in the memory alert, choose **Update**\. diff --git a/doc_source/configuration-preview.md b/doc_source/configuration-preview.md deleted file mode 100644 index 2bebab89..00000000 --- a/doc_source/configuration-preview.md +++ /dev/null @@ -1,96 +0,0 @@ -# Configuring functions in the AWS Lambda console \(preview\) - - -**Public preview** - -| | -| --- | -| Public preview The updated AWS Lambda console is in preview release and is subject to change\. The preview is available to AWS accounts on a region by region basis\. The changes include a new function\-level configuration page, increased visibility into versions and aliases, and a dedicated section for your code\. To provide feedback, visit the updated console \([https://console\.aws\.amazon\.com/lambda/](https://console.aws.amazon.com/lambda/)\) and select **Tell us what you think**\. | - - You can use the Lambda console to configure function settings, add triggers and destinations, and edit and update your code\. The following sections will cover how to perform those workflows in the updated Lambda console\. - -**Topics** -+ [Configure function settings](#configuration-preview-settings) -+ [Add and edit triggers and destinations](#configuration-preview-triggers) -+ [Edit and update code](#configuration-preview-code) - -## Configure function settings - -To manage a function, open the Lambda console [Functions page](https://console.aws.amazon.com/lambda/home#/functions) and choose a function\. From the list of aliases associated with your function, choose the alias that points to the version you want to configure\. This will take you to the function visualization\. - -Choose **Latest configuration** to view and manage your version's current configuration\. - -![\[The Latest configuration section of the updated console.\]](http://docs.aws.amazon.com/lambda/latest/dg/images/latest-config.png) - -Areas of configuration are broken into five sections, which encapsulate the following: - -**General** -Basic settings -Asynchronous invocation -Monitoring tools -VPC -Database proxies -File system -Concurrency - -**Runtime** -Environment variables -Layers - -**Triggers** -A list of existing triggers and options to create, enable, disable, fix, and delete triggers\. - -**Permissions** -Execution role -Resource summary -Resource\-based policy -Auditing and compliance - -**Destinations** -A list of existing destinations and options to create, remove, and edit destinations\. - -## Add and edit triggers and destinations - -Triggers and destinations now exist as subsets of your function's greater configuration settings\. Both resources are still visible in the function visualization, but are no longer accessed through interacting with it\. - -To see your lists of existing triggers or destinations, choose **Latest configuration** when viewing a version of your function and select either **Triggers** or **Destinations** from the left\-hand sections\. - -**To add a new trigger** - -1. Open the Lambda console [Functions page](https://console.aws.amazon.com/lambda/home#/functions) and choose a function\. - -1. From the list of aliases associated with your function, choose the alias that points to the version you want to configure\. - -1. Choose **Latest configuration** and then **Triggers**\. - -1. Choose **Add trigger** and select the type of trigger from the list of available options\. - -1. The fields associated with that trigger will load in below\. Fill them in and choose **Add**\. - -1. To verify your trigger has been added, choose **Overview** and note the new trigger in the **Function visualization**\. - -To enable, disable, fix, or delete a trigger, choose the item in the list of triggers provided when you visit the **Triggers** section of **Latest configuration**\. To reconfigure the trigger, use the event source mapping API commands\. - -**To add a new destination** - -1. Open the Lambda console [Functions page](https://console.aws.amazon.com/lambda/home#/functions) and choose a function\. - -1. From the list of aliases associated with your function, choose the alias that points to the version you want to configure\. - -1. Choose **Latest configuration** and then **Destinations**\. - -1. Choose **Add destination**\. - -1. Fill in the required fields and then choose **Save**\. - -1. To verify your destination has been added, choose **Overview** and note the new destination in the **Function visualization**\. - -To edit or remove the destination, choose the item in the list of destinations provided when you choose the **Destinations** section of **Latest configuration**\. - -## Edit and update code - -Function code now has its own primary section within your function's details\. To access your function code, open the Lambda console [Functions page](https://console.aws.amazon.com/lambda/home#/functions) and choose a function\. From the list of aliases associated with your function, choose the alias that points to the version you want to configure\. This will take you to the function visualization\. - -Choose **Code** to view and manage your version's current code\. From this view you can edit inline, where possible, or choose **Upload from** to upload from a source\. - -Functionality has not changed for the development environment and test events\. \ No newline at end of file diff --git a/doc_source/configuration-tags.md b/doc_source/configuration-tags.md index 2232792f..1cd6d2af 100644 --- a/doc_source/configuration-tags.md +++ b/doc_source/configuration-tags.md @@ -2,6 +2,14 @@ You can tag Lambda functions to organize them by owner, project or department\. Tags are freeform key\-value pairs that are supported across AWS services for use in filtering resources and adding detail to billing reports\. +**Topics** ++ [Adding tags to a function \(console\)](#configuration-tags-config) ++ [Using tags to filter functions \(console\)](#configuration-tags-filter) ++ [Using Tags with the AWS CLI](#configuration-tags-cli) ++ [Tag Key and Value Requirements](#configuration-tags-restrictions) + +## Adding tags to a function \(console\) + **To add tags to a function** 1. Open the [Functions page](https://console.aws.amazon.com/lambda/home#/functions) on the Lambda console\. @@ -17,6 +25,8 @@ You can tag Lambda functions to organize them by owner, project or department\. 1. Choose **Save**\. +## Using tags to filter functions \(console\) + You can filter functions based on the presence or value of a tag with the Lambda console or with the AWS Resource Groups API\. Tags apply at the function level, not to versions or aliases\. Tags are not part of the version\-specific configuration that is snapshotted when you publish a version\. **To filter functions with tags** @@ -35,10 +45,6 @@ The search bar also supports searching for tag keys\. Type `tag` to see just a l With AWS Billing and Cost Management, you can use tags to customize billing reports and create cost\-allocation reports\. For more information, see see [Monthly Cost Allocation Report](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/configurecostallocreport.html) and [Using Cost Allocation Tags](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the *AWS Billing and Cost Management User Guide*\. -**Topics** -+ [Using Tags with the AWS CLI](#configuration-tags-cli) -+ [Tag Key and Value Requirements](#configuration-tags-restrictions) - ## Using Tags with the AWS CLI When you create a new Lambda function, you can include tags with the `--tags` option\. diff --git a/doc_source/configuration-versions.md b/doc_source/configuration-versions.md index caabb639..6ba8a250 100644 --- a/doc_source/configuration-versions.md +++ b/doc_source/configuration-versions.md @@ -8,9 +8,19 @@ A function version includes the following information: + All of the function settings, including the environment variables\. + A unique Amazon Resource Name \(ARN\) to identify the specific version of the function\. +**Topics** ++ [Creating function versions](#configuration-versions-config) ++ [Managing versions with the Lambda API](#versioning-versions-api) ++ [Using versions](#versioning-versions-using) ++ [Granting permissions](#versioning-permissions) + +## Creating function versions + You can change the function code and settings only on the unpublished version of a function\. When you publish a version, the code and most of the settings are locked to maintain a consistent experience for users of that version\. For more information about configuring function settings, see [Configuring functions in the console](configuration-console.md)\. -**To create a new version of a function** +You can create a function version using the Lambda console\. + +**To create a new function version** 1. Open the [Functions page](https://console.aws.amazon.com/lambda/home#/functions) on the Lambda console\. diff --git a/doc_source/configuration-vpc-endpoints.md b/doc_source/configuration-vpc-endpoints.md index 7ac4795d..1ca577fe 100644 --- a/doc_source/configuration-vpc-endpoints.md +++ b/doc_source/configuration-vpc-endpoints.md @@ -6,6 +6,11 @@ To establish a private connection between your VPC and Lambda, create an [interf Each interface endpoint is represented by one or more [elastic network interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html) in your subnets\. A network interface provides a private IP address that serves as an entry point for traffic to Lambda\. +**Topics** ++ [Considerations for Lambda interface endpoints](#vpc-endpoint-considerations) ++ [Creating an interface endpoint for Lambda](#vpc-endpoint-create) ++ [Creating an interface endpoint policy for Lambda](#vpc-endpoint-policy) + ## Considerations for Lambda interface endpoints Before you set up an interface endpoint for Lambda, be sure to review [Interface endpoint properties and limitations](https://docs.aws.amazon.com/vpc/latest/userguide/vpce-interface.html#vpce-interface-limitations) in the *Amazon VPC User Guide*\. diff --git a/doc_source/configuration-vpc.md b/doc_source/configuration-vpc.md index 30056c02..c05e249b 100644 --- a/doc_source/configuration-vpc.md +++ b/doc_source/configuration-vpc.md @@ -14,8 +14,8 @@ Lambda functions can't connect directly to a VPC with [ dedicated instance tenan **Topics** + [Execution role and user permissions](#vpc-permissions) -+ [Configuring VPC access with the Lambda console](#vpc-configuring) -+ [Configuring VPC access with the Lambda API](#vpc-configuring-api) ++ [Configuring VPC access \(console\)](#vpc-configuring) ++ [Configuring VPC access \(API\)](#vpc-configuring-api) + [Using IAM condition keys for VPC settings](#vpc-conditions) + [Internet and service access for VPC\-connected functions](#vpc-internet) + [VPC tutorials](#vpc-tutorials) @@ -39,7 +39,7 @@ When you configure VPC connectivity, Lambda uses your permissions to verify netw + **ec2:DescribeSubnets** + **ec2:DescribeVpcs** -## Configuring VPC access with the Lambda console +## Configuring VPC access \(console\) If your [IAM permissions](#vpc-conditions) allow you only to create Lambda functions that connect to your VPC, you must configure the VPC when you create the function\. If your IAM permissions allow you to create functions that aren't connected to your VPC, you can add the VPC configuration after you create the function\. @@ -77,7 +77,7 @@ To access private resources, connect your function to private subnets\. If your 1. Choose **Save**\. -## Configuring VPC access with the Lambda API +## Configuring VPC access \(API\) To connect a Lambda function to a VPC, you can use the following API operations: + [CreateFunction](API_CreateFunction.md) diff --git a/doc_source/csharp-handler.md b/doc_source/csharp-handler.md index 04b6de39..9739305d 100644 --- a/doc_source/csharp-handler.md +++ b/doc_source/csharp-handler.md @@ -90,7 +90,7 @@ public class ProductService{ ``` **Note** -If you are using \.NET Core 3\.1, we recommend that you use the [ Amazon\.Lambda\.Serialization\.SystemTextJson](https://github.com/aws/aws-lambda-dotnet/tree/0eff7ab687bbfc1e026feee1de336849e0315bc6/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson) serializer\. This package provides a performance improvement over `Amazon.Lambda.Serialization.Json`\. +If you are using \.NET Core 3\.1, we recommend that you use the [ Amazon\.Lambda\.Serialization\.SystemTextJson](https://github.com/aws/aws-lambda-dotnet/tree/master/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson) serializer\. This package provides a performance improvement over `Amazon.Lambda.Serialization.Json`\. ## Handler signatures @@ -130,7 +130,7 @@ If the method specified in your handler string is overloaded, you must provide t For any Lambda functions that use input or output types other than a `Stream` object, you will need to add a serialization library to your application\. You can do this in the following ways: + Use the `Amazon.Lambda.Serialization.Json` NuGet package\. This library uses JSON\.NET to handle serialization\. **Note** -If you are using \.NET Core 3\.1, we recommend that you use the [ Amazon\.Lambda\.Serialization\.SystemTextJson](https://github.com/aws/aws-lambda-dotnet/tree/0eff7ab687bbfc1e026feee1de336849e0315bc6/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson) serializer\. This package provides a performance improvement over `Amazon.Lambda.Serialization.Json`\. +If you are using \.NET Core 3\.1, we recommend that you use the [ Amazon\.Lambda\.Serialization\.SystemTextJson](https://github.com/aws/aws-lambda-dotnet/tree/master/Libraries/src/Amazon.Lambda.Serialization.SystemTextJson) serializer\. This package provides a performance improvement over `Amazon.Lambda.Serialization.Json`\. + Create your own serialization library by implementing the `ILambdaSerializer` interface, which is available as part of the `Amazon.Lambda.Core` library\. The interface defines two methods: + `T Deserialize(Stream requestStream);` diff --git a/doc_source/gettingstarted-limits.md b/doc_source/gettingstarted-limits.md index f6bca081..2af77154 100644 --- a/doc_source/gettingstarted-limits.md +++ b/doc_source/gettingstarted-limits.md @@ -7,7 +7,7 @@ Lambda sets quotas for the amount of compute and storage resources that you can | --- | --- | --- | | Concurrent executions | 1,000 | Hundreds of thousands | | Function and layer storage \(\.zip file archives\) | 75 GB | Terabytes | -| Function storage \(container images\) | See [Amazon ECR service quotas](https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html)\. | | +| Function storage \(container images\) | See [Amazon ECR service quotas](https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html)\. | | | [Elastic network interfaces per virtual private cloud \(VPC\)](configuration-vpc.md) This quota is shared with other services, such as Amazon Elastic File System \(Amazon EFS\)\. See [Amazon VPC quotas](https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html)\. | 250 | Hundreds | For details on concurrency and how Lambda scales your function concurrency in response to traffic, see [AWS Lambda function scaling](invocation-scaling.md)\. diff --git a/doc_source/golang-envvars.md b/doc_source/golang-envvars.md index d7cbc73f..ad97c3f5 100644 --- a/doc_source/golang-envvars.md +++ b/doc_source/golang-envvars.md @@ -19,4 +19,4 @@ func main() { } ``` -For a list of environment variables that are set by the Lambda runtime, see [Runtime environment variables](configuration-envvars.md#configuration-envvars-runtime)\. \ No newline at end of file +For a list of environment variables that are set by the Lambda runtime, see [Defined runtime environment variables](configuration-envvars.md#configuration-envvars-runtime)\. \ No newline at end of file diff --git a/doc_source/index.md b/doc_source/index.md index cd0d9deb..66fdcf1d 100644 --- a/doc_source/index.md +++ b/doc_source/index.md @@ -1,7 +1,7 @@ # AWS Lambda Developer Guide ----- -*****Copyright © 2020 Amazon Web Services, Inc. and/or its affiliates. All rights reserved.***** +*****Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.***** ----- Amazon's trademarks and trade dress may not be used in @@ -99,6 +99,7 @@ Amazon's trademarks and trade dress may not be used in + [Using AWS Lambda with AWS CodePipeline](services-codepipeline.md) + [Using AWS Lambda with Amazon Cognito](services-cognito.md) + [Using AWS Lambda with AWS Config](services-config.md) + + [Using Lambda with Amazon Connect](services-connect.md) + [Using AWS Lambda with Amazon DynamoDB](with-ddb.md) + [Tutorial: Using AWS Lambda with Amazon DynamoDB streams](with-ddb-example.md) + [Sample function code](with-ddb-create-package.md) @@ -240,19 +241,24 @@ Amazon's trademarks and trade dress may not be used in + [AddLayerVersionPermission](API_AddLayerVersionPermission.md) + [AddPermission](API_AddPermission.md) + [CreateAlias](API_CreateAlias.md) + + [CreateCodeSigningConfig](API_CreateCodeSigningConfig.md) + [CreateEventSourceMapping](API_CreateEventSourceMapping.md) + [CreateFunction](API_CreateFunction.md) + [DeleteAlias](API_DeleteAlias.md) + + [DeleteCodeSigningConfig](API_DeleteCodeSigningConfig.md) + [DeleteEventSourceMapping](API_DeleteEventSourceMapping.md) + [DeleteFunction](API_DeleteFunction.md) + + [DeleteFunctionCodeSigningConfig](API_DeleteFunctionCodeSigningConfig.md) + [DeleteFunctionConcurrency](API_DeleteFunctionConcurrency.md) + [DeleteFunctionEventInvokeConfig](API_DeleteFunctionEventInvokeConfig.md) + [DeleteLayerVersion](API_DeleteLayerVersion.md) + [DeleteProvisionedConcurrencyConfig](API_DeleteProvisionedConcurrencyConfig.md) + [GetAccountSettings](API_GetAccountSettings.md) + [GetAlias](API_GetAlias.md) + + [GetCodeSigningConfig](API_GetCodeSigningConfig.md) + [GetEventSourceMapping](API_GetEventSourceMapping.md) + [GetFunction](API_GetFunction.md) + + [GetFunctionCodeSigningConfig](API_GetFunctionCodeSigningConfig.md) + [GetFunctionConcurrency](API_GetFunctionConcurrency.md) + [GetFunctionConfiguration](API_GetFunctionConfiguration.md) + [GetFunctionEventInvokeConfig](API_GetFunctionEventInvokeConfig.md) @@ -264,9 +270,11 @@ Amazon's trademarks and trade dress may not be used in + [Invoke](API_Invoke.md) + [InvokeAsync](API_InvokeAsync.md) + [ListAliases](API_ListAliases.md) + + [ListCodeSigningConfigs](API_ListCodeSigningConfigs.md) + [ListEventSourceMappings](API_ListEventSourceMappings.md) + [ListFunctionEventInvokeConfigs](API_ListFunctionEventInvokeConfigs.md) + [ListFunctions](API_ListFunctions.md) + + [ListFunctionsByCodeSigningConfig](API_ListFunctionsByCodeSigningConfig.md) + [ListLayers](API_ListLayers.md) + [ListLayerVersions](API_ListLayerVersions.md) + [ListProvisionedConcurrencyConfigs](API_ListProvisionedConcurrencyConfigs.md) @@ -274,6 +282,7 @@ Amazon's trademarks and trade dress may not be used in + [ListVersionsByFunction](API_ListVersionsByFunction.md) + [PublishLayerVersion](API_PublishLayerVersion.md) + [PublishVersion](API_PublishVersion.md) + + [PutFunctionCodeSigningConfig](API_PutFunctionCodeSigningConfig.md) + [PutFunctionConcurrency](API_PutFunctionConcurrency.md) + [PutFunctionEventInvokeConfig](API_PutFunctionEventInvokeConfig.md) + [PutProvisionedConcurrencyConfig](API_PutProvisionedConcurrencyConfig.md) @@ -282,6 +291,7 @@ Amazon's trademarks and trade dress may not be used in + [TagResource](API_TagResource.md) + [UntagResource](API_UntagResource.md) + [UpdateAlias](API_UpdateAlias.md) + + [UpdateCodeSigningConfig](API_UpdateCodeSigningConfig.md) + [UpdateEventSourceMapping](API_UpdateEventSourceMapping.md) + [UpdateFunctionCode](API_UpdateFunctionCode.md) + [UpdateFunctionConfiguration](API_UpdateFunctionConfiguration.md) @@ -291,6 +301,9 @@ Amazon's trademarks and trade dress may not be used in + [AccountUsage](API_AccountUsage.md) + [AliasConfiguration](API_AliasConfiguration.md) + [AliasRoutingConfiguration](API_AliasRoutingConfiguration.md) + + [AllowedPublishers](API_AllowedPublishers.md) + + [CodeSigningConfig](API_CodeSigningConfig.md) + + [CodeSigningPolicies](API_CodeSigningPolicies.md) + [Concurrency](API_Concurrency.md) + [DeadLetterConfig](API_DeadLetterConfig.md) + [DestinationConfig](API_DestinationConfig.md) @@ -303,6 +316,9 @@ Amazon's trademarks and trade dress may not be used in + [FunctionCodeLocation](API_FunctionCodeLocation.md) + [FunctionConfiguration](API_FunctionConfiguration.md) + [FunctionEventInvokeConfig](API_FunctionEventInvokeConfig.md) + + [ImageConfig](API_ImageConfig.md) + + [ImageConfigError](API_ImageConfigError.md) + + [ImageConfigResponse](API_ImageConfigResponse.md) + [Layer](API_Layer.md) + [LayersListItem](API_LayersListItem.md) + [LayerVersionContentInput](API_LayerVersionContentInput.md) @@ -311,6 +327,7 @@ Amazon's trademarks and trade dress may not be used in + [OnFailure](API_OnFailure.md) + [OnSuccess](API_OnSuccess.md) + [ProvisionedConcurrencyConfigListItem](API_ProvisionedConcurrencyConfigListItem.md) + + [SelfManagedEventSource](API_SelfManagedEventSource.md) + [SourceAccessConfiguration](API_SourceAccessConfiguration.md) + [TracingConfig](API_TracingConfig.md) + [TracingConfigResponse](API_TracingConfigResponse.md) diff --git a/doc_source/invocation-retries.md b/doc_source/invocation-retries.md index 7f165662..649fd7ad 100644 --- a/doc_source/invocation-retries.md +++ b/doc_source/invocation-retries.md @@ -9,7 +9,7 @@ Issues with the request, caller, or account can cause invocation errors\. Invoca + **Caller** – The user or service doesn't have permission to invoke the function\. + **Account** – The maximum number of function instances are already running, or requests are being made too quickly\. -Clients such as the AWS CLI and the AWS SDK retry on client timeouts, throttling errors \(429\), and other errors that aren't caused by a bad request \(500 series\)\. For a full list of invocation errors, see [Invoke](API_Invoke.md)\. +Clients such as the AWS CLI and the AWS SDK retry on client timeouts, throttling errors \(429\), and other errors that aren't caused by a bad request\. For a full list of invocation errors, see [Invoke](API_Invoke.md)\. Function errors occur when your function code or the runtime that it uses return an error\. diff --git a/doc_source/java-package-eclipse.md b/doc_source/java-package-eclipse.md index 5a74dc55..03935add 100644 --- a/doc_source/java-package-eclipse.md +++ b/doc_source/java-package-eclipse.md @@ -59,8 +59,12 @@ If you are following other tutorial topics in this guide, the specific tutorials 1. Open the context \(right\-click\) menu for the `src/main/java` subdirectory in the project, choose **New**, and then choose **Class**\. 1. In the **New Java Class** window, type the following values: + + + **Package**: **example** + **Name**: **Hello** + + **Note** If you are following other tutorial topics in this guide, the specific tutorials might recommend different package name or class name\. @@ -79,6 +83,8 @@ The resulting \.jar, `lambda-java-example-0.0.1-SNAPSHOT.jar`, is not the final 1. Open the context \(right\-click\) menu for the `pom.xml` file, choose **Maven**, and then choose **Add Plugin**\. 1. In the **Add Plugin** window, type the following values: + + + **Group Id:** org\.apache\.maven\.plugins + **Artifact Id:** maven\-shade\-plugin + **Version:** 3\.2\.2 diff --git a/doc_source/kafka-using-cluster.md b/doc_source/kafka-using-cluster.md index 62af0c15..61272809 100644 --- a/doc_source/kafka-using-cluster.md +++ b/doc_source/kafka-using-cluster.md @@ -1,5 +1,7 @@ # Using an Apache Kafka cluster as an event source for Lambda + + You can host an Apache Kafka cluster on AWS, or on any other cloud provider of your choice\. Lambda supports Kafka as an [event source](invocation-eventsourcemapping.md) regardless of where it is hosted, as long as Lambda can access the cluster\. This page describes how to use your Kafka cluster as an event source for your Lambda function\. @@ -10,6 +12,8 @@ This page describes how to use your Kafka cluster as an event source for your La ## How it works + + When you add your Apache Kafka cluster as a trigger for your Lambda function, the cluster is used as an [event source](invocation-eventsourcemapping.md)\. When you add your Kafka cluster and topic as an event source, Lambda creates a consumer group with an event source `UUID`\. + If you use an Amazon Managed Streaming for Apache Kafka \(Amazon MSK\) cluster as your event source in [https://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html#SSS-CreateEventSourceMapping-request-EventSourceArn](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html#SSS-CreateEventSourceMapping-request-EventSourceArn), Lambda reads event data using the Amazon MSK cluster and the Kafka topic that you specify\. + If you use a non\-AWS hosted Apache Kafka cluster—or an AWS hosted Apache Kafka cluster on another AWS service—as your event source in [https://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html#SSS-CreateEventSourceMapping-request-SelfManagedEventSource](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html#SSS-CreateEventSourceMapping-request-SelfManagedEventSource), Lambda reads event data using the Kafka host, topic, and connection details that you specify\. diff --git a/doc_source/lambda-api-permissions-ref.md b/doc_source/lambda-api-permissions-ref.md index 93ea4ae9..942b41f8 100644 --- a/doc_source/lambda-api-permissions-ref.md +++ b/doc_source/lambda-api-permissions-ref.md @@ -82,6 +82,8 @@ When making Lambda API calls, users can specify a version or alias by passing a You must use the correct function ARN types in your policies to achieve the results that you expect, especially in policies that deny access\. We recommend that you follow the best practices for using Deny statements with functions\. + + ### Best practices for using Deny statements with functions The following table summarizes the resources to use in Deny effects\. In the **Resource** column, `MyFunction` is the name of the function, `:1` refers to version 1 of the function, and `MyAlias` is the name of a function alias\. diff --git a/doc_source/lambda-rolling-deployments.md b/doc_source/lambda-rolling-deployments.md index 4375f047..ba58d856 100644 --- a/doc_source/lambda-rolling-deployments.md +++ b/doc_source/lambda-rolling-deployments.md @@ -16,6 +16,8 @@ In a rolling deployment, AWS SAM performs these tasks: + It detects when you create a new version of your Lambda function\. + It triggers CodeDeploy to start the deployment of the new version\. + + ## Example AWS SAM Lambda template The following example shows an [AWS SAM template](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-basics.html) for a simple rolling deployment\. diff --git a/doc_source/lambda-services.md b/doc_source/lambda-services.md index 960d08e1..e8c051a1 100644 --- a/doc_source/lambda-services.md +++ b/doc_source/lambda-services.md @@ -61,6 +61,7 @@ Other services invoke your function directly\. You grant the other service permi **Services that invoke Lambda functions synchronously** + [Elastic Load Balancing \(Application Load Balancer\)](services-alb.md) + [Amazon Cognito](services-cognito.md) ++ [Amazon connect](services-connect.md) + [Amazon Lex](services-lex.md) + [Amazon Alexa](services-alexa.md) + [Amazon API Gateway](services-apigateway.md) diff --git a/doc_source/logging-using-cloudtrail.md b/doc_source/logging-using-cloudtrail.md index 18f76a39..2e8afa81 100644 --- a/doc_source/logging-using-cloudtrail.md +++ b/doc_source/logging-using-cloudtrail.md @@ -15,6 +15,7 @@ For an ongoing record of events in your AWS account, including events for AWS La + [Receiving CloudTrail log files from multiple regions](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/receive-cloudtrail-log-files-from-multiple-regions.html) and [Receiving CloudTrail log files from multiple accounts](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-receive-logs-from-multiple-accounts.html) AWS Lambda supports logging the following actions as events in CloudTrail log files: ++ [AddLayerVersionPermission](API_AddLayerVersionPermission.md) + [AddPermission](API_AddPermission.md) + [CreateEventSourceMapping](API_CreateEventSourceMapping.md) + [CreateFunction](API_CreateFunction.md) @@ -25,6 +26,7 @@ AWS Lambda supports logging the following actions as events in CloudTrail log fi + [GetEventSourceMapping](API_GetEventSourceMapping.md) + [GetFunction](API_GetFunction.md) + [GetFunctionConfiguration](API_GetFunctionConfiguration.md) ++ [GetLayerVersionPolicy](API_GetLayerVersionPolicy.md) + [GetPolicy](API_GetPolicy.md) + [ListEventSourceMappings](API_ListEventSourceMappings.md) + [ListFunctions](API_ListFunctions.md) diff --git a/doc_source/monitoring-servicemap.md b/doc_source/monitoring-servicemap.md index d377f99b..efa356d5 100644 --- a/doc_source/monitoring-servicemap.md +++ b/doc_source/monitoring-servicemap.md @@ -1,16 +1,19 @@ # Example workflows using other AWS services -AWS Lambda integrates with other AWS services to help you monitor, trace, debug, and troubleshoot your Lambda functions\. This page shows workflows you can use for AWS X\-Ray and CloudWatch ServiceLens to trace and troubleshoot your Lambda functions\. +AWS Lambda integrates with other AWS services to help you monitor, trace, debug, and troubleshoot your Lambda functions\. This page shows workflows you can use with AWS X\-Ray, AWS Trusted Advisor and CloudWatch ServiceLens to trace and troubleshoot your Lambda functions\. **Topics** + [Prerequisites](#monitoring-troubleshooting-prereqs) + [Pricing](#monitoring-troubleshooting-pricing) + [Example AWS X\-Ray workflow to view a service map](#monitoring-servicemap-example) + [Example AWS X\-Ray workflow to view trace details](#monitoring-tracing-example) ++ [Example AWS Trusted Advisor workflow to view recommendations](#monitoring-ta-example) + [What's next?](#monitoring-troubleshooting-next-up) ## Prerequisites +The following section describes the steps to using AWS X\-Ray and Trusted Advisor to troubleshoot your Lambda functions\. + ### Using AWS X\-Ray AWS X\-Ray needs to be enabled on the Lambda console to complete the AWS X\-Ray workflows on this page\. If your execution role does not have the required permissions, the Lambda console will attempt to add them to your execution role\. @@ -29,8 +32,17 @@ AWS X\-Ray needs to be enabled on the Lambda console to complete the AWS X\-Ray 1. Choose **Save**\. +### Using AWS Trusted Advisor + +AWS Trusted Advisor inspects your AWS environment and makes recommendations on ways you can save money, improve system availability and performance, and help close security gaps\. You can use Trusted Advisor checks to evaluate the Lambda functions and applications in your AWS account\. The checks provide recommended steps to take and resources for more information\. ++ For more information on AWS support plans for Trusted Advisor checks, see [Support plans](https://console.aws.amazon.com/support/plans/home?#/)\. ++ For more information about the checks for Lambda, see [AWS Trusted Advisor best practice checklist](http://aws.amazon.com/premiumsupport/technology/trusted-advisor/best-practice-checklist/)\. ++ For more information on how to use the Trusted Advisor console, see [Get started with AWS Trusted Advisor](https://docs.aws.amazon.com/awssupport/latest/user/get-started-with-aws-trusted-advisor.html)\. ++ For instructions on how to allow and deny console access to Trusted Advisor, see [IAM policy examples](https://docs.aws.amazon.com/awssupport/latest/user/security-trusted-advisor.html#iam-policy-examples-trusted-advisor)\. + ## Pricing + With AWS X\-Ray you pay only for what you use, based on the number of traces recorded, retrieved, and scanned\. For more information, see [AWS X\-Ray Pricing](http://aws.amazon.com/xray/pricing/)\. ++ Trusted Advisor cost optimization checks are included with AWS Business and Enterprise support subscriptions\. For more information, see [AWS Trusted Advisor Pricing](http://aws.amazon.com/premiumsupport/pricing/)\. ## Example AWS X\-Ray workflow to view a service map @@ -76,5 +88,20 @@ If you've enabled AWS X\-Ray, you can use the single\-function view on the Cloud The **Trace details** page opens in the ServiceLens traces view\. ![\[Function trace details in the ServiceLens traces view.\]](http://docs.aws.amazon.com/lambda/latest/dg/images/lambdainsights-trace-details.png) +## Example AWS Trusted Advisor workflow to view recommendations + +Trusted Advisor checks Lambda functions in all AWS Regions to identify functions with the highest potential cost savings, and deliver actionable recommendations for optimization\. It analyzes your Lambda usage data such as function execution time, billed duration, memory used, memory configured, timeout configuration and errors\. + +For example, the *Lambda Functions with High Error Rate* check recommends that you use AWS X\-Ray or CloudWatch to detect errors with your Lambda functions\. + +**To check for functions with high error rates** + +1. Open the [Trusted Advisor](https://console.aws.amazon.com/trustedadvisor) console\. + +1. Choose the **Cost Optimization** category\. + +1. Scroll down to **AWS Lambda Functions with High Error Rates**\. Expand the section to see the results and the recommended actions\. + ## What's next? -+ Learn more about how to integrate traces, metrics, logs, and alarms in [Using ServiceLens to Monitor the Health of Your Applications](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ServiceLens.html)\. \ No newline at end of file ++ Learn more about how to integrate traces, metrics, logs, and alarms in [Using ServiceLens to Monitor the Health of Your Applications](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ServiceLens.html)\. ++ Learn more about how to get a list of Trusted Advisor checks in [Using Trusted Advisor as a web service](https://docs.aws.amazon.com/awssupport/latest/user/trustedadvisor.html)\. \ No newline at end of file diff --git a/doc_source/runtimes-avx2.md b/doc_source/runtimes-avx2.md index 7c0f280c..a3fa3b30 100644 --- a/doc_source/runtimes-avx2.md +++ b/doc_source/runtimes-avx2.md @@ -40,6 +40,8 @@ For more information about Intel MKL and similar libraries, see [Math Kernel Lib If you don't use C or C\+\+ libraries and don't build with Intel MKL, you can still get some AVX2 performance improvement for your applications\. Note that the actual improvement depends on the compiler or interpreter's ability to utilize the AVX2 capabilities on your code\. + + Python Python users generally use SciPy and NumPy libraries for compute\-intensive workloads\. You can compile these libraries to enable AVX2, or you can use the Intel MKL\-enabled versions of the libraries\. diff --git a/doc_source/runtimes-context.md b/doc_source/runtimes-context.md index 50268a89..d0b9384c 100644 --- a/doc_source/runtimes-context.md +++ b/doc_source/runtimes-context.md @@ -4,6 +4,8 @@ Lambda invokes your function in an execution environment, which provides a secur The function's runtime communicates with Lambda using the [Runtime API](runtimes-api.md)\. Extensions communicate with Lambda using the [Extensions API](runtimes-extensions-api.md)\. Extensions can also receive log messages from the function by subscribing to logs using the [Logs API](runtimes-logs-api.md)\. + + ![\[Architecture diagram of the execution environment.\]](http://docs.aws.amazon.com/lambda/latest/dg/images/logs-api-concept-diagram.png) When you create your Lambda function, you specify configuration information, such as the amount of memory available and the maximum execution time allowed for your function\. Lambda uses this information to set up the execution environment\. diff --git a/doc_source/runtimes-custom.md b/doc_source/runtimes-custom.md index 49e9db3b..2c973af3 100644 --- a/doc_source/runtimes-custom.md +++ b/doc_source/runtimes-custom.md @@ -46,7 +46,7 @@ Your runtime code is responsible for completing some initialization tasks\. Then + `LAMBDA_TASK_ROOT` – The directory that contains the function code\. + `AWS_LAMBDA_RUNTIME_API` – The host and port of the runtime API\. - See [Runtime environment variables](configuration-envvars.md#configuration-envvars-runtime) for a full list of available variables\. + See [Defined runtime environment variables](configuration-envvars.md#configuration-envvars-runtime) for a full list of available variables\. + **Initialize the function** – Load the handler file and run any global or static code that it contains\. Functions should create static resources like SDK clients and database connections once, and reuse them for multiple invocations\. + **Handle errors** – If an error occurs, call the [initialization error](runtimes-api.md#runtimes-api-initerror) API and exit immediately\. diff --git a/doc_source/runtimes-extensions-api.md b/doc_source/runtimes-extensions-api.md index c498b4ab..233db4c2 100644 --- a/doc_source/runtimes-extensions-api.md +++ b/doc_source/runtimes-extensions-api.md @@ -49,6 +49,8 @@ Each phase starts with an event from the Lambda service to the runtime and to al ![\[Image NOT FOUND\]](http://docs.aws.amazon.com/lambda/latest/dg/images/Overview-Full-Sequence.png) + + **Topics** + [Init phase](#runtimes-extensions-api-reg) + [Invoke phase](#runtimes-lifecycle-invoke) @@ -322,4 +324,6 @@ The extension uses this method to report an error to Lambda before exiting\. Cal + 202 – Accepted + 400 – Bad Request + 403 – Forbidden -+ 500 – Container error\. Non\-recoverable state\. Extension should exit promptly\. \ No newline at end of file ++ 500 – Container error\. Non\-recoverable state\. Extension should exit promptly\. + + \ No newline at end of file diff --git a/doc_source/security_iam_troubleshoot.md b/doc_source/security_iam_troubleshoot.md index e2e7810d..a4ca44a0 100644 --- a/doc_source/security_iam_troubleshoot.md +++ b/doc_source/security_iam_troubleshoot.md @@ -61,6 +61,8 @@ Lambda has introduced two new AWS managed policies: + The **AWSLambda\_ReadOnlyAccess** policy grants read\-only access to Lambda, Lambda console features, and other related AWS services\. This policy was created by scoping down the previous policy **AWSLambdaReadOnlyAccess**\. + The **AWSLambda\_FullAccess** policy grants full access to Lambda, Lambda console features, and other related AWS services\. This policy was created by scoping down the previous policy **AWSLambdaFullAccess**\. + + ### Using the AWS managed policies We recommend using the newly launched managed policies to grant users, groups, and roles access to Lambda; however, review the permissions granted in the policies to ensure they meet your requirements\. @@ -80,6 +82,6 @@ You can create a role that users in other accounts or people outside of your org To learn more, consult the following: + To learn whether Lambda supports these features, see [How AWS Lambda works with IAM](security_iam_service-with-iam.md)\. + To learn how to provide access to your resources across AWS accounts that you own, see [Providing access to an IAM user in another AWS account that you own](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_common-scenarios_aws-accounts.html) in the *IAM User Guide*\. -+ To learn how to provide access to your resources to third\-party AWS accounts, see [Providing ccess to AWS accounts owned by third parties](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_common-scenarios_third-party.html) in the *IAM User Guide*\. ++ To learn how to provide access to your resources to third\-party AWS accounts, see [Providing access to AWS accounts owned by third parties](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_common-scenarios_third-party.html) in the *IAM User Guide*\. + To learn how to provide access through identity federation, see [Providing access to externally authenticated users \(identity federation\)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_common-scenarios_federated-users.html) in the *IAM User Guide*\. + To learn the difference between using roles and resource\-based policies for cross\-account access, see [How IAM roles differ from resource\-based policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_compare-resource-policies.html) in the *IAM User Guide*\. \ No newline at end of file diff --git a/doc_source/services-apigateway-code.md b/doc_source/services-apigateway-code.md index c8d5fd7a..eefdfd5f 100644 --- a/doc_source/services-apigateway-code.md +++ b/doc_source/services-apigateway-code.md @@ -119,8 +119,6 @@ The following example processes messages from API Gateway, and logs information **Example LambdaFunctionOverHttps\.go** ``` -package main - import ( "context" "fmt" diff --git a/doc_source/services-apigateway-tutorial.md b/doc_source/services-apigateway-tutorial.md index a77a1bb0..85b8b5b7 100644 --- a/doc_source/services-apigateway-tutorial.md +++ b/doc_source/services-apigateway-tutorial.md @@ -25,6 +25,8 @@ The request payload you send in the `POST` request identifies the DynamoDB opera ``` + The following is a sample request payload for a DynamoDB read item operation: + + ``` { "operation": "read", diff --git a/doc_source/services-cloudwatchevents-tutorial.md b/doc_source/services-cloudwatchevents-tutorial.md index 80f942db..58b5bfdb 100644 --- a/doc_source/services-cloudwatchevents-tutorial.md +++ b/doc_source/services-cloudwatchevents-tutorial.md @@ -17,13 +17,13 @@ This tutorial assumes that you have some knowledge of basic Lambda operations an 1. Choose **Create function**\. -1. Choose **Blueprints**\. +1. Choose **Use a blueprint**\. 1. Enter **canary** in the search bar\. Choose the **lambda\-canary** blueprint, and then choose **Configure**\. 1. Configure the following settings\. + **Name** – **lambda\-canary**\. - + **Role** – **Create a new role from one or more templates**\. + + **Role** – **Create a new role from AWS policy templates**\. + **Role name** – **lambda\-apigateway\-role**\. + **Policy templates** – **Simple microservice permissions**\. + **Rule** – **Create a new rule**\. @@ -105,6 +105,8 @@ Configure an alarm in Amazon CloudWatch that monitors the Lambda function and se + Threshold – **Whenever Errors is >=****1**\. + **Send notification to** – **lambda\-canary\-notifications**\. + + ## Test the alarm Update the function configuration to cause the function to return an error, which triggers the alarm\. diff --git a/doc_source/services-cloudwatchevents.md b/doc_source/services-cloudwatchevents.md index cb53ee42..030e742a 100644 --- a/doc_source/services-cloudwatchevents.md +++ b/doc_source/services-cloudwatchevents.md @@ -37,6 +37,7 @@ You can also create a Lambda function and direct AWS Lambda to invoke it on a re ``` { + "version": "0", "account": "123456789012", "region": "us-east-2", "detail": {}, @@ -45,7 +46,7 @@ You can also create a Lambda function and direct AWS Lambda to invoke it on a re "time": "2019-03-01T01:23:45Z", "id": "cdc73f9d-aea9-11e3-9d5a-835b769c0d9c", "resources": [ - "arn:aws:events:us-east-1:123456789012:rule/my-schedule" + "arn:aws:events:us-east-2:123456789012:rule/my-schedule" ] } ``` @@ -58,7 +59,7 @@ You can also create a Lambda function and direct AWS Lambda to invoke it on a re 1. Under **Function overview**, choose **Add trigger**\. -1. Set the trigger type to **CloudWatch Events/EventBridge**\. +1. Set the trigger type to **EventBridge\(CloudWatch Events\)**\. 1. For **Rule**, choose **Create a new rule**\. diff --git a/doc_source/services-connect.md b/doc_source/services-connect.md new file mode 100644 index 00000000..ca2777ef --- /dev/null +++ b/doc_source/services-connect.md @@ -0,0 +1,41 @@ +# Using Lambda with Amazon Connect + +You can use a Lambda function to process requests from Amazon Connect\. + +Amazon Connect invokes your Lambda function synchronously with an event that contains the request body and metadata\. + +**Example Amazon Connect request event** + +``` +{ + "Details": { + "ContactData": { + "Attributes": {}, + "Channel": "VOICE", + "ContactId": "4a573372-1f28-4e26-b97b-XXXXXXXXXXX", + "CustomerEndpoint": { + "Address": "+1234567890", + "Type": "TELEPHONE_NUMBER" + }, + "InitialContactId": "4a573372-1f28-4e26-b97b-XXXXXXXXXXX", + "InitiationMethod": "INBOUND | OUTBOUND | TRANSFER | CALLBACK", + "InstanceARN": "arn:aws:connect:aws-region:1234567890:instance/c8c0e68d-2200-4265-82c0-XXXXXXXXXX", + "PreviousContactId": "4a573372-1f28-4e26-b97b-XXXXXXXXXXX", + "Queue": { + "ARN": "arn:aws:connect:eu-west-2:111111111111:instance/cccccccc-bbbb-dddd-eeee-ffffffffffff/queue/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "Name": "PasswordReset" + }, + "SystemEndpoint": { + "Address": "+1234567890", + "Type": "TELEPHONE_NUMBER" + } + }, + "Parameters": { + "sentAttributeKey": "sentAttributeValue" + } + }, + "Name": "ContactFlowEvent" +} +``` + +For information about how to use Amazon Connect with Lambda, see [ Invoke Lambda functions](https://docs.aws.amazon.com/connect/latest/adminguide/connect-lambda-functions.html) in the *Amazon Connect administrator guide*\. \ No newline at end of file diff --git a/doc_source/services-ec2-tutorial.md b/doc_source/services-ec2-tutorial.md index 701a36a0..a3a578c3 100644 --- a/doc_source/services-ec2-tutorial.md +++ b/doc_source/services-ec2-tutorial.md @@ -8,6 +8,8 @@ This tutorial provides code that performs these tasks and a sample application t For more information about spot instances usage and best practices, see [Spot Instances](https://docs.aws.amazon.com/AWSEC2/latest/DeveloperGuide/using-spot-instances.html) in the Amazon EC2 user guide\. + + ## Prerequisites To complete the following steps, you need a command line terminal or shell to run commands\. Commands and the expected output are listed in separate blocks: diff --git a/doc_source/stepfunctions-patterns.md b/doc_source/stepfunctions-patterns.md index 9e48472f..a38cdde0 100644 --- a/doc_source/stepfunctions-patterns.md +++ b/doc_source/stepfunctions-patterns.md @@ -110,6 +110,7 @@ The following Amazon States Language definition of the `WhichCoat` state machine } ``` + **Example Python function** The following Lambda function in Python \(`wear_heavy_coat`\) can be invoked for the state machine defined in the previous example\. If the `WhichCoat` state machine equals a string value of `FREEZING`, the `wear_heavy_coat` function is invoked from Lambda, and the user receives the message that corresponds with the function: "You should wear a heavy coat today\." diff --git a/doc_source/troubleshooting-deployment.md b/doc_source/troubleshooting-deployment.md index a9eba472..a0c24ba6 100644 --- a/doc_source/troubleshooting-deployment.md +++ b/doc_source/troubleshooting-deployment.md @@ -103,4 +103,4 @@ In this example, the object is 39 characters and takes up 39 bytes when it's sto **Error:** *InvalidParameterValueException: Lambda was unable to configure your environment variables because the environment variables you have provided contains reserved keys that are currently not supported for modification\.* -Lambda reserves some environment variable keys for internal use\. For example, `AWS_REGION` is used by the runtime to determine the current Region and cannot be overridden\. Other variables, like `PATH`, are used by the runtime but can be extended in your function configuration\. For a full list, see [Runtime environment variables](configuration-envvars.md#configuration-envvars-runtime)\. \ No newline at end of file +Lambda reserves some environment variable keys for internal use\. For example, `AWS_REGION` is used by the runtime to determine the current Region and cannot be overridden\. Other variables, like `PATH`, are used by the runtime but can be extended in your function configuration\. For a full list, see [Defined runtime environment variables](configuration-envvars.md#configuration-envvars-runtime)\. \ No newline at end of file diff --git a/doc_source/with-ddb.md b/doc_source/with-ddb.md index 27af38ec..ff9e2917 100644 --- a/doc_source/with-ddb.md +++ b/doc_source/with-ddb.md @@ -563,7 +563,7 @@ public class ProcessDynamodbRecords implements RequestHandler batchItemFailures = new ArrayList<*gt;(); + List batchItemFailures = new ArrayList<*>(); String curRecordSequenceNumber = ""; for (DynamodbEvent.DynamodbEventRecord dynamodbEventRecord : input.getRecords()) { diff --git a/doc_source/with-kinesis.md b/doc_source/with-kinesis.md index 8ed04e40..b1e09fd7 100644 --- a/doc_source/with-kinesis.md +++ b/doc_source/with-kinesis.md @@ -512,7 +512,7 @@ public class ProcessKinesisRecords implements RequestHandler batchItemFailures = new ArrayList<*gt;(); + List batchItemFailures = new ArrayList<*>(); String curRecordSequenceNumber = ""; for (KinesisEvent.KinesisEventRecord kinesisEventRecord : input.getRecords()) { diff --git a/doc_source/with-sqs-create-package.md b/doc_source/with-sqs-create-package.md index 46650be2..953a7226 100644 --- a/doc_source/with-sqs-create-package.md +++ b/doc_source/with-sqs-create-package.md @@ -144,7 +144,6 @@ Follow the instructions to create a AWS Lambda function deployment package\. ``` from __future__ import print_function - def lambda_handler(event, context): for record in event['Records']: print("test") @@ -152,4 +151,4 @@ def lambda_handler(event, context): print(str(payload)) ``` -Zip up the sample code to create a deployment package\. For instructions, see [Deploy Python Lambda functions with \.zip file archives](python-package.md)\. +Zip up the sample code to create a deployment package\. For instructions, see [Deploy Python Lambda functions with \.zip file archives](python-package.md)\. \ No newline at end of file