Class: Aws::MediaStoreData::Types::GetObjectResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-mediastoredata/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyIO

The bytes of the object.

Returns:

  • (IO)


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_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 [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

Returns:

  • (String)


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_lengthInteger

The length of the object in bytes.

Returns:

  • (Integer)


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_rangeString

The range of bytes to retrieve.

Returns:

  • (String)


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_typeString

The content type of the object.

Returns:

  • (String)


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

#etagString

The ETag that represents a unique instance of the object.

Returns:

  • (String)


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_modifiedTime

The date and time that the object was last modified.

Returns:

  • (Time)


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_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)


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