Struct aws_sdk_proton::client::fluent_builders::UpdateServiceTemplateVersion [−][src]
pub struct UpdateServiceTemplateVersion<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to UpdateServiceTemplateVersion.
Update a major or minor version of a service template.
Implementations
impl<C, M, R> UpdateServiceTemplateVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateServiceTemplateVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateServiceTemplateVersionOutput, SdkError<UpdateServiceTemplateVersionError>> where
R::Policy: SmithyRetryPolicy<UpdateServiceTemplateVersionInputOperationOutputAlias, UpdateServiceTemplateVersionOutput, UpdateServiceTemplateVersionError, UpdateServiceTemplateVersionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateServiceTemplateVersionOutput, SdkError<UpdateServiceTemplateVersionError>> where
R::Policy: SmithyRetryPolicy<UpdateServiceTemplateVersionInputOperationOutputAlias, UpdateServiceTemplateVersionOutput, UpdateServiceTemplateVersionError, UpdateServiceTemplateVersionInputOperationRetryAlias>,
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.
To update a major version of a service template, include major Version.
To update a major version of a service template, include major Version.
To update a minor version of a service template, include minorVersion.
To update a minor version of a service template, include minorVersion.
A description of a service template version to update.
A description of a service template version to update.
The status of the service template minor version to update.
The status of the service template minor version to update.
pub fn compatible_environment_templates(
self,
input: CompatibleEnvironmentTemplateInput
) -> Self
pub fn compatible_environment_templates(
self,
input: CompatibleEnvironmentTemplateInput
) -> Self
Appends an item to compatibleEnvironmentTemplates.
To override the contents of this collection use set_compatible_environment_templates.
An array of compatible environment names for a service template major or minor version to update.
pub fn set_compatible_environment_templates(
self,
input: Option<Vec<CompatibleEnvironmentTemplateInput>>
) -> Self
pub fn set_compatible_environment_templates(
self,
input: Option<Vec<CompatibleEnvironmentTemplateInput>>
) -> Self
An array of compatible environment names for a service template major or minor version to update.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateServiceTemplateVersion<C, M, R>
impl<C, M, R> Send for UpdateServiceTemplateVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateServiceTemplateVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateServiceTemplateVersion<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateServiceTemplateVersion<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
