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
}

Constant Summary collapse

SENSITIVE =
[]

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)

3099
3100
3101
3102
3103
3104
# File 'lib/aws-sdk-lambda/types.rb', line 3099

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

#invoke_argsIO

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

Returns:

  • (IO)

3099
3100
3101
3102
3103
3104
# File 'lib/aws-sdk-lambda/types.rb', line 3099

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