Struct aws_sdk_m2::client::fluent_builders::UpdateApplication
source · pub struct UpdateApplication { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateApplication.
Updates an application and creates a new version.
Implementations§
source§impl UpdateApplication
impl UpdateApplication
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateApplication, AwsResponseRetryClassifier>, SdkError<UpdateApplicationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateApplication, AwsResponseRetryClassifier>, SdkError<UpdateApplicationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError>>
pub async fn send(
self
) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError>>
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.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The unique identifier of the application you want to update.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The unique identifier of the application you want to update.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the application to update.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the application to update.
sourcepub fn current_application_version(self, input: i32) -> Self
pub fn current_application_version(self, input: i32) -> Self
The current version of the application to update.
sourcepub fn set_current_application_version(self, input: Option<i32>) -> Self
pub fn set_current_application_version(self, input: Option<i32>) -> Self
The current version of the application to update.
sourcepub fn definition(self, input: Definition) -> Self
pub fn definition(self, input: Definition) -> Self
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
sourcepub fn set_definition(self, input: Option<Definition>) -> Self
pub fn set_definition(self, input: Option<Definition>) -> Self
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
Trait Implementations§
source§impl Clone for UpdateApplication
impl Clone for UpdateApplication
source§fn clone(&self) -> UpdateApplication
fn clone(&self) -> UpdateApplication
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more