#[non_exhaustive]pub struct UpdateEnvironmentInput {
pub environment_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub managed_credentials_action: Option<ManagedCredentialsAction>,
}
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.environment_id: Option<String>
The ID of the environment to change settings.
name: Option<String>
A replacement name for the environment.
description: Option<String>
Any new or replacement description for the environment.
managed_credentials_action: Option<ManagedCredentialsAction>
Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
-
ENABLE
-
DISABLE
Only the environment owner can change the status of managed temporary credentials. An AccessDeniedException
is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.
Implementations§
source§impl UpdateEnvironmentInput
impl UpdateEnvironmentInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the environment to change settings.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Any new or replacement description for the environment.
sourcepub fn managed_credentials_action(&self) -> Option<&ManagedCredentialsAction>
pub fn managed_credentials_action(&self) -> Option<&ManagedCredentialsAction>
Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
-
ENABLE
-
DISABLE
Only the environment owner can change the status of managed temporary credentials. An AccessDeniedException
is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.
source§impl UpdateEnvironmentInput
impl UpdateEnvironmentInput
sourcepub fn builder() -> UpdateEnvironmentInputBuilder
pub fn builder() -> UpdateEnvironmentInputBuilder
Creates a new builder-style object to manufacture UpdateEnvironmentInput
.
Trait Implementations§
source§impl Clone for UpdateEnvironmentInput
impl Clone for UpdateEnvironmentInput
source§fn clone(&self) -> UpdateEnvironmentInput
fn clone(&self) -> UpdateEnvironmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateEnvironmentInput
impl Debug for UpdateEnvironmentInput
source§impl PartialEq for UpdateEnvironmentInput
impl PartialEq for UpdateEnvironmentInput
source§fn eq(&self, other: &UpdateEnvironmentInput) -> bool
fn eq(&self, other: &UpdateEnvironmentInput) -> bool
self
and other
values to be equal, and is used
by ==
.