Struct aws_sdk_wisdom::input::CreateContentInput [−][src]
#[non_exhaustive]pub struct CreateContentInput {
pub knowledge_base_id: Option<String>,
pub name: Option<String>,
pub title: Option<String>,
pub override_link_out_uri: Option<String>,
pub metadata: Option<HashMap<String, String>>,
pub upload_id: Option<String>,
pub client_token: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
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.knowledge_base_id: Option<String>
The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
name: Option<String>
The name of the content. Each piece of content in a knowledge base must have a unique name. You can retrieve a piece of content using only its knowledge base and its name with the SearchContent API.
title: Option<String>
The title of the content. If not set, the title is equal to the name.
override_link_out_uri: Option<String>
The URI you want to use for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of 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.
upload_id: Option<String>
A pointer to the uploaded asset. This value is returned by StartContentUpload.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The tags used to organize, track, or control access for this resource.
Implementations
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateContent, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateContent, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateContent
>
Creates a new builder-style object to manufacture CreateContentInput
The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
The name of the content. Each piece of content in a knowledge base must have a unique name. You can retrieve a piece of content using only its knowledge base and its name with the SearchContent API.
The title of the content. If not set, the title is equal to the name.
The URI you want to use for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of 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.
A pointer to the uploaded asset. This value is returned by StartContentUpload.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The tags used to organize, track, or control access for this resource.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateContentInput
impl Send for CreateContentInput
impl Sync for CreateContentInput
impl Unpin for CreateContentInput
impl UnwindSafe for CreateContentInput
Blanket Implementations
Mutably borrows from an owned value. Read more
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