Struct aws_sdk_cloud9::operation::create_environment_membership::CreateEnvironmentMembershipInput
source · #[non_exhaustive]pub struct CreateEnvironmentMembershipInput {
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 that contains the environment member you want to add.
user_arn: Option<String>
The Amazon Resource Name (ARN) of the environment member you want to add.
permissions: Option<MemberPermissions>
The 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 CreateEnvironmentMembershipInput
impl CreateEnvironmentMembershipInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the environment that contains the environment member you want to add.
sourcepub fn user_arn(&self) -> Option<&str>
pub fn user_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the environment member you want to add.
sourcepub fn permissions(&self) -> Option<&MemberPermissions>
pub fn permissions(&self) -> Option<&MemberPermissions>
The 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 CreateEnvironmentMembershipInput
impl CreateEnvironmentMembershipInput
sourcepub fn builder() -> CreateEnvironmentMembershipInputBuilder
pub fn builder() -> CreateEnvironmentMembershipInputBuilder
Creates a new builder-style object to manufacture CreateEnvironmentMembershipInput
.
Trait Implementations§
source§impl Clone for CreateEnvironmentMembershipInput
impl Clone for CreateEnvironmentMembershipInput
source§fn clone(&self) -> CreateEnvironmentMembershipInput
fn clone(&self) -> CreateEnvironmentMembershipInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateEnvironmentMembershipInput
impl PartialEq for CreateEnvironmentMembershipInput
source§fn eq(&self, other: &CreateEnvironmentMembershipInput) -> bool
fn eq(&self, other: &CreateEnvironmentMembershipInput) -> bool
self
and other
values to be equal, and is used
by ==
.