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