amazonka-wisdom-2.0: Amazon Connect Wisdom Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Wisdom.Types.ContentData

Description

 
Synopsis

Documentation

data ContentData Source #

Information about the content.

See: newContentData smart constructor.

Constructors

ContentData' 

Fields

Instances

Instances details
FromJSON ContentData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentData

Generic ContentData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentData

Associated Types

type Rep ContentData :: Type -> Type #

Show ContentData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentData

NFData ContentData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentData

Methods

rnf :: ContentData -> () #

Eq ContentData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentData

Hashable ContentData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentData

type Rep ContentData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentData

type Rep ContentData = D1 ('MetaData "ContentData" "Amazonka.Wisdom.Types.ContentData" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "ContentData'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "linkOutUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "contentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "contentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "knowledgeBaseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "knowledgeBaseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContentStatus) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "urlExpiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))))

newContentData Source #

Create a value of ContentData 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:linkOutUri:ContentData', contentData_linkOutUri - The URI of the content.

$sel:tags:ContentData', contentData_tags - The tags used to organize, track, or control access for this resource.

$sel:contentArn:ContentData', contentData_contentArn - The Amazon Resource Name (ARN) of the content.

$sel:contentId:ContentData', contentData_contentId - The identifier of the content.

$sel:contentType:ContentData', contentData_contentType - The media type of the content.

$sel:knowledgeBaseArn:ContentData', contentData_knowledgeBaseArn - The Amazon Resource Name (ARN) of the knowledge base.

$sel:knowledgeBaseId:ContentData', contentData_knowledgeBaseId - The identifier of the knowledge base.

$sel:metadata:ContentData', contentData_metadata - A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.

$sel:name:ContentData', contentData_name - The name of the content.

$sel:revisionId:ContentData', contentData_revisionId - The identifier of the content revision.

$sel:status:ContentData', contentData_status - The status of the content.

$sel:title:ContentData', contentData_title - The title of the content.

$sel:url:ContentData', contentData_url - The URL of the content.

$sel:urlExpiry:ContentData', contentData_urlExpiry - The expiration time of the URL as an epoch timestamp.

contentData_tags :: Lens' ContentData (Maybe (HashMap Text Text)) Source #

The tags used to organize, track, or control access for this resource.

contentData_contentArn :: Lens' ContentData Text Source #

The Amazon Resource Name (ARN) of the content.

contentData_contentId :: Lens' ContentData Text Source #

The identifier of the content.

contentData_contentType :: Lens' ContentData Text Source #

The media type of the content.

contentData_knowledgeBaseArn :: Lens' ContentData Text Source #

The Amazon Resource Name (ARN) of the knowledge base.

contentData_knowledgeBaseId :: Lens' ContentData Text Source #

The identifier of the knowledge base.

contentData_metadata :: Lens' ContentData (HashMap Text Text) Source #

A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.

contentData_name :: Lens' ContentData Text Source #

The name of the content.

contentData_revisionId :: Lens' ContentData Text Source #

The identifier of the content revision.

contentData_title :: Lens' ContentData Text Source #

The title of the content.

contentData_url :: Lens' ContentData Text Source #

The URL of the content.

contentData_urlExpiry :: Lens' ContentData UTCTime Source #

The expiration time of the URL as an epoch timestamp.