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 ContentData = ContentData' {
- linkOutUri :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- contentArn :: Text
- contentId :: Text
- contentType :: Text
- knowledgeBaseArn :: Text
- knowledgeBaseId :: Text
- metadata :: HashMap Text Text
- name :: Text
- revisionId :: Text
- status :: ContentStatus
- title :: Text
- url :: Sensitive Text
- urlExpiry :: POSIX
- newContentData :: Text -> Text -> Text -> Text -> Text -> Text -> Text -> ContentStatus -> Text -> Text -> UTCTime -> ContentData
- contentData_linkOutUri :: Lens' ContentData (Maybe Text)
- contentData_tags :: Lens' ContentData (Maybe (HashMap Text Text))
- contentData_contentArn :: Lens' ContentData Text
- contentData_contentId :: Lens' ContentData Text
- contentData_contentType :: Lens' ContentData Text
- contentData_knowledgeBaseArn :: Lens' ContentData Text
- contentData_knowledgeBaseId :: Lens' ContentData Text
- contentData_metadata :: Lens' ContentData (HashMap Text Text)
- contentData_name :: Lens' ContentData Text
- contentData_revisionId :: Lens' ContentData Text
- contentData_status :: Lens' ContentData ContentStatus
- contentData_title :: Lens' ContentData Text
- contentData_url :: Lens' ContentData Text
- contentData_urlExpiry :: Lens' ContentData UTCTime
Documentation
data ContentData Source #
Information about the content.
See: newContentData
smart constructor.
ContentData' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> ContentStatus | |
-> Text | |
-> Text | |
-> UTCTime | |
-> ContentData |
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 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_linkOutUri :: Lens' ContentData (Maybe Text) Source #
The URI of the content.
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 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_status :: Lens' ContentData ContentStatus Source #
The status of the content.
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.