String details
String type
String type
String functionName
You can specify an unqualified function name (for example, "Thumbnail") or you can specify Amazon Resource Name (ARN) of the function (for example, "arn:aws:lambda:us-west-2:account-id:function:ThumbNail"). AWS Lambda also allows you to specify only the account ID qualifier (for example, "account-id:Thumbnail"). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
String invocationType
Invoke
API assumes "RequestResponse"
invocation type. You can optionally request asynchronous execution by
specifying "Event" as the InvocationType
. You can also
use this parameter to request AWS Lambda to not execute the function
but do some verification, such as if the caller is authorized to
invoke the function and if the inputs are valid. You request this by
specifying "DryRun" as the InvocationType
. This is useful
in a cross-account scenario when you want to verify access to a
function without running it.
Constraints:
Allowed Values: Event, RequestResponse, DryRun
String logType
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-results
header.
Constraints:
Allowed Values: None, Tail
String clientContext
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,
go to PutEvents
in the Amazon Mobile Analytics API Reference and User Guide.
The ClientContext JSON must be base64-encoded.
ByteBuffer payload
String qualifier
If you don't provide this parameter, then the API uses unqualified function ARN which results in invocation of the $LATEST version.
Constraints:
Length: 1 - 128
Pattern: (|[a-zA-Z0-9$_]+)
Integer statusCode
String functionError
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
ByteBuffer payload
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 type
String type
String type
String type
Copyright © 2015. All rights reserved.