String details
String type
String type
String type
String type
The exception type.
String type
The exception type.
String type
String type
String type
String type
String functionName
The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Constraints:
Length: 1 - 170
Pattern:
(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{
1}:)?(\d{12}
:)?(function:)?([a-zA-Z0-9-_\.]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
String invocationType
Choose from the following options.
RequestResponse
(default) - Invoke the function
synchronously. Keep the connection open until the function returns a
response or times out.
Event
- Invoke the function asynchronously. Send events that
fail multiple times to the function's dead-letter queue (if configured).
DryRun
- Validate parameter values and verify that the user
or role has permission to invoke the function.
Constraints:
Allowed Values: Event, RequestResponse, DryRun
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.
Constraints:
Allowed Values: None, Tail
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 and has a maximum size of 3583 bytes.
ClientContext
information is returned only if you use the
synchronous (RequestResponse
) invocation type.
ByteBuffer payload
JSON that you want to provide to your Lambda function as input.
String qualifier
Specify a version or alias to invoke a published version of the function.
Constraints:
Length: 1 - 128
Pattern: (|[a-zA-Z0-9$_-]+)
Integer statusCode
The HTTP status code will be in the 200 range for successful request. For
the RequestResponse
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.
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.
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.
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.
String executedVersion
The function version that has been executed. This value is returned only
if the invocation type is RequestResponse
. For more
information, see Traffic Shifting Using Aliases.
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
String type
String type
String type
String type
String type
String type
String type
String type
String type
Copyright © 2018. All rights reserved.