Method: Aws::Lambda::Types::InvokeWithResponseStreamRequest#payload

Defined in:
lib/aws-sdk-lambda/types.rb

#payloadString

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

You can enter the JSON directly. For example, ‘–payload ’{ “key”: “value” }‘`. You can also specify a file path. For example, `–payload file://payload.json`.

Returns:

  • (String)


5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
# File 'lib/aws-sdk-lambda/types.rb', line 5675

class InvokeWithResponseStreamRequest < Struct.new(
  :function_name,
  :invocation_type,
  :log_type,
  :client_context,
  :qualifier,
  :payload,
  :tenant_id)
  SENSITIVE = [:payload]
  include Aws::Structure
end