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:
|
InvocationType |
The invocation type.
TYPE:
|
LogType |
The log type.
TYPE:
|
ClientContext |
The client context.
TYPE:
|
Qualifier |
Specify a version or alias to invoke a published version of the function.
TYPE:
|
Payload |
The JSON that you want to provide to your Lambda function as input.
TYPE:
|
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:
|
FunctionError |
Indicates that an error occurred during function execution.
TYPE:
|
LogResult |
The last 4 KB of the execution log, which is base64-encoded.
TYPE:
|
ExecutedVersion |
The version of the function that executed.
TYPE:
|
Payload |
The response from the function, or an error object.
TYPE:
|
StatusCode
instance-attribute
StatusCode
FunctionError
instance-attribute
FunctionError
LogResult
instance-attribute
LogResult
ExecutedVersion
instance-attribute
ExecutedVersion
Payload
instance-attribute
Payload