#[non_exhaustive]pub struct AssociateTeamMemberInput {
pub project_id: Option<String>,
pub client_request_token: Option<String>,
pub user_arn: Option<String>,
pub project_role: Option<String>,
pub remote_access_allowed: Option<bool>,
}
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.project_id: Option<String>
The ID of the project to which you will add the IAM user.
client_request_token: Option<String>
A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.
user_arn: Option<String>
The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.
project_role: Option<String>
The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.
remote_access_allowed: Option<bool>
Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.
Implementations§
source§impl AssociateTeamMemberInput
impl AssociateTeamMemberInput
sourcepub fn project_id(&self) -> Option<&str>
pub fn project_id(&self) -> Option<&str>
The ID of the project to which you will add the IAM user.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.
sourcepub fn user_arn(&self) -> Option<&str>
pub fn user_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.
sourcepub fn project_role(&self) -> Option<&str>
pub fn project_role(&self) -> Option<&str>
The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.
sourcepub fn remote_access_allowed(&self) -> Option<bool>
pub fn remote_access_allowed(&self) -> Option<bool>
Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.
source§impl AssociateTeamMemberInput
impl AssociateTeamMemberInput
sourcepub fn builder() -> AssociateTeamMemberInputBuilder
pub fn builder() -> AssociateTeamMemberInputBuilder
Creates a new builder-style object to manufacture AssociateTeamMemberInput
.
Trait Implementations§
source§impl Clone for AssociateTeamMemberInput
impl Clone for AssociateTeamMemberInput
source§fn clone(&self) -> AssociateTeamMemberInput
fn clone(&self) -> AssociateTeamMemberInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssociateTeamMemberInput
impl Debug for AssociateTeamMemberInput
source§impl PartialEq for AssociateTeamMemberInput
impl PartialEq for AssociateTeamMemberInput
source§fn eq(&self, other: &AssociateTeamMemberInput) -> bool
fn eq(&self, other: &AssociateTeamMemberInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateTeamMemberInput
Auto Trait Implementations§
impl Freeze for AssociateTeamMemberInput
impl RefUnwindSafe for AssociateTeamMemberInput
impl Send for AssociateTeamMemberInput
impl Sync for AssociateTeamMemberInput
impl Unpin for AssociateTeamMemberInput
impl UnwindSafe for AssociateTeamMemberInput
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