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 |
Adds one or more users to a Users dataset. For more information see Importing Users Incrementally.
Synopsis
- data PutUsers = PutUsers' {
- datasetArn :: Text
- users :: NonEmpty User
- newPutUsers :: Text -> NonEmpty User -> PutUsers
- putUsers_datasetArn :: Lens' PutUsers Text
- putUsers_users :: Lens' PutUsers (NonEmpty User)
- data PutUsersResponse = PutUsersResponse' {
- newPutUsersResponse :: PutUsersResponse
Creating a Request
See: newPutUsers
smart constructor.
PutUsers' | |
|
Instances
Create a value of PutUsers
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:datasetArn:PutUsers'
, putUsers_datasetArn
- The Amazon Resource Name (ARN) of the Users dataset you are adding the
user or users to.
$sel:users:PutUsers'
, putUsers_users
- A list of user data.
Request Lenses
putUsers_datasetArn :: Lens' PutUsers Text Source #
The Amazon Resource Name (ARN) of the Users dataset you are adding the user or users to.
Destructuring the Response
data PutUsersResponse Source #
See: newPutUsersResponse
smart constructor.
Instances
Eq PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers (==) :: PutUsersResponse -> PutUsersResponse -> Bool # (/=) :: PutUsersResponse -> PutUsersResponse -> Bool # | |
Read PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers | |
Show PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers showsPrec :: Int -> PutUsersResponse -> ShowS # show :: PutUsersResponse -> String # showList :: [PutUsersResponse] -> ShowS # | |
Generic PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers type Rep PutUsersResponse :: Type -> Type # from :: PutUsersResponse -> Rep PutUsersResponse x # to :: Rep PutUsersResponse x -> PutUsersResponse # | |
NFData PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers rnf :: PutUsersResponse -> () # | |
type Rep PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers |
newPutUsersResponse :: PutUsersResponse Source #
Create a value of PutUsersResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.