Struct aws_sdk_wisdom::client::fluent_builders::CreateContent [−][src]
pub struct CreateContent<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateContent
.
Creates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.
Implementations
impl<C, M, R> CreateContent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateContent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateContentOutput, SdkError<CreateContentError>> where
R::Policy: SmithyRetryPolicy<CreateContentInputOperationOutputAlias, CreateContentOutput, CreateContentError, CreateContentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateContentOutput, SdkError<CreateContentError>> where
R::Policy: SmithyRetryPolicy<CreateContentInputOperationOutputAlias, CreateContentOutput, CreateContentError, CreateContentInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
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 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 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.
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.
Adds a key-value pair to metadata
.
To override the contents of this collection use set_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.
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 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.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateContent<C, M, R>
impl<C, M, R> Unpin for CreateContent<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateContent<C, M, R>
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