Struct aws_sdk_mturk::client::fluent_builders::DeleteQualificationType [−][src]
pub struct DeleteQualificationType<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteQualificationType
.
The DeleteQualificationType
deletes a Qualification type and deletes any HIT types that are associated with the Qualification type.
This operation does not revoke Qualifications already assigned to Workers because the Qualifications might be needed for active HITs. If there are any pending requests for the Qualification type, Amazon Mechanical Turk rejects those requests. After you delete a Qualification type, you can no longer use it to create HITs or HIT types.
DeleteQualificationType must wait for all the HITs that use the deleted Qualification type to be deleted before completing. It may take up to 48 hours before DeleteQualificationType completes and the unique name of the Qualification type is available for reuse with CreateQualificationType.
Implementations
impl<C, M, R> DeleteQualificationType<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteQualificationType<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteQualificationTypeOutput, SdkError<DeleteQualificationTypeError>> where
R::Policy: SmithyRetryPolicy<DeleteQualificationTypeInputOperationOutputAlias, DeleteQualificationTypeOutput, DeleteQualificationTypeError, DeleteQualificationTypeInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteQualificationTypeOutput, SdkError<DeleteQualificationTypeError>> where
R::Policy: SmithyRetryPolicy<DeleteQualificationTypeInputOperationOutputAlias, DeleteQualificationTypeOutput, DeleteQualificationTypeError, DeleteQualificationTypeInputOperationRetryAlias>,
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 QualificationType to dispose.
The ID of the QualificationType to dispose.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteQualificationType<C, M, R>
impl<C, M, R> Send for DeleteQualificationType<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteQualificationType<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteQualificationType<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteQualificationType<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