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

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

Formats the value using the given formatter. Read more

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 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