#[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§
source§impl 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.
source§impl UpdateTeamMemberInput
impl UpdateTeamMemberInput
sourcepub fn builder() -> UpdateTeamMemberInputBuilder
pub fn builder() -> UpdateTeamMemberInputBuilder
Creates a new builder-style object to manufacture UpdateTeamMemberInput
.
Trait Implementations§
source§impl Clone for UpdateTeamMemberInput
impl Clone for UpdateTeamMemberInput
source§fn clone(&self) -> UpdateTeamMemberInput
fn clone(&self) -> UpdateTeamMemberInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateTeamMemberInput
impl Debug for UpdateTeamMemberInput
source§impl PartialEq<UpdateTeamMemberInput> for UpdateTeamMemberInput
impl PartialEq<UpdateTeamMemberInput> for UpdateTeamMemberInput
source§fn eq(&self, other: &UpdateTeamMemberInput) -> bool
fn eq(&self, other: &UpdateTeamMemberInput) -> bool
self
and other
values to be equal, and is used
by ==
.