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.

DescribeUserProfileOutput

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

type DescribeUserProfileOutput struct { CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp" required:"true"` DisplayName *string `locationName:"displayName" min:"1" type:"string" sensitive:"true"` EmailAddress *string `locationName:"emailAddress" min:"3" type:"string" sensitive:"true"` LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp" required:"true"` SshPublicKey *string `locationName:"sshPublicKey" type:"string"` UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"` }

CreatedTimestamp

Type: *time.Time

The date and time when the user profile was created in AWS CodeStar, in timestamp format.

CreatedTimestamp is a required field

DisplayName

Type: *string

The display name shown for the user in AWS CodeStar projects. 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 for the user. Optional.

LastModifiedTimestamp

Type: *time.Time

The date and time when the user profile was last modified, in timestamp format.

LastModifiedTimestamp is a required field

SshPublicKey

Type: *string

The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.

UserArn

Type: *string

The Amazon Resource Name (ARN) of the user.

UserArn is a required field

Method

GoString

func (s DescribeUserProfileOutput) GoString() string

GoString returns the string representation

SetCreatedTimestamp

func (s *DescribeUserProfileOutput) SetCreatedTimestamp(v time.Time) *DescribeUserProfileOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

SetDisplayName

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

SetDisplayName sets the DisplayName field's value.

SetEmailAddress

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

SetEmailAddress sets the EmailAddress field's value.

SetLastModifiedTimestamp

func (s *DescribeUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *DescribeUserProfileOutput

SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.

SetSshPublicKey

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

SetSshPublicKey sets the SshPublicKey field's value.

SetUserArn

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

SetUserArn sets the UserArn field's value.

String

func (s DescribeUserProfileOutput) String() string

String returns the string representation

On this page: