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.

IdentityDescription

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

type IdentityDescription struct { CreationDate *time.Time `type:"timestamp"` IdentityId *string `min:"1" type:"string"` LastModifiedDate *time.Time `type:"timestamp"` Logins []*string `type:"list"` }

A description of the identity.

CreationDate

Type: *time.Time

Date on which the identity was created.

IdentityId

Type: *string

A unique identifier in the format REGION:GUID.

LastModifiedDate

Type: *time.Time

Date on which the identity was last modified.

Logins

Type: []*string

A set of optional name-value pairs that map provider names to provider tokens.

Method

GoString

func (s IdentityDescription) GoString() string

GoString returns the string representation

SetCreationDate

func (s *IdentityDescription) SetCreationDate(v time.Time) *IdentityDescription

SetCreationDate sets the CreationDate field's value.

SetIdentityId

func (s *IdentityDescription) SetIdentityId(v string) *IdentityDescription

SetIdentityId sets the IdentityId field's value.

SetLastModifiedDate

func (s *IdentityDescription) SetLastModifiedDate(v time.Time) *IdentityDescription

SetLastModifiedDate sets the LastModifiedDate field's value.

SetLogins

func (s *IdentityDescription) SetLogins(v []*string) *IdentityDescription

SetLogins sets the Logins field's value.

String

func (s IdentityDescription) String() string

String returns the string representation

On this page: