Struct aws_sdk_greengrassv2::client::fluent_builders::DeleteComponent [−][src]
pub struct DeleteComponent<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteComponent
.
Deletes a version of a component from IoT Greengrass.
This operation deletes the component's recipe and artifacts. As a result, deployments that refer to this component version will fail. If you have deployments that use this component version, you can remove the component from the deployment or update the deployment to use a valid version.
Implementations
impl<C, M, R> DeleteComponent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteComponent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteComponentOutput, SdkError<DeleteComponentError>> where
R::Policy: SmithyRetryPolicy<DeleteComponentInputOperationOutputAlias, DeleteComponentOutput, DeleteComponentError, DeleteComponentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteComponentOutput, SdkError<DeleteComponentError>> where
R::Policy: SmithyRetryPolicy<DeleteComponentInputOperationOutputAlias, DeleteComponentOutput, DeleteComponentError, DeleteComponentInputOperationRetryAlias>,
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteComponent<C, M, R>
impl<C, M, R> Send for DeleteComponent<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteComponent<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteComponent<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteComponent<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