You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaStoreData::Types::GetObjectResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaStoreData::Types::GetObjectResponse
- Defined in:
- (unknown)
Overview
Returned by:
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.
#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
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.
Headers with a custom user-defined value are also accepted.
#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. Status codes ranging from 200 to 299 indicate success. All other status codes indicate the type of error that occurred.