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 |
Gets the historical values for one or more asset properties. For more information, see Querying historical values in the IoT SiteWise User Guide.
Synopsis
- data BatchGetAssetPropertyValueHistory = BatchGetAssetPropertyValueHistory' {}
- newBatchGetAssetPropertyValueHistory :: BatchGetAssetPropertyValueHistory
- batchGetAssetPropertyValueHistory_maxResults :: Lens' BatchGetAssetPropertyValueHistory (Maybe Natural)
- batchGetAssetPropertyValueHistory_nextToken :: Lens' BatchGetAssetPropertyValueHistory (Maybe Text)
- batchGetAssetPropertyValueHistory_entries :: Lens' BatchGetAssetPropertyValueHistory [BatchGetAssetPropertyValueHistoryEntry]
- data BatchGetAssetPropertyValueHistoryResponse = BatchGetAssetPropertyValueHistoryResponse' {}
- newBatchGetAssetPropertyValueHistoryResponse :: Int -> BatchGetAssetPropertyValueHistoryResponse
- batchGetAssetPropertyValueHistoryResponse_nextToken :: Lens' BatchGetAssetPropertyValueHistoryResponse (Maybe Text)
- batchGetAssetPropertyValueHistoryResponse_httpStatus :: Lens' BatchGetAssetPropertyValueHistoryResponse Int
- batchGetAssetPropertyValueHistoryResponse_errorEntries :: Lens' BatchGetAssetPropertyValueHistoryResponse [BatchGetAssetPropertyValueHistoryErrorEntry]
- batchGetAssetPropertyValueHistoryResponse_successEntries :: Lens' BatchGetAssetPropertyValueHistoryResponse [BatchGetAssetPropertyValueHistorySuccessEntry]
- batchGetAssetPropertyValueHistoryResponse_skippedEntries :: Lens' BatchGetAssetPropertyValueHistoryResponse [BatchGetAssetPropertyValueHistorySkippedEntry]
Creating a Request
data BatchGetAssetPropertyValueHistory Source #
See: newBatchGetAssetPropertyValueHistory
smart constructor.
BatchGetAssetPropertyValueHistory' | |
|
Instances
newBatchGetAssetPropertyValueHistory :: BatchGetAssetPropertyValueHistory Source #
Create a value of BatchGetAssetPropertyValueHistory
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:maxResults:BatchGetAssetPropertyValueHistory'
, batchGetAssetPropertyValueHistory_maxResults
- The maximum number of results to return for each paginated request. A
result set is returned in the two cases, whichever occurs first.
- The size of the result set is less than 1 MB.
- The number of data points in the result set is less than the value
of
maxResults
. The maximum value ofmaxResults
is 4000.
BatchGetAssetPropertyValueHistory
, batchGetAssetPropertyValueHistory_nextToken
- The token to be used for the next set of paginated results.
$sel:entries:BatchGetAssetPropertyValueHistory'
, batchGetAssetPropertyValueHistory_entries
- The list of asset property historical value entries for the batch get
request. You can specify up to 16 entries per request.
Request Lenses
batchGetAssetPropertyValueHistory_maxResults :: Lens' BatchGetAssetPropertyValueHistory (Maybe Natural) Source #
The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.
- The size of the result set is less than 1 MB.
- The number of data points in the result set is less than the value
of
maxResults
. The maximum value ofmaxResults
is 4000.
batchGetAssetPropertyValueHistory_nextToken :: Lens' BatchGetAssetPropertyValueHistory (Maybe Text) Source #
The token to be used for the next set of paginated results.
batchGetAssetPropertyValueHistory_entries :: Lens' BatchGetAssetPropertyValueHistory [BatchGetAssetPropertyValueHistoryEntry] Source #
The list of asset property historical value entries for the batch get request. You can specify up to 16 entries per request.
Destructuring the Response
data BatchGetAssetPropertyValueHistoryResponse Source #
See: newBatchGetAssetPropertyValueHistoryResponse
smart constructor.
BatchGetAssetPropertyValueHistoryResponse' | |
|
Instances
newBatchGetAssetPropertyValueHistoryResponse Source #
Create a value of BatchGetAssetPropertyValueHistoryResponse
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:
BatchGetAssetPropertyValueHistory
, batchGetAssetPropertyValueHistoryResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:BatchGetAssetPropertyValueHistoryResponse'
, batchGetAssetPropertyValueHistoryResponse_httpStatus
- The response's http status code.
$sel:errorEntries:BatchGetAssetPropertyValueHistoryResponse'
, batchGetAssetPropertyValueHistoryResponse_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:BatchGetAssetPropertyValueHistoryResponse'
, batchGetAssetPropertyValueHistoryResponse_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:BatchGetAssetPropertyValueHistoryResponse'
, batchGetAssetPropertyValueHistoryResponse_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
batchGetAssetPropertyValueHistoryResponse_nextToken :: Lens' BatchGetAssetPropertyValueHistoryResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
batchGetAssetPropertyValueHistoryResponse_httpStatus :: Lens' BatchGetAssetPropertyValueHistoryResponse Int Source #
The response's http status code.
batchGetAssetPropertyValueHistoryResponse_errorEntries :: Lens' BatchGetAssetPropertyValueHistoryResponse [BatchGetAssetPropertyValueHistoryErrorEntry] Source #
A list of the errors (if any) associated with the batch request. Each
error entry contains the entryId
of the entry that failed.
batchGetAssetPropertyValueHistoryResponse_successEntries :: Lens' BatchGetAssetPropertyValueHistoryResponse [BatchGetAssetPropertyValueHistorySuccessEntry] 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.
batchGetAssetPropertyValueHistoryResponse_skippedEntries :: Lens' BatchGetAssetPropertyValueHistoryResponse [BatchGetAssetPropertyValueHistorySkippedEntry] 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.