Struct aws_sdk_cloud9::operation::update_environment_membership::UpdateEnvironmentMembershipInput
source · #[non_exhaustive]pub struct UpdateEnvironmentMembershipInput {
pub environment_id: Option<String>,
pub user_arn: Option<String>,
pub permissions: Option<MemberPermissions>,
}
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 for the environment member whose settings you want to change.
user_arn: Option<String>
The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
permissions: Option<MemberPermissions>
The replacement type of environment member permissions you want to associate with this environment member. Available values include:
-
read-only
: Has read-only access to the environment. -
read-write
: Has read-write access to the environment.
Implementations§
source§impl UpdateEnvironmentMembershipInput
impl UpdateEnvironmentMembershipInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the environment for the environment member whose settings you want to change.
sourcepub fn user_arn(&self) -> Option<&str>
pub fn user_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
sourcepub fn permissions(&self) -> Option<&MemberPermissions>
pub fn permissions(&self) -> Option<&MemberPermissions>
The replacement type of environment member permissions you want to associate with this environment member. Available values include:
-
read-only
: Has read-only access to the environment. -
read-write
: Has read-write access to the environment.
source§impl UpdateEnvironmentMembershipInput
impl UpdateEnvironmentMembershipInput
sourcepub fn builder() -> UpdateEnvironmentMembershipInputBuilder
pub fn builder() -> UpdateEnvironmentMembershipInputBuilder
Creates a new builder-style object to manufacture UpdateEnvironmentMembershipInput
.
Trait Implementations§
source§impl Clone for UpdateEnvironmentMembershipInput
impl Clone for UpdateEnvironmentMembershipInput
source§fn clone(&self) -> UpdateEnvironmentMembershipInput
fn clone(&self) -> UpdateEnvironmentMembershipInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateEnvironmentMembershipInput
impl PartialEq for UpdateEnvironmentMembershipInput
source§fn eq(&self, other: &UpdateEnvironmentMembershipInput) -> bool
fn eq(&self, other: &UpdateEnvironmentMembershipInput) -> bool
self
and other
values to be equal, and is used
by ==
.