Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ObjectVersion = ObjectVersion' {}
- newObjectVersion :: ObjectVersion
- objectVersion_eTag :: Lens' ObjectVersion (Maybe ETag)
- objectVersion_versionId :: Lens' ObjectVersion (Maybe ObjectVersionId)
- objectVersion_size :: Lens' ObjectVersion (Maybe Integer)
- objectVersion_isLatest :: Lens' ObjectVersion (Maybe Bool)
- objectVersion_owner :: Lens' ObjectVersion (Maybe Owner)
- objectVersion_key :: Lens' ObjectVersion (Maybe ObjectKey)
- objectVersion_storageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass)
- objectVersion_lastModified :: Lens' ObjectVersion (Maybe UTCTime)
Documentation
data ObjectVersion Source #
The version of an object.
See: newObjectVersion
smart constructor.
ObjectVersion' | |
|
Instances
newObjectVersion :: ObjectVersion Source #
Create a value of ObjectVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eTag:ObjectVersion'
, objectVersion_eTag
- The entity tag is an MD5 hash of that version of the object.
$sel:versionId:ObjectVersion'
, objectVersion_versionId
- Version ID of an object.
$sel:size:ObjectVersion'
, objectVersion_size
- Size in bytes of the object.
$sel:isLatest:ObjectVersion'
, objectVersion_isLatest
- Specifies whether the object is (true) or is not (false) the latest
version of an object.
$sel:owner:ObjectVersion'
, objectVersion_owner
- Specifies the owner of the object.
$sel:key:ObjectVersion'
, objectVersion_key
- The object key.
$sel:storageClass:ObjectVersion'
, objectVersion_storageClass
- The class of storage used to store the object.
$sel:lastModified:ObjectVersion'
, objectVersion_lastModified
- Date and time the object was last modified.
objectVersion_eTag :: Lens' ObjectVersion (Maybe ETag) Source #
The entity tag is an MD5 hash of that version of the object.
objectVersion_versionId :: Lens' ObjectVersion (Maybe ObjectVersionId) Source #
Version ID of an object.
objectVersion_size :: Lens' ObjectVersion (Maybe Integer) Source #
Size in bytes of the object.
objectVersion_isLatest :: Lens' ObjectVersion (Maybe Bool) Source #
Specifies whether the object is (true) or is not (false) the latest version of an object.
objectVersion_owner :: Lens' ObjectVersion (Maybe Owner) Source #
Specifies the owner of the object.
objectVersion_key :: Lens' ObjectVersion (Maybe ObjectKey) Source #
The object key.
objectVersion_storageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass) Source #
The class of storage used to store the object.
objectVersion_lastModified :: Lens' ObjectVersion (Maybe UTCTime) Source #
Date and time the object was last modified.