Struct aws_sdk_mturk::client::fluent_builders::AssociateQualificationWithWorker [−][src]
pub struct AssociateQualificationWithWorker<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssociateQualificationWithWorker
.
The AssociateQualificationWithWorker
operation gives a Worker a Qualification. AssociateQualificationWithWorker
does not require that the Worker submit a Qualification request. It gives the Qualification directly to the Worker.
You can only assign a Qualification of a Qualification type that you created (using the CreateQualificationType
operation).
Note: AssociateQualificationWithWorker
does not affect any pending Qualification requests for the Qualification by the Worker. If you assign a Qualification to a Worker, then later grant a Qualification request made by the Worker, the granting of the request may modify the Qualification score. To resolve a pending Qualification request without affecting the Qualification the Worker already has, reject the request with the RejectQualificationRequest
operation.
Implementations
impl<C, M, R> AssociateQualificationWithWorker<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateQualificationWithWorker<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateQualificationWithWorkerOutput, SdkError<AssociateQualificationWithWorkerError>> where
R::Policy: SmithyRetryPolicy<AssociateQualificationWithWorkerInputOperationOutputAlias, AssociateQualificationWithWorkerOutput, AssociateQualificationWithWorkerError, AssociateQualificationWithWorkerInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateQualificationWithWorkerOutput, SdkError<AssociateQualificationWithWorkerError>> where
R::Policy: SmithyRetryPolicy<AssociateQualificationWithWorkerInputOperationOutputAlias, AssociateQualificationWithWorkerOutput, AssociateQualificationWithWorkerError, AssociateQualificationWithWorkerInputOperationRetryAlias>,
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 ID of the Qualification type to use for the assigned Qualification.
The ID of the Qualification type to use for the assigned Qualification.
The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.
The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.
The value of the Qualification to assign.
The value of the Qualification to assign.
Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.
Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AssociateQualificationWithWorker<C, M, R>
impl<C, M, R> Send for AssociateQualificationWithWorker<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateQualificationWithWorker<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateQualificationWithWorker<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AssociateQualificationWithWorker<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