PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::Lambda::Invoke; use Moose; has ClientContext => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'X-Amz-Client-Context'); has FunctionName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'FunctionName', required => 1); has InvocationType => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'X-Amz-Invocation-Type'); has LogType => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'X-Amz-Log-Type'); has Payload => (is => 'ro', isa => 'Str'); has Qualifier => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'Qualifier'); use MooseX::ClassAttribute; class_has _stream_param => (is => 'ro', default => 'Payload'); class_has _api_call => (isa => 'Str', is => 'ro', default => 'Invoke'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-03-31/functions/{FunctionName}/invocations'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::InvocationResponse'); 1; ### main pod documentation begin ### =head1 NAME Paws::Lambda::Invoke - Arguments for method Invoke on L =head1 DESCRIPTION This class represents the parameters used for calling the method Invoke on the L service. Use the attributes of this class as arguments to method Invoke. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to Invoke. =head1 SYNOPSIS my $lambda = Paws->service('Lambda'); # To invoke a Lambda function # The following example invokes version 1 of a function named my-function with # an empty event payload. my $InvocationResponse = $lambda->Invoke( 'FunctionName' => 'my-function', 'Payload' => '{}', 'Qualifier' => 1 ); # Results: my $Payload = $InvocationResponse->Payload; my $StatusCode = $InvocationResponse->StatusCode; # Returns a L object. # To invoke a Lambda function asynchronously # The following example invokes version 1 of a function named my-function # asynchronously. my $InvocationResponse = $lambda->Invoke( 'FunctionName' => 'my-function', 'InvocationType' => 'Event', 'Payload' => '{}', 'Qualifier' => 1 ); # Results: my $Payload = $InvocationResponse->Payload; my $StatusCode = $InvocationResponse->StatusCode; # Returns a L object. 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. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 ClientContext => Str Up to 3583 bytes of base64-encoded data about the invoking client to pass to the function in the context object. =head2 B FunctionName => Str The name of the Lambda function, version, or alias. B =over =item * B - C (name-only), C (with alias). =item * B - C. =item * B - C<123456789012:function:my-function>. =back You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length. =head2 InvocationType => Str Choose from the following options. =over =item * C (default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data. =item * C - Invoke the function asynchronously. Send events that fail multiple times to the function's dead-letter queue (if it's configured). The API response only includes a status code. =item * C - Validate parameter values and verify that the user or role has permission to invoke the function. =back Valid values are: C<"Event">, C<"RequestResponse">, C<"DryRun"> =head2 LogType => Str Set to C to include the execution log in the response. Valid values are: C<"None">, C<"Tail"> =head2 Payload => Str The JSON that you want to provide to your Lambda function as input. =head2 Qualifier => Str Specify a version or alias to invoke a published version of the function. =head1 SEE ALSO This class forms part of L, documenting arguments for method Invoke in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut