| 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.IoT.ListDimensions
Description
List the set of dimensions that are defined for your Amazon Web Services accounts.
Requires permission to access the ListDimensions action.
This operation returns paginated results.
Synopsis
- data ListDimensions = ListDimensions' {}
- newListDimensions :: ListDimensions
- listDimensions_maxResults :: Lens' ListDimensions (Maybe Natural)
- listDimensions_nextToken :: Lens' ListDimensions (Maybe Text)
- data ListDimensionsResponse = ListDimensionsResponse' {
- dimensionNames :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDimensionsResponse :: Int -> ListDimensionsResponse
- listDimensionsResponse_dimensionNames :: Lens' ListDimensionsResponse (Maybe [Text])
- listDimensionsResponse_nextToken :: Lens' ListDimensionsResponse (Maybe Text)
- listDimensionsResponse_httpStatus :: Lens' ListDimensionsResponse Int
Creating a Request
data ListDimensions Source #
See: newListDimensions smart constructor.
Constructors
| ListDimensions' | |
Instances
newListDimensions :: ListDimensions Source #
Create a value of ListDimensions 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:ListDimensions', listDimensions_maxResults - The maximum number of results to retrieve at one time.
ListDimensions, listDimensions_nextToken - The token for the next set of results.
Request Lenses
listDimensions_maxResults :: Lens' ListDimensions (Maybe Natural) Source #
The maximum number of results to retrieve at one time.
listDimensions_nextToken :: Lens' ListDimensions (Maybe Text) Source #
The token for the next set of results.
Destructuring the Response
data ListDimensionsResponse Source #
See: newListDimensionsResponse smart constructor.
Constructors
| ListDimensionsResponse' | |
Fields
| |
Instances
newListDimensionsResponse Source #
Create a value of ListDimensionsResponse 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:dimensionNames:ListDimensionsResponse', listDimensionsResponse_dimensionNames - A list of the names of the defined dimensions. Use DescribeDimension
to get details for a dimension.
ListDimensions, listDimensionsResponse_nextToken - A token that can be used to retrieve the next set of results, or null
if there are no additional results.
$sel:httpStatus:ListDimensionsResponse', listDimensionsResponse_httpStatus - The response's http status code.
Response Lenses
listDimensionsResponse_dimensionNames :: Lens' ListDimensionsResponse (Maybe [Text]) Source #
A list of the names of the defined dimensions. Use DescribeDimension
to get details for a dimension.
listDimensionsResponse_nextToken :: Lens' ListDimensionsResponse (Maybe Text) Source #
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
listDimensionsResponse_httpStatus :: Lens' ListDimensionsResponse Int Source #
The response's http status code.