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 DocumentVersionMetadata = DocumentVersionMetadata' {
- thumbnail :: Maybe (HashMap DocumentThumbnailType (Sensitive Text))
- status :: Maybe DocumentStatusType
- signature :: Maybe Text
- contentCreatedTimestamp :: Maybe POSIX
- size :: Maybe Integer
- name :: Maybe Text
- modifiedTimestamp :: Maybe POSIX
- source :: Maybe (HashMap DocumentSourceType (Sensitive Text))
- id :: Maybe Text
- createdTimestamp :: Maybe POSIX
- contentModifiedTimestamp :: Maybe POSIX
- creatorId :: Maybe Text
- contentType :: Maybe Text
- newDocumentVersionMetadata :: DocumentVersionMetadata
- documentVersionMetadata_thumbnail :: Lens' DocumentVersionMetadata (Maybe (HashMap DocumentThumbnailType Text))
- documentVersionMetadata_status :: Lens' DocumentVersionMetadata (Maybe DocumentStatusType)
- documentVersionMetadata_signature :: Lens' DocumentVersionMetadata (Maybe Text)
- documentVersionMetadata_contentCreatedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime)
- documentVersionMetadata_size :: Lens' DocumentVersionMetadata (Maybe Integer)
- documentVersionMetadata_name :: Lens' DocumentVersionMetadata (Maybe Text)
- documentVersionMetadata_modifiedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime)
- documentVersionMetadata_source :: Lens' DocumentVersionMetadata (Maybe (HashMap DocumentSourceType Text))
- documentVersionMetadata_id :: Lens' DocumentVersionMetadata (Maybe Text)
- documentVersionMetadata_createdTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime)
- documentVersionMetadata_contentModifiedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime)
- documentVersionMetadata_creatorId :: Lens' DocumentVersionMetadata (Maybe Text)
- documentVersionMetadata_contentType :: Lens' DocumentVersionMetadata (Maybe Text)
Documentation
data DocumentVersionMetadata Source #
Describes a version of a document.
See: newDocumentVersionMetadata
smart constructor.
DocumentVersionMetadata' | |
|
Instances
newDocumentVersionMetadata :: DocumentVersionMetadata Source #
Create a value of DocumentVersionMetadata
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:thumbnail:DocumentVersionMetadata'
, documentVersionMetadata_thumbnail
- The thumbnail of the document.
$sel:status:DocumentVersionMetadata'
, documentVersionMetadata_status
- The status of the document.
$sel:signature:DocumentVersionMetadata'
, documentVersionMetadata_signature
- The signature of the document.
$sel:contentCreatedTimestamp:DocumentVersionMetadata'
, documentVersionMetadata_contentCreatedTimestamp
- The timestamp when the content of the document was originally created.
$sel:size:DocumentVersionMetadata'
, documentVersionMetadata_size
- The size of the document, in bytes.
$sel:name:DocumentVersionMetadata'
, documentVersionMetadata_name
- The name of the version.
$sel:modifiedTimestamp:DocumentVersionMetadata'
, documentVersionMetadata_modifiedTimestamp
- The timestamp when the document was last uploaded.
$sel:source:DocumentVersionMetadata'
, documentVersionMetadata_source
- The source of the document.
$sel:id:DocumentVersionMetadata'
, documentVersionMetadata_id
- The ID of the version.
$sel:createdTimestamp:DocumentVersionMetadata'
, documentVersionMetadata_createdTimestamp
- The timestamp when the document was first uploaded.
$sel:contentModifiedTimestamp:DocumentVersionMetadata'
, documentVersionMetadata_contentModifiedTimestamp
- The timestamp when the content of the document was modified.
$sel:creatorId:DocumentVersionMetadata'
, documentVersionMetadata_creatorId
- The ID of the creator.
$sel:contentType:DocumentVersionMetadata'
, documentVersionMetadata_contentType
- The content type of the document.
documentVersionMetadata_thumbnail :: Lens' DocumentVersionMetadata (Maybe (HashMap DocumentThumbnailType Text)) Source #
The thumbnail of the document.
documentVersionMetadata_status :: Lens' DocumentVersionMetadata (Maybe DocumentStatusType) Source #
The status of the document.
documentVersionMetadata_signature :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The signature of the document.
documentVersionMetadata_contentCreatedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #
The timestamp when the content of the document was originally created.
documentVersionMetadata_size :: Lens' DocumentVersionMetadata (Maybe Integer) Source #
The size of the document, in bytes.
documentVersionMetadata_name :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The name of the version.
documentVersionMetadata_modifiedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #
The timestamp when the document was last uploaded.
documentVersionMetadata_source :: Lens' DocumentVersionMetadata (Maybe (HashMap DocumentSourceType Text)) Source #
The source of the document.
documentVersionMetadata_id :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The ID of the version.
documentVersionMetadata_createdTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #
The timestamp when the document was first uploaded.
documentVersionMetadata_contentModifiedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #
The timestamp when the content of the document was modified.
documentVersionMetadata_creatorId :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The ID of the creator.
documentVersionMetadata_contentType :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The content type of the document.