| 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.EKS.ListAddons
Description
Lists the available add-ons.
This operation returns paginated results.
Synopsis
- data ListAddons = ListAddons' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- clusterName :: Text
- newListAddons :: Text -> ListAddons
- listAddons_maxResults :: Lens' ListAddons (Maybe Natural)
- listAddons_nextToken :: Lens' ListAddons (Maybe Text)
- 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.
Constructors
| ListAddons' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListAddons |
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: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.
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.
ListAddons, listAddons_clusterName - The name of the cluster.
Request Lenses
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_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_clusterName :: Lens' ListAddons Text Source #
The name of the cluster.
Destructuring the Response
data ListAddonsResponse Source #
See: newListAddonsResponse smart constructor.
Constructors
| ListAddonsResponse' | |
Fields
| |
Instances
newListAddonsResponse Source #
Arguments
| :: Int | |
| -> ListAddonsResponse |
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.
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.