Struct aws_sdk_opsworks::client::fluent_builders::UpdateApp
source · [−]pub struct UpdateApp<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateApp
.
Updates a specified app.
Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Implementations
impl<C, M, R> UpdateApp<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateApp<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<UpdateAppOutput, SdkError<UpdateAppError>> where
R::Policy: SmithyRetryPolicy<UpdateAppInputOperationOutputAlias, UpdateAppOutput, UpdateAppError, UpdateAppInputOperationRetryAlias>,
pub async fn send(self) -> Result<UpdateAppOutput, SdkError<UpdateAppError>> where
R::Policy: SmithyRetryPolicy<UpdateAppInputOperationOutputAlias, UpdateAppOutput, UpdateAppError, UpdateAppInputOperationRetryAlias>,
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 app ID.
A description of the app.
A description of the app.
Appends an item to DataSources
.
To override the contents of this collection use set_data_sources
.
The app's data sources.
The app's data sources.
A Source
object that specifies the app repository.
A Source
object that specifies the app repository.
Appends an item to Domains
.
To override the contents of this collection use set_domains
.
The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
Whether SSL is enabled for the app.
Whether SSL is enabled for the app.
An SslConfiguration
object with the SSL configuration.
An SslConfiguration
object with the SSL configuration.
Adds a key-value pair to Attributes
.
To override the contents of this collection use set_attributes
.
One or more user-defined key/value pairs to be added to the stack attributes.
One or more user-defined key/value pairs to be added to the stack attributes.
Appends an item to Environment
.
To override the contents of this collection use set_environment
.
An array of EnvironmentVariable
objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances.For more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 20 KB)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
An array of EnvironmentVariable
objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances.For more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 20 KB)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateApp<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateApp<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