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 |
Sets values for multiple time series properties.
Synopsis
- data BatchPutPropertyValues = BatchPutPropertyValues' {}
- newBatchPutPropertyValues :: Text -> NonEmpty PropertyValueEntry -> BatchPutPropertyValues
- batchPutPropertyValues_workspaceId :: Lens' BatchPutPropertyValues Text
- batchPutPropertyValues_entries :: Lens' BatchPutPropertyValues (NonEmpty PropertyValueEntry)
- data BatchPutPropertyValuesResponse = BatchPutPropertyValuesResponse' {}
- newBatchPutPropertyValuesResponse :: Int -> NonEmpty BatchPutPropertyErrorEntry -> BatchPutPropertyValuesResponse
- batchPutPropertyValuesResponse_httpStatus :: Lens' BatchPutPropertyValuesResponse Int
- batchPutPropertyValuesResponse_errorEntries :: Lens' BatchPutPropertyValuesResponse (NonEmpty BatchPutPropertyErrorEntry)
Creating a Request
data BatchPutPropertyValues Source #
See: newBatchPutPropertyValues
smart constructor.
BatchPutPropertyValues' | |
|
Instances
newBatchPutPropertyValues Source #
Create a value of BatchPutPropertyValues
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:
BatchPutPropertyValues
, batchPutPropertyValues_workspaceId
- The ID of the workspace that contains the properties to set.
$sel:entries:BatchPutPropertyValues'
, batchPutPropertyValues_entries
- An object that maps strings to the property value entries to set. Each
string in the mapping must be unique to this object.
Request Lenses
batchPutPropertyValues_workspaceId :: Lens' BatchPutPropertyValues Text Source #
The ID of the workspace that contains the properties to set.
batchPutPropertyValues_entries :: Lens' BatchPutPropertyValues (NonEmpty PropertyValueEntry) Source #
An object that maps strings to the property value entries to set. Each string in the mapping must be unique to this object.
Destructuring the Response
data BatchPutPropertyValuesResponse Source #
See: newBatchPutPropertyValuesResponse
smart constructor.
BatchPutPropertyValuesResponse' | |
|
Instances
Generic BatchPutPropertyValuesResponse Source # | |
Read BatchPutPropertyValuesResponse Source # | |
Show BatchPutPropertyValuesResponse Source # | |
Defined in Amazonka.IotTwinMaker.BatchPutPropertyValues | |
NFData BatchPutPropertyValuesResponse Source # | |
Defined in Amazonka.IotTwinMaker.BatchPutPropertyValues rnf :: BatchPutPropertyValuesResponse -> () # | |
Eq BatchPutPropertyValuesResponse Source # | |
type Rep BatchPutPropertyValuesResponse Source # | |
Defined in Amazonka.IotTwinMaker.BatchPutPropertyValues type Rep BatchPutPropertyValuesResponse = D1 ('MetaData "BatchPutPropertyValuesResponse" "Amazonka.IotTwinMaker.BatchPutPropertyValues" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "BatchPutPropertyValuesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "errorEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty BatchPutPropertyErrorEntry)))) |
newBatchPutPropertyValuesResponse Source #
Create a value of BatchPutPropertyValuesResponse
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:BatchPutPropertyValuesResponse'
, batchPutPropertyValuesResponse_httpStatus
- The response's http status code.
$sel:errorEntries:BatchPutPropertyValuesResponse'
, batchPutPropertyValuesResponse_errorEntries
- Entries that caused errors in the batch put operation.
Response Lenses
batchPutPropertyValuesResponse_httpStatus :: Lens' BatchPutPropertyValuesResponse Int Source #
The response's http status code.
batchPutPropertyValuesResponse_errorEntries :: Lens' BatchPutPropertyValuesResponse (NonEmpty BatchPutPropertyErrorEntry) Source #
Entries that caused errors in the batch put operation.