Skip to content

Publish version

async_boto.validation.lambda_.publish_version

PublishVersionRequest

Bases: BaseModel

Request model for publishing a new version of an AWS Lambda function.

ATTRIBUTE DESCRIPTION
FunctionName

The name or ARN of the Lambda function.

TYPE: str

CodeSha256

Only publish a version if the hash value matches the value that's specified.

TYPE: str

Description

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

TYPE: str

RevisionId

Only update the function if the revision ID matches the ID that's specified.

TYPE: str

FunctionName instance-attribute

FunctionName

CodeSha256 instance-attribute

CodeSha256

Description instance-attribute

Description

RevisionId instance-attribute

RevisionId

PublishVersionResponse

Bases: BaseModel

Response model for publishing a new version of an AWS Lambda function.

ATTRIBUTE DESCRIPTION
Architectures

The instruction set architecture that the function supports.

TYPE: list

CodeSha256

The SHA256 hash of the function's deployment package.

TYPE: str

CodeSize

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

TYPE: int

DeadLetterConfig

The function's dead letter queue.

TYPE: DeadLetterConfig

Description

The function's description.

TYPE: str

Environment

The function's environment variables.

TYPE: Environment

EphemeralStorage

The size of the function's /tmp directory in MB.

TYPE: EphemeralStorage

FileSystemConfigs

Connection settings for an Amazon EFS file system.

TYPE: list

FunctionArn

The function's Amazon Resource Name (ARN).

TYPE: str

FunctionName

The name of the function.

TYPE: str

Handler

The function that Lambda calls to begin running your function.

TYPE: str

ImageConfigResponse

The function's image configuration values.

TYPE: ImageConfigResponse

KMSKeyArn

The ARN of the AWS Key Management Service (AWS KMS) customer managed key.

TYPE: str

LastModified

The date and time that the function was last updated.

TYPE: str

LastUpdateStatus

The status of the last update that was performed on the function.

TYPE: str

LastUpdateStatusReason

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

TYPE: str

LastUpdateStatusReasonCode

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

TYPE: str

Layers

The function's layers.

TYPE: list

LoggingConfig

The function's Amazon CloudWatch Logs configuration settings.

TYPE: LoggingConfig

MasterArn

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

TYPE: str

MemorySize

The amount of memory available to the function at runtime.

TYPE: int

PackageType

The type of deployment package.

TYPE: str

RevisionId

The latest updated revision of the function or alias.

TYPE: str

Role

The function's execution role.

TYPE: str

Runtime

The identifier of the function's runtime.

TYPE: str

RuntimeVersionConfig

The ARN of the runtime and any errors that occurred.

TYPE: RuntimeVersionConfig

SigningJobArn

The ARN of the signing job.

TYPE: str

SigningProfileVersionArn

The ARN of the signing profile version.

TYPE: str

SnapStart

The function's SnapStart configuration.

TYPE: SnapStart

State

The current state of the function.

TYPE: str

StateReason

The reason for the function's current state.

TYPE: str

StateReasonCode

The reason code for the function's current state.

TYPE: str

Timeout

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

TYPE: int

TracingConfig

The function's AWS X-Ray tracing configuration.

TYPE: TracingConfig

Version

The version of the Lambda function.

TYPE: str

VpcConfig

The function's networking configuration.

TYPE: VpcConfig

Architectures instance-attribute

Architectures

CodeSha256 instance-attribute

CodeSha256

CodeSize instance-attribute

CodeSize

DeadLetterConfig instance-attribute

DeadLetterConfig

Description instance-attribute

Description

Environment instance-attribute

Environment

EphemeralStorage instance-attribute

EphemeralStorage

FileSystemConfigs instance-attribute

FileSystemConfigs

FunctionArn instance-attribute

FunctionArn

FunctionName instance-attribute

FunctionName

Handler instance-attribute

Handler

ImageConfigResponse instance-attribute

ImageConfigResponse

KMSKeyArn instance-attribute

KMSKeyArn

LastModified instance-attribute

LastModified

LastUpdateStatus instance-attribute

LastUpdateStatus

LastUpdateStatusReason instance-attribute

LastUpdateStatusReason

LastUpdateStatusReasonCode instance-attribute

LastUpdateStatusReasonCode

Layers instance-attribute

Layers

LoggingConfig instance-attribute

LoggingConfig

MasterArn instance-attribute

MasterArn

MemorySize instance-attribute

MemorySize

PackageType instance-attribute

PackageType

RevisionId instance-attribute

RevisionId

Role instance-attribute

Role

Runtime instance-attribute

Runtime

RuntimeVersionConfig instance-attribute

RuntimeVersionConfig

SigningJobArn instance-attribute

SigningJobArn

SigningProfileVersionArn instance-attribute

SigningProfileVersionArn

SnapStart instance-attribute

SnapStart

State instance-attribute

State

StateReason instance-attribute

StateReason

StateReasonCode instance-attribute

StateReasonCode

Timeout instance-attribute

Timeout

TracingConfig instance-attribute

TracingConfig

Version instance-attribute

Version

VpcConfig instance-attribute

VpcConfig