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 ==.impl StructuralPartialEq for CreateEnvironmentMembershipInput
Auto Trait Implementations§
impl Freeze for CreateEnvironmentMembershipInput
impl RefUnwindSafe for CreateEnvironmentMembershipInput
impl Send for CreateEnvironmentMembershipInput
impl Sync for CreateEnvironmentMembershipInput
impl Unpin for CreateEnvironmentMembershipInput
impl UnwindSafe for CreateEnvironmentMembershipInput
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