#[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 ==
.impl StructuralPartialEq for UpdateEnvironmentInput
Auto Trait Implementations§
impl Freeze for UpdateEnvironmentInput
impl RefUnwindSafe for UpdateEnvironmentInput
impl Send for UpdateEnvironmentInput
impl Sync for UpdateEnvironmentInput
impl Unpin for UpdateEnvironmentInput
impl UnwindSafe for UpdateEnvironmentInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more