Struct aws_sdk_wisdom::model::ContentData[][src]

#[non_exhaustive]
pub struct ContentData {
Show 14 fields pub content_arn: Option<String>, pub content_id: Option<String>, pub knowledge_base_arn: Option<String>, pub knowledge_base_id: Option<String>, pub name: Option<String>, pub revision_id: Option<String>, pub title: Option<String>, pub content_type: Option<String>, pub status: Option<ContentStatus>, pub metadata: Option<HashMap<String, String>>, pub tags: Option<HashMap<String, String>>, pub link_out_uri: Option<String>, pub url: Option<String>, pub url_expiry: Option<DateTime>,
}
Expand description

Information about the content.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
content_arn: Option<String>

The Amazon Resource Name (ARN) of the content.

content_id: Option<String>

The identifier of the content.

knowledge_base_arn: Option<String>

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

knowledge_base_id: Option<String>

The the identifier of the knowledge base.

name: Option<String>

The name of the content.

revision_id: Option<String>

The identifier of the content revision.

title: Option<String>

The title of the content.

content_type: Option<String>

The media type of the content.

status: Option<ContentStatus>

The status of the content.

metadata: Option<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 Wisdom, you can store an external version identifier as metadata to utilize for determining drift.

tags: Option<HashMap<String, String>>

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

link_out_uri: Option<String>

The URI of the content.

url: Option<String>

The URL of the content.

url_expiry: Option<DateTime>

The expiration time of the URL as an epoch timestamp.

Implementations

The Amazon Resource Name (ARN) of the content.

The identifier of the content.

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

The the identifier of the knowledge base.

The name of the content.

The identifier of the content revision.

The title of the content.

The media type of the content.

The status of the content.

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.

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

The URI of the content.

The URL of the content.

The expiration time of the URL as an epoch timestamp.

Creates a new builder-style object to manufacture ContentData

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more