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 DocumentMetadata = DocumentMetadata' {}
- newDocumentMetadata :: DocumentMetadata
- documentMetadata_latestVersionMetadata :: Lens' DocumentMetadata (Maybe DocumentVersionMetadata)
- documentMetadata_parentFolderId :: Lens' DocumentMetadata (Maybe Text)
- documentMetadata_modifiedTimestamp :: Lens' DocumentMetadata (Maybe UTCTime)
- documentMetadata_id :: Lens' DocumentMetadata (Maybe Text)
- documentMetadata_labels :: Lens' DocumentMetadata (Maybe [Text])
- documentMetadata_resourceState :: Lens' DocumentMetadata (Maybe ResourceStateType)
- documentMetadata_createdTimestamp :: Lens' DocumentMetadata (Maybe UTCTime)
- documentMetadata_creatorId :: Lens' DocumentMetadata (Maybe Text)
Documentation
data DocumentMetadata Source #
Describes the document.
See: newDocumentMetadata
smart constructor.
DocumentMetadata' | |
|
Instances
newDocumentMetadata :: DocumentMetadata Source #
Create a value of DocumentMetadata
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:latestVersionMetadata:DocumentMetadata'
, documentMetadata_latestVersionMetadata
- The latest version of the document.
$sel:parentFolderId:DocumentMetadata'
, documentMetadata_parentFolderId
- The ID of the parent folder.
$sel:modifiedTimestamp:DocumentMetadata'
, documentMetadata_modifiedTimestamp
- The time when the document was updated.
$sel:id:DocumentMetadata'
, documentMetadata_id
- The ID of the document.
$sel:labels:DocumentMetadata'
, documentMetadata_labels
- List of labels on the document.
$sel:resourceState:DocumentMetadata'
, documentMetadata_resourceState
- The resource state.
$sel:createdTimestamp:DocumentMetadata'
, documentMetadata_createdTimestamp
- The time when the document was created.
$sel:creatorId:DocumentMetadata'
, documentMetadata_creatorId
- The ID of the creator.
documentMetadata_latestVersionMetadata :: Lens' DocumentMetadata (Maybe DocumentVersionMetadata) Source #
The latest version of the document.
documentMetadata_parentFolderId :: Lens' DocumentMetadata (Maybe Text) Source #
The ID of the parent folder.
documentMetadata_modifiedTimestamp :: Lens' DocumentMetadata (Maybe UTCTime) Source #
The time when the document was updated.
documentMetadata_id :: Lens' DocumentMetadata (Maybe Text) Source #
The ID of the document.
documentMetadata_labels :: Lens' DocumentMetadata (Maybe [Text]) Source #
List of labels on the document.
documentMetadata_resourceState :: Lens' DocumentMetadata (Maybe ResourceStateType) Source #
The resource state.
documentMetadata_createdTimestamp :: Lens' DocumentMetadata (Maybe UTCTime) Source #
The time when the document was created.
documentMetadata_creatorId :: Lens' DocumentMetadata (Maybe Text) Source #
The ID of the creator.