AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UpdateTeamMemberInput

import "github.com/aws/aws-sdk-go/service/codestar"

type UpdateTeamMemberInput struct { ProjectId *string `locationName:"projectId" min:"2" type:"string" required:"true"` ProjectRole *string `locationName:"projectRole" type:"string"` RemoteAccessAllowed *bool `locationName:"remoteAccessAllowed" type:"boolean"` UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"` }

ProjectId

Type: *string

The ID of the project.

ProjectId is a required field

ProjectRole

Type: *string

The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams (https://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html) in the AWS CodeStar User Guide.

RemoteAccessAllowed

Type: *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.

UserArn

Type: *string

The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.

UserArn is a required field

Method

GoString

func (s UpdateTeamMemberInput) GoString() string

GoString returns the string representation

SetProjectId

func (s *UpdateTeamMemberInput) SetProjectId(v string) *UpdateTeamMemberInput

SetProjectId sets the ProjectId field's value.

SetProjectRole

func (s *UpdateTeamMemberInput) SetProjectRole(v string) *UpdateTeamMemberInput

SetProjectRole sets the ProjectRole field's value.

SetRemoteAccessAllowed

func (s *UpdateTeamMemberInput) SetRemoteAccessAllowed(v bool) *UpdateTeamMemberInput

SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value.

SetUserArn

func (s *UpdateTeamMemberInput) SetUserArn(v string) *UpdateTeamMemberInput

SetUserArn sets the UserArn field's value.

String

func (s UpdateTeamMemberInput) String() string

String returns the string representation

Validate

func (s *UpdateTeamMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: