Struct aws_sdk_wisdom::client::fluent_builders::CreateSession [−][src]
pub struct CreateSession<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateSession
.
Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled.
Implementations
impl<C, M, R> CreateSession<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateSession<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateSessionOutput, SdkError<CreateSessionError>> where
R::Policy: SmithyRetryPolicy<CreateSessionInputOperationOutputAlias, CreateSessionOutput, CreateSessionError, CreateSessionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateSessionOutput, SdkError<CreateSessionError>> where
R::Policy: SmithyRetryPolicy<CreateSessionInputOperationOutputAlias, CreateSessionOutput, CreateSessionError, CreateSessionInputOperationRetryAlias>,
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.
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.
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
The description.
The description.
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 CreateSession<C, M, R>
impl<C, M, R> Unpin for CreateSession<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateSession<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