GetObjectResponse

public struct GetObjectResponse : AWSShape

Undocumented

  • The key for the payload

    Declaration

    Swift

    public static let payloadPath: String?
  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The bytes of the object.

    Declaration

    Swift

    public let body: Data?
  • 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.

    Declaration

    Swift

    public let cacheControl: String?
  • The length of the object in bytes.

    Declaration

    Swift

    public let contentLength: Int64?
  • The range of bytes to retrieve.

    Declaration

    Swift

    public let contentRange: String?
  • The content type of the object.

    Declaration

    Swift

    public let contentType: String?
  • The ETag that represents a unique instance of the object.

    Declaration

    Swift

    public let eTag: String?
  • The date and time that the object was last modified.

    Declaration

    Swift

    public let lastModified: TimeStamp?
  • 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.

    Declaration

    Swift

    public let statusCode: Int
  • Undocumented

    Declaration

    Swift

    public init(body: Data? = nil, cacheControl: String? = nil, contentLength: Int64? = nil, contentRange: String? = nil, contentType: String? = nil, eTag: String? = nil, lastModified: TimeStamp? = nil, statusCode: Int)