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.

UpdateUserProfileInput

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

type UpdateUserProfileInput struct { DisplayName *string `locationName:"displayName" min:"1" type:"string" sensitive:"true"` EmailAddress *string `locationName:"emailAddress" min:"3" type:"string" sensitive:"true"` SshPublicKey *string `locationName:"sshPublicKey" type:"string"` UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"` }

DisplayName

Type: *string

The name that is displayed as the friendly name for the user in AWS CodeStar.

EmailAddress

Type: *string

The email address that is displayed as part of the user's profile in AWS CodeStar.

SshPublicKey

Type: *string

The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.

UserArn

Type: *string

The name that will be displayed as the friendly name for the user in AWS CodeStar.

UserArn is a required field

Method

GoString

func (s UpdateUserProfileInput) GoString() string

GoString returns the string representation

SetDisplayName

func (s *UpdateUserProfileInput) SetDisplayName(v string) *UpdateUserProfileInput

SetDisplayName sets the DisplayName field's value.

SetEmailAddress

func (s *UpdateUserProfileInput) SetEmailAddress(v string) *UpdateUserProfileInput

SetEmailAddress sets the EmailAddress field's value.

SetSshPublicKey

func (s *UpdateUserProfileInput) SetSshPublicKey(v string) *UpdateUserProfileInput

SetSshPublicKey sets the SshPublicKey field's value.

SetUserArn

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

SetUserArn sets the UserArn field's value.

String

func (s UpdateUserProfileInput) String() string

String returns the string representation

Validate

func (s *UpdateUserProfileInput) Validate() error

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

On this page: