| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkDocs.Types.DocumentVersionMetadata
Description
Synopsis
- data DocumentVersionMetadata = DocumentVersionMetadata' {
- contentCreatedTimestamp :: Maybe POSIX
- contentModifiedTimestamp :: Maybe POSIX
- contentType :: Maybe Text
- createdTimestamp :: Maybe POSIX
- creatorId :: Maybe Text
- id :: Maybe Text
- modifiedTimestamp :: Maybe POSIX
- name :: Maybe Text
- signature :: Maybe Text
- size :: Maybe Integer
- source :: Maybe (HashMap DocumentSourceType (Sensitive Text))
- status :: Maybe DocumentStatusType
- thumbnail :: Maybe (HashMap DocumentThumbnailType (Sensitive Text))
- newDocumentVersionMetadata :: DocumentVersionMetadata
- documentVersionMetadata_contentCreatedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime)
- documentVersionMetadata_contentModifiedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime)
- documentVersionMetadata_contentType :: Lens' DocumentVersionMetadata (Maybe Text)
- documentVersionMetadata_createdTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime)
- documentVersionMetadata_creatorId :: Lens' DocumentVersionMetadata (Maybe Text)
- documentVersionMetadata_id :: Lens' DocumentVersionMetadata (Maybe Text)
- documentVersionMetadata_modifiedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime)
- documentVersionMetadata_name :: Lens' DocumentVersionMetadata (Maybe Text)
- documentVersionMetadata_signature :: Lens' DocumentVersionMetadata (Maybe Text)
- documentVersionMetadata_size :: Lens' DocumentVersionMetadata (Maybe Integer)
- documentVersionMetadata_source :: Lens' DocumentVersionMetadata (Maybe (HashMap DocumentSourceType Text))
- documentVersionMetadata_status :: Lens' DocumentVersionMetadata (Maybe DocumentStatusType)
- documentVersionMetadata_thumbnail :: Lens' DocumentVersionMetadata (Maybe (HashMap DocumentThumbnailType Text))
Documentation
data DocumentVersionMetadata Source #
Describes a version of a document.
See: newDocumentVersionMetadata smart constructor.
Constructors
| DocumentVersionMetadata' | |
Fields
| |
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:contentCreatedTimestamp:DocumentVersionMetadata', documentVersionMetadata_contentCreatedTimestamp - The timestamp when the content of the document was originally created.
$sel:contentModifiedTimestamp:DocumentVersionMetadata', documentVersionMetadata_contentModifiedTimestamp - The timestamp when the content of the document was modified.
$sel:contentType:DocumentVersionMetadata', documentVersionMetadata_contentType - The content type of the document.
$sel:createdTimestamp:DocumentVersionMetadata', documentVersionMetadata_createdTimestamp - The timestamp when the document was first uploaded.
$sel:creatorId:DocumentVersionMetadata', documentVersionMetadata_creatorId - The ID of the creator.
$sel:id:DocumentVersionMetadata', documentVersionMetadata_id - The ID of the version.
$sel:modifiedTimestamp:DocumentVersionMetadata', documentVersionMetadata_modifiedTimestamp - The timestamp when the document was last uploaded.
$sel:name:DocumentVersionMetadata', documentVersionMetadata_name - The name of the version.
$sel:signature:DocumentVersionMetadata', documentVersionMetadata_signature - The signature of the document.
$sel:size:DocumentVersionMetadata', documentVersionMetadata_size - The size of the document, in bytes.
$sel:source:DocumentVersionMetadata', documentVersionMetadata_source - The source of the document.
$sel:status:DocumentVersionMetadata', documentVersionMetadata_status - The status of the document.
$sel:thumbnail:DocumentVersionMetadata', documentVersionMetadata_thumbnail - The thumbnail of the document.
documentVersionMetadata_contentCreatedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #
The timestamp when the content of the document was originally created.
documentVersionMetadata_contentModifiedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #
The timestamp when the content of the document was modified.
documentVersionMetadata_contentType :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The content type of the document.
documentVersionMetadata_createdTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #
The timestamp when the document was first uploaded.
documentVersionMetadata_creatorId :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The ID of the creator.
documentVersionMetadata_id :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The ID of the version.
documentVersionMetadata_modifiedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #
The timestamp when the document was last uploaded.
documentVersionMetadata_name :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The name of the version.
documentVersionMetadata_signature :: Lens' DocumentVersionMetadata (Maybe Text) Source #
The signature of the document.
documentVersionMetadata_size :: Lens' DocumentVersionMetadata (Maybe Integer) Source #
The size of the document, in bytes.
documentVersionMetadata_source :: Lens' DocumentVersionMetadata (Maybe (HashMap DocumentSourceType Text)) Source #
The source of the document.
documentVersionMetadata_status :: Lens' DocumentVersionMetadata (Maybe DocumentStatusType) Source #
The status of the document.
documentVersionMetadata_thumbnail :: Lens' DocumentVersionMetadata (Maybe (HashMap DocumentThumbnailType Text)) Source #
The thumbnail of the document.