Class: Aws::Response
- Inherits:
-
Seahorse::Client::Response
- Object
- Delegator
- Seahorse::Client::Response
- Aws::Response
- 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.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Response
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Response
constructor
A new instance of Response.
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( = {}) super @pager = nil @last_page = nil @more_results = nil end |