Struct aws_sdk_codestar::input::AssociateTeamMemberInput
source · [−]#[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
sourceimpl AssociateTeamMemberInput
impl AssociateTeamMemberInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssociateTeamMember, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssociateTeamMember, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AssociateTeamMember
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AssociateTeamMemberInput
.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for AssociateTeamMemberInput
impl Clone for AssociateTeamMemberInput
sourcefn clone(&self) -> AssociateTeamMemberInput
fn clone(&self) -> AssociateTeamMemberInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AssociateTeamMemberInput
impl Debug for AssociateTeamMemberInput
sourceimpl PartialEq<AssociateTeamMemberInput> for AssociateTeamMemberInput
impl PartialEq<AssociateTeamMemberInput> for AssociateTeamMemberInput
sourcefn eq(&self, other: &AssociateTeamMemberInput) -> bool
fn eq(&self, other: &AssociateTeamMemberInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AssociateTeamMemberInput) -> bool
fn ne(&self, other: &AssociateTeamMemberInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for AssociateTeamMemberInput
Auto Trait Implementations
impl RefUnwindSafe for AssociateTeamMemberInput
impl Send for AssociateTeamMemberInput
impl Sync for AssociateTeamMemberInput
impl Unpin for AssociateTeamMemberInput
impl UnwindSafe for AssociateTeamMemberInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more