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 |
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
- data ListAssetProperties = ListAssetProperties' {}
- newListAssetProperties :: Text -> ListAssetProperties
- listAssetProperties_filter :: Lens' ListAssetProperties (Maybe ListAssetPropertiesFilter)
- listAssetProperties_maxResults :: Lens' ListAssetProperties (Maybe Natural)
- listAssetProperties_nextToken :: Lens' ListAssetProperties (Maybe Text)
- listAssetProperties_assetId :: Lens' ListAssetProperties Text
- data ListAssetPropertiesResponse = ListAssetPropertiesResponse' {}
- newListAssetPropertiesResponse :: Int -> ListAssetPropertiesResponse
- listAssetPropertiesResponse_nextToken :: Lens' ListAssetPropertiesResponse (Maybe Text)
- listAssetPropertiesResponse_httpStatus :: Lens' ListAssetPropertiesResponse Int
- listAssetPropertiesResponse_assetPropertySummaries :: Lens' ListAssetPropertiesResponse [AssetPropertySummary]
Creating a Request
data ListAssetProperties Source #
See: newListAssetProperties
smart constructor.
ListAssetProperties' | |
|
Instances
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.
listAssetProperties_assetId :: Lens' ListAssetProperties Text Source #
The ID of the asset.
Destructuring the Response
data ListAssetPropertiesResponse Source #
See: newListAssetPropertiesResponse
smart constructor.
ListAssetPropertiesResponse' | |
|
Instances
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_httpStatus :: Lens' ListAssetPropertiesResponse Int Source #
The response's http status code.
listAssetPropertiesResponse_assetPropertySummaries :: Lens' ListAssetPropertiesResponse [AssetPropertySummary] Source #
A list that summarizes the properties associated with the specified asset.