| 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 |
Amazonka.PersonalizeEvents.PutUsers
Description
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.
Constructors
| PutUsers' | |
Fields
| |
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.
Constructors
| PutUsersResponse' | |
Instances
newPutUsersResponse :: PutUsersResponse Source #
Create a value of PutUsersResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.