Skip to content

Invoke with response stream

async_boto.validation.lambda_.invoke_with_response_stream

InvokeWithResponseStreamRequest

Bases: BaseModel

Request model for invoking a Lambda function with response streaming.

ATTRIBUTE DESCRIPTION
FunctionName

The name or ARN of the Lambda function.

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

InvokeWithResponseStreamResponse

Bases: BaseModel

Response model for invoking a Lambda function with response streaming.

ATTRIBUTE DESCRIPTION
StatusCode

The HTTP status code.

TYPE: int

ExecutedVersion

The version of the function that executed.

TYPE: str

ResponseStreamContentType

The type of data the stream is returning.

TYPE: str

InvokeComplete

An object that's returned when the stream has ended and all the payload chunks have been returned.

TYPE: InvokeComplete

PayloadChunk

A chunk of the streamed response payload.

TYPE: PayloadChunk

StatusCode instance-attribute

StatusCode

ExecutedVersion instance-attribute

ExecutedVersion

ResponseStreamContentType instance-attribute

ResponseStreamContentType

InvokeComplete instance-attribute

InvokeComplete

PayloadChunk instance-attribute

PayloadChunk