amazonka-dynamodb-streams-2.0: Amazon DynamoDB Streams SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DynamoDBStreams.Types.Identity

Description

 
Synopsis

Documentation

data Identity Source #

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

See: newIdentity smart constructor.

Constructors

Identity' 

Fields

  • principalId :: Maybe Text

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

  • type' :: Maybe Text

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

Instances

Instances details
FromJSON Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Generic Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Associated Types

type Rep Identity :: Type -> Type #

Methods

from :: Identity -> Rep Identity x #

to :: Rep Identity x -> Identity #

Read Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Show Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

NFData Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Methods

rnf :: Identity -> () #

Eq Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Hashable Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

type Rep Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

type Rep Identity = D1 ('MetaData "Identity" "Amazonka.DynamoDBStreams.Types.Identity" "amazonka-dynamodb-streams-2.0-3efN0DbUklbJSr9bxtKOG6" 'False) (C1 ('MetaCons "Identity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newIdentity :: Identity Source #

Create a value of Identity with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:principalId:Identity', identity_principalId - A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".

$sel:type':Identity', identity_type - The type of the identity. For Time To Live, the type is "Service".

identity_principalId :: Lens' Identity (Maybe Text) Source #

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

identity_type :: Lens' Identity (Maybe Text) Source #

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