| 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.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
| Generic PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers Associated Types type Rep PutUsersResponse :: Type -> Type # Methods from :: PutUsersResponse -> Rep PutUsersResponse x # to :: Rep PutUsersResponse x -> PutUsersResponse # | |
| Read PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers Methods readsPrec :: Int -> ReadS PutUsersResponse # readList :: ReadS [PutUsersResponse] # | |
| Show PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers Methods showsPrec :: Int -> PutUsersResponse -> ShowS # show :: PutUsersResponse -> String # showList :: [PutUsersResponse] -> ShowS # | |
| NFData PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers Methods rnf :: PutUsersResponse -> () # | |
| Eq PutUsersResponse Source # | |
Defined in Amazonka.PersonalizeEvents.PutUsers Methods (==) :: PutUsersResponse -> PutUsersResponse -> Bool # (/=) :: PutUsersResponse -> PutUsersResponse -> Bool # | |
| type Rep PutUsersResponse Source # | |
newPutUsersResponse :: PutUsersResponse Source #
Create a value of PutUsersResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.