Struct aws_sdk_proton::client::fluent_builders::DeleteServiceTemplateVersion [−][src]
pub struct DeleteServiceTemplateVersion<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DeleteServiceTemplateVersion.
If no other minor versions of a service template exist, delete a major version of the service template if it's not the Recommended version. Delete the Recommended version of the service template if no other major versions or minor versions of the service template exist. A major version of a service template is a version that isn't backwards compatible.
Delete a minor version of a service template if it's not the Recommended version. Delete a Recommended minor version of the service template if no other minor versions of the service template exist. A minor version of a service template is a version that's backwards compatible.
Implementations
impl<C, M, R> DeleteServiceTemplateVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteServiceTemplateVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteServiceTemplateVersionOutput, SdkError<DeleteServiceTemplateVersionError>> where
R::Policy: SmithyRetryPolicy<DeleteServiceTemplateVersionInputOperationOutputAlias, DeleteServiceTemplateVersionOutput, DeleteServiceTemplateVersionError, DeleteServiceTemplateVersionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteServiceTemplateVersionOutput, SdkError<DeleteServiceTemplateVersionError>> where
R::Policy: SmithyRetryPolicy<DeleteServiceTemplateVersionInputOperationOutputAlias, DeleteServiceTemplateVersionOutput, DeleteServiceTemplateVersionError, DeleteServiceTemplateVersionInputOperationRetryAlias>,
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 name of the service template.
The name of the service template.
The service template major version to delete.
The service template major version to delete.
The service template minor version to delete.
The service template minor version to delete.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteServiceTemplateVersion<C, M, R>
impl<C, M, R> Send for DeleteServiceTemplateVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteServiceTemplateVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteServiceTemplateVersion<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteServiceTemplateVersion<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
