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.

Identity

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

type Identity struct { PrincipalId *string `type:"string"` Type *string `type:"string"` }

Contains details about the type of identity that made the request.

PrincipalId

Type: *string

A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".

Type

Type: *string

The type of the identity. For Time To Live, the type is "Service".

Method

GoString

func (s Identity) GoString() string

GoString returns the string representation

SetPrincipalId

func (s *Identity) SetPrincipalId(v string) *Identity

SetPrincipalId sets the PrincipalId field's value.

SetType

func (s *Identity) SetType(v string) *Identity

SetType sets the Type field's value.

String

func (s Identity) String() string

String returns the string representation

On this page: