Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_nextToken :: Lens' ListDimensions (Maybe Text)
- listDimensions_maxResults :: Lens' ListDimensions (Maybe Natural)
- data ListDimensionsResponse = ListDimensionsResponse' {
- nextToken :: Maybe Text
- dimensionNames :: Maybe [Text]
- httpStatus :: Int
- newListDimensionsResponse :: Int -> ListDimensionsResponse
- listDimensionsResponse_nextToken :: Lens' ListDimensionsResponse (Maybe Text)
- listDimensionsResponse_dimensionNames :: Lens' ListDimensionsResponse (Maybe [Text])
- listDimensionsResponse_httpStatus :: Lens' ListDimensionsResponse Int
Creating a Request
data ListDimensions Source #
See: newListDimensions
smart constructor.
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:nextToken:ListDimensions'
, listDimensions_nextToken
- The token for the next set of results.
$sel:maxResults:ListDimensions'
, listDimensions_maxResults
- The maximum number of results to retrieve at one time.
Request Lenses
listDimensions_nextToken :: Lens' ListDimensions (Maybe Text) Source #
The token for the next set of results.
listDimensions_maxResults :: Lens' ListDimensions (Maybe Natural) Source #
The maximum number of results to retrieve at one time.
Destructuring the Response
data ListDimensionsResponse Source #
See: newListDimensionsResponse
smart constructor.
ListDimensionsResponse' | |
|
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:nextToken: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:dimensionNames:ListDimensionsResponse'
, listDimensionsResponse_dimensionNames
- A list of the names of the defined dimensions. Use DescribeDimension
to get details for a dimension.
$sel:httpStatus:ListDimensionsResponse'
, listDimensionsResponse_httpStatus
- The response's http status code.
Response Lenses
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_dimensionNames :: Lens' ListDimensionsResponse (Maybe [Text]) Source #
A list of the names of the defined dimensions. Use DescribeDimension
to get details for a dimension.
listDimensionsResponse_httpStatus :: Lens' ListDimensionsResponse Int Source #
The response's http status code.