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 |
Lists the available add-ons.
This operation returns paginated results.
Synopsis
- data ListAddons = ListAddons' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- clusterName :: Text
- newListAddons :: Text -> ListAddons
- listAddons_nextToken :: Lens' ListAddons (Maybe Text)
- listAddons_maxResults :: Lens' ListAddons (Maybe Natural)
- listAddons_clusterName :: Lens' ListAddons Text
- data ListAddonsResponse = ListAddonsResponse' {}
- newListAddonsResponse :: Int -> ListAddonsResponse
- listAddonsResponse_addons :: Lens' ListAddonsResponse (Maybe [Text])
- listAddonsResponse_nextToken :: Lens' ListAddonsResponse (Maybe Text)
- listAddonsResponse_httpStatus :: Lens' ListAddonsResponse Int
Creating a Request
data ListAddons Source #
See: newListAddons
smart constructor.
ListAddons' | |
|
Instances
Create a value of ListAddons
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:ListAddons'
, listAddons_nextToken
- The nextToken
value returned from a previous paginated
ListAddonsRequest
where maxResults
was used and the results exceeded
the value of that parameter. Pagination continues from the end of the
previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
$sel:maxResults:ListAddons'
, listAddons_maxResults
- The maximum number of add-on results returned by ListAddonsRequest
in
paginated output. When you use this parameter, ListAddonsRequest
returns only maxResults
results in a single page along with a
nextToken
response element. You can see the remaining results of the
initial request by sending another ListAddonsRequest
request with the
returned nextToken
value. This value can be between 1 and 100. If you
don't use this parameter, ListAddonsRequest
returns up to 100 results
and a nextToken
value, if applicable.
$sel:clusterName:ListAddons'
, listAddons_clusterName
- The name of the cluster.
Request Lenses
listAddons_nextToken :: Lens' ListAddons (Maybe Text) Source #
The nextToken
value returned from a previous paginated
ListAddonsRequest
where maxResults
was used and the results exceeded
the value of that parameter. Pagination continues from the end of the
previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
listAddons_maxResults :: Lens' ListAddons (Maybe Natural) Source #
The maximum number of add-on results returned by ListAddonsRequest
in
paginated output. When you use this parameter, ListAddonsRequest
returns only maxResults
results in a single page along with a
nextToken
response element. You can see the remaining results of the
initial request by sending another ListAddonsRequest
request with the
returned nextToken
value. This value can be between 1 and 100. If you
don't use this parameter, ListAddonsRequest
returns up to 100 results
and a nextToken
value, if applicable.
listAddons_clusterName :: Lens' ListAddons Text Source #
The name of the cluster.
Destructuring the Response
data ListAddonsResponse Source #
See: newListAddonsResponse
smart constructor.
ListAddonsResponse' | |
|
Instances
newListAddonsResponse Source #
Create a value of ListAddonsResponse
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:addons:ListAddonsResponse'
, listAddonsResponse_addons
- A list of available add-ons.
$sel:nextToken:ListAddons'
, listAddonsResponse_nextToken
- The nextToken
value returned from a previous paginated
ListAddonsResponse
where maxResults
was used and the results
exceeded the value of that parameter. Pagination continues from the end
of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
$sel:httpStatus:ListAddonsResponse'
, listAddonsResponse_httpStatus
- The response's http status code.
Response Lenses
listAddonsResponse_addons :: Lens' ListAddonsResponse (Maybe [Text]) Source #
A list of available add-ons.
listAddonsResponse_nextToken :: Lens' ListAddonsResponse (Maybe Text) Source #
The nextToken
value returned from a previous paginated
ListAddonsResponse
where maxResults
was used and the results
exceeded the value of that parameter. Pagination continues from the end
of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
listAddonsResponse_httpStatus :: Lens' ListAddonsResponse Int Source #
The response's http status code.