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 |
Creates or updates an entity type. An entity represents who is performing the event. As part of a fraud prediction, you pass the entity ID to indicate the specific entity who performed the event. An entity type classifies the entity. Example classifications include customer, merchant, or account.
Synopsis
- data PutEntityType = PutEntityType' {}
- newPutEntityType :: Text -> PutEntityType
- putEntityType_description :: Lens' PutEntityType (Maybe Text)
- putEntityType_tags :: Lens' PutEntityType (Maybe [Tag])
- putEntityType_name :: Lens' PutEntityType Text
- data PutEntityTypeResponse = PutEntityTypeResponse' {
- httpStatus :: Int
- newPutEntityTypeResponse :: Int -> PutEntityTypeResponse
- putEntityTypeResponse_httpStatus :: Lens' PutEntityTypeResponse Int
Creating a Request
data PutEntityType Source #
See: newPutEntityType
smart constructor.
Instances
Create a value of PutEntityType
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:description:PutEntityType'
, putEntityType_description
- The description.
$sel:tags:PutEntityType'
, putEntityType_tags
- A collection of key and value pairs.
$sel:name:PutEntityType'
, putEntityType_name
- The name of the entity type.
Request Lenses
putEntityType_description :: Lens' PutEntityType (Maybe Text) Source #
The description.
putEntityType_tags :: Lens' PutEntityType (Maybe [Tag]) Source #
A collection of key and value pairs.
putEntityType_name :: Lens' PutEntityType Text Source #
The name of the entity type.
Destructuring the Response
data PutEntityTypeResponse Source #
See: newPutEntityTypeResponse
smart constructor.
PutEntityTypeResponse' | |
|
Instances
newPutEntityTypeResponse Source #
Create a value of PutEntityTypeResponse
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:httpStatus:PutEntityTypeResponse'
, putEntityTypeResponse_httpStatus
- The response's http status code.
Response Lenses
putEntityTypeResponse_httpStatus :: Lens' PutEntityTypeResponse Int Source #
The response's http status code.