libZSservicesZSamazonka-lambdaZSamazonka-lambda
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lambda.Lens

Contents

Description

 
Synopsis

Operations

GetFunctionConfiguration

getFunctionConfiguration_qualifier :: Lens' GetFunctionConfiguration (Maybe Text) Source #

Specify a version or alias to get details about a published version of the function.

getFunctionConfiguration_functionName :: Lens' GetFunctionConfiguration Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of memory available to the function at runtime.

functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) Source #

The runtime environment for the Lambda function.

functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) Source #

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) Source #

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #

The function's Amazon Resource Name (ARN).

functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) Source #

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.

functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) Source #

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

functionConfiguration_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) Source #

The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) Source #

The size of the function's deployment package, in bytes.

functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) Source #

The function that Lambda calls to begin executing your function.

functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of time in seconds that Lambda allows a function to run before stopping it.

functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the last update that was performed on the function.

functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the function's current state.

functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) Source #

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #

The SHA256 hash of the function's deployment package.

functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) Source #

The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.

functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) Source #

The reason code for the last update that was performed on the function.

functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) Source #

The latest updated revision of the function or alias.

functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) Source #

For Lambda@Edge functions, the ARN of the master function.

DeleteEventSourceMapping

deleteEventSourceMapping_uuid :: Lens' DeleteEventSourceMapping Text Source #

The identifier of the event source mapping.

eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The state of the event source mapping. It can be one of the following: Creating, Enabling, Enabled, Disabling, Disabled, Updating, or Deleting.

eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) Source #

(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.

eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) Source #

(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.

eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The number of batches to process concurrently from each shard. The default value is 1.

eventSourceMappingConfiguration_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.

eventSourceMappingConfiguration_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

Indicates whether a user or Lambda made the last change to the event source mapping.

eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.

Default: 0

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) Source #

An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.

eventSourceMappingConfiguration_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.

eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) Source #

(Streams only) A list of current response type enums applied to the event source mapping.

eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.

eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

The date that the event source mapping was last updated or that its state changed.

eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) Source #

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

eventSourceMappingConfiguration_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) Source #

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is supported only for Amazon Kinesis streams.

UpdateEventSourceMapping

updateEventSourceMapping_enabled :: Lens' UpdateEventSourceMapping (Maybe Bool) Source #

When true, the event source mapping is active. When false, Lambda pauses polling and invocation.

Default: True

updateEventSourceMapping_bisectBatchOnFunctionError :: Lens' UpdateEventSourceMapping (Maybe Bool) Source #

(Streams only) If the function returns an error, split the batch in two and retry.

updateEventSourceMapping_parallelizationFactor :: Lens' UpdateEventSourceMapping (Maybe Natural) Source #

(Streams only) The number of batches to process from each shard concurrently.

updateEventSourceMapping_maximumRetryAttempts :: Lens' UpdateEventSourceMapping (Maybe Int) Source #

(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

updateEventSourceMapping_batchSize :: Lens' UpdateEventSourceMapping (Maybe Natural) Source #

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

  • Amazon Kinesis - Default 100. Max 10,000.
  • Amazon DynamoDB Streams - Default 100. Max 1,000.
  • 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.

updateEventSourceMapping_maximumBatchingWindowInSeconds :: Lens' UpdateEventSourceMapping (Maybe Natural) Source #

(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.

Default: 0

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

updateEventSourceMapping_sourceAccessConfigurations :: Lens' UpdateEventSourceMapping (Maybe [SourceAccessConfiguration]) Source #

An array of authentication protocols or VPC components required to secure your event source.

updateEventSourceMapping_maximumRecordAgeInSeconds :: Lens' UpdateEventSourceMapping (Maybe Int) Source #

(Streams only) Discard records older than the specified age. The default value is infinite (-1).

updateEventSourceMapping_functionResponseTypes :: Lens' UpdateEventSourceMapping (Maybe [FunctionResponseType]) Source #

(Streams only) A list of current response type enums applied to the event source mapping.

updateEventSourceMapping_tumblingWindowInSeconds :: Lens' UpdateEventSourceMapping (Maybe Natural) Source #

(Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.

updateEventSourceMapping_functionName :: Lens' UpdateEventSourceMapping (Maybe Text) Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

updateEventSourceMapping_destinationConfig :: Lens' UpdateEventSourceMapping (Maybe DestinationConfig) Source #

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

updateEventSourceMapping_uuid :: Lens' UpdateEventSourceMapping Text Source #

The identifier of the event source mapping.

eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The state of the event source mapping. It can be one of the following: Creating, Enabling, Enabled, Disabling, Disabled, Updating, or Deleting.

eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) Source #

(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.

eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) Source #

(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.

eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The number of batches to process concurrently from each shard. The default value is 1.

eventSourceMappingConfiguration_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.

eventSourceMappingConfiguration_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

Indicates whether a user or Lambda made the last change to the event source mapping.

eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.

Default: 0

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) Source #

An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.

eventSourceMappingConfiguration_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.

eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) Source #

(Streams only) A list of current response type enums applied to the event source mapping.

eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.

eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

The date that the event source mapping was last updated or that its state changed.

eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) Source #

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

eventSourceMappingConfiguration_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) Source #

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is supported only for Amazon Kinesis streams.

GetLayerVersion

getLayerVersion_layerName :: Lens' GetLayerVersion Text Source #

The name or Amazon Resource Name (ARN) of the layer.

getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) Source #

The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

DeleteFunctionCodeSigningConfig

deleteFunctionCodeSigningConfig_functionName :: Lens' DeleteFunctionCodeSigningConfig Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

PutFunctionCodeSigningConfig

putFunctionCodeSigningConfig_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfig Text Source #

The The Amazon Resource Name (ARN) of the code signing configuration.

putFunctionCodeSigningConfig_functionName :: Lens' PutFunctionCodeSigningConfig Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

putFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfigResponse Text Source #

The The Amazon Resource Name (ARN) of the code signing configuration.

putFunctionCodeSigningConfigResponse_functionName :: Lens' PutFunctionCodeSigningConfigResponse Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

CreateAlias

createAlias_description :: Lens' CreateAlias (Maybe Text) Source #

A description of the alias.

createAlias_functionName :: Lens' CreateAlias Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

createAlias_name :: Lens' CreateAlias Text Source #

The name of the alias.

createAlias_functionVersion :: Lens' CreateAlias Text Source #

The function version that the alias invokes.

aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) Source #

The function version that the alias invokes.

aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alias.

aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) Source #

A unique identifier that changes when you update the alias.

ListVersionsByFunction

listVersionsByFunction_marker :: Lens' ListVersionsByFunction (Maybe Text) Source #

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

listVersionsByFunction_maxItems :: Lens' ListVersionsByFunction (Maybe Natural) Source #

The maximum number of versions to return. Note that ListVersionsByFunction returns a maximum of 50 items in each response, even if you set the number higher.

listVersionsByFunction_functionName :: Lens' ListVersionsByFunction Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

listVersionsByFunctionResponse_nextMarker :: Lens' ListVersionsByFunctionResponse (Maybe Text) Source #

The pagination token that's included if more results are available.

ListAliases

listAliases_marker :: Lens' ListAliases (Maybe Text) Source #

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

listAliases_maxItems :: Lens' ListAliases (Maybe Natural) Source #

Limit the number of aliases returned.

listAliases_functionVersion :: Lens' ListAliases (Maybe Text) Source #

Specify a function version to only list aliases that invoke that version.

listAliases_functionName :: Lens' ListAliases Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

listAliasesResponse_nextMarker :: Lens' ListAliasesResponse (Maybe Text) Source #

The pagination token that's included if more results are available.

DeleteCodeSigningConfig

deleteCodeSigningConfig_codeSigningConfigArn :: Lens' DeleteCodeSigningConfig Text Source #

The The Amazon Resource Name (ARN) of the code signing configuration.

UpdateCodeSigningConfig

updateCodeSigningConfig_description :: Lens' UpdateCodeSigningConfig (Maybe Text) Source #

Descriptive name for this code signing configuration.

updateCodeSigningConfig_codeSigningConfigArn :: Lens' UpdateCodeSigningConfig Text Source #

The The Amazon Resource Name (ARN) of the code signing configuration.

RemovePermission

removePermission_qualifier :: Lens' RemovePermission (Maybe Text) Source #

Specify a version or alias to remove permissions from a published version of the function.

removePermission_revisionId :: Lens' RemovePermission (Maybe Text) Source #

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

removePermission_functionName :: Lens' RemovePermission Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

removePermission_statementId :: Lens' RemovePermission Text Source #

Statement ID of the permission to remove.

DeleteFunctionEventInvokeConfig

deleteFunctionEventInvokeConfig_functionName :: Lens' DeleteFunctionEventInvokeConfig Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

UpdateFunctionEventInvokeConfig

updateFunctionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural) Source #

The maximum age of a request that Lambda sends to a function for processing.

updateFunctionEventInvokeConfig_maximumRetryAttempts :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural) Source #

The maximum number of times to retry when the function returns an error.

updateFunctionEventInvokeConfig_destinationConfig :: Lens' UpdateFunctionEventInvokeConfig (Maybe DestinationConfig) Source #

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.
  • Queue - The ARN of an SQS queue.
  • Topic - The ARN of an SNS topic.
  • Event Bus - The ARN of an Amazon EventBridge event bus.

updateFunctionEventInvokeConfig_functionName :: Lens' UpdateFunctionEventInvokeConfig Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of the function.

functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum age of a request that Lambda sends to a function for processing.

functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum number of times to retry when the function returns an error.

functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) Source #

The date and time that the configuration was last updated.

functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) Source #

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.
  • Queue - The ARN of an SQS queue.
  • Topic - The ARN of an SNS topic.
  • Event Bus - The ARN of an Amazon EventBridge event bus.

PutFunctionEventInvokeConfig

putFunctionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' PutFunctionEventInvokeConfig (Maybe Natural) Source #

The maximum age of a request that Lambda sends to a function for processing.

putFunctionEventInvokeConfig_maximumRetryAttempts :: Lens' PutFunctionEventInvokeConfig (Maybe Natural) Source #

The maximum number of times to retry when the function returns an error.

putFunctionEventInvokeConfig_destinationConfig :: Lens' PutFunctionEventInvokeConfig (Maybe DestinationConfig) Source #

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.
  • Queue - The ARN of an SQS queue.
  • Topic - The ARN of an SNS topic.
  • Event Bus - The ARN of an Amazon EventBridge event bus.

putFunctionEventInvokeConfig_functionName :: Lens' PutFunctionEventInvokeConfig Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of the function.

functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum age of a request that Lambda sends to a function for processing.

functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum number of times to retry when the function returns an error.

functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) Source #

The date and time that the configuration was last updated.

functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) Source #

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.
  • Queue - The ARN of an SQS queue.
  • Topic - The ARN of an SNS topic.
  • Event Bus - The ARN of an Amazon EventBridge event bus.

Invoke

invoke_invocationType :: Lens' Invoke (Maybe InvocationType) Source #

Choose from the following options.

  • RequestResponse (default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data.
  • Event - Invoke the function asynchronously. Send events that fail multiple times to the function's dead-letter queue (if it's configured). The API response only includes a status code.
  • DryRun - Validate parameter values and verify that the user or role has permission to invoke the function.

invoke_logType :: Lens' Invoke (Maybe LogType) Source #

Set to Tail to include the execution log in the response. Applies to synchronously invoked functions only.

invoke_qualifier :: Lens' Invoke (Maybe Text) Source #

Specify a version or alias to invoke a published version of the function.

invoke_clientContext :: Lens' Invoke (Maybe Text) Source #

Up to 3583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.

invoke_functionName :: Lens' Invoke Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

invoke_payload :: Lens' Invoke ByteString Source #

The JSON that you want to provide to your Lambda function as input.

invokeResponse_functionError :: Lens' InvokeResponse (Maybe Text) Source #

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

invokeResponse_logResult :: Lens' InvokeResponse (Maybe Text) Source #

The last 4 KB of the execution log, which is base64 encoded.

invokeResponse_payload :: Lens' InvokeResponse (Maybe ByteString) Source #

The response from the function, or an error object.

invokeResponse_executedVersion :: Lens' InvokeResponse (Maybe Text) Source #

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

invokeResponse_statusCode :: Lens' InvokeResponse Int Source #

The HTTP status code is in the 200 range for a successful request. For the RequestResponse invocation type, this status code is 200. For the Event invocation type, this status code is 202. For the DryRun invocation type, the status code is 204.

DeleteLayerVersion

deleteLayerVersion_layerName :: Lens' DeleteLayerVersion Text Source #

The name or Amazon Resource Name (ARN) of the layer.

GetAlias

getAlias_functionName :: Lens' GetAlias Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

getAlias_name :: Lens' GetAlias Text Source #

The name of the alias.

aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) Source #

The function version that the alias invokes.

aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alias.

aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) Source #

A unique identifier that changes when you update the alias.

PublishLayerVersion

publishLayerVersion_licenseInfo :: Lens' PublishLayerVersion (Maybe Text) Source #

The layer's software license. It can be any of the following:

  • An SPDX license identifier. For example, MIT.
  • The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT.
  • The full text of the license.

publishLayerVersion_compatibleRuntimes :: Lens' PublishLayerVersion (Maybe [Runtime]) Source #

A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.

publishLayerVersion_layerName :: Lens' PublishLayerVersion Text Source #

The name or Amazon Resource Name (ARN) of the layer.

publishLayerVersionResponse_createdDate :: Lens' PublishLayerVersionResponse (Maybe Text) Source #

The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

GetEventSourceMapping

getEventSourceMapping_uuid :: Lens' GetEventSourceMapping Text Source #

The identifier of the event source mapping.

eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The state of the event source mapping. It can be one of the following: Creating, Enabling, Enabled, Disabling, Disabled, Updating, or Deleting.

eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) Source #

(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.

eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) Source #

(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.

eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The number of batches to process concurrently from each shard. The default value is 1.

eventSourceMappingConfiguration_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.

eventSourceMappingConfiguration_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

Indicates whether a user or Lambda made the last change to the event source mapping.

eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.

Default: 0

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) Source #

An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.

eventSourceMappingConfiguration_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.

eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) Source #

(Streams only) A list of current response type enums applied to the event source mapping.

eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.

eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

The date that the event source mapping was last updated or that its state changed.

eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) Source #

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

eventSourceMappingConfiguration_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) Source #

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is supported only for Amazon Kinesis streams.

AddLayerVersionPermission

addLayerVersionPermission_revisionId :: Lens' AddLayerVersionPermission (Maybe Text) Source #

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

addLayerVersionPermission_organizationId :: Lens' AddLayerVersionPermission (Maybe Text) Source #

With the principal set to *, grant permission to all accounts in the specified organization.

addLayerVersionPermission_layerName :: Lens' AddLayerVersionPermission Text Source #

The name or Amazon Resource Name (ARN) of the layer.

addLayerVersionPermission_statementId :: Lens' AddLayerVersionPermission Text Source #

An identifier that distinguishes the policy from others on the same layer version.

addLayerVersionPermission_action :: Lens' AddLayerVersionPermission Text Source #

The API action that grants access to the layer. For example, lambda:GetLayerVersion.

addLayerVersionPermission_principal :: Lens' AddLayerVersionPermission Text Source #

An account ID, or * to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified). For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer.

addLayerVersionPermissionResponse_revisionId :: Lens' AddLayerVersionPermissionResponse (Maybe Text) Source #

A unique identifier for the current revision of the policy.

ListProvisionedConcurrencyConfigs

listProvisionedConcurrencyConfigs_marker :: Lens' ListProvisionedConcurrencyConfigs (Maybe Text) Source #

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

listProvisionedConcurrencyConfigs_maxItems :: Lens' ListProvisionedConcurrencyConfigs (Maybe Natural) Source #

Specify a number to limit the number of configurations returned.

listProvisionedConcurrencyConfigs_functionName :: Lens' ListProvisionedConcurrencyConfigs Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

listProvisionedConcurrencyConfigsResponse_nextMarker :: Lens' ListProvisionedConcurrencyConfigsResponse (Maybe Text) Source #

The pagination token that's included if more results are available.

PutFunctionConcurrency

putFunctionConcurrency_functionName :: Lens' PutFunctionConcurrency Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

putFunctionConcurrency_reservedConcurrentExecutions :: Lens' PutFunctionConcurrency Natural Source #

The number of simultaneous executions to reserve for the function.

concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) Source #

The number of concurrent executions that are reserved for this function. For more information, see Managing Concurrency.

CreateFunction

createFunction_memorySize :: Lens' CreateFunction (Maybe Natural) Source #

The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

createFunction_runtime :: Lens' CreateFunction (Maybe Runtime) Source #

The identifier of the function's runtime.

createFunction_kmsKeyArn :: Lens' CreateFunction (Maybe Text) Source #

The ARN of the Amazon Web Services Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.

createFunction_packageType :: Lens' CreateFunction (Maybe PackageType) Source #

The type of deployment package. Set to Image for container image and set Zip for ZIP archive.

createFunction_fileSystemConfigs :: Lens' CreateFunction (Maybe [FileSystemConfig]) Source #

Connection settings for an Amazon EFS file system.

createFunction_environment :: Lens' CreateFunction (Maybe Environment) Source #

Environment variables that are accessible from function code during execution.

createFunction_imageConfig :: Lens' CreateFunction (Maybe ImageConfig) Source #

Container image configuration values that override the values in the container image Dockerfile.

createFunction_deadLetterConfig :: Lens' CreateFunction (Maybe DeadLetterConfig) Source #

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.

createFunction_architectures :: Lens' CreateFunction (Maybe (NonEmpty Architecture)) Source #

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

createFunction_codeSigningConfigArn :: Lens' CreateFunction (Maybe Text) Source #

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.

createFunction_vpcConfig :: Lens' CreateFunction (Maybe VpcConfig) Source #

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

createFunction_layers :: Lens' CreateFunction (Maybe [Text]) Source #

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

createFunction_handler :: Lens' CreateFunction (Maybe Text) Source #

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

createFunction_timeout :: Lens' CreateFunction (Maybe Natural) Source #

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see Lambda execution environment.

createFunction_tracingConfig :: Lens' CreateFunction (Maybe TracingConfig) Source #

Set Mode to Active to sample and trace a subset of incoming requests with X-Ray.

createFunction_description :: Lens' CreateFunction (Maybe Text) Source #

A description of the function.

createFunction_tags :: Lens' CreateFunction (Maybe (HashMap Text Text)) Source #

A list of tags to apply to the function.

createFunction_publish :: Lens' CreateFunction (Maybe Bool) Source #

Set to true to publish the first version of the function during creation.

createFunction_functionName :: Lens' CreateFunction Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

createFunction_role :: Lens' CreateFunction Text Source #

The Amazon Resource Name (ARN) of the function's execution role.

functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of memory available to the function at runtime.

functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) Source #

The runtime environment for the Lambda function.

functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) Source #

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) Source #

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #

The function's Amazon Resource Name (ARN).

functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) Source #

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.

functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) Source #

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

functionConfiguration_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) Source #

The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) Source #

The size of the function's deployment package, in bytes.

functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) Source #

The function that Lambda calls to begin executing your function.

functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of time in seconds that Lambda allows a function to run before stopping it.

functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the last update that was performed on the function.

functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the function's current state.

functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) Source #

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #

The SHA256 hash of the function's deployment package.

functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) Source #

The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.

functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) Source #

The reason code for the last update that was performed on the function.

functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) Source #

The latest updated revision of the function or alias.

functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) Source #

For Lambda@Edge functions, the ARN of the master function.

DeleteFunctionConcurrency

deleteFunctionConcurrency_functionName :: Lens' DeleteFunctionConcurrency Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

GetLayerVersionByArn

getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) Source #

The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

GetFunctionConcurrency

getFunctionConcurrency_functionName :: Lens' GetFunctionConcurrency Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

getFunctionConcurrencyResponse_reservedConcurrentExecutions :: Lens' GetFunctionConcurrencyResponse (Maybe Natural) Source #

The number of simultaneous executions that are reserved for the function.

CreateEventSourceMapping

createEventSourceMapping_eventSourceArn :: Lens' CreateEventSourceMapping (Maybe Text) Source #

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.
  • Amazon DynamoDB Streams - The ARN of the stream.
  • Amazon Simple Queue Service - The ARN of the queue.
  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

createEventSourceMapping_startingPositionTimestamp :: Lens' CreateEventSourceMapping (Maybe UTCTime) Source #

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

createEventSourceMapping_queues :: Lens' CreateEventSourceMapping (Maybe (NonEmpty Text)) Source #

(MQ) The name of the Amazon MQ broker destination queue to consume.

createEventSourceMapping_enabled :: Lens' CreateEventSourceMapping (Maybe Bool) Source #

When true, the event source mapping is active. When false, Lambda pauses polling and invocation.

Default: True

createEventSourceMapping_bisectBatchOnFunctionError :: Lens' CreateEventSourceMapping (Maybe Bool) Source #

(Streams only) If the function returns an error, split the batch in two and retry.

createEventSourceMapping_parallelizationFactor :: Lens' CreateEventSourceMapping (Maybe Natural) Source #

(Streams only) The number of batches to process from each shard concurrently.

createEventSourceMapping_maximumRetryAttempts :: Lens' CreateEventSourceMapping (Maybe Int) Source #

(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

createEventSourceMapping_batchSize :: Lens' CreateEventSourceMapping (Maybe Natural) Source #

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

  • Amazon Kinesis - Default 100. Max 10,000.
  • Amazon DynamoDB Streams - Default 100. Max 1,000.
  • 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.

createEventSourceMapping_maximumBatchingWindowInSeconds :: Lens' CreateEventSourceMapping (Maybe Natural) Source #

(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.

Default: 0

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

createEventSourceMapping_sourceAccessConfigurations :: Lens' CreateEventSourceMapping (Maybe [SourceAccessConfiguration]) Source #

An array of authentication protocols or VPC components required to secure your event source.

createEventSourceMapping_maximumRecordAgeInSeconds :: Lens' CreateEventSourceMapping (Maybe Int) Source #

(Streams only) Discard records older than the specified age. The default value is infinite (-1).

createEventSourceMapping_functionResponseTypes :: Lens' CreateEventSourceMapping (Maybe [FunctionResponseType]) Source #

(Streams only) A list of current response type enums applied to the event source mapping.

createEventSourceMapping_tumblingWindowInSeconds :: Lens' CreateEventSourceMapping (Maybe Natural) Source #

(Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.

createEventSourceMapping_destinationConfig :: Lens' CreateEventSourceMapping (Maybe DestinationConfig) Source #

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

createEventSourceMapping_startingPosition :: Lens' CreateEventSourceMapping (Maybe EventSourcePosition) Source #

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.

createEventSourceMapping_functionName :: Lens' CreateEventSourceMapping Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The state of the event source mapping. It can be one of the following: Creating, Enabling, Enabled, Disabling, Disabled, Updating, or Deleting.

eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) Source #

(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.

eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) Source #

(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.

eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The number of batches to process concurrently from each shard. The default value is 1.

eventSourceMappingConfiguration_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.

eventSourceMappingConfiguration_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

Indicates whether a user or Lambda made the last change to the event source mapping.

eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.

Default: 0

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) Source #

An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.

eventSourceMappingConfiguration_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.

eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) Source #

(Streams only) A list of current response type enums applied to the event source mapping.

eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.

eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

The date that the event source mapping was last updated or that its state changed.

eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) Source #

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

eventSourceMappingConfiguration_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) Source #

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is supported only for Amazon Kinesis streams.

GetProvisionedConcurrencyConfig

getProvisionedConcurrencyConfig_functionName :: Lens' GetProvisionedConcurrencyConfig Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

getProvisionedConcurrencyConfigResponse_statusReason :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) Source #

For failed allocations, the reason that provisioned concurrency could not be allocated.

RemoveLayerVersionPermission

removeLayerVersionPermission_revisionId :: Lens' RemoveLayerVersionPermission (Maybe Text) Source #

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

removeLayerVersionPermission_layerName :: Lens' RemoveLayerVersionPermission Text Source #

The name or Amazon Resource Name (ARN) of the layer.

removeLayerVersionPermission_statementId :: Lens' RemoveLayerVersionPermission Text Source #

The identifier that was specified when the statement was added.

ListFunctionsByCodeSigningConfig

listFunctionsByCodeSigningConfig_marker :: Lens' ListFunctionsByCodeSigningConfig (Maybe Text) Source #

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

listFunctionsByCodeSigningConfig_codeSigningConfigArn :: Lens' ListFunctionsByCodeSigningConfig Text Source #

The The Amazon Resource Name (ARN) of the code signing configuration.

listFunctionsByCodeSigningConfigResponse_nextMarker :: Lens' ListFunctionsByCodeSigningConfigResponse (Maybe Text) Source #

The pagination token that's included if more results are available.

GetFunction

getFunction_qualifier :: Lens' GetFunction (Maybe Text) Source #

Specify a version or alias to get details about a published version of the function.

getFunction_functionName :: Lens' GetFunction Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

getFunctionResponse_code :: Lens' GetFunctionResponse (Maybe FunctionCodeLocation) Source #

The deployment package of the function or version.

ListEventSourceMappings

listEventSourceMappings_eventSourceArn :: Lens' ListEventSourceMappings (Maybe Text) Source #

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.
  • Amazon DynamoDB Streams - The ARN of the stream.
  • Amazon Simple Queue Service - The ARN of the queue.
  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

listEventSourceMappings_marker :: Lens' ListEventSourceMappings (Maybe Text) Source #

A pagination token returned by a previous call.

listEventSourceMappings_maxItems :: Lens' ListEventSourceMappings (Maybe Natural) Source #

The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of 100 items in each response, even if you set the number higher.

listEventSourceMappings_functionName :: Lens' ListEventSourceMappings (Maybe Text) Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

listEventSourceMappingsResponse_nextMarker :: Lens' ListEventSourceMappingsResponse (Maybe Text) Source #

A pagination token that's returned when the response doesn't contain all event source mappings.

GetLayerVersionPolicy

getLayerVersionPolicy_layerName :: Lens' GetLayerVersionPolicy Text Source #

The name or Amazon Resource Name (ARN) of the layer.

getLayerVersionPolicyResponse_revisionId :: Lens' GetLayerVersionPolicyResponse (Maybe Text) Source #

A unique identifier for the current revision of the policy.

DeleteAlias

deleteAlias_functionName :: Lens' DeleteAlias Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

deleteAlias_name :: Lens' DeleteAlias Text Source #

The name of the alias.

UpdateAlias

updateAlias_functionVersion :: Lens' UpdateAlias (Maybe Text) Source #

The function version that the alias invokes.

updateAlias_description :: Lens' UpdateAlias (Maybe Text) Source #

A description of the alias.

updateAlias_revisionId :: Lens' UpdateAlias (Maybe Text) Source #

Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.

updateAlias_functionName :: Lens' UpdateAlias Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

updateAlias_name :: Lens' UpdateAlias Text Source #

The name of the alias.

aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) Source #

The function version that the alias invokes.

aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alias.

aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) Source #

A unique identifier that changes when you update the alias.

GetAccountSettings

getAccountSettingsResponse_accountLimit :: Lens' GetAccountSettingsResponse (Maybe AccountLimit) Source #

Limits that are related to concurrency and code storage.

getAccountSettingsResponse_accountUsage :: Lens' GetAccountSettingsResponse (Maybe AccountUsage) Source #

The number of functions and amount of storage in use.

GetFunctionEventInvokeConfig

getFunctionEventInvokeConfig_functionName :: Lens' GetFunctionEventInvokeConfig Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of the function.

functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum age of a request that Lambda sends to a function for processing.

functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum number of times to retry when the function returns an error.

functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) Source #

The date and time that the configuration was last updated.

functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) Source #

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.
  • Queue - The ARN of an SQS queue.
  • Topic - The ARN of an SNS topic.
  • Event Bus - The ARN of an Amazon EventBridge event bus.

GetCodeSigningConfig

getCodeSigningConfig_codeSigningConfigArn :: Lens' GetCodeSigningConfig Text Source #

The The Amazon Resource Name (ARN) of the code signing configuration.

AddPermission

addPermission_sourceAccount :: Lens' AddPermission (Maybe Text) Source #

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

addPermission_eventSourceToken :: Lens' AddPermission (Maybe Text) Source #

For Alexa Smart Home functions, a token that must be supplied by the invoker.

addPermission_sourceArn :: Lens' AddPermission (Maybe Text) Source #

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

addPermission_qualifier :: Lens' AddPermission (Maybe Text) Source #

Specify a version or alias to add permissions to a published version of the function.

addPermission_revisionId :: Lens' AddPermission (Maybe Text) Source #

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

addPermission_functionName :: Lens' AddPermission Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

addPermission_statementId :: Lens' AddPermission Text Source #

A statement identifier that differentiates the statement from others in the same policy.

addPermission_action :: Lens' AddPermission Text Source #

The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction.

addPermission_principal :: Lens' AddPermission Text Source #

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

addPermissionResponse_statement :: Lens' AddPermissionResponse (Maybe Text) Source #

The permission statement that's added to the function policy.

ListLayers

listLayers_compatibleRuntime :: Lens' ListLayers (Maybe Runtime) Source #

A runtime identifier. For example, go1.x.

listLayers_marker :: Lens' ListLayers (Maybe Text) Source #

A pagination token returned by a previous call.

listLayers_maxItems :: Lens' ListLayers (Maybe Natural) Source #

The maximum number of layers to return.

listLayersResponse_nextMarker :: Lens' ListLayersResponse (Maybe Text) Source #

A pagination token returned when the response doesn't contain all layers.

ListFunctionEventInvokeConfigs

listFunctionEventInvokeConfigs_marker :: Lens' ListFunctionEventInvokeConfigs (Maybe Text) Source #

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

listFunctionEventInvokeConfigs_functionName :: Lens' ListFunctionEventInvokeConfigs Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

listFunctionEventInvokeConfigsResponse_nextMarker :: Lens' ListFunctionEventInvokeConfigsResponse (Maybe Text) Source #

The pagination token that's included if more results are available.

ListCodeSigningConfigs

listCodeSigningConfigs_marker :: Lens' ListCodeSigningConfigs (Maybe Text) Source #

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

listCodeSigningConfigsResponse_nextMarker :: Lens' ListCodeSigningConfigsResponse (Maybe Text) Source #

The pagination token that's included if more results are available.

GetFunctionCodeSigningConfig

getFunctionCodeSigningConfig_functionName :: Lens' GetFunctionCodeSigningConfig Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

getFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' GetFunctionCodeSigningConfigResponse Text Source #

The The Amazon Resource Name (ARN) of the code signing configuration.

getFunctionCodeSigningConfigResponse_functionName :: Lens' GetFunctionCodeSigningConfigResponse Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

CreateCodeSigningConfig

createCodeSigningConfig_codeSigningPolicies :: Lens' CreateCodeSigningConfig (Maybe CodeSigningPolicies) Source #

The code signing policies define the actions to take if the validation checks fail.

createCodeSigningConfig_description :: Lens' CreateCodeSigningConfig (Maybe Text) Source #

Descriptive name for this code signing configuration.

ListLayerVersions

listLayerVersions_compatibleRuntime :: Lens' ListLayerVersions (Maybe Runtime) Source #

A runtime identifier. For example, go1.x.

listLayerVersions_marker :: Lens' ListLayerVersions (Maybe Text) Source #

A pagination token returned by a previous call.

listLayerVersions_maxItems :: Lens' ListLayerVersions (Maybe Natural) Source #

The maximum number of versions to return.

listLayerVersions_layerName :: Lens' ListLayerVersions Text Source #

The name or Amazon Resource Name (ARN) of the layer.

listLayerVersionsResponse_nextMarker :: Lens' ListLayerVersionsResponse (Maybe Text) Source #

A pagination token returned when the response doesn't contain all versions.

TagResource

tagResource_resource :: Lens' TagResource Text Source #

The function's Amazon Resource Name (ARN).

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

A list of tags to apply to the function.

PublishVersion

publishVersion_codeSha256 :: Lens' PublishVersion (Maybe Text) Source #

Only publish a version if the hash value matches the value that's specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. You can get the hash for the version that you uploaded from the output of UpdateFunctionCode.

publishVersion_description :: Lens' PublishVersion (Maybe Text) Source #

A description for the version to override the description in the function configuration.

publishVersion_revisionId :: Lens' PublishVersion (Maybe Text) Source #

Only update the function if the revision ID matches the ID that's specified. Use this option to avoid publishing a version if the function configuration has changed since you last updated it.

publishVersion_functionName :: Lens' PublishVersion Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of memory available to the function at runtime.

functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) Source #

The runtime environment for the Lambda function.

functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) Source #

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) Source #

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #

The function's Amazon Resource Name (ARN).

functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) Source #

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.

functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) Source #

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

functionConfiguration_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) Source #

The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) Source #

The size of the function's deployment package, in bytes.

functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) Source #

The function that Lambda calls to begin executing your function.

functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of time in seconds that Lambda allows a function to run before stopping it.

functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the last update that was performed on the function.

functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the function's current state.

functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) Source #

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #

The SHA256 hash of the function's deployment package.

functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) Source #

The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.

functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) Source #

The reason code for the last update that was performed on the function.

functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) Source #

The latest updated revision of the function or alias.

functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) Source #

For Lambda@Edge functions, the ARN of the master function.

ListTags

listTags_resource :: Lens' ListTags Text Source #

The function's Amazon Resource Name (ARN). Note: Lambda does not support adding tags to aliases or versions.

listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #

The response's http status code.

DeleteFunction

deleteFunction_qualifier :: Lens' DeleteFunction (Maybe Text) Source #

Specify a version to delete. You can't delete a version that's referenced by an alias.

deleteFunction_functionName :: Lens' DeleteFunction Text Source #

The name of the Lambda function or version.

Name formats

  • Function name - my-function (name-only), my-function:1 (with version).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

UntagResource

untagResource_resource :: Lens' UntagResource Text Source #

The function's Amazon Resource Name (ARN).

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

A list of tag keys to remove from the function.

UpdateFunctionConfiguration

updateFunctionConfiguration_memorySize :: Lens' UpdateFunctionConfiguration (Maybe Natural) Source #

The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

updateFunctionConfiguration_kmsKeyArn :: Lens' UpdateFunctionConfiguration (Maybe Text) Source #

The ARN of the Amazon Web Services Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.

updateFunctionConfiguration_environment :: Lens' UpdateFunctionConfiguration (Maybe Environment) Source #

Environment variables that are accessible from function code during execution.

updateFunctionConfiguration_deadLetterConfig :: Lens' UpdateFunctionConfiguration (Maybe DeadLetterConfig) Source #

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.

updateFunctionConfiguration_role :: Lens' UpdateFunctionConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the function's execution role.

updateFunctionConfiguration_vpcConfig :: Lens' UpdateFunctionConfiguration (Maybe VpcConfig) Source #

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

updateFunctionConfiguration_layers :: Lens' UpdateFunctionConfiguration (Maybe [Text]) Source #

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

updateFunctionConfiguration_handler :: Lens' UpdateFunctionConfiguration (Maybe Text) Source #

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

updateFunctionConfiguration_timeout :: Lens' UpdateFunctionConfiguration (Maybe Natural) Source #

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see Lambda execution environment.

updateFunctionConfiguration_tracingConfig :: Lens' UpdateFunctionConfiguration (Maybe TracingConfig) Source #

Set Mode to Active to sample and trace a subset of incoming requests with X-Ray.

updateFunctionConfiguration_revisionId :: Lens' UpdateFunctionConfiguration (Maybe Text) Source #

Only update the function if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.

updateFunctionConfiguration_functionName :: Lens' UpdateFunctionConfiguration Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of memory available to the function at runtime.

functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) Source #

The runtime environment for the Lambda function.

functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) Source #

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) Source #

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #

The function's Amazon Resource Name (ARN).

functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) Source #

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.

functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) Source #

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

functionConfiguration_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) Source #

The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) Source #

The size of the function's deployment package, in bytes.

functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) Source #

The function that Lambda calls to begin executing your function.

functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of time in seconds that Lambda allows a function to run before stopping it.

functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the last update that was performed on the function.

functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the function's current state.

functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) Source #

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #

The SHA256 hash of the function's deployment package.

functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) Source #

The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.

functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) Source #

The reason code for the last update that was performed on the function.

functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) Source #

The latest updated revision of the function or alias.

functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) Source #

For Lambda@Edge functions, the ARN of the master function.

ListFunctions

listFunctions_masterRegion :: Lens' ListFunctions (Maybe Text) Source #

For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.

listFunctions_marker :: Lens' ListFunctions (Maybe Text) Source #

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

listFunctions_maxItems :: Lens' ListFunctions (Maybe Natural) Source #

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.

listFunctions_functionVersion :: Lens' ListFunctions (Maybe FunctionVersion) Source #

Set to ALL to include entries for all published versions of each function.

listFunctionsResponse_nextMarker :: Lens' ListFunctionsResponse (Maybe Text) Source #

The pagination token that's included if more results are available.

UpdateFunctionCode

updateFunctionCode_s3ObjectVersion :: Lens' UpdateFunctionCode (Maybe Text) Source #

For versioned objects, the version of the deployment package object to use.

updateFunctionCode_s3Key :: Lens' UpdateFunctionCode (Maybe Text) Source #

The Amazon S3 key of the deployment package.

updateFunctionCode_zipFile :: Lens' UpdateFunctionCode (Maybe ByteString) Source #

The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

updateFunctionCode_architectures :: Lens' UpdateFunctionCode (Maybe (NonEmpty Architecture)) Source #

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

updateFunctionCode_imageUri :: Lens' UpdateFunctionCode (Maybe Text) Source #

URI of a container image in the Amazon ECR registry.

updateFunctionCode_s3Bucket :: Lens' UpdateFunctionCode (Maybe Text) Source #

An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.

updateFunctionCode_dryRun :: Lens' UpdateFunctionCode (Maybe Bool) Source #

Set to true to validate the request parameters and access permissions without modifying the function code.

updateFunctionCode_revisionId :: Lens' UpdateFunctionCode (Maybe Text) Source #

Only update the function if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.

updateFunctionCode_publish :: Lens' UpdateFunctionCode (Maybe Bool) Source #

Set to true to publish a new version of the function after updating the code. This has the same effect as calling PublishVersion separately.

updateFunctionCode_functionName :: Lens' UpdateFunctionCode Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of memory available to the function at runtime.

functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) Source #

The runtime environment for the Lambda function.

functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) Source #

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) Source #

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #

The function's Amazon Resource Name (ARN).

functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) Source #

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.

functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) Source #

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

functionConfiguration_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) Source #

The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) Source #

The size of the function's deployment package, in bytes.

functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) Source #

The function that Lambda calls to begin executing your function.

functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of time in seconds that Lambda allows a function to run before stopping it.

functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the last update that was performed on the function.

functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the function's current state.

functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) Source #

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #

The SHA256 hash of the function's deployment package.

functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) Source #

The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.

functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) Source #

The reason code for the last update that was performed on the function.

functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) Source #

The latest updated revision of the function or alias.

functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) Source #

For Lambda@Edge functions, the ARN of the master function.

DeleteProvisionedConcurrencyConfig

deleteProvisionedConcurrencyConfig_functionName :: Lens' DeleteProvisionedConcurrencyConfig Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

GetPolicy

getPolicy_qualifier :: Lens' GetPolicy (Maybe Text) Source #

Specify a version or alias to get the policy for that resource.

getPolicy_functionName :: Lens' GetPolicy Text Source #

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

getPolicyResponse_revisionId :: Lens' GetPolicyResponse (Maybe Text) Source #

A unique identifier for the current revision of the policy.

getPolicyResponse_httpStatus :: Lens' GetPolicyResponse Int Source #

The response's http status code.

PutProvisionedConcurrencyConfig

putProvisionedConcurrencyConfig_functionName :: Lens' PutProvisionedConcurrencyConfig Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

putProvisionedConcurrencyConfig_provisionedConcurrentExecutions :: Lens' PutProvisionedConcurrencyConfig Natural Source #

The amount of provisioned concurrency to allocate for the version or alias.

putProvisionedConcurrencyConfigResponse_statusReason :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Text) Source #

For failed allocations, the reason that provisioned concurrency could not be allocated.

Types

AccountLimit

accountLimit_concurrentExecutions :: Lens' AccountLimit (Maybe Int) Source #

The maximum number of simultaneous function executions.

accountLimit_totalCodeSize :: Lens' AccountLimit (Maybe Integer) Source #

The amount of storage space that you can use for all deployment packages and layer archives.

accountLimit_unreservedConcurrentExecutions :: Lens' AccountLimit (Maybe Natural) Source #

The maximum number of simultaneous function executions, minus the capacity that's reserved for individual functions with PutFunctionConcurrency.

accountLimit_codeSizeUnzipped :: Lens' AccountLimit (Maybe Integer) Source #

The maximum size of a function's deployment package and layers when they're extracted.

accountLimit_codeSizeZipped :: Lens' AccountLimit (Maybe Integer) Source #

The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger files.

AccountUsage

accountUsage_totalCodeSize :: Lens' AccountUsage (Maybe Integer) Source #

The amount of storage space, in bytes, that's being used by deployment packages and layer archives.

accountUsage_functionCount :: Lens' AccountUsage (Maybe Integer) Source #

The number of Lambda functions.

AliasConfiguration

aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) Source #

The function version that the alias invokes.

aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alias.

aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) Source #

A unique identifier that changes when you update the alias.

AliasRoutingConfiguration

aliasRoutingConfiguration_additionalVersionWeights :: Lens' AliasRoutingConfiguration (Maybe (HashMap Text Double)) Source #

The second version, and the percentage of traffic that's routed to it.

AllowedPublishers

allowedPublishers_signingProfileVersionArns :: Lens' AllowedPublishers (NonEmpty Text) Source #

The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.

CodeSigningConfig

codeSigningConfig_description :: Lens' CodeSigningConfig (Maybe Text) Source #

Code signing configuration description.

codeSigningConfig_codeSigningConfigId :: Lens' CodeSigningConfig Text Source #

Unique identifer for the Code signing configuration.

codeSigningConfig_codeSigningConfigArn :: Lens' CodeSigningConfig Text Source #

The Amazon Resource Name (ARN) of the Code signing configuration.

codeSigningConfig_codeSigningPolicies :: Lens' CodeSigningConfig CodeSigningPolicies Source #

The code signing policy controls the validation failure action for signature mismatch or expiry.

codeSigningConfig_lastModified :: Lens' CodeSigningConfig Text Source #

The date and time that the Code signing configuration was last modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

CodeSigningPolicies

codeSigningPolicies_untrustedArtifactOnDeployment :: Lens' CodeSigningPolicies (Maybe CodeSigningPolicy) Source #

Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log.

Default value: Warn

Concurrency

concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) Source #

The number of concurrent executions that are reserved for this function. For more information, see Managing Concurrency.

DeadLetterConfig

deadLetterConfig_targetArn :: Lens' DeadLetterConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.

DestinationConfig

destinationConfig_onSuccess :: Lens' DestinationConfig (Maybe OnSuccess) Source #

The destination configuration for successful invocations.

destinationConfig_onFailure :: Lens' DestinationConfig (Maybe OnFailure) Source #

The destination configuration for failed invocations.

Environment

environment_variables :: Lens' Environment (Maybe (HashMap Text Text)) Source #

Environment variable key-value pairs. For more information, see Using Lambda environment variables.

EnvironmentError

EnvironmentResponse

environmentResponse_error :: Lens' EnvironmentResponse (Maybe EnvironmentError) Source #

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

EventSourceMappingConfiguration

eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The state of the event source mapping. It can be one of the following: Creating, Enabling, Enabled, Disabling, Disabled, Updating, or Deleting.

eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) Source #

(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.

eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) Source #

(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.

eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The number of batches to process concurrently from each shard. The default value is 1.

eventSourceMappingConfiguration_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.

eventSourceMappingConfiguration_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

Indicates whether a user or Lambda made the last change to the event source mapping.

eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.

Default: 0

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) Source #

An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.

eventSourceMappingConfiguration_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #

(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.

eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) Source #

(Streams only) A list of current response type enums applied to the event source mapping.

eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #

(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.

eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

The date that the event source mapping was last updated or that its state changed.

eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) Source #

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

eventSourceMappingConfiguration_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) Source #

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is supported only for Amazon Kinesis streams.

FileSystemConfig

fileSystemConfig_arn :: Lens' FileSystemConfig Text Source #

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.

fileSystemConfig_localMountPath :: Lens' FileSystemConfig Text Source #

The path where the function can access the file system, starting with /mnt/.

FunctionCode

functionCode_s3ObjectVersion :: Lens' FunctionCode (Maybe Text) Source #

For versioned objects, the version of the deployment package object to use.

functionCode_s3Key :: Lens' FunctionCode (Maybe Text) Source #

The Amazon S3 key of the deployment package.

functionCode_zipFile :: Lens' FunctionCode (Maybe ByteString) Source #

The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

functionCode_imageUri :: Lens' FunctionCode (Maybe Text) Source #

URI of a container image in the Amazon ECR registry.

functionCode_s3Bucket :: Lens' FunctionCode (Maybe Text) Source #

An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.

FunctionCodeLocation

functionCodeLocation_location :: Lens' FunctionCodeLocation (Maybe Text) Source #

A presigned URL that you can use to download the deployment package.

functionCodeLocation_imageUri :: Lens' FunctionCodeLocation (Maybe Text) Source #

URI of a container image in the Amazon ECR registry.

FunctionConfiguration

functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of memory available to the function at runtime.

functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) Source #

The runtime environment for the Lambda function.

functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) Source #

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) Source #

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #

The function's Amazon Resource Name (ARN).

functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) Source #

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.

functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) Source #

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

functionConfiguration_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) Source #

The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) Source #

The size of the function's deployment package, in bytes.

functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) Source #

The function that Lambda calls to begin executing your function.

functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) Source #

The amount of time in seconds that Lambda allows a function to run before stopping it.

functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the last update that was performed on the function.

functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) Source #

The reason for the function's current state.

functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) Source #

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #

The SHA256 hash of the function's deployment package.

functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) Source #

The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.

functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) Source #

The reason code for the last update that was performed on the function.

functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) Source #

The latest updated revision of the function or alias.

functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) Source #

For Lambda@Edge functions, the ARN of the master function.

FunctionEventInvokeConfig

functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of the function.

functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum age of a request that Lambda sends to a function for processing.

functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #

The maximum number of times to retry when the function returns an error.

functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) Source #

The date and time that the configuration was last updated.

functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) Source #

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.
  • Queue - The ARN of an SQS queue.
  • Topic - The ARN of an SNS topic.
  • Event Bus - The ARN of an Amazon EventBridge event bus.

GetLayerVersionResponse

getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) Source #

The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

ImageConfig

imageConfig_command :: Lens' ImageConfig (Maybe [Text]) Source #

Specifies parameters that you want to pass in with ENTRYPOINT.

imageConfig_entryPoint :: Lens' ImageConfig (Maybe [Text]) Source #

Specifies the entry point to their application, which is typically the location of the runtime executable.

imageConfig_workingDirectory :: Lens' ImageConfig (Maybe Text) Source #

Specifies the working directory.

ImageConfigError

ImageConfigResponse

imageConfigResponse_imageConfig :: Lens' ImageConfigResponse (Maybe ImageConfig) Source #

Configuration values that override the container image Dockerfile.

imageConfigResponse_error :: Lens' ImageConfigResponse (Maybe ImageConfigError) Source #

Error response to GetFunctionConfiguration.

Layer

layer_signingProfileVersionArn :: Lens' Layer (Maybe Text) Source #

The Amazon Resource Name (ARN) for a signing profile version.

layer_arn :: Lens' Layer (Maybe Text) Source #

The Amazon Resource Name (ARN) of the function layer.

layer_signingJobArn :: Lens' Layer (Maybe Text) Source #

The Amazon Resource Name (ARN) of a signing job.

layer_codeSize :: Lens' Layer (Maybe Integer) Source #

The size of the layer archive in bytes.

LayerVersionContentInput

layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text) Source #

For versioned objects, the version of the layer archive object to use.

layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text) Source #

The Amazon S3 key of the layer archive.

layerVersionContentInput_zipFile :: Lens' LayerVersionContentInput (Maybe ByteString) Source #

The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text) Source #

The Amazon S3 bucket of the layer archive.

LayerVersionContentOutput

layerVersionContentOutput_signingProfileVersionArn :: Lens' LayerVersionContentOutput (Maybe Text) Source #

The Amazon Resource Name (ARN) for a signing profile version.

layerVersionContentOutput_location :: Lens' LayerVersionContentOutput (Maybe Text) Source #

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

layerVersionContentOutput_signingJobArn :: Lens' LayerVersionContentOutput (Maybe Text) Source #

The Amazon Resource Name (ARN) of a signing job.

LayerVersionsListItem

layerVersionsListItem_createdDate :: Lens' LayerVersionsListItem (Maybe Text) Source #

The date that the version was created, in ISO 8601 format. For example, 2018-11-27T15:10:45.123+0000.

LayersListItem

layersListItem_layerArn :: Lens' LayersListItem (Maybe Text) Source #

The Amazon Resource Name (ARN) of the function layer.

OnFailure

onFailure_destination :: Lens' OnFailure (Maybe Text) Source #

The Amazon Resource Name (ARN) of the destination resource.

OnSuccess

onSuccess_destination :: Lens' OnSuccess (Maybe Text) Source #

The Amazon Resource Name (ARN) of the destination resource.

ProvisionedConcurrencyConfigListItem

provisionedConcurrencyConfigListItem_statusReason :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) Source #

For failed allocations, the reason that provisioned concurrency could not be allocated.

SelfManagedEventSource

selfManagedEventSource_endpoints :: Lens' SelfManagedEventSource (Maybe (HashMap EndPointType (NonEmpty Text))) Source #

The list of bootstrap servers for your Kafka brokers in the following format: "KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].

SourceAccessConfiguration

sourceAccessConfiguration_uri :: Lens' SourceAccessConfiguration (Maybe Text) Source #

The value for your chosen configuration in Type. For example: "URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName".

sourceAccessConfiguration_type :: Lens' SourceAccessConfiguration (Maybe SourceAccessType) Source #

The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH".

  • BASIC_AUTH - (Amazon MQ) The Secrets Manager secret that stores your broker credentials.
  • BASIC_AUTH - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.
  • 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.
  • VIRTUAL_HOST - (Amazon MQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.

TracingConfig

TracingConfigResponse

VpcConfig

vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text]) Source #

A list of VPC security groups IDs.

vpcConfig_subnetIds :: Lens' VpcConfig (Maybe [Text]) Source #

A list of VPC subnet IDs.

VpcConfigResponse