libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Read Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Show 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 #

NFData Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Methods

rnf :: Identity -> () #

Hashable Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

FromJSON Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

type Rep Identity Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Identity

type Rep Identity = D1 ('MetaData "Identity" "Amazonka.DynamoDBStreams.Types.Identity" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" '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".