Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
Paws::Lambda::Invoke(3User Contributed Perl DocumentatiPaws::Lambda::Invoke(3)

       Paws::Lambda::Invoke - Arguments	for method Invoke on Paws::Lambda

       This class represents the parameters used for calling the method	Invoke
       on the AWS Lambda service. Use the attributes of	this class as
       arguments to method Invoke.

       You shouln't make instances of this class. Each attribute should	be
       used as a named argument	in the call to Invoke.

       As an example:

	 $service_obj->Invoke(Att1 => $value1, Att2 => $value2,	...);

       Values for attributes that are native types (Int, String, Float,	etc)
       can passed as-is	(scalar	values). Values	for complex Types (objects)
       can be passed as	a HashRef. The keys and	values of the hashref will be
       used to instance	the underlying object.

   ClientContext => Str
       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, go to PutEvents in
       the Amazon Mobile Analytics API Reference and User Guide.

       The ClientContext JSON must be base64-encoded.

   REQUIRED FunctionName => Str
       The Lambda function name.

       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.

   InvocationType => Str
       By default, the "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.

   LogType => Str
       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-results" header.

   Payload => Str
       JSON that you want to provide to	your Lambda function as	input.

       This class forms	part of	Paws, documenting arguments for	method Invoke
       in Paws::Lambda

       The source code is located here:

       Please report bugs to:

perl v5.32.1			  2015-08-06	       Paws::Lambda::Invoke(3)


Want to link to this manual page? Use this URL:

home | help