libZSservicesZSamazonka-workdocsZSamazonka-workdocs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkDocs.Types.DocumentVersionMetadata

Description

 
Synopsis

Documentation

data DocumentVersionMetadata Source #

Describes a version of a document.

See: newDocumentVersionMetadata smart constructor.

Constructors

DocumentVersionMetadata' 

Fields

Instances

Instances details
Eq DocumentVersionMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.DocumentVersionMetadata

Show DocumentVersionMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.DocumentVersionMetadata

Generic DocumentVersionMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.DocumentVersionMetadata

Associated Types

type Rep DocumentVersionMetadata :: Type -> Type #

NFData DocumentVersionMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.DocumentVersionMetadata

Methods

rnf :: DocumentVersionMetadata -> () #

Hashable DocumentVersionMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.DocumentVersionMetadata

FromJSON DocumentVersionMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.DocumentVersionMetadata

type Rep DocumentVersionMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.DocumentVersionMetadata

type Rep DocumentVersionMetadata = D1 ('MetaData "DocumentVersionMetadata" "Amazonka.WorkDocs.Types.DocumentVersionMetadata" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DocumentVersionMetadata'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "thumbnail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap DocumentThumbnailType (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentStatusType)) :*: S1 ('MetaSel ('Just "signature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "contentCreatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "modifiedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap DocumentSourceType (Sensitive Text)))) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "contentModifiedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "creatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_contentCreatedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #

The timestamp when the content of the document was originally created.

documentVersionMetadata_modifiedTimestamp :: Lens' DocumentVersionMetadata (Maybe UTCTime) Source #

The timestamp when the document was last uploaded.

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.