Object

public struct Object : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata. The ETag may or may not be an MD5 digest of the object data. Whether or not it is depends on how the object was created and how it is encrypted as described below: Objects created by the PUT Object, POST Object, or Copy operation, or through the AWS Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are an MD5 digest of their object data. Objects created by the PUT Object, POST Object, or Copy operation, or through the AWS Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 digest of their object data. If an object is created by either the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, regardless of the method of encryption.

    Declaration

    Swift

    public let eTag: String?
  • key

    The name that you assign to an object. You use the object key to retrieve the object.

    Declaration

    Swift

    public let key: String?
  • The date the Object was Last Modified

    Declaration

    Swift

    public let lastModified: TimeStamp?
  • The owner of the object

    Declaration

    Swift

    public let owner: Owner?
  • Size in bytes of the object

    Declaration

    Swift

    public let size: Int64?
  • The class of storage used to store the object.

    Declaration

    Swift

    public let storageClass: ObjectStorageClass?
  • Undocumented

    Declaration

    Swift

    public init(eTag: String? = nil, key: String? = nil, lastModified: TimeStamp? = nil, owner: Owner? = nil, size: Int64? = nil, storageClass: ObjectStorageClass? = nil)