| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DynamoDBStreams.Types.Identity
Description
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.
Constructors
| Identity' | |
Instances
| FromJSON Identity Source # | |
| Generic Identity Source # | |
| Read Identity Source # | |
| Show Identity Source # | |
| NFData Identity Source # | |
Defined in Amazonka.DynamoDBStreams.Types.Identity | |
| Eq Identity Source # | |
| Hashable Identity Source # | |
Defined in Amazonka.DynamoDBStreams.Types.Identity | |
| type Rep Identity Source # | |
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".