# Serialized Form

## Package com.amazonaws.services.lambda.invoke

### Class com.amazonaws.services.lambda.invoke.LambdaFunctionException extends AmazonClientException implements Serializable

### Serialized Fields

#### errorType

    String errorType

#### stackTraces

    List<E> stackTraces

#### functionError

    String functionError

### Class com.amazonaws.services.lambda.invoke.LambdaSerializationException extends RuntimeException implements Serializable

serialVersionUID:
  1L

## Package com.amazonaws.services.lambda.model

### Class com.amazonaws.services.lambda.model.AccountLimit extends Object implements Serializable

### Serialized Fields

#### totalCodeSize

    Long totalCodeSize

Maximum size, in megabytes, of a code package you can upload per region. The default size is 75 GB.

#### codeSizeUnzipped

    Long codeSizeUnzipped

Size, in bytes, of code/dependencies that you can zip into a deployment package (uncompressed zip/jar size) for uploading. The default limit is 250 MB.

#### codeSizeZipped

    Long codeSizeZipped

Size, in bytes, of a single zipped code/dependencies package you can upload for your Lambda function(.zip/.jar file). Try using AWS S3 for uploading larger files. Default limit is 50 MB.

#### concurrentExecutions

    Integer concurrentExecutions

Number of simultaneous executions of your function per region. For more information or to request a limit increase for concurrent executions, see Lambda Function Concurrent Executions. The default limit is 100.

### Class com.amazonaws.services.lambda.model.AccountUsage extends Object implements Serializable

### Serialized Fields

#### totalCodeSize

    Long totalCodeSize

Total size, in megabytes, of the account's deployment packages per region.

#### functionCount

    Long functionCount

The number of your account's existing functions per region.

### Class com.amazonaws.services.lambda.model.AddPermissionRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

Name of the Lambda function whose resource policy you are updating by adding a new permission.

You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify partial ARN (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### statementId

    String statementId

A unique statement identifier.

#### action

    String action

The AWS Lambda action you want to allow in this statement. Each Lambda action is a string starting with `lambda:` followed by the API name . For example, `lambda:CreateFunction`. You can use wildcard (`lambda:*`) to grant permission for all AWS Lambda actions.

#### principal

    String principal

The principal who is getting this permission. It can be Amazon S3 service Principal ( `s3.amazonaws.com`) if you want Amazon S3 to invoke the function, an AWS account ID if you are granting cross-account permission, or any valid AWS service principal such as `sns.amazonaws.com`. For example, you might want to allow a custom application in another AWS account to push events to AWS Lambda by invoking your function.

#### sourceArn

    String sourceArn

This is optional; however, when granting Amazon S3 permission to invoke your function, you should specify this field with the Amazon Resource Name (ARN) as its value. This ensures that only events generated from the specified source can invoke the function.

<important>

If you add a permission for the Amazon S3 principal without providing the source ARN, any AWS account that creates a mapping to your function ARN can send events to invoke your Lambda function from Amazon S3.

</important>

#### sourceAccount

    String sourceAccount

This parameter is used for S3, SES, CloudWatch Logs and CloudWatch Rules only. The AWS account ID (without a hyphen) of the source owner. For example, if the `SourceArn` identifies a bucket, then this is the bucket owner's account ID. You can use this additional condition to ensure the bucket you specify is owned by a specific account (it is possible the bucket owner deleted the bucket and some other AWS account created the bucket). You can also use this condition to specify all sources (that is, you don't specify the `SourceArn`) owned by a specific account.

#### eventSourceToken

    String eventSourceToken

A unique token that must be supplied by the principal invoking the function. This is currently only used for Alexa Smart Home functions.

#### qualifier

    String qualifier

You can use this optional query parameter to describe a qualified ARN using a function version or an alias name. The permission will then apply to the specific qualified ARN. For example, if you specify function version 2 as the qualifier, then permission applies only when request is made using qualified function ARN:

`arn:aws:lambda:aws-region:acct-id:function:function-name:2`

If you specify an alias name, for example `PROD`, then the permission is valid only for requests made using the alias ARN:

`arn:aws:lambda:aws-region:acct-id:function:function-name:PROD`

If the qualifier is not specified, the permission is valid only when requests is made using unqualified function ARN.

`arn:aws:lambda:aws-region:acct-id:function:function-name`

### Class com.amazonaws.services.lambda.model.AddPermissionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### statement

    String statement

The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.

### Class com.amazonaws.services.lambda.model.AliasConfiguration extends Object implements Serializable

### Serialized Fields

#### aliasArn

    String aliasArn

Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called `BETA` that points to a helloworld function version, the ARN is `arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA`.

#### name

    String name

Alias name.

#### functionVersion

    String functionVersion

Function version to which the alias points.

#### description

    String description

Alias description.

### Class com.amazonaws.services.lambda.model.AWSLambdaException extends AmazonServiceException implements Serializable

serialVersionUID:
  1L

### Class com.amazonaws.services.lambda.model.CodeStorageExceededException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.CreateAliasRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

Name of the Lambda function for which you want to create an alias.

#### name

    String name

Name for the alias you are creating.

#### functionVersion

    String functionVersion

Lambda function version for which you are creating the alias.

#### description

    String description

Description of the alias.

### Class com.amazonaws.services.lambda.model.CreateAliasResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### aliasArn

    String aliasArn

Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called `BETA` that points to a helloworld function version, the ARN is `arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA`.

#### name

    String name

Alias name.

#### functionVersion

    String functionVersion

Function version to which the alias points.

#### description

    String description

Alias description.

### Class com.amazonaws.services.lambda.model.CreateEventSourceMappingRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### eventSourceArn

    String eventSourceArn

The Amazon Resource Name (ARN) of the Amazon Kinesis or the Amazon DynamoDB stream that is the event source. Any record added to this stream could cause AWS Lambda to invoke your Lambda function, it depends on the `BatchSize`. AWS Lambda POSTs the Amazon Kinesis event, containing records, to your Lambda function as JSON.

#### functionName

    String functionName

The Lambda function to invoke when AWS Lambda detects an event on the stream.

You can specify the function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`).

If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases

AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, `account-id:Thumbnail`).

Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### enabled

    Boolean enabled

Indicates whether AWS Lambda should begin polling the event source. By default, `Enabled` is true.

#### batchSize

    Integer batchSize

The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records. The default is 100 records.

#### startingPosition

    String startingPosition

The position in the stream where AWS Lambda should start reading. Valid only for Kinesis streams. For more information, go to ShardIteratorType in the Amazon Kinesis API Reference.

#### startingPositionTimestamp

    Date startingPositionTimestamp

The timestamp of the data record from which to start reading. Used with shard iterator type AT_TIMESTAMP. If a record with this exact timestamp does not exist, the iterator returned is for the next (later) record. If the timestamp is older than the current trim horizon, the iterator returned is for the oldest untrimmed data record (TRIM_HORIZON). Valid only for Kinesis streams.

### Class com.amazonaws.services.lambda.model.CreateEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### uUID

    String uUID

The AWS Lambda assigned opaque identifier for the mapping.

#### batchSize

    Integer batchSize

The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.

#### eventSourceArn

    String eventSourceArn

The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

#### functionArn

    String functionArn

The Lambda function to invoke when AWS Lambda detects an event on the stream.

#### lastModified

    Date lastModified

The UTC time string indicating the last time the event mapping was updated.

#### lastProcessingResult

    String lastProcessingResult

The result of the last AWS Lambda invocation of your Lambda function.

#### state

    String state

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

#### stateTransitionReason

    String stateTransitionReason

The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

### Class com.amazonaws.services.lambda.model.CreateFunctionRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The name you want to assign to the function you are uploading. The function names appear in the console and are returned in the ListFunctions API. Function names are used to specify functions to other AWS Lambda APIs, such as Invoke.

#### runtime

    String runtime

The runtime environment for the Lambda function you are uploading.

To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier runtime (v0.10.42), set the value to "nodejs".

<note>

You can no longer create functions using the v0.10.42 runtime version as of November, 2016. Existing functions will be supported until early 2017 but we recommend you migrate them to nodejs4.3 runtime version as soon as possible.

</note>

#### role

    String role

The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. For more information, see AWS Lambda: How it Works.

#### handler

    String handler

The function within your code that Lambda calls to begin execution. For Node.js, it is the module-name.export value in your function. For Java, it can be `package.class-name::handler` or `package.class-name`. For more information, see Lambda Function Handler (Java).

#### code

    FunctionCode code

The code for the Lambda function.

#### description

    String description

A short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.

#### timeout

    Integer timeout

The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.

#### memorySize

    Integer memorySize

The amount of memory, in MB, your Lambda function is given. Lambda uses this memory size to infer the amount of CPU and memory allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.

#### publish

    Boolean publish

This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as an atomic operation.

#### vpcConfig

    VpcConfig vpcConfig

If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.

#### deadLetterConfig

    DeadLetterConfig deadLetterConfig

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

#### environment

    Environment environment

#### kMSKeyArn

    String kMSKeyArn

The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If not provided, AWS Lambda will use a default service key.

### Class com.amazonaws.services.lambda.model.CreateFunctionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### functionName

    String functionName

The name of the function.

#### functionArn

    String functionArn

The Amazon Resource Name (ARN) assigned to the function.

#### runtime

    String runtime

The runtime environment for the Lambda function.

To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier runtime (v0.10.42), set the value to "nodejs".

#### role

    String role

The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.

#### handler

    String handler

The function Lambda calls to begin executing your function.

#### codeSize

    Long codeSize

The size, in bytes, of the function .zip file you uploaded.

#### description

    String description

The user-provided description.

#### timeout

    Integer timeout

The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.

#### memorySize

    Integer memorySize

The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.

#### lastModified

    String lastModified

The time stamp of the last time you updated the function.

#### codeSha256

    String codeSha256

It is the SHA256 hash of your function deployment package.

#### version

    String version

The version of the Lambda function.

#### vpcConfig

    VpcConfigResponse vpcConfig

VPC configuration associated with your Lambda function.

#### deadLetterConfig

    DeadLetterConfig deadLetterConfig

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

#### environment

    EnvironmentResponse environment

The parent object that contains your environment's configuration settings.

#### kMSKeyArn

    String kMSKeyArn

The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.

### Class com.amazonaws.services.lambda.model.DeadLetterConfig extends Object implements Serializable

### Serialized Fields

#### targetArn

    String targetArn

The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ).

### Class com.amazonaws.services.lambda.model.DeleteAliasRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The Lambda function name for which the alias is created. Deleting an alias does not delete the function version to which it is pointing.

#### name

    String name

Name of the alias to delete.

### Class com.amazonaws.services.lambda.model.DeleteAliasResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.lambda.model.DeleteEventSourceMappingRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### uUID

    String uUID

The event source mapping ID.

### Class com.amazonaws.services.lambda.model.DeleteEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### uUID

    String uUID

The AWS Lambda assigned opaque identifier for the mapping.

#### batchSize

    Integer batchSize

The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.

#### eventSourceArn

    String eventSourceArn

The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

#### functionArn

    String functionArn

The Lambda function to invoke when AWS Lambda detects an event on the stream.

#### lastModified

    Date lastModified

The UTC time string indicating the last time the event mapping was updated.

#### lastProcessingResult

    String lastProcessingResult

The result of the last AWS Lambda invocation of your Lambda function.

#### state

    String state

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

#### stateTransitionReason

    String stateTransitionReason

The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

### Class com.amazonaws.services.lambda.model.DeleteFunctionRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The Lambda function to delete.

You can specify the function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### qualifier

    String qualifier

Using this optional parameter you can specify a function version (but not the `$LATEST` version) to direct AWS Lambda to delete a specific function version. If the function version has one or more aliases pointing to it, you will get an error because you cannot have aliases pointing to it. You can delete any function version but not the `$LATEST`, that is, you cannot specify `$LATEST` as the value of this parameter. The `$LATEST` version can be deleted only when you want to delete all the function versions and aliases.

You can only specify a function version, not an alias name, using this parameter. You cannot delete a function version using its alias.

If you don't specify this parameter, AWS Lambda will delete the function, including all of its versions and aliases.

### Class com.amazonaws.services.lambda.model.DeleteFunctionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.lambda.model.EC2AccessDeniedException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.EC2ThrottledException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.EC2UnexpectedException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

#### eC2ErrorCode

    String eC2ErrorCode

### Class com.amazonaws.services.lambda.model.ENILimitReachedException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.Environment extends Object implements Serializable

### Serialized Fields

#### variables

    com.amazonaws.internal.SdkInternalMap<K,V> variables

The key-value pairs that represent your environment's configuration settings. The value you specify cannot contain a ",".

### Class com.amazonaws.services.lambda.model.EnvironmentError extends Object implements Serializable

### Serialized Fields

#### errorCode

    String errorCode

The error code returned by the environment error object.

#### message

    String message

The message returned by the environment error object.

### Class com.amazonaws.services.lambda.model.EnvironmentResponse extends Object implements Serializable

### Serialized Fields

#### variables

    com.amazonaws.internal.SdkInternalMap<K,V> variables

The key-value pairs returned that represent your environment's configuration settings or error information.

#### error

    EnvironmentError error

### Class com.amazonaws.services.lambda.model.EventSourceMappingConfiguration extends Object implements Serializable

### Serialized Fields

#### uUID

    String uUID

The AWS Lambda assigned opaque identifier for the mapping.

#### batchSize

    Integer batchSize

The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.

#### eventSourceArn

    String eventSourceArn

The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

#### functionArn

    String functionArn

The Lambda function to invoke when AWS Lambda detects an event on the stream.

#### lastModified

    Date lastModified

The UTC time string indicating the last time the event mapping was updated.

#### lastProcessingResult

    String lastProcessingResult

The result of the last AWS Lambda invocation of your Lambda function.

#### state

    String state

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

#### stateTransitionReason

    String stateTransitionReason

The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

### Class com.amazonaws.services.lambda.model.FunctionCode extends Object implements Serializable

### Serialized Fields

#### zipFile

    ByteBuffer zipFile

The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, go to Execution Permissions in the AWS Lambda Developer Guide.

#### s3Bucket

    String s3Bucket

Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function.

#### s3Key

    String s3Key

The Amazon S3 object (the deployment package) key name you want to upload.

#### s3ObjectVersion

    String s3ObjectVersion

The Amazon S3 object (the deployment package) version you want to upload.

### Class com.amazonaws.services.lambda.model.FunctionCodeLocation extends Object implements Serializable

### Serialized Fields

#### repositoryType

    String repositoryType

The repository from which you can download the function.

#### location

    String location

The presigned URL you can use to download the function's .zip file that you previously uploaded. The URL is valid for up to 10 minutes.

### Class com.amazonaws.services.lambda.model.FunctionConfiguration extends Object implements Serializable

### Serialized Fields

#### functionName

    String functionName

The name of the function.

#### functionArn

    String functionArn

The Amazon Resource Name (ARN) assigned to the function.

#### runtime

    String runtime

The runtime environment for the Lambda function.

To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier runtime (v0.10.42), set the value to "nodejs".

#### role

    String role

The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.

#### handler

    String handler

The function Lambda calls to begin executing your function.

#### codeSize

    Long codeSize

The size, in bytes, of the function .zip file you uploaded.

#### description

    String description

The user-provided description.

#### timeout

    Integer timeout

The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.

#### memorySize

    Integer memorySize

The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.

#### lastModified

    String lastModified

The time stamp of the last time you updated the function.

#### codeSha256

    String codeSha256

It is the SHA256 hash of your function deployment package.

#### version

    String version

The version of the Lambda function.

#### vpcConfig

    VpcConfigResponse vpcConfig

VPC configuration associated with your Lambda function.

#### deadLetterConfig

    DeadLetterConfig deadLetterConfig

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

#### environment

    EnvironmentResponse environment

The parent object that contains your environment's configuration settings.

#### kMSKeyArn

    String kMSKeyArn

The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.

### Class com.amazonaws.services.lambda.model.GetAccountSettingsRequest extends AmazonWebServiceRequest implements Serializable

### Class com.amazonaws.services.lambda.model.GetAccountSettingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### accountLimit

    AccountLimit accountLimit

#### accountUsage

    AccountUsage accountUsage

### Class com.amazonaws.services.lambda.model.GetAliasRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

Function name for which the alias is created. An alias is a subresource that exists only in the context of an existing Lambda function so you must specify the function name.

#### name

    String name

Name of the alias for which you want to retrieve information.

### Class com.amazonaws.services.lambda.model.GetAliasResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### aliasArn

    String aliasArn

Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called `BETA` that points to a helloworld function version, the ARN is `arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA`.

#### name

    String name

Alias name.

#### functionVersion

    String functionVersion

Function version to which the alias points.

#### description

    String description

Alias description.

### Class com.amazonaws.services.lambda.model.GetEventSourceMappingRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### uUID

    String uUID

The AWS Lambda assigned ID of the event source mapping.

### Class com.amazonaws.services.lambda.model.GetEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### uUID

    String uUID

The AWS Lambda assigned opaque identifier for the mapping.

#### batchSize

    Integer batchSize

The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.

#### eventSourceArn

    String eventSourceArn

The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

#### functionArn

    String functionArn

The Lambda function to invoke when AWS Lambda detects an event on the stream.

#### lastModified

    Date lastModified

The UTC time string indicating the last time the event mapping was updated.

#### lastProcessingResult

    String lastProcessingResult

The result of the last AWS Lambda invocation of your Lambda function.

#### state

    String state

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

#### stateTransitionReason

    String stateTransitionReason

The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

### Class com.amazonaws.services.lambda.model.GetFunctionConfigurationRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The name of the Lambda function for which you want to retrieve the configuration information.

You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify a partial ARN (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### qualifier

    String qualifier

Using this optional parameter you can specify a function version or an alias name. If you specify function version, the API uses qualified function ARN and returns information about the specific function version. If you specify an alias name, the API uses the alias ARN and returns information about the function version to which the alias points.

If you don't specify this parameter, the API uses unqualified function ARN, and returns information about the `$LATEST` function version.

### Class com.amazonaws.services.lambda.model.GetFunctionConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### functionName

    String functionName

The name of the function.

#### functionArn

    String functionArn

The Amazon Resource Name (ARN) assigned to the function.

#### runtime

    String runtime

The runtime environment for the Lambda function.

To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier runtime (v0.10.42), set the value to "nodejs".

#### role

    String role

The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.

#### handler

    String handler

The function Lambda calls to begin executing your function.

#### codeSize

    Long codeSize

The size, in bytes, of the function .zip file you uploaded.

#### description

    String description

The user-provided description.

#### timeout

    Integer timeout

The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.

#### memorySize

    Integer memorySize

The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.

#### lastModified

    String lastModified

The time stamp of the last time you updated the function.

#### codeSha256

    String codeSha256

It is the SHA256 hash of your function deployment package.

#### version

    String version

The version of the Lambda function.

#### vpcConfig

    VpcConfigResponse vpcConfig

VPC configuration associated with your Lambda function.

#### deadLetterConfig

    DeadLetterConfig deadLetterConfig

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

#### environment

    EnvironmentResponse environment

The parent object that contains your environment's configuration settings.

#### kMSKeyArn

    String kMSKeyArn

The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.

### Class com.amazonaws.services.lambda.model.GetFunctionRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The Lambda function name.

You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify a partial ARN (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### qualifier

    String qualifier

Using this optional parameter to specify a function version or an alias name. If you specify function version, the API uses qualified function ARN for the request and returns information about the specific Lambda function version. If you specify an alias name, the API uses the alias ARN and returns information about the function version to which the alias points. If you don't provide this parameter, the API uses unqualified function ARN and returns information about the `$LATEST` version of the Lambda function.

### Class com.amazonaws.services.lambda.model.GetFunctionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### configuration

    FunctionConfiguration configuration

#### code

    FunctionCodeLocation code

### Class com.amazonaws.services.lambda.model.GetPolicyRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

Function name whose resource policy you want to retrieve.

You can specify the function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### qualifier

    String qualifier

You can specify this optional query parameter to specify a function version or an alias name in which case this API will return all permissions associated with the specific qualified ARN. If you don't provide this parameter, the API will return permissions that apply to the unqualified function ARN.

### Class com.amazonaws.services.lambda.model.GetPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### policy

    String policy

The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.

### Class com.amazonaws.services.lambda.model.InvalidParameterValueException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.InvalidRequestContentException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.InvalidSecurityGroupIDException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.InvalidSubnetIDException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.InvalidZipFileException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.InvokeAsyncRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The Lambda function name.

#### invokeArgs

    InputStream invokeArgs

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

### Class com.amazonaws.services.lambda.model.InvokeAsyncResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### status

    Integer status

Deprecated.

It will be 202 upon success.

### Class com.amazonaws.services.lambda.model.InvokeRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The Lambda function name.

You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify a partial ARN (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### invocationType

    String invocationType

By default, the `Invoke` API assumes `RequestResponse` invocation type. You can optionally request asynchronous execution by specifying `Event` as the `InvocationType`. You can also use this parameter to request AWS Lambda to not execute the function but do some verification, such as if the caller is authorized to invoke the function and if the inputs are valid. You request this by specifying `DryRun` as the `InvocationType`. This is useful in a cross-account scenario when you want to verify access to a function without running it.

#### logType

    String logType

You can set this optional parameter to `Tail` in the request only if you specify the `InvocationType` parameter with value `RequestResponse`. In this case, AWS Lambda returns the base64-encoded last 4 KB of log data produced by your Lambda function in the `x-amz-log-result` header.

#### clientContext

    String clientContext

Using the `ClientContext` you can pass client-specific information to the Lambda function you are invoking. You can then process the client information in your Lambda function as you choose through the context variable. For an example of a `ClientContext` JSON, see PutEvents in the Amazon Mobile Analytics API Reference and User Guide.

The ClientContext JSON must be base64-encoded.

#### payload

    ByteBuffer payload

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

#### qualifier

    String qualifier

You can use this optional parameter to specify a Lambda function version or alias name. If you specify a function version, the API uses the qualified function ARN to invoke a specific Lambda function. If you specify an alias name, the API uses the alias ARN to invoke the Lambda function version to which the alias points.

If you don't provide this parameter, then the API uses unqualified function ARN which results in invocation of the `$LATEST` version.

### Class com.amazonaws.services.lambda.model.InvokeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### statusCode

    Integer statusCode

The HTTP status code will be in the 200 range for successful request. For the `RequestResonse` invocation type this status code will be 200. For the `Event` invocation type this status code will be 202. For the `DryRun` invocation type the status code will be 204.

#### functionError

    String functionError

Indicates whether an error occurred while executing the Lambda function. If an error occurred this field will have one of two values; `Handled` or `Unhandled`. `Handled` errors are errors that are reported by the function while the `Unhandled` errors are those detected and reported by AWS Lambda. Unhandled errors include out of memory errors and function timeouts. For information about how to report an `Handled` error, see Programming Model.

#### logResult

    String logResult

It is the base64-encoded logs for the Lambda function invocation. This is present only if the invocation type is `RequestResponse` and the logs were requested.

#### payload

    ByteBuffer payload

It is the JSON representation of the object returned by the Lambda function. This is present only if the invocation type is `RequestResponse`.

In the event of a function error this field contains a message describing the error. For the `Handled` errors the Lambda function will report this message. For `Unhandled` errors AWS Lambda reports the message.

### Class com.amazonaws.services.lambda.model.KMSAccessDeniedException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.KMSDisabledException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.KMSInvalidStateException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.KMSNotFoundException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.ListAliasesRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

Lambda function name for which the alias is created.

#### functionVersion

    String functionVersion

If you specify this optional parameter, the API returns only the aliases that are pointing to the specific Lambda function version, otherwise the API returns all of the aliases created for the Lambda function.

#### marker

    String marker

Optional string. An opaque pagination token returned from a previous `ListAliases` operation. If present, indicates where to continue the listing.

#### maxItems

    Integer maxItems

Optional integer. Specifies the maximum number of aliases to return in response. This parameter value must be greater than 0.

### Class com.amazonaws.services.lambda.model.ListAliasesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### nextMarker

    String nextMarker

A string, present if there are more aliases.

#### aliases

    com.amazonaws.internal.SdkInternalList<T> aliases

A list of aliases.

### Class com.amazonaws.services.lambda.model.ListEventSourceMappingsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### eventSourceArn

    String eventSourceArn

The Amazon Resource Name (ARN) of the Amazon Kinesis stream. (This parameter is optional.)

#### functionName

    String functionName

The name of the Lambda function.

You can specify the function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### marker

    String marker

Optional string. An opaque pagination token returned from a previous `ListEventSourceMappings` operation. If present, specifies to continue the list from where the returning call left off.

#### maxItems

    Integer maxItems

Optional integer. Specifies the maximum number of event sources to return in response. This value must be greater than 0.

### Class com.amazonaws.services.lambda.model.ListEventSourceMappingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### nextMarker

    String nextMarker

A string, present if there are more event source mappings.

#### eventSourceMappings

    com.amazonaws.internal.SdkInternalList<T> eventSourceMappings

An array of `EventSourceMappingConfiguration` objects.

### Class com.amazonaws.services.lambda.model.ListFunctionsRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### marker

    String marker

Optional string. An opaque pagination token returned from a previous `ListFunctions` operation. If present, indicates where to continue the listing.

#### maxItems

    Integer maxItems

Optional integer. Specifies the maximum number of AWS Lambda functions to return in response. This parameter value must be greater than 0.

### Class com.amazonaws.services.lambda.model.ListFunctionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### nextMarker

    String nextMarker

A string, present if there are more functions.

#### functions

    com.amazonaws.internal.SdkInternalList<T> functions

A list of Lambda functions.

### Class com.amazonaws.services.lambda.model.ListVersionsByFunctionRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

Function name whose versions to list. You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify a partial ARN (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### marker

    String marker

Optional string. An opaque pagination token returned from a previous `ListVersionsByFunction` operation. If present, indicates where to continue the listing.

#### maxItems

    Integer maxItems

Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.

### Class com.amazonaws.services.lambda.model.ListVersionsByFunctionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### nextMarker

    String nextMarker

A string, present if there are more function versions.

#### versions

    com.amazonaws.internal.SdkInternalList<T> versions

A list of Lambda function versions.

### Class com.amazonaws.services.lambda.model.PolicyLengthExceededException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.PublishVersionRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The Lambda function name. You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify a partial ARN (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### codeSha256

    String codeSha256

The SHA256 hash of the deployment package you want to publish. This provides validation on the code you are publishing. If you provide this parameter value must match the SHA256 of the $LATEST version for the publication to succeed.

#### description

    String description

The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version.

### Class com.amazonaws.services.lambda.model.PublishVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### functionName

    String functionName

The name of the function.

#### functionArn

    String functionArn

The Amazon Resource Name (ARN) assigned to the function.

#### runtime

    String runtime

The runtime environment for the Lambda function.

To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier runtime (v0.10.42), set the value to "nodejs".

#### role

    String role

The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.

#### handler

    String handler

The function Lambda calls to begin executing your function.

#### codeSize

    Long codeSize

The size, in bytes, of the function .zip file you uploaded.

#### description

    String description

The user-provided description.

#### timeout

    Integer timeout

The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.

#### memorySize

    Integer memorySize

The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.

#### lastModified

    String lastModified

The time stamp of the last time you updated the function.

#### codeSha256

    String codeSha256

It is the SHA256 hash of your function deployment package.

#### version

    String version

The version of the Lambda function.

#### vpcConfig

    VpcConfigResponse vpcConfig

VPC configuration associated with your Lambda function.

#### deadLetterConfig

    DeadLetterConfig deadLetterConfig

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

#### environment

    EnvironmentResponse environment

The parent object that contains your environment's configuration settings.

#### kMSKeyArn

    String kMSKeyArn

The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.

### Class com.amazonaws.services.lambda.model.RemovePermissionRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

Lambda function whose resource policy you want to remove a permission from.

You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify a partial ARN (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### statementId

    String statementId

Statement ID of the permission to remove.

#### qualifier

    String qualifier

You can specify this optional parameter to remove permission associated with a specific function version or function alias. If you don't specify this parameter, the API removes permission associated with the unqualified function ARN.

### Class com.amazonaws.services.lambda.model.RemovePermissionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Class com.amazonaws.services.lambda.model.RequestTooLargeException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.ResourceConflictException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.ResourceNotFoundException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.ServiceException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.SubnetIPAddressLimitReachedException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.TooManyRequestsException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### retryAfterSeconds

    String retryAfterSeconds

The number of seconds the caller should wait before retrying.

#### type

    String type

#### reason

    String reason

### Class com.amazonaws.services.lambda.model.UnsupportedMediaTypeException extends AWSLambdaException implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### type

    String type

### Class com.amazonaws.services.lambda.model.UpdateAliasRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The function name for which the alias is created.

#### name

    String name

The alias name.

#### functionVersion

    String functionVersion

Using this parameter you can change the Lambda function version to which the alias points.

#### description

    String description

You can change the description of the alias using this parameter.

### Class com.amazonaws.services.lambda.model.UpdateAliasResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### aliasArn

    String aliasArn

Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called `BETA` that points to a helloworld function version, the ARN is `arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA`.

#### name

    String name

Alias name.

#### functionVersion

    String functionVersion

Function version to which the alias points.

#### description

    String description

Alias description.

### Class com.amazonaws.services.lambda.model.UpdateEventSourceMappingRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### uUID

    String uUID

The event source mapping identifier.

#### functionName

    String functionName

The Lambda function to which you want the stream records sent.

You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify a partial ARN (for example, `account-id:Thumbnail`).

If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases

Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### enabled

    Boolean enabled

Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.

#### batchSize

    Integer batchSize

The maximum number of stream records that can be sent to your Lambda function for a single invocation.

### Class com.amazonaws.services.lambda.model.UpdateEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### uUID

    String uUID

The AWS Lambda assigned opaque identifier for the mapping.

#### batchSize

    Integer batchSize

The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.

#### eventSourceArn

    String eventSourceArn

The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

#### functionArn

    String functionArn

The Lambda function to invoke when AWS Lambda detects an event on the stream.

#### lastModified

    Date lastModified

The UTC time string indicating the last time the event mapping was updated.

#### lastProcessingResult

    String lastProcessingResult

The result of the last AWS Lambda invocation of your Lambda function.

#### state

    String state

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

#### stateTransitionReason

    String stateTransitionReason

The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

### Class com.amazonaws.services.lambda.model.UpdateFunctionCodeRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The existing Lambda function name whose code you want to replace.

You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify a partial ARN (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### zipFile

    ByteBuffer zipFile

The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, go to Execution Permissions in the AWS Lambda Developer Guide.

#### s3Bucket

    String s3Bucket

Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function.

#### s3Key

    String s3Key

The Amazon S3 object (the deployment package) key name you want to upload.

#### s3ObjectVersion

    String s3ObjectVersion

The Amazon S3 object (the deployment package) version you want to upload.

#### publish

    Boolean publish

This boolean parameter can be used to request AWS Lambda to update the Lambda function and publish a version as an atomic operation.

### Class com.amazonaws.services.lambda.model.UpdateFunctionCodeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### functionName

    String functionName

The name of the function.

#### functionArn

    String functionArn

The Amazon Resource Name (ARN) assigned to the function.

#### runtime

    String runtime

The runtime environment for the Lambda function.

To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier runtime (v0.10.42), set the value to "nodejs".

#### role

    String role

The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.

#### handler

    String handler

The function Lambda calls to begin executing your function.

#### codeSize

    Long codeSize

The size, in bytes, of the function .zip file you uploaded.

#### description

    String description

The user-provided description.

#### timeout

    Integer timeout

The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.

#### memorySize

    Integer memorySize

The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.

#### lastModified

    String lastModified

The time stamp of the last time you updated the function.

#### codeSha256

    String codeSha256

It is the SHA256 hash of your function deployment package.

#### version

    String version

The version of the Lambda function.

#### vpcConfig

    VpcConfigResponse vpcConfig

VPC configuration associated with your Lambda function.

#### deadLetterConfig

    DeadLetterConfig deadLetterConfig

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

#### environment

    EnvironmentResponse environment

The parent object that contains your environment's configuration settings.

#### kMSKeyArn

    String kMSKeyArn

The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.

### Class com.amazonaws.services.lambda.model.UpdateFunctionConfigurationRequest extends AmazonWebServiceRequest implements Serializable

### Serialized Fields

#### functionName

    String functionName

The name of the Lambda function.

You can specify a function name (for example, `Thumbnail`) or you can specify Amazon Resource Name (ARN) of the function (for example, `arn:aws:lambda:us-west-2:account-id:function:ThumbNail`). AWS Lambda also allows you to specify a partial ARN (for example, `account-id:Thumbnail`). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

#### role

    String role

The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.

#### handler

    String handler

The function that Lambda calls to begin executing your function. For Node.js, it is the `module-name.export` value in your function.

#### description

    String description

A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.

#### timeout

    Integer timeout

The function execution time at which AWS Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.

#### memorySize

    Integer memorySize

The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.

#### vpcConfig

    VpcConfig vpcConfig

#### environment

    Environment environment

The parent object that contains your environment's configuration settings.

#### runtime

    String runtime

The runtime environment for the Lambda function.

To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier runtime (v0.10.42), set the value to "nodejs".

<note>

You can no longer downgrade to the v0.10.42 runtime version. This version will no longer be supported as of early 2017.

</note>

#### deadLetterConfig

    DeadLetterConfig deadLetterConfig

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

#### kMSKeyArn

    String kMSKeyArn

The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter.

### Class com.amazonaws.services.lambda.model.UpdateFunctionConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable

### Serialized Fields

#### functionName

    String functionName

The name of the function.

#### functionArn

    String functionArn

The Amazon Resource Name (ARN) assigned to the function.

#### runtime

    String runtime

The runtime environment for the Lambda function.

To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier runtime (v0.10.42), set the value to "nodejs".

#### role

    String role

The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.

#### handler

    String handler

The function Lambda calls to begin executing your function.

#### codeSize

    Long codeSize

The size, in bytes, of the function .zip file you uploaded.

#### description

    String description

The user-provided description.

#### timeout

    Integer timeout

The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.

#### memorySize

    Integer memorySize

The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.

#### lastModified

    String lastModified

The time stamp of the last time you updated the function.

#### codeSha256

    String codeSha256

It is the SHA256 hash of your function deployment package.

#### version

    String version

The version of the Lambda function.

#### vpcConfig

    VpcConfigResponse vpcConfig

VPC configuration associated with your Lambda function.

#### deadLetterConfig

    DeadLetterConfig deadLetterConfig

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

#### environment

    EnvironmentResponse environment

The parent object that contains your environment's configuration settings.

#### kMSKeyArn

    String kMSKeyArn

The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.

### Class com.amazonaws.services.lambda.model.VpcConfig extends Object implements Serializable

### Serialized Fields

#### subnetIds

    com.amazonaws.internal.SdkInternalList<T> subnetIds

A list of one or more subnet IDs in your VPC.

#### securityGroupIds

    com.amazonaws.internal.SdkInternalList<T> securityGroupIds

A list of one or more security groups IDs in your VPC.

### Class com.amazonaws.services.lambda.model.VpcConfigResponse extends Object implements Serializable

### Serialized Fields

#### subnetIds

    com.amazonaws.internal.SdkInternalList<T> subnetIds

A list of subnet IDs associated with the Lambda function.

#### securityGroupIds

    com.amazonaws.internal.SdkInternalList<T> securityGroupIds

A list of security group IDs associated with the Lambda function.

#### vpcId

    String vpcId

The VPC ID associated with you Lambda function.