Class: AWS::SimpleWorkflow::Request

Inherits:
Core::Http::Request show all
Includes:
Core::Signature::Version3
Defined in:
lib/aws/simple_workflow/request.rb

Instance Attribute Summary collapse

Attributes inherited from Core::Http::Request

#access_key_id, #headers, #host, #http_method, #params, #path, #proxy_uri, #region, #service_ruby_name

Instance Method Summary collapse

Methods included from Core::Signature::Version3

#add_authorization!

Methods inherited from Core::Http::Request

#add_param, #get_param, #initialize, #param_value_for, #port, #port=, #querystring, #ssl_ca_file, #ssl_ca_file=, #ssl_ca_path, #ssl_ca_path=, #ssl_verify_peer=, #ssl_verify_peer?, #uri, #url_encoded_params, #use_ssl=, #use_ssl?

Constructor Details

This class inherits a constructor from AWS::Core::Http::Request

Instance Attribute Details

#bodyString?

Returns:

  • (String, nil)

23
24
25
# File 'lib/aws/simple_workflow/request.rb', line 23

def body
  @body
end

Instance Method Details

#read_timeoutObject


25
26
27
28
29
30
31
32
# File 'lib/aws/simple_workflow/request.rb', line 25

def read_timeout
  # increase read timeout for long polling
  if headers['x-amz-target'] =~ /PollFor(Decision|Activity)Task/
    90 
  else
    @read_timeout
  end
end