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