Struct aws_sdk_opsworks::input::UpdateAppInput
source · [−]#[non_exhaustive]pub struct UpdateAppInput {
pub app_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub data_sources: Option<Vec<DataSource>>,
pub type: Option<AppType>,
pub app_source: Option<Source>,
pub domains: Option<Vec<String>>,
pub enable_ssl: Option<bool>,
pub ssl_configuration: Option<SslConfiguration>,
pub attributes: Option<HashMap<AppAttributesKeys, String>>,
pub environment: Option<Vec<EnvironmentVariable>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.app_id: Option<String>
The app ID.
name: Option<String>
The app name.
description: Option<String>
A description of the app.
data_sources: Option<Vec<DataSource>>
The app's data sources.
type: Option<AppType>
The app type.
app_source: Option<Source>
A Source
object that specifies the app repository.
domains: Option<Vec<String>>
The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
enable_ssl: Option<bool>
Whether SSL is enabled for the app.
ssl_configuration: Option<SslConfiguration>
An SslConfiguration
object with the SSL configuration.
attributes: Option<HashMap<AppAttributesKeys, String>>
One or more user-defined key/value pairs to be added to the stack attributes.
environment: Option<Vec<EnvironmentVariable>>
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.
Implementations
sourceimpl UpdateAppInput
impl UpdateAppInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateApp, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateApp, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateApp
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateAppInput
sourceimpl UpdateAppInput
impl UpdateAppInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the app.
sourcepub fn data_sources(&self) -> Option<&[DataSource]>
pub fn data_sources(&self) -> Option<&[DataSource]>
The app's data sources.
sourcepub fn app_source(&self) -> Option<&Source>
pub fn app_source(&self) -> Option<&Source>
A Source
object that specifies the app repository.
sourcepub fn domains(&self) -> Option<&[String]>
pub fn domains(&self) -> Option<&[String]>
The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
sourcepub fn enable_ssl(&self) -> Option<bool>
pub fn enable_ssl(&self) -> Option<bool>
Whether SSL is enabled for the app.
sourcepub fn ssl_configuration(&self) -> Option<&SslConfiguration>
pub fn ssl_configuration(&self) -> Option<&SslConfiguration>
An SslConfiguration
object with the SSL configuration.
sourcepub fn attributes(&self) -> Option<&HashMap<AppAttributesKeys, String>>
pub fn attributes(&self) -> Option<&HashMap<AppAttributesKeys, String>>
One or more user-defined key/value pairs to be added to the stack attributes.
sourcepub fn environment(&self) -> Option<&[EnvironmentVariable]>
pub fn environment(&self) -> Option<&[EnvironmentVariable]>
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
sourceimpl Clone for UpdateAppInput
impl Clone for UpdateAppInput
sourcefn clone(&self) -> UpdateAppInput
fn clone(&self) -> UpdateAppInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateAppInput
impl Debug for UpdateAppInput
sourceimpl PartialEq<UpdateAppInput> for UpdateAppInput
impl PartialEq<UpdateAppInput> for UpdateAppInput
sourcefn eq(&self, other: &UpdateAppInput) -> bool
fn eq(&self, other: &UpdateAppInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateAppInput) -> bool
fn ne(&self, other: &UpdateAppInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateAppInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateAppInput
impl Send for UpdateAppInput
impl Sync for UpdateAppInput
impl Unpin for UpdateAppInput
impl UnwindSafe for UpdateAppInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more