Struct aws_sdk_connect::client::fluent_builders::CreateAgentStatus
source · [−]pub struct CreateAgentStatus<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAgentStatus
.
This API is in preview release for Amazon Connect and is subject to change.
Creates an agent status for the specified Amazon Connect instance.
Implementations
impl<C, M, R> CreateAgentStatus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateAgentStatus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateAgentStatusOutput, SdkError<CreateAgentStatusError>> where
R::Policy: SmithyRetryPolicy<CreateAgentStatusInputOperationOutputAlias, CreateAgentStatusOutput, CreateAgentStatusError, CreateAgentStatusInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateAgentStatusOutput, SdkError<CreateAgentStatusError>> where
R::Policy: SmithyRetryPolicy<CreateAgentStatusInputOperationOutputAlias, CreateAgentStatusOutput, CreateAgentStatusError, CreateAgentStatusInputOperationRetryAlias>,
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 identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
The description of the status.
The description of the status.
The state of the status.
The state of the status.
The display order of the status.
The display order of the status.
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 = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateAgentStatus<C, M, R>
impl<C, M, R> Send for CreateAgentStatus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateAgentStatus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateAgentStatus<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateAgentStatus<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