amazonka-iotsitewise-2.0: Amazon IoT SiteWise SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

Description

Gets aggregated values (for example, average, minimum, and maximum) for one or more asset properties. For more information, see Querying aggregates in the IoT SiteWise User Guide.

Synopsis

Creating a Request

data BatchGetAssetPropertyAggregates Source #

See: newBatchGetAssetPropertyAggregates smart constructor.

Constructors

BatchGetAssetPropertyAggregates' 

Fields

  • maxResults :: Maybe Natural

    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 of maxResults is 4000.
  • nextToken :: Maybe Text

    The token to be used for the next set of paginated results.

  • entries :: [BatchGetAssetPropertyAggregatesEntry]

    The list of asset property aggregate entries for the batch get request. You can specify up to 16 entries per request.

Instances

Instances details
ToJSON BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

ToHeaders BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

ToPath BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

ToQuery BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

AWSRequest BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

Generic BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

Associated Types

type Rep BatchGetAssetPropertyAggregates :: Type -> Type #

Read BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

Show BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

NFData BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

Eq BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

Hashable BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

type AWSResponse BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

type Rep BatchGetAssetPropertyAggregates Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

type Rep BatchGetAssetPropertyAggregates = D1 ('MetaData "BatchGetAssetPropertyAggregates" "Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates" "amazonka-iotsitewise-2.0-AK8rDlpQ5oPJsrLUUxJgY" 'False) (C1 ('MetaCons "BatchGetAssetPropertyAggregates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchGetAssetPropertyAggregatesEntry]))))

newBatchGetAssetPropertyAggregates :: BatchGetAssetPropertyAggregates Source #

Create a value of BatchGetAssetPropertyAggregates 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:BatchGetAssetPropertyAggregates', batchGetAssetPropertyAggregates_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 of maxResults is 4000.

BatchGetAssetPropertyAggregates, batchGetAssetPropertyAggregates_nextToken - The token to be used for the next set of paginated results.

$sel:entries:BatchGetAssetPropertyAggregates', batchGetAssetPropertyAggregates_entries - The list of asset property aggregate entries for the batch get request. You can specify up to 16 entries per request.

Request Lenses

batchGetAssetPropertyAggregates_maxResults :: Lens' BatchGetAssetPropertyAggregates (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 of maxResults is 4000.

batchGetAssetPropertyAggregates_nextToken :: Lens' BatchGetAssetPropertyAggregates (Maybe Text) Source #

The token to be used for the next set of paginated results.

batchGetAssetPropertyAggregates_entries :: Lens' BatchGetAssetPropertyAggregates [BatchGetAssetPropertyAggregatesEntry] Source #

The list of asset property aggregate entries for the batch get request. You can specify up to 16 entries per request.

Destructuring the Response

data BatchGetAssetPropertyAggregatesResponse Source #

Constructors

BatchGetAssetPropertyAggregatesResponse' 

Fields

Instances

Instances details
Generic BatchGetAssetPropertyAggregatesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

Read BatchGetAssetPropertyAggregatesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

Show BatchGetAssetPropertyAggregatesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

NFData BatchGetAssetPropertyAggregatesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

Eq BatchGetAssetPropertyAggregatesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

type Rep BatchGetAssetPropertyAggregatesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates

type Rep BatchGetAssetPropertyAggregatesResponse = D1 ('MetaData "BatchGetAssetPropertyAggregatesResponse" "Amazonka.IoTSiteWise.BatchGetAssetPropertyAggregates" "amazonka-iotsitewise-2.0-AK8rDlpQ5oPJsrLUUxJgY" 'False) (C1 ('MetaCons "BatchGetAssetPropertyAggregatesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "errorEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchGetAssetPropertyAggregatesErrorEntry]) :*: (S1 ('MetaSel ('Just "successEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchGetAssetPropertyAggregatesSuccessEntry]) :*: S1 ('MetaSel ('Just "skippedEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchGetAssetPropertyAggregatesSkippedEntry])))))

newBatchGetAssetPropertyAggregatesResponse Source #

Create a value of BatchGetAssetPropertyAggregatesResponse 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:

BatchGetAssetPropertyAggregates, batchGetAssetPropertyAggregatesResponse_nextToken - The token for the next set of results, or null if there are no additional results.

$sel:httpStatus:BatchGetAssetPropertyAggregatesResponse', batchGetAssetPropertyAggregatesResponse_httpStatus - The response's http status code.

$sel:errorEntries:BatchGetAssetPropertyAggregatesResponse', batchGetAssetPropertyAggregatesResponse_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:BatchGetAssetPropertyAggregatesResponse', batchGetAssetPropertyAggregatesResponse_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:BatchGetAssetPropertyAggregatesResponse', batchGetAssetPropertyAggregatesResponse_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

batchGetAssetPropertyAggregatesResponse_nextToken :: Lens' BatchGetAssetPropertyAggregatesResponse (Maybe Text) Source #

The token for the next set of results, or null if there are no additional results.

batchGetAssetPropertyAggregatesResponse_errorEntries :: Lens' BatchGetAssetPropertyAggregatesResponse [BatchGetAssetPropertyAggregatesErrorEntry] Source #

A list of the errors (if any) associated with the batch request. Each error entry contains the entryId of the entry that failed.

batchGetAssetPropertyAggregatesResponse_successEntries :: Lens' BatchGetAssetPropertyAggregatesResponse [BatchGetAssetPropertyAggregatesSuccessEntry] 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.

batchGetAssetPropertyAggregatesResponse_skippedEntries :: Lens' BatchGetAssetPropertyAggregatesResponse [BatchGetAssetPropertyAggregatesSkippedEntry] 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.