#[non_exhaustive]pub struct UpdateApplicationInput { /* private fields */ }Implementations§
source§impl UpdateApplicationInput
impl UpdateApplicationInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateApplication, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateApplication, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateApplication>
Examples found in repository?
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateApplication,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateApplicationError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateApplicationOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateApplicationError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateApplicationInput.
source§impl UpdateApplicationInput
impl UpdateApplicationInput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The ID of the application to update.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The client idempotency token of the application to update. Its value must be unique for each request.
sourcepub fn initial_capacity(
&self
) -> Option<&HashMap<String, InitialCapacityConfig>>
pub fn initial_capacity(
&self
) -> Option<&HashMap<String, InitialCapacityConfig>>
The capacity to initialize when the application is updated.
sourcepub fn maximum_capacity(&self) -> Option<&MaximumAllowedResources>
pub fn maximum_capacity(&self) -> Option<&MaximumAllowedResources>
The maximum capacity to allocate when the application is updated. This is cumulative across all workers at any given point in time during the lifespan of the application. No new resources will be created once any one of the defined limits is hit.
sourcepub fn auto_start_configuration(&self) -> Option<&AutoStartConfig>
pub fn auto_start_configuration(&self) -> Option<&AutoStartConfig>
The configuration for an application to automatically start on job submission.
sourcepub fn auto_stop_configuration(&self) -> Option<&AutoStopConfig>
pub fn auto_stop_configuration(&self) -> Option<&AutoStopConfig>
The configuration for an application to automatically stop after a certain amount of time being idle.
sourcepub fn network_configuration(&self) -> Option<&NetworkConfiguration>
pub fn network_configuration(&self) -> Option<&NetworkConfiguration>
The network configuration for customer VPC connectivity.
Trait Implementations§
source§impl Clone for UpdateApplicationInput
impl Clone for UpdateApplicationInput
source§fn clone(&self) -> UpdateApplicationInput
fn clone(&self) -> UpdateApplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more