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.ListAssetProperties

Description

Retrieves a paginated list of properties associated with an asset. If you update properties associated with the model before you finish listing all the properties, you need to start all over again.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAssetProperties Source #

See: newListAssetProperties smart constructor.

Constructors

ListAssetProperties' 

Fields

  • filter' :: Maybe ListAssetPropertiesFilter

    Filters the requested list of asset properties. You can choose one of the following options:

    • ALL – The list includes all asset properties for a given asset model ID.
    • BASE – The list includes only base asset properties for a given asset model ID.

    Default: BASE

  • maxResults :: Maybe Natural

    The maximum number of results to return for each paginated request. If not specified, the default value is 50.

  • nextToken :: Maybe Text

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

  • assetId :: Text

    The ID of the asset.

Instances

Instances details
ToHeaders ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

ToPath ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

ToQuery ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

AWSPager ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

AWSRequest ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

Associated Types

type AWSResponse ListAssetProperties #

Generic ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

Associated Types

type Rep ListAssetProperties :: Type -> Type #

Read ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

Show ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

NFData ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

Methods

rnf :: ListAssetProperties -> () #

Eq ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

Hashable ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

type AWSResponse ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

type Rep ListAssetProperties Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

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

newListAssetProperties Source #

Create a value of ListAssetProperties 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:filter':ListAssetProperties', listAssetProperties_filter - Filters the requested list of asset properties. You can choose one of the following options:

  • ALL – The list includes all asset properties for a given asset model ID.
  • BASE – The list includes only base asset properties for a given asset model ID.

Default: BASE

$sel:maxResults:ListAssetProperties', listAssetProperties_maxResults - The maximum number of results to return for each paginated request. If not specified, the default value is 50.

ListAssetProperties, listAssetProperties_nextToken - The token to be used for the next set of paginated results.

ListAssetProperties, listAssetProperties_assetId - The ID of the asset.

Request Lenses

listAssetProperties_filter :: Lens' ListAssetProperties (Maybe ListAssetPropertiesFilter) Source #

Filters the requested list of asset properties. You can choose one of the following options:

  • ALL – The list includes all asset properties for a given asset model ID.
  • BASE – The list includes only base asset properties for a given asset model ID.

Default: BASE

listAssetProperties_maxResults :: Lens' ListAssetProperties (Maybe Natural) Source #

The maximum number of results to return for each paginated request. If not specified, the default value is 50.

listAssetProperties_nextToken :: Lens' ListAssetProperties (Maybe Text) Source #

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

Destructuring the Response

data ListAssetPropertiesResponse Source #

See: newListAssetPropertiesResponse smart constructor.

Constructors

ListAssetPropertiesResponse' 

Fields

Instances

Instances details
Generic ListAssetPropertiesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

Associated Types

type Rep ListAssetPropertiesResponse :: Type -> Type #

Read ListAssetPropertiesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

Show ListAssetPropertiesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

NFData ListAssetPropertiesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

Eq ListAssetPropertiesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

type Rep ListAssetPropertiesResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListAssetProperties

type Rep ListAssetPropertiesResponse = D1 ('MetaData "ListAssetPropertiesResponse" "Amazonka.IoTSiteWise.ListAssetProperties" "amazonka-iotsitewise-2.0-AK8rDlpQ5oPJsrLUUxJgY" 'False) (C1 ('MetaCons "ListAssetPropertiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "assetPropertySummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AssetPropertySummary]))))

newListAssetPropertiesResponse Source #

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

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

$sel:httpStatus:ListAssetPropertiesResponse', listAssetPropertiesResponse_httpStatus - The response's http status code.

$sel:assetPropertySummaries:ListAssetPropertiesResponse', listAssetPropertiesResponse_assetPropertySummaries - A list that summarizes the properties associated with the specified asset.

Response Lenses

listAssetPropertiesResponse_nextToken :: Lens' ListAssetPropertiesResponse (Maybe Text) Source #

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

listAssetPropertiesResponse_assetPropertySummaries :: Lens' ListAssetPropertiesResponse [AssetPropertySummary] Source #

A list that summarizes the properties associated with the specified asset.