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.

UserProfileSummary

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

type UserProfileSummary 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"` }

Information about a user's profile in AWS CodeStar.

DisplayName

Type: *string

The display name of a user in AWS CodeStar. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").

EmailAddress

Type: *string

The email address associated with the user.

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 Amazon Resource Name (ARN) of the user in IAM.

Method

GoString

func (s UserProfileSummary) GoString() string

GoString returns the string representation

SetDisplayName

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

SetDisplayName sets the DisplayName field's value.

SetEmailAddress

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

SetEmailAddress sets the EmailAddress field's value.

SetSshPublicKey

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

SetSshPublicKey sets the SshPublicKey field's value.

SetUserArn

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

SetUserArn sets the UserArn field's value.

String

func (s UserProfileSummary) String() string

String returns the string representation

On this page: