Module Awso_lambda.ValuesSource

Sourceval service : Awso.Service.t
Sourceval apiVersion : string
Sourceval endpointPrefix : string
Sourceval serviceFullName : string
Sourceval signatureVersion : string
Sourceval protocol : string
Sourceval globalEndpoint : string
Sourceval simple_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval composed_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval to_query : ('a -> Awso.Client.Query.value) -> 'a -> Awso.Client.Query.t
Sourceval structure_to_value_aux : ('a * 'b option) list -> f:(('a * 'b) list -> 'c) -> [> `Structure of 'c ]
Sourceval structure_to_value : ('a * 'b option) list -> [> `Structure of ('a * 'b) list ]
Sourceval structure_to_wrapped_value : wrapper:'a -> response:'a -> ('b * 'c option) list -> [> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]
Sourcemodule Arn : sig ... end
Sourcemodule StackTraceEntry : sig ... end
Sourcemodule String_ : sig ... end

Specific access configuration settings that tell Lambda how to authenticate with your schema registry. If you're working with an Glue schema registry, don't provide authentication details in this object. Instead, ensure that your execution role has the required permissions for Lambda to access your cluster. If you're working with a Confluent schema registry, choose the authentication method in the Type field, and provide the Secrets Manager secret ARN in the URI field.

Specific schema validation configuration settings that tell Lambda the message attributes you want to validate and filter using your schema registry.

Sourcemodule Pattern : sig ... end
Sourcemodule Endpoint : sig ... end
Sourcemodule MetricTargetValue : sig ... end
Sourcemodule ErrorData : sig ... end
Sourcemodule ErrorMessage : sig ... end
Sourcemodule ErrorType : sig ... end
Sourcemodule StackTraceEntries : sig ... end
Sourcemodule CapacityProviderArn : sig ... end
Sourcemodule SensitiveString : sig ... end
Sourcemodule EnvironmentVariableName : sig ... end
Sourcemodule EnvironmentVariableValue : sig ... end
Sourcemodule FileSystemArn : sig ... end
Sourcemodule LocalMountPath : sig ... end
Sourcemodule StringList : sig ... end
Sourcemodule WorkingDirectory : sig ... end
Sourcemodule LayerVersionArn : sig ... end
Sourcemodule Long : sig ... end
Sourcemodule SecurityGroupId : sig ... end
Sourcemodule SubnetId : sig ... end
Sourcemodule Architecture : sig ... end
Sourcemodule Runtime : sig ... end
Sourcemodule Method : sig ... end
Sourcemodule Origin : sig ... end
Sourcemodule Header : sig ... end
Sourcemodule DestinationArn : sig ... end
Sourcemodule SchemaRegistryUri : sig ... end
Sourcemodule EventSourceMappingMetric : sig ... end
Sourcemodule Filter : sig ... end

A structure within a FilterCriteria object that defines an event filtering pattern.

Sourcemodule EndPointType : sig ... end
Sourcemodule EndpointLists : sig ... end
Sourcemodule SourceAccessType : sig ... end
Sourcemodule URI : sig ... end

A scaling policy for the capacity provider that automatically adjusts capacity to maintain a target value for a specific metric.

Sourcemodule InstanceType : sig ... end
Sourcemodule AdditionalVersion : sig ... end
Sourcemodule Weight : sig ... end
Sourcemodule ErrorObject : sig ... end

An object that contains error information.

Sourcemodule Truncated : sig ... end
Sourcemodule OperationPayload : sig ... end
Sourcemodule InputPayload : sig ... end
Sourcemodule AttemptCount : sig ... end
Sourcemodule DurationSeconds : sig ... end
Sourcemodule CallbackId : sig ... end
Sourcemodule ReplayChildren : sig ... end
Sourcemodule ExecutionTimestamp : sig ... end

Configuration for Lambda-managed instances used by the capacity provider.

Sourcemodule ResourceArn : sig ... end
Sourcemodule ExecutionTimeout : sig ... end
Sourcemodule RetentionPeriodInDays : sig ... end
Sourcemodule EnvironmentError : sig ... end

Error messages for environment variables that couldn't be applied.

Sourcemodule EnvironmentVariables : sig ... end
Sourcemodule EphemeralStorageSize : sig ... end
Sourcemodule FileSystemConfig : sig ... end

Details about the connection between a Lambda function and an Amazon EFS file system or an Amazon S3 Files file system.

Sourcemodule ImageConfig : sig ... end

Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.

Sourcemodule ImageConfigError : sig ... end

Error response to GetFunctionConfiguration.

Sourcemodule Layer : sig ... end

An Lambda layer.

Sourcemodule ApplicationLogLevel : sig ... end
Sourcemodule LogFormat : sig ... end
Sourcemodule LogGroup : sig ... end
Sourcemodule SystemLogLevel : sig ... end
Sourcemodule RuntimeVersionArn : sig ... end
Sourcemodule RuntimeVersionError : sig ... end

Any error returned when the runtime version information for the function could not be retrieved.

Sourcemodule SnapStartApplyOn : sig ... end
Sourcemodule TenantIsolationMode : sig ... end
Sourcemodule ThrottleReason : sig ... end
Sourcemodule TracingMode : sig ... end
Sourcemodule NullableBoolean : sig ... end
Sourcemodule SecurityGroupIds : sig ... end
Sourcemodule SubnetIds : sig ... end
Sourcemodule VpcId : sig ... end
Sourcemodule CompatibleArchitectures : sig ... end
Sourcemodule CompatibleRuntimes : sig ... end
Sourcemodule Description : sig ... end
Sourcemodule LayerVersionNumber : sig ... end
Sourcemodule LicenseInfo : sig ... end
Sourcemodule Timestamp : sig ... end
Sourcemodule AllowCredentials : sig ... end
Sourcemodule AllowMethodsList : sig ... end
Sourcemodule AllowOriginsList : sig ... end
Sourcemodule HeadersList : sig ... end
Sourcemodule MaxAge : sig ... end
Sourcemodule OnFailure : sig ... end

A destination for events that failed processing. For more information, see Adding a destination.

Sourcemodule OnSuccess : sig ... end

A destination for events that were processed successfully. To retain records of successful asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination. OnSuccess is not supported in CreateEventSourceMapping or UpdateEventSourceMapping requests.

Sourcemodule KafkaSchemaRegistryConfig : sig ... end

Specific configuration settings for a Kafka schema registry.

Sourcemodule CollectionName : sig ... end
Sourcemodule DatabaseName : sig ... end
Sourcemodule FullDocument : sig ... end
Sourcemodule FilterList : sig ... end
Sourcemodule FilterCriteriaErrorCode : sig ... end
Sourcemodule FunctionResponseType : sig ... end
Sourcemodule MaximumNumberOfPollers : sig ... end
Sourcemodule MinimumNumberOfPollers : sig ... end
Sourcemodule Queue : sig ... end
Sourcemodule MaximumConcurrency : sig ... end
Sourcemodule Endpoints : sig ... end
Sourcemodule SourceAccessConfiguration : sig ... end

To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.

Sourcemodule Topic : sig ... end
Sourcemodule SigningProfileVersionArns : sig ... end
Sourcemodule CodeSigningPolicy : sig ... end
Sourcemodule RoleArn : sig ... end
Sourcemodule CapacityProviderSubnetIds : sig ... end
Sourcemodule ArchitecturesList : sig ... end
Sourcemodule InstanceTypeSet : sig ... end
Sourcemodule AdditionalVersionWeights : sig ... end
Sourcemodule EventError : sig ... end

Error information for an event.

Sourcemodule EventResult : sig ... end

Result information for an event.

Sourcemodule DurableExecutionArn : sig ... end
Sourcemodule EventInput : sig ... end

Input information for an event.

Sourcemodule NamespacedFunctionName : sig ... end
Sourcemodule TenantId : sig ... end
Sourcemodule RetryDetails : sig ... end

Information about retry attempts for an operation.

Sourcemodule CallbackDetails : sig ... end

Contains details about a callback operation in a durable execution, including the callback token and timeout configuration.

Sourcemodule ChainedInvokeDetails : sig ... end

Contains details about a chained function invocation in a durable execution, including the target function and invocation parameters.

Sourcemodule ContextDetails : sig ... end

Details about a durable execution context.

Sourcemodule ExecutionDetails : sig ... end

Details about a durable execution.

Sourcemodule OperationId : sig ... end
Sourcemodule OperationName : sig ... end
Sourcemodule OperationStatus : sig ... end
Sourcemodule OperationSubType : sig ... end
Sourcemodule OperationType : sig ... end
Sourcemodule StepDetails : sig ... end

Details about a step operation.

Sourcemodule WaitDetails : sig ... end

Details about a wait operation.

Sourcemodule CapacityProviderConfig : sig ... end

Configuration for the capacity provider that manages compute resources for Lambda functions.

The specified code signing configuration does not exist.

Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.

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.

Sourcemodule DeadLetterConfig : sig ... end

The dead-letter queue for failed asynchronous invocations.

Sourcemodule DurableConfig : sig ... end

Configuration settings for durable functions, including execution timeout and retention period for execution history.

Sourcemodule EnvironmentResponse : sig ... end

The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.

Sourcemodule EphemeralStorage : sig ... end

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).

Sourcemodule FileSystemConfigList : sig ... end
Sourcemodule FunctionArn : sig ... end

The maximum number of function versions that can be associated with a single capacity provider has been exceeded. For more information, see Lambda quotas.

Sourcemodule Handler : sig ... end
Sourcemodule ImageConfigResponse : sig ... end

Response to a GetFunctionConfiguration request.

The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.

One of the parameters in the request is not valid.

Sourcemodule KMSKeyArn : sig ... end
Sourcemodule LastUpdateStatus : sig ... end
Sourcemodule LastUpdateStatusReason : sig ... end
Sourcemodule LayersReferenceList : sig ... end
Sourcemodule LoggingConfig : sig ... end

The function's Amazon CloudWatch Logs configuration settings.

Sourcemodule MemorySize : sig ... end
Sourcemodule NameSpacedFunctionArn : sig ... end
Sourcemodule PackageType : sig ... end

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. For AddPermission and RemovePermission API operations: Call GetPolicy to retrieve the latest RevisionId for your resource. For all other API operations: Call GetFunction or GetAlias to retrieve the latest RevisionId for your resource.

Sourcemodule ResourceConflictException : sig ... end

The resource already exists, or another operation is in progress.

Sourcemodule ResourceNotFoundException : sig ... end

The resource specified in the request does not exist.

Sourcemodule RuntimeVersionConfig : sig ... end

The ARN of the runtime and any errors that occured.

Sourcemodule ServiceException : sig ... end

The Lambda service encountered an internal error.

Sourcemodule SnapStartResponse : sig ... end

The function's SnapStart setting.

Sourcemodule State : sig ... end
Sourcemodule StateReason : sig ... end
Sourcemodule StateReasonCode : sig ... end
Sourcemodule TenancyConfig : sig ... end

Specifies the tenant isolation mode configuration for a Lambda function. This allows you to configure specific tenant isolation strategies for your function invocations. Tenant isolation configuration cannot be modified after function creation.

Sourcemodule Timeout : sig ... end
Sourcemodule TooManyRequestsException : sig ... end

The request throughput limit was exceeded. For more information, see Lambda quotas.

Sourcemodule TracingConfigResponse : sig ... end

The function's X-Ray tracing configuration.

Sourcemodule Version : sig ... end
Sourcemodule VpcConfigResponse : sig ... end

The VPC security groups and subnets that are attached to a Lambda function.

Sourcemodule NonNegativeInteger : sig ... end
Sourcemodule PositiveInteger : sig ... end
Sourcemodule LayerArn : sig ... end
Sourcemodule LayerName : sig ... end
Sourcemodule LayerVersionsListItem : sig ... end

Details about a version of an Lambda layer.

Sourcemodule Cors : sig ... end

The cross-origin resource sharing (CORS) settings for your Lambda function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL.

Sourcemodule FunctionUrl : sig ... end
Sourcemodule FunctionUrlAuthType : sig ... end
Sourcemodule InvokeMode : sig ... end
Sourcemodule Date : sig ... end
Sourcemodule DestinationConfig : sig ... end

A configuration object that specifies the destination of an event after Lambda processes it. For more information, see Adding a destination.

Sourcemodule MaximumEventAgeInSeconds : sig ... end
Sourcemodule MaximumRetryAttempts : sig ... end

Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.

Sourcemodule BatchSize : sig ... end

Specific configuration settings for a DocumentDB event source.

Sourcemodule EventSourceMappingArn : sig ... end

(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. Use this configuration object to define the level of logs for your event source mapping.

The metrics configuration for your event source. Use this configuration object to define which metrics you want your event source mapping to produce.

Sourcemodule EventSourcePosition : sig ... end
Sourcemodule FilterCriteria : sig ... end

An object that contains the filters for an event source.

Sourcemodule FilterCriteriaError : sig ... end

An object that contains details about an error related to filter criteria encryption.

Sourcemodule FunctionResponseTypeList : sig ... end
Sourcemodule MaximumRecordAgeInSeconds : sig ... end
Sourcemodule ParallelizationFactor : sig ... end
Sourcemodule ProvisionedPollerConfig : sig ... end

The provisioned mode configuration for the event source. Use Provisioned Mode to customize the minimum and maximum number of event pollers for your event source.

Sourcemodule Queues : sig ... end
Sourcemodule ResourceInUseException : sig ... end

The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.

Sourcemodule ScalingConfig : sig ... end

(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.

Sourcemodule SelfManagedEventSource : sig ... end

The self-managed Apache Kafka cluster for your event source.

Specific configuration settings for a self-managed Apache Kafka event source.

Sourcemodule Topics : sig ... end
Sourcemodule TumblingWindowInSeconds : sig ... end
Sourcemodule DurableExecutionName : sig ... end
Sourcemodule ExecutionStatus : sig ... end
Sourcemodule AllowedPublishers : sig ... end

List of signing profiles that can sign a code package.

Sourcemodule CodeSigningConfigArn : sig ... end
Sourcemodule CodeSigningConfigId : sig ... end
Sourcemodule CodeSigningPolicies : sig ... end

Code signing configuration policies specify the validation failure action for signature mismatch or expiry.

Configuration that specifies the permissions required for the capacity provider to manage compute resources.

Configuration that defines how the capacity provider scales compute instances based on demand and policies.

Sourcemodule CapacityProviderState : sig ... end
Sourcemodule CapacityProviderVpcConfig : sig ... end

VPC configuration that specifies the network settings for compute instances managed by the capacity provider.

Sourcemodule InstanceRequirements : sig ... end

Specifications that define the characteristics and constraints for compute instances used by the capacity provider.

Sourcemodule Alias : sig ... end
Sourcemodule AliasRoutingConfiguration : sig ... end

The traffic-shifting configuration of a Lambda function alias.

Sourcemodule Blob : sig ... end
Sourcemodule CallbackFailedDetails : sig ... end

Contains details about a failed callback operation, including error information and the reason for failure.

Sourcemodule CallbackStartedDetails : sig ... end

Contains details about a callback operation that has started, including timing information and callback metadata.

Sourcemodule CallbackSucceededDetails : sig ... end

Contains details about a successfully completed callback operation, including the result data and completion timestamp.

Sourcemodule CallbackTimedOutDetails : sig ... end

Contains details about a callback operation that timed out, including timeout duration and any partial results.

Contains details about a failed chained function invocation, including error information and failure reason.

Contains details about a chained function invocation that has started execution, including start time and execution context.

Details about a chained invocation that was stopped.

Details about a chained invocation that succeeded.

Details about a chained invocation that timed out.

Sourcemodule ContextFailedDetails : sig ... end

Details about a context that failed.

Sourcemodule ContextStartedDetails : sig ... end

Details about a context that has started.

Sourcemodule ContextSucceededDetails : sig ... end

Details about a context that succeeded.

Sourcemodule EventId : sig ... end
Sourcemodule EventType : sig ... end
Sourcemodule ExecutionFailedDetails : sig ... end

Details about a failed durable execution.

Sourcemodule ExecutionStartedDetails : sig ... end

Details about a durable execution that started.

Sourcemodule ExecutionStoppedDetails : sig ... end

Details about a durable execution that stopped.

Sourcemodule ExecutionSucceededDetails : sig ... end

Details about a durable execution that succeeded.

Sourcemodule ExecutionTimedOutDetails : sig ... end

Details about a durable execution that timed out.

Details about a function invocation that completed.

Sourcemodule StepFailedDetails : sig ... end

Details about a step that failed.

Sourcemodule StepStartedDetails : sig ... end

Details about a step that has started.

Sourcemodule StepSucceededDetails : sig ... end

Details about a step that succeeded.

Sourcemodule WaitCancelledDetails : sig ... end

Details about a wait operation that was cancelled.

Sourcemodule WaitStartedDetails : sig ... end

Details about a wait operation that has started.

Sourcemodule WaitSucceededDetails : sig ... end

Details about a wait operation that succeeded.

Sourcemodule Operation : sig ... end

Information about an operation within a durable execution.

Sourcemodule CallbackOptions : sig ... end

Configuration options for callback operations in durable executions, including timeout settings and retry behavior.

Sourcemodule ChainedInvokeOptions : sig ... end

Configuration options for chained function invocations in durable executions, including retry settings and timeout configuration.

Sourcemodule ContextOptions : sig ... end

Configuration options for a durable execution context.

Sourcemodule OperationAction : sig ... end
Sourcemodule StepOptions : sig ... end

Configuration options for a step operation.

Sourcemodule WaitOptions : sig ... end

Specifies how long to pause the durable execution.

Sourcemodule TagKey : sig ... end
Sourcemodule TagValue : sig ... end
Sourcemodule S3Bucket : sig ... end
Sourcemodule S3Key : sig ... end
Sourcemodule S3ObjectVersion : sig ... end
Sourcemodule FunctionConfiguration : sig ... end

Details about a function's configuration.

Details about the provisioned concurrency configuration for a function alias or version.

Sourcemodule LayersListItem : sig ... end

Details about an Lambda layer.

Information about a function version that uses a specific capacity provider, including its ARN and current state.

Sourcemodule FunctionUrlConfig : sig ... end

Details about a Lambda function URL.

Sourcemodule FunctionEventInvokeConfig : sig ... end

Retrieves the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.

Sourcemodule Execution : sig ... end

Information about a durable execution.

Sourcemodule CodeSigningConfig : sig ... end

Details about a Code signing configuration.

Sourcemodule CapacityProvider : sig ... end

A capacity provider manages compute resources for Lambda functions.

Sourcemodule AliasConfiguration : sig ... end

Provides configuration information about a Lambda function alias.

A chunk of the streamed response payload.

A response confirming that the event stream is complete.

Sourcemodule TagsErrorCode : sig ... end
Sourcemodule TagsErrorMessage : sig ... end
Sourcemodule XAmznTraceId : sig ... end
Sourcemodule Event : sig ... end

An event that occurred during the execution of a durable function.

Sourcemodule Integer : sig ... end
Sourcemodule Operations : sig ... end
Sourcemodule OperationUpdate : sig ... end

An update to be applied to an operation during checkpointing.

Sourcemodule FunctionName : sig ... end
Sourcemodule FunctionUrlQualifier : sig ... end
Sourcemodule Environment : sig ... end

A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.

Sourcemodule LayerList : sig ... end
Sourcemodule SnapStart : sig ... end

The function's Lambda SnapStart setting. Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.

Sourcemodule TracingConfig : sig ... end

The function's X-Ray tracing configuration. To sample and record incoming requests, set Mode to Active.

Sourcemodule VpcConfig : sig ... end

The VPC security groups and subnets that are attached to a Lambda function. For more information, see Configuring a Lambda function to access resources in a VPC.

Sourcemodule Boolean : sig ... end
Sourcemodule Enabled : sig ... end
Sourcemodule CapacityProviderName : sig ... end
Sourcemodule TagKeyList : sig ... end
Sourcemodule TaggableResource : sig ... end
Sourcemodule Tags : sig ... end
Sourcemodule CallbackTimeoutException : sig ... end

The callback ID token has either expired or the callback associated with the token has already been closed.

Sourcemodule BinaryOperationPayload : sig ... end
Sourcemodule NamespacedStatementId : sig ... end
Sourcemodule StatementId : sig ... end
Sourcemodule UpdateRuntimeOn : sig ... end
Sourcemodule Qualifier : sig ... end
Sourcemodule FunctionScalingConfig : sig ... end

Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.

Sourcemodule UnqualifiedFunctionName : sig ... end
Sourcemodule RecursiveLoop : sig ... end
Sourcemodule LayerVersionContentOutput : sig ... end

Details about a version of an Lambda layer.

Sourcemodule LayerVersionContentInput : sig ... end

A ZIP archive that contains the contents of an Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.

Sourcemodule FunctionList : sig ... end
Sourcemodule MaxListItems : sig ... end
Sourcemodule LayersList : sig ... end
Sourcemodule MaxLayerListItems : sig ... end
Sourcemodule LayerVersionsList : sig ... end
Sourcemodule FunctionVersion : sig ... end
Sourcemodule MasterRegion : sig ... end
Sourcemodule FunctionArnList : sig ... end
Sourcemodule MaxFiftyListItems : sig ... end
Sourcemodule FunctionUrlConfigList : sig ... end
Sourcemodule MaxItems : sig ... end
Sourcemodule EventSourceMappingsList : sig ... end
Sourcemodule DurableExecutions : sig ... end
Sourcemodule ExecutionStatusList : sig ... end
Sourcemodule ItemCount : sig ... end
Sourcemodule ReverseOrder : sig ... end
Sourcemodule CodeSigningConfigList : sig ... end
Sourcemodule CapacityProvidersList : sig ... end
Sourcemodule AliasList : sig ... end
Sourcemodule EC2AccessDeniedException : sig ... end

Need additional permissions to configure VPC settings.

Sourcemodule EC2ThrottledException : sig ... end

Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.

Sourcemodule EC2UnexpectedException : sig ... end

Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.

Sourcemodule EFSIOException : sig ... end

An error occurred when reading from or writing to a connected file system.

The Lambda function couldn't make a network connection to the configured file system.

Sourcemodule EFSMountFailureException : sig ... end

The Lambda function couldn't mount the configured file system due to a permission or configuration issue.

Sourcemodule EFSMountTimeoutException : sig ... end

The Lambda function made a network connection to the configured file system, but the mount operation timed out.

Sourcemodule ENILimitReachedException : sig ... end

Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see Lambda quotas.

The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.

Sourcemodule InvalidRuntimeException : sig ... end

The runtime or runtime version specified is not supported.

The security group ID provided in the Lambda function VPC configuration is not valid.

Sourcemodule InvalidSubnetIDException : sig ... end

The subnet ID provided in the Lambda function VPC configuration is not valid.

Sourcemodule InvalidZipFileException : sig ... end

Lambda could not unzip the deployment package.

An object that includes a chunk of the response payload. When the stream has ended, Lambda includes a InvokeComplete object.

Sourcemodule KMSAccessDeniedException : sig ... end

Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.

Sourcemodule KMSDisabledException : sig ... end

Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.

Sourcemodule KMSInvalidStateException : sig ... end

Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.

Sourcemodule KMSNotFoundException : sig ... end

Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.

The function has no published versions available.

Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.

Sourcemodule RequestTooLargeException : sig ... end

The request payload exceeded the Invoke request body JSON input quota. For more information, see Lambda quotas.

Sourcemodule ResourceNotReadyException : sig ... end

The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.

The Lambda function couldn't make a network connection to the configured S3 Files access point.

The Lambda function couldn't mount the configured S3 Files access point due to a permission or configuration issue.

The Lambda function made a network connection to the configured S3 Files access point, but the mount operation timed out.

The request payload exceeded the maximum allowed size for serialized request entities.

Sourcemodule SnapStartException : sig ... end

The afterRestore() runtime hook encountered an error. For more information, check the Amazon CloudWatch logs.

Lambda is initializing your function. You can invoke the function when the function state becomes Active.

Sourcemodule SnapStartTimeoutException : sig ... end

Lambda couldn't restore the snapshot within the timeout limit.

Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.

The content type of the Invoke request body is not JSON.

Sourcemodule LogType : sig ... end
Sourcemodule HttpStatus : sig ... end
Sourcemodule BlobStream : sig ... end

The durable execution with the specified name has already been started. Each durable execution name must be unique within the function. Use a different name or check the status of the existing execution.

Sourcemodule InvocationType : sig ... end

The specified configuration does not exist.

Sourcemodule Concurrency : sig ... end

Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level. Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function. Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see Lambda function scaling.

Sourcemodule FunctionCodeLocation : sig ... end

Details about a function's deployment package.

Sourcemodule TagsError : sig ... end

An object that contains details about an error related to retrieving tags.

Sourcemodule CheckpointToken : sig ... end
Sourcemodule OutputPayload : sig ... end
Sourcemodule TraceHeader : sig ... end

Contains trace headers for the Lambda durable execution.

Sourcemodule Events : sig ... end
Sourcemodule IncludeExecutionData : sig ... end
Sourcemodule AccountLimit : sig ... end

Limits that are related to concurrency and storage. All file and storage sizes are in bytes.

Sourcemodule AccountUsage : sig ... end

The number of functions and amount of storage in use.

Sourcemodule FunctionCode : sig ... end

The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.

The maximum number of capacity providers for your account has been exceeded. For more information, see Lambda quotas

Sourcemodule KMSKeyArnNonEmpty : sig ... end

Contains operations that have been updated since the last checkpoint, such as completed asynchronous work like timers or callbacks.

Sourcemodule ClientToken : sig ... end
Sourcemodule OperationUpdates : sig ... end

The permissions policy for the resource is too large. For more information, see Lambda quotas.

Sourcemodule Action : sig ... end
Sourcemodule EventSourceToken : sig ... end
Sourcemodule InvokedViaFunctionUrl : sig ... end
Sourcemodule Principal : sig ... end
Sourcemodule PrincipalOrgID : sig ... end
Sourcemodule SourceOwner : sig ... end
Sourcemodule OrganizationId : sig ... end

Updates the configuration for a Lambda function URL.

Updates the configuration for a Lambda function URL.

Updates the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

Modify the version-specific settings of a Lambda function. When you update 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. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Lambda function states. These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version. To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an Amazon Web Services account or Amazon Web Services service, use AddPermission.

Sourcemodule UpdateFunctionCodeRequest : sig ... end

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 for Lambda. If the function's package type is Image, then you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry. If the function's package type is Zip, then you must specify the deployment package as a .zip file archive. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the ZipFile field. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). 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. 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.

Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location. For details about how to configure different event sources, see the following topics. Amazon DynamoDB Streams Amazon Kinesis Amazon SQS Amazon MQ and RabbitMQ Amazon MSK Apache Kafka Amazon DocumentDB The following error handling options are available for stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka): BisectBatchOnFunctionError – If the function returns an error, split the batch in two and retry. MaximumRecordAgeInSeconds – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. OnFailure – Send discarded records to an Amazon SQS queue, Amazon SNS topic, Kafka topic, or Amazon S3 bucket. For more information, see Adding a destination. The following option is available only for DynamoDB and Kinesis event sources: ParallelizationFactor – Process multiple batches from each shard concurrently. For information about which configuration parameters apply to each event source, see the following topics. Amazon DynamoDB Streams Amazon Kinesis Amazon SQS Amazon MQ and RabbitMQ Amazon MSK Apache Kafka Amazon DocumentDB

Update the code signing configuration. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

Update the code signing configuration. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

Updates the configuration of an existing capacity provider.

Updates the configuration of an existing capacity provider.

Sourcemodule UpdateAliasRequest : sig ... end

Updates the configuration of a Lambda function alias.

Sourcemodule UntagResourceRequest : sig ... end

Removes tags from a function, event source mapping, or code signing configuration.

Sourcemodule TagResourceRequest : sig ... end

Adds tags to a function, event source mapping, or code signing configuration.

Stops a running durable execution. The execution transitions to STOPPED status and cannot be resumed. Any in-progress operations are terminated.

Stops a running durable execution. The execution transitions to STOPPED status and cannot be resumed. Any in-progress operations are terminated.

Sends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a callback operation.

Sends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a callback operation.

Sends a heartbeat signal for a long-running callback operation to prevent timeout. Use this API to extend the callback timeout period while the external operation is still in progress.

Sends a heartbeat signal for a long-running callback operation to prevent timeout. Use this API to extend the callback timeout period while the external operation is still in progress.

Sends a failure response for a callback operation in a durable execution. Use this API when an external system cannot complete a callback operation successfully.

Sends a failure response for a callback operation in a durable execution. Use this API when an external system cannot complete a callback operation successfully.

Sourcemodule RemovePermissionRequest : sig ... end

Revokes function-use permission from an Amazon Web Services service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.

Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

Sets the runtime management configuration for a function's version. For more information, see Runtime updates.

Sets the runtime management configuration for a function's version. For more information, see Runtime updates.

Adds a provisioned concurrency configuration to a function's alias or version.

Adds a provisioned concurrency configuration to a function's alias or version.

Sets the scaling configuration for a Lambda Managed Instances function. The scaling configuration defines the minimum and maximum number of execution environments that can be provisioned for the function, allowing you to control scaling behavior and resource allocation.

Sets the scaling configuration for a Lambda Managed Instances function. The scaling configuration defines the minimum and maximum number of execution environments that can be provisioned for the function, allowing you to control scaling behavior and resource allocation.

Sets your function's recursive loop detection configuration. When you configure a Lambda function to output to the same service or resource that invokes the function, it's possible to create an infinite recursive loop. For example, a Lambda function might write a message to an Amazon Simple Queue Service (Amazon SQS) queue, which then invokes the same function. This invocation causes the function to write another message to the queue, which in turn invokes the function again. Lambda can detect certain types of recursive loops shortly after they occur. When Lambda detects a recursive loop and your function's recursive loop detection configuration is set to Terminate, it stops your function being invoked and notifies you.

Sets your function's recursive loop detection configuration. When you configure a Lambda function to output to the same service or resource that invokes the function, it's possible to create an infinite recursive loop. For example, a Lambda function might write a message to an Amazon Simple Queue Service (Amazon SQS) queue, which then invokes the same function. This invocation causes the function to write another message to the queue, which in turn invokes the function again. Lambda can detect certain types of recursive loops shortly after they occur. When Lambda detects a recursive loop and your function's recursive loop detection configuration is set to Terminate, it stops your function being invoked and notifies you.

Configures options for asynchronous invocation on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig. By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with UpdateFunctionConfiguration. To send an invocation record to a queue, topic, S3 bucket, function, or event bus, specify a destination. You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue. S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.

Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level. Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function. Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see Lambda function scaling.

Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

Sourcemodule PublishVersionRequest : sig ... end

Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change. Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version. Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias.

Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created. Add layers to your function with CreateFunction or UpdateFunctionConfiguration.

Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created. Add layers to your function with CreateFunction or UpdateFunctionConfiguration.

Returns a list of versions, with the version-specific configuration of each. Lambda returns up to 50 versions per call.

Returns a list of versions, with the version-specific configuration of each. Lambda returns up to 50 versions per call.

Sourcemodule ListTagsResponse : sig ... end

Returns a function, event source mapping, or code signing configuration's tags. You can also view function tags with GetFunction.

Sourcemodule ListTagsRequest : sig ... end

Returns a function, event source mapping, or code signing configuration's tags. You can also view function tags with GetFunction.

Retrieves a list of provisioned concurrency configurations for a function.

Retrieves a list of provisioned concurrency configurations for a function.

Sourcemodule ListLayersResponse : sig ... end

Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.

Sourcemodule ListLayersRequest : sig ... end

Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.

Sourcemodule ListLayerVersionsResponse : sig ... end

Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.

Sourcemodule ListLayerVersionsRequest : sig ... end

Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.

Sourcemodule ListFunctionsResponse : sig ... end

A list of Lambda functions.

Sourcemodule ListFunctionsRequest : sig ... end

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. The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use GetFunction.

List the functions that use the specified code signing configuration. You can use this method prior to deleting a code signing configuration, to verify that no functions are using it.

List the functions that use the specified code signing configuration. You can use this method prior to deleting a code signing configuration, to verify that no functions are using it.

Returns a list of function versions that are configured to use a specific capacity provider.

Returns a list of function versions that are configured to use a specific capacity provider.

Returns a list of Lambda function URLs for the specified function.

Returns a list of Lambda function URLs for the specified function.

Retrieves a list of configurations for asynchronous invocation for a function. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

Retrieves a list of configurations for asynchronous invocation for a function. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.

Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.

The response from the ListDurableExecutionsByFunction operation, containing a list of durable executions and pagination information.

Returns a list of durable executions for a specified Lambda function. You can filter the results by execution name, status, and start time range. This API supports pagination for large result sets.

Returns a list of code signing configurations. A request returns up to 10,000 configurations per call. You can use the MaxItems parameter to return fewer configurations per call.

Returns a list of code signing configurations. A request returns up to 10,000 configurations per call. You can use the MaxItems parameter to return fewer configurations per call.

Returns a list of capacity providers in your account.

Returns a list of capacity providers in your account.

Sourcemodule ListAliasesResponse : sig ... end

Returns a list of aliases for a Lambda function.

Sourcemodule ListAliasesRequest : sig ... end

Returns a list of aliases for a Lambda function.

Configure your Lambda functions to stream response payloads back to clients. For more information, see Configuring a Lambda function to stream responses. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.

Configure your Lambda functions to stream response payloads back to clients. For more information, see Configuring a Lambda function to stream responses. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.

Sourcemodule InvokeAsyncResponse : sig ... end

A success response (202 Accepted) indicates that the request is queued for invocation.

Sourcemodule InvokeAsyncRequest : sig ... end

For asynchronous function invocation, use Invoke. Invokes a function asynchronously. The payload limit is 256KB. For larger payloads, for up to 1MB, use Invoke. If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.

Sourcemodule InvocationResponse : sig ... end

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType is RequestResponse). To invoke a function asynchronously, set InvocationType to Event. Lambda passes the ClientContext object to your function for synchronous invocations only. For synchronous invocations, the maximum payload size is 6 MB. For asynchronous invocations, the maximum payload size is 1 MB. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.

Sourcemodule InvocationRequest : sig ... end

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType is RequestResponse). To invoke a function asynchronously, set InvocationType to Event. Lambda passes the ClientContext object to your function for synchronous invocations only. For synchronous invocations, the maximum payload size is 6 MB. For asynchronous invocations, the maximum payload size is 1 MB. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.

Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null is returned for the ARN. For more information, see Runtime updates.

Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null is returned for the ARN. For more information, see Runtime updates.

Retrieves the provisioned concurrency configuration for a function's alias or version.

Retrieves the provisioned concurrency configuration for a function's alias or version.

Sourcemodule GetPolicyResponse : sig ... end

Returns the resource-based IAM policy for a function, version, or alias.

Sourcemodule GetPolicyRequest : sig ... end

Returns the resource-based IAM policy for a function, version, or alias.

Sourcemodule GetLayerVersionResponse : sig ... end

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

Sourcemodule GetLayerVersionRequest : sig ... end

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

Returns details about a Lambda function URL.

Returns details about a Lambda function URL.

Retrieves the scaling configuration for a Lambda Managed Instances function.

Retrieves the scaling configuration for a Lambda Managed Instances function.

Sourcemodule GetFunctionResponse : sig ... end

Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.

Sourcemodule GetFunctionRequest : sig ... end

Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.

Returns your function's recursive loop detection configuration.

Returns your function's recursive loop detection configuration.

Retrieves the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

Returns the version-specific settings of a Lambda function or version. The output includes only options that can vary between versions of a function. To modify these settings, use UpdateFunctionConfiguration. To get all of a function's details, including function-level settings, use GetFunction.

Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency.

Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency.

Returns the code signing configuration for the specified function.

Returns the code signing configuration for the specified function.

Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.

The response from the GetDurableExecutionState operation, containing the current execution state for replay.

Retrieves the current execution state required for the replay process during durable function execution. This API is used by the Lambda durable functions SDK to get state information needed for replay. You typically don't need to call this API directly as the SDK handles state management automatically. The response contains operations ordered by start sequence number in ascending order. Completed operations with children don't include child operation details since they don't need to be replayed.

The response from the GetDurableExecution operation, containing detailed information about the durable execution.

Retrieves detailed information about a specific durable execution, including its current status, input payload, result or error information, and execution metadata such as start time and usage statistics.

The response from the GetDurableExecutionHistory operation, containing the execution history and events.

Retrieves the execution history for a durable execution, showing all the steps, callbacks, and events that occurred during the execution. This provides a detailed audit trail of the execution's progress over time. The history is available while the execution is running and for a retention period after it completes (1-90 days, default 30 days). You can control whether to include execution data such as step results and callback payloads.

Returns information about the specified code signing configuration.

Returns information about the specified code signing configuration.

Retrieves information about a specific capacity provider, including its configuration, state, and associated resources.

Retrieves information about a specific capacity provider, including its configuration, state, and associated resources.

Sourcemodule GetAliasRequest : sig ... end

Returns details about a Lambda function alias.

Retrieves details about your account's limits and usage in an Amazon Web Services Region.

Sourcemodule GetAccountSettingsRequest : sig ... end

Retrieves details about your account's limits and usage in an Amazon Web Services Region.

Deletes the provisioned concurrency configuration for a function.

Sourcemodule DeleteLayerVersionRequest : sig ... end

Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.

Deletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address.

Sourcemodule DeleteFunctionResponse : sig ... end

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit permissions for DeleteAlias. A deleted Lambda function cannot be recovered. Ensure that you specify the correct function name and version before deleting. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.

Sourcemodule DeleteFunctionRequest : sig ... end

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit permissions for DeleteAlias. A deleted Lambda function cannot be recovered. Ensure that you specify the correct function name and version before deleting. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.

Deletes the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

Removes a concurrent execution limit from a function.

Removes the code signing configuration from the function.

Deletes an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings. When you delete an event source mapping, it enters a Deleting state and might not be completely deleted for several seconds.

Deletes the code signing configuration. You can delete the code signing configuration only if no function is using it.

Deletes the code signing configuration. You can delete the code signing configuration only if no function is using it.

Deletes a capacity provider. You cannot delete a capacity provider that is currently being used by Lambda functions.

Deletes a capacity provider. You cannot delete a capacity provider that is currently being used by Lambda functions.

Sourcemodule DeleteAliasRequest : sig ... end

Deletes a Lambda function alias.

Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.

Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.

Sourcemodule CreateFunctionRequest : sig ... end

Creates a Lambda function. To create a function, you need a deployment package and an 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 Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. If the deployment package is a container image, then you set the package type to Image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. If the deployment package is a .zip file archive, then you set the package type to Zip. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, then the default value is x86-64. 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 indicate when the function is ready to invoke. For more information, see Lambda function states. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). 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, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function. If another Amazon Web Services account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Lambda functions.

Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function. For details about how to configure different event sources, see the following topics. Amazon DynamoDB Streams Amazon Kinesis Amazon SQS Amazon MQ and RabbitMQ Amazon MSK Apache Kafka Amazon DocumentDB The following error handling options are available for stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka): BisectBatchOnFunctionError – If the function returns an error, split the batch in two and retry. MaximumRecordAgeInSeconds – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. OnFailure – Send discarded records to an Amazon SQS queue, Amazon SNS topic, Kafka topic, or Amazon S3 bucket. For more information, see Adding a destination. The following option is available only for DynamoDB and Kinesis event sources: ParallelizationFactor – Process multiple batches from each shard concurrently. For information about which configuration parameters apply to each event source, see the following topics. Amazon DynamoDB Streams Amazon Kinesis Amazon SQS Amazon MQ and RabbitMQ Amazon MSK Apache Kafka Amazon DocumentDB

Creates a code signing configuration. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).

Creates a code signing configuration. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).

Creates a capacity provider that manages compute resources for Lambda functions

Creates a capacity provider that manages compute resources for Lambda functions

Sourcemodule CreateAliasRequest : sig ... end

Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version. You can also map an alias to split invocation requests between two versions. Use the RoutingConfig parameter to specify a second version and the percentage of invocation requests that it receives.

The response from the CheckpointDurableExecution operation.

Saves the progress of a durable function execution during runtime. This API is used by the Lambda durable functions SDK to checkpoint completed steps and schedule asynchronous operations. You typically don't need to call this API directly as the SDK handles checkpointing automatically. Each checkpoint operation consumes the current checkpoint token and returns a new one for the next checkpoint. This ensures that checkpoints are applied in the correct order and prevents duplicate or out-of-order state updates.

Sourcemodule AddPermissionResponse : sig ... end

Grants a principal permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST. To grant permission to another account, specify the account ID as the Principal. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID. For Amazon Web Services services, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda.

Sourcemodule AddPermissionRequest : sig ... end

Grants a principal permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST. To grant permission to another account, specify the account ID as the Principal. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID. For Amazon Web Services services, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda.

Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts. To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.

Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts. To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.