| 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.IoTSiteWise.BatchGetAssetPropertyValue
Description
Gets the current value for one or more asset properties. For more information, see Querying current values in the IoT SiteWise User Guide.
Synopsis
- data BatchGetAssetPropertyValue = BatchGetAssetPropertyValue' {}
- newBatchGetAssetPropertyValue :: BatchGetAssetPropertyValue
- batchGetAssetPropertyValue_nextToken :: Lens' BatchGetAssetPropertyValue (Maybe Text)
- batchGetAssetPropertyValue_entries :: Lens' BatchGetAssetPropertyValue [BatchGetAssetPropertyValueEntry]
- data BatchGetAssetPropertyValueResponse = BatchGetAssetPropertyValueResponse' {}
- newBatchGetAssetPropertyValueResponse :: Int -> BatchGetAssetPropertyValueResponse
- batchGetAssetPropertyValueResponse_nextToken :: Lens' BatchGetAssetPropertyValueResponse (Maybe Text)
- batchGetAssetPropertyValueResponse_httpStatus :: Lens' BatchGetAssetPropertyValueResponse Int
- batchGetAssetPropertyValueResponse_errorEntries :: Lens' BatchGetAssetPropertyValueResponse [BatchGetAssetPropertyValueErrorEntry]
- batchGetAssetPropertyValueResponse_successEntries :: Lens' BatchGetAssetPropertyValueResponse [BatchGetAssetPropertyValueSuccessEntry]
- batchGetAssetPropertyValueResponse_skippedEntries :: Lens' BatchGetAssetPropertyValueResponse [BatchGetAssetPropertyValueSkippedEntry]
Creating a Request
data BatchGetAssetPropertyValue Source #
See: newBatchGetAssetPropertyValue smart constructor.
Constructors
| BatchGetAssetPropertyValue' | |
Fields
| |
Instances
newBatchGetAssetPropertyValue :: BatchGetAssetPropertyValue Source #
Create a value of BatchGetAssetPropertyValue 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:
BatchGetAssetPropertyValue, batchGetAssetPropertyValue_nextToken - The token to be used for the next set of paginated results.
$sel:entries:BatchGetAssetPropertyValue', batchGetAssetPropertyValue_entries - The list of asset property value entries for the batch get request. You
can specify up to 16 entries per request.
Request Lenses
batchGetAssetPropertyValue_nextToken :: Lens' BatchGetAssetPropertyValue (Maybe Text) Source #
The token to be used for the next set of paginated results.
batchGetAssetPropertyValue_entries :: Lens' BatchGetAssetPropertyValue [BatchGetAssetPropertyValueEntry] Source #
The list of asset property value entries for the batch get request. You can specify up to 16 entries per request.
Destructuring the Response
data BatchGetAssetPropertyValueResponse Source #
See: newBatchGetAssetPropertyValueResponse smart constructor.
Constructors
| BatchGetAssetPropertyValueResponse' | |
Fields
| |
Instances
newBatchGetAssetPropertyValueResponse Source #
Arguments
| :: Int | |
| -> BatchGetAssetPropertyValueResponse |
Create a value of BatchGetAssetPropertyValueResponse 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:
BatchGetAssetPropertyValue, batchGetAssetPropertyValueResponse_nextToken - The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:BatchGetAssetPropertyValueResponse', batchGetAssetPropertyValueResponse_httpStatus - The response's http status code.
$sel:errorEntries:BatchGetAssetPropertyValueResponse', batchGetAssetPropertyValueResponse_errorEntries - A list of the errors (if any) associated with the batch request. Each
error entry contains the entryId of the entry that failed.
$sel:successEntries:BatchGetAssetPropertyValueResponse', batchGetAssetPropertyValueResponse_successEntries - A list of entries that were processed successfully by this batch
request. Each success entry contains the entryId of the entry that
succeeded and the latest query result.
$sel:skippedEntries:BatchGetAssetPropertyValueResponse', batchGetAssetPropertyValueResponse_skippedEntries - A list of entries that were not processed by this batch request. because
these entries had been completely processed by previous paginated
requests. Each skipped entry contains the entryId of the entry that
skipped.
Response Lenses
batchGetAssetPropertyValueResponse_nextToken :: Lens' BatchGetAssetPropertyValueResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
batchGetAssetPropertyValueResponse_httpStatus :: Lens' BatchGetAssetPropertyValueResponse Int Source #
The response's http status code.
batchGetAssetPropertyValueResponse_errorEntries :: Lens' BatchGetAssetPropertyValueResponse [BatchGetAssetPropertyValueErrorEntry] Source #
A list of the errors (if any) associated with the batch request. Each
error entry contains the entryId of the entry that failed.
batchGetAssetPropertyValueResponse_successEntries :: Lens' BatchGetAssetPropertyValueResponse [BatchGetAssetPropertyValueSuccessEntry] Source #
A list of entries that were processed successfully by this batch
request. Each success entry contains the entryId of the entry that
succeeded and the latest query result.
batchGetAssetPropertyValueResponse_skippedEntries :: Lens' BatchGetAssetPropertyValueResponse [BatchGetAssetPropertyValueSkippedEntry] Source #
A list of entries that were not processed by this batch request. because
these entries had been completely processed by previous paginated
requests. Each skipped entry contains the entryId of the entry that
skipped.