Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Identity = Identity' {}
- newIdentity :: Identity
- identity_principalId :: Lens' Identity (Maybe Text)
- identity_type :: Lens' Identity (Maybe Text)
Documentation
Contains details about the type of identity that made the request.
See: newIdentity
smart constructor.
Instances
Eq Identity Source # | |
Read Identity Source # | |
Show Identity Source # | |
Generic Identity Source # | |
NFData Identity Source # | |
Defined in Amazonka.DynamoDBStreams.Types.Identity | |
Hashable Identity Source # | |
Defined in Amazonka.DynamoDBStreams.Types.Identity | |
FromJSON Identity Source # | |
type Rep Identity Source # | |
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".