Class: Aws::MediaStoreData::Types::GetObjectResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaStoreData::Types::GetObjectResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-mediastoredata/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#body ⇒ IO
The bytes of the object.
-
#cache_control ⇒ String
An optional ‘CacheControl` header that allows the caller to control the object’s cache behavior.
-
#content_length ⇒ Integer
The length of the object in bytes.
-
#content_range ⇒ String
The range of bytes to retrieve.
-
#content_type ⇒ String
The content type of the object.
-
#etag ⇒ String
The ETag that represents a unique instance of the object.
-
#last_modified ⇒ Time
The date and time that the object was last modified.
-
#status_code ⇒ Integer
The HTML status code of the request.
Instance Attribute Details
#body ⇒ IO
The bytes of the object.
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/aws-sdk-mediastoredata/types.rb', line 199 class GetObjectResponse < Struct.new( :body, :cache_control, :content_range, :content_length, :content_type, :etag, :last_modified, :status_code) SENSITIVE = [] include Aws::Structure end |
#cache_control ⇒ String
An optional ‘CacheControl` header that allows the caller to control the object’s cache behavior. Headers can be passed in as specified in the HTTP spec at [www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9][1].
Headers with a custom user-defined value are also accepted.
[1]: www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/aws-sdk-mediastoredata/types.rb', line 199 class GetObjectResponse < Struct.new( :body, :cache_control, :content_range, :content_length, :content_type, :etag, :last_modified, :status_code) SENSITIVE = [] include Aws::Structure end |
#content_length ⇒ Integer
The length of the object in bytes.
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/aws-sdk-mediastoredata/types.rb', line 199 class GetObjectResponse < Struct.new( :body, :cache_control, :content_range, :content_length, :content_type, :etag, :last_modified, :status_code) SENSITIVE = [] include Aws::Structure end |
#content_range ⇒ String
The range of bytes to retrieve.
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/aws-sdk-mediastoredata/types.rb', line 199 class GetObjectResponse < Struct.new( :body, :cache_control, :content_range, :content_length, :content_type, :etag, :last_modified, :status_code) SENSITIVE = [] include Aws::Structure end |
#content_type ⇒ String
The content type of the object.
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/aws-sdk-mediastoredata/types.rb', line 199 class GetObjectResponse < Struct.new( :body, :cache_control, :content_range, :content_length, :content_type, :etag, :last_modified, :status_code) SENSITIVE = [] include Aws::Structure end |
#etag ⇒ String
The ETag that represents a unique instance of the object.
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/aws-sdk-mediastoredata/types.rb', line 199 class GetObjectResponse < Struct.new( :body, :cache_control, :content_range, :content_length, :content_type, :etag, :last_modified, :status_code) SENSITIVE = [] include Aws::Structure end |
#last_modified ⇒ Time
The date and time that the object was last modified.
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/aws-sdk-mediastoredata/types.rb', line 199 class GetObjectResponse < Struct.new( :body, :cache_control, :content_range, :content_length, :content_type, :etag, :last_modified, :status_code) SENSITIVE = [] include Aws::Structure end |
#status_code ⇒ Integer
The HTML status code of the request. Status codes ranging from 200 to 299 indicate success. All other status codes indicate the type of error that occurred.
199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/aws-sdk-mediastoredata/types.rb', line 199 class GetObjectResponse < Struct.new( :body, :cache_control, :content_range, :content_length, :content_type, :etag, :last_modified, :status_code) SENSITIVE = [] include Aws::Structure end |