You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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
}

Instance Attribute Summary collapse

Instance Attribute Details

#function_nameString

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

Returns:

  • (String)


1345
1346
1347
1348
1349
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1345

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)


1345
1346
1347
1348
1349
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1345

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