Class: Aws::Lambda::Types::InvokeAsyncRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lambda/types.rb

Overview

Note:

When making an API call, you may pass InvokeAsyncRequest data as a hash:

{
  function_name: "NamespacedFunctionName", # required
  invoke_args: "data", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#function_nameString

The name of the Lambda function.

**Name formats**

  • **Function name** - ‘my-function`.

  • **Function ARN** - ‘arn:aws:lambda:us-west-2:123456789012:function:my-function`.

  • **Partial ARN** - ‘123456789012:function:my-function`.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Returns:

  • (String)


1630
1631
1632
1633
1634
# File 'lib/aws-sdk-lambda/types.rb', line 1630

class InvokeAsyncRequest < Struct.new(
  :function_name,
  :invoke_args)
  include Aws::Structure
end

#invoke_argsIO

JSON that you want to provide to your Lambda function as input.

Returns:

  • (IO)


1630
1631
1632
1633
1634
# File 'lib/aws-sdk-lambda/types.rb', line 1630

class InvokeAsyncRequest < Struct.new(
  :function_name,
  :invoke_args)
  include Aws::Structure
end