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.

CreateUserProfileOutput

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

type CreateUserProfileOutput struct { CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` 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"` SshPublicKey *string `locationName:"sshPublicKey" type:"string"` UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"` }

CreatedTimestamp

Type: *time.Time

The date the user profile was created, in timestamp format.

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.

LastModifiedTimestamp

Type: *time.Time

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

SshPublicKey

Type: *string

The SSH public key associated with the user in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user remote access to those resources.

UserArn

Type: *string

The Amazon Resource Name (ARN) of the user in IAM.

UserArn is a required field

Method

GoString

func (s CreateUserProfileOutput) GoString() string

GoString returns the string representation

SetCreatedTimestamp

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

SetCreatedTimestamp sets the CreatedTimestamp field's value.

SetDisplayName

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

SetDisplayName sets the DisplayName field's value.

SetEmailAddress

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

SetEmailAddress sets the EmailAddress field's value.

SetLastModifiedTimestamp

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

SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.

SetSshPublicKey

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

SetSshPublicKey sets the SshPublicKey field's value.

SetUserArn

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

SetUserArn sets the UserArn field's value.

String

func (s CreateUserProfileOutput) String() string

String returns the string representation

On this page: