Class: Aws::Response

Inherits:
Seahorse::Client::Response show all
Defined in:
gems/aws-sdk-core/lib/aws-sdk-core/response.rb

Overview

Represents the response from an AWS service operation. Provides the Seahorse response interface and paging convenience methods.

SDK clients return responses with paging ready to use. When constructing a response directly or inspecting it before paging setup in a custom handler, use Seahorse::Client::Response#data to access or enumerate its fields. #first returns the response itself; page-state checks and complete page enumeration require a pager.

See Also:

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Response

#context, #data, #error

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Response

#checksum_validated, #on, #on_success, #successful?

Constructor Details

#initialize(options = {}) ⇒ Response

Returns a new instance of Response.



16
17
18
19
20
21
# File 'gems/aws-sdk-core/lib/aws-sdk-core/response.rb', line 16

def initialize(options = {})
  super
  @pager = nil
  @last_page = nil
  @more_results = nil
end