Struct aws_sdk_codestar::input::UpdateTeamMemberInput
source · [−]#[non_exhaustive]pub struct UpdateTeamMemberInput {
pub project_id: 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.
user_arn: Option<String>
The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.
project_role: Option<String>
The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.
remote_access_allowed: Option<bool>
Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.
Implementations
sourceimpl UpdateTeamMemberInput
impl UpdateTeamMemberInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTeamMember, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTeamMember, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateTeamMember
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateTeamMemberInput
.
sourceimpl UpdateTeamMemberInput
impl UpdateTeamMemberInput
sourcepub fn project_id(&self) -> Option<&str>
pub fn project_id(&self) -> Option<&str>
The ID of the project.
sourcepub fn user_arn(&self) -> Option<&str>
pub fn user_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.
sourcepub fn project_role(&self) -> Option<&str>
pub fn project_role(&self) -> Option<&str>
The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.
sourcepub fn remote_access_allowed(&self) -> Option<bool>
pub fn remote_access_allowed(&self) -> Option<bool>
Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.
Trait Implementations
sourceimpl Clone for UpdateTeamMemberInput
impl Clone for UpdateTeamMemberInput
sourcefn clone(&self) -> UpdateTeamMemberInput
fn clone(&self) -> UpdateTeamMemberInput
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 UpdateTeamMemberInput
impl Debug for UpdateTeamMemberInput
sourceimpl PartialEq<UpdateTeamMemberInput> for UpdateTeamMemberInput
impl PartialEq<UpdateTeamMemberInput> for UpdateTeamMemberInput
sourcefn eq(&self, other: &UpdateTeamMemberInput) -> bool
fn eq(&self, other: &UpdateTeamMemberInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateTeamMemberInput) -> bool
fn ne(&self, other: &UpdateTeamMemberInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateTeamMemberInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateTeamMemberInput
impl Send for UpdateTeamMemberInput
impl Sync for UpdateTeamMemberInput
impl Unpin for UpdateTeamMemberInput
impl UnwindSafe for UpdateTeamMemberInput
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