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
show all
Defined in:
(unknown)

Overview

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bodyIO

The bytes of the object.

Returns:

  • (IO)

    The bytes of the object.

#cache_controlString

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.

Returns:

  • (String)

    An optional CacheControl header that allows the caller to control the object\'s cache behavior.

#content_lengthInteger

The length of the object in bytes.

Returns:

  • (Integer)

    The length of the object in bytes.

#content_rangeString

The range of bytes to retrieve.

Returns:

  • (String)

    The range of bytes to retrieve.

#content_typeString

The content type of the object.

Returns:

  • (String)

    The content type of the object.

#etagString

The ETag that represents a unique instance of the object.

Returns:

  • (String)

    The ETag that represents a unique instance of the object.

#last_modifiedTime

The date and time that the object was last modified.

Returns:

  • (Time)

    The date and time that the object was last modified.

#status_codeInteger

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.

Returns:

  • (Integer)

    The HTML status code of the request.