Skip to content

Invoke

async_boto.validation.lambda_.invoke

InvokeRequest

Bases: BaseModel

Request model for invoking a Lambda function.

ATTRIBUTE DESCRIPTION
FunctionName

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

TYPE: str

InvocationType

The invocation type.

TYPE: str

LogType

The log type.

TYPE: str

ClientContext

The client context.

TYPE: str

Qualifier

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

TYPE: str

Payload

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

TYPE: dict

FunctionName instance-attribute

FunctionName

InvocationType class-attribute instance-attribute

InvocationType = 'RequestResponse'

LogType class-attribute instance-attribute

LogType = 'None'

ClientContext instance-attribute

ClientContext

Qualifier instance-attribute

Qualifier

Payload instance-attribute

Payload

InvokeResponse

Bases: BaseModel

Response model for invoking a Lambda function.

ATTRIBUTE DESCRIPTION
StatusCode

The HTTP status code.

TYPE: int

FunctionError

Indicates that an error occurred during function execution.

TYPE: str

LogResult

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

TYPE: str

ExecutedVersion

The version of the function that executed.

TYPE: str

Payload

The response from the function, or an error object.

TYPE: dict

StatusCode instance-attribute

StatusCode

FunctionError instance-attribute

FunctionError

LogResult instance-attribute

LogResult

ExecutedVersion instance-attribute

ExecutedVersion

Payload instance-attribute

Payload