| 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.IotTwinMaker.BatchPutPropertyValues
Description
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.
Constructors
| BatchPutPropertyValues' | |
Fields
| |
Instances
newBatchPutPropertyValues Source #
Arguments
| :: Text | |
| -> NonEmpty PropertyValueEntry | |
| -> BatchPutPropertyValues |
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.
Constructors
| BatchPutPropertyValuesResponse' | |
Fields
| |
Instances
newBatchPutPropertyValuesResponse Source #
Arguments
| :: Int | |
| -> NonEmpty BatchPutPropertyErrorEntry | |
| -> BatchPutPropertyValuesResponse |
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.