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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/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)


3012
3013
3014
3015
3016
3017
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3012

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)


3012
3013
3014
3015
3016
3017
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 3012

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