Struct aws_sdk_qconnect::types::ContentSummary
source · #[non_exhaustive]pub struct ContentSummary {
pub content_arn: String,
pub content_id: String,
pub knowledge_base_arn: String,
pub knowledge_base_id: String,
pub name: String,
pub revision_id: String,
pub title: String,
pub content_type: String,
pub status: ContentStatus,
pub metadata: HashMap<String, String>,
pub tags: Option<HashMap<String, String>>,
}Expand description
Summary information about the content.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.content_arn: StringThe Amazon Resource Name (ARN) of the content.
content_id: StringThe identifier of the content.
knowledge_base_arn: StringThe Amazon Resource Name (ARN) of the knowledge base.
knowledge_base_id: StringThe identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.
name: StringThe name of the content.
revision_id: StringThe identifier of the revision of the content.
title: StringThe title of the content.
content_type: StringThe media type of the content.
status: ContentStatusThe status of the content.
metadata: HashMap<String, String>A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q, you can store an external version identifier as metadata to utilize for determining drift.
The tags used to organize, track, or control access for this resource.
Implementations§
source§impl ContentSummary
impl ContentSummary
sourcepub fn content_arn(&self) -> &str
pub fn content_arn(&self) -> &str
The Amazon Resource Name (ARN) of the content.
sourcepub fn content_id(&self) -> &str
pub fn content_id(&self) -> &str
The identifier of the content.
sourcepub fn knowledge_base_arn(&self) -> &str
pub fn knowledge_base_arn(&self) -> &str
The Amazon Resource Name (ARN) of the knowledge base.
sourcepub fn knowledge_base_id(&self) -> &str
pub fn knowledge_base_id(&self) -> &str
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.
sourcepub fn revision_id(&self) -> &str
pub fn revision_id(&self) -> &str
The identifier of the revision of the content.
sourcepub fn content_type(&self) -> &str
pub fn content_type(&self) -> &str
The media type of the content.
sourcepub fn status(&self) -> &ContentStatus
pub fn status(&self) -> &ContentStatus
The status of the content.
sourcepub fn metadata(&self) -> &HashMap<String, String>
pub fn metadata(&self) -> &HashMap<String, String>
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q, you can store an external version identifier as metadata to utilize for determining drift.
The tags used to organize, track, or control access for this resource.
source§impl ContentSummary
impl ContentSummary
sourcepub fn builder() -> ContentSummaryBuilder
pub fn builder() -> ContentSummaryBuilder
Creates a new builder-style object to manufacture ContentSummary.
Trait Implementations§
source§impl Clone for ContentSummary
impl Clone for ContentSummary
source§fn clone(&self) -> ContentSummary
fn clone(&self) -> ContentSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ContentSummary
impl Debug for ContentSummary
source§impl PartialEq for ContentSummary
impl PartialEq for ContentSummary
source§fn eq(&self, other: &ContentSummary) -> bool
fn eq(&self, other: &ContentSummary) -> bool
self and other values to be equal, and is used
by ==.