| 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.ListUpdates
Description
Lists the updates associated with an Amazon EKS cluster or managed node group in your Amazon Web Services account, in the specified Region.
This operation returns paginated results.
Synopsis
- data ListUpdates = ListUpdates' {}
- newListUpdates :: Text -> ListUpdates
- listUpdates_addonName :: Lens' ListUpdates (Maybe Text)
- listUpdates_maxResults :: Lens' ListUpdates (Maybe Natural)
- listUpdates_nextToken :: Lens' ListUpdates (Maybe Text)
- listUpdates_nodegroupName :: Lens' ListUpdates (Maybe Text)
- listUpdates_name :: Lens' ListUpdates Text
- data ListUpdatesResponse = ListUpdatesResponse' {}
- newListUpdatesResponse :: Int -> ListUpdatesResponse
- listUpdatesResponse_nextToken :: Lens' ListUpdatesResponse (Maybe Text)
- listUpdatesResponse_updateIds :: Lens' ListUpdatesResponse (Maybe [Text])
- listUpdatesResponse_httpStatus :: Lens' ListUpdatesResponse Int
Creating a Request
data ListUpdates Source #
See: newListUpdates smart constructor.
Constructors
| ListUpdates' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListUpdates |
Create a value of ListUpdates 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:
ListUpdates, listUpdates_addonName - The names of the installed add-ons that have available updates.
$sel:maxResults:ListUpdates', listUpdates_maxResults - The maximum number of update results returned by ListUpdates in
paginated output. When you use this parameter, ListUpdates 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 ListUpdates request with the returned
nextToken value. This value can be between 1 and 100. If you don't
use this parameter, ListUpdates returns up to 100 results and a
nextToken value if applicable.
ListUpdates, listUpdates_nextToken - The nextToken value returned from a previous paginated ListUpdates
request 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.
ListUpdates, listUpdates_nodegroupName - The name of the Amazon EKS managed node group to list updates for.
ListUpdates, listUpdates_name - The name of the Amazon EKS cluster to list updates for.
Request Lenses
listUpdates_addonName :: Lens' ListUpdates (Maybe Text) Source #
The names of the installed add-ons that have available updates.
listUpdates_maxResults :: Lens' ListUpdates (Maybe Natural) Source #
The maximum number of update results returned by ListUpdates in
paginated output. When you use this parameter, ListUpdates 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 ListUpdates request with the returned
nextToken value. This value can be between 1 and 100. If you don't
use this parameter, ListUpdates returns up to 100 results and a
nextToken value if applicable.
listUpdates_nextToken :: Lens' ListUpdates (Maybe Text) Source #
The nextToken value returned from a previous paginated ListUpdates
request 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.
listUpdates_nodegroupName :: Lens' ListUpdates (Maybe Text) Source #
The name of the Amazon EKS managed node group to list updates for.
listUpdates_name :: Lens' ListUpdates Text Source #
The name of the Amazon EKS cluster to list updates for.
Destructuring the Response
data ListUpdatesResponse Source #
See: newListUpdatesResponse smart constructor.
Constructors
| ListUpdatesResponse' | |
Fields
| |
Instances
newListUpdatesResponse Source #
Arguments
| :: Int | |
| -> ListUpdatesResponse |
Create a value of ListUpdatesResponse 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:
ListUpdates, listUpdatesResponse_nextToken - The nextToken value to include in a future ListUpdates request. When
the results of a ListUpdates request exceed maxResults, you can use
this value to retrieve the next page of results. This value is null
when there are no more results to return.
$sel:updateIds:ListUpdatesResponse', listUpdatesResponse_updateIds - A list of all the updates for the specified cluster and Region.
$sel:httpStatus:ListUpdatesResponse', listUpdatesResponse_httpStatus - The response's http status code.
Response Lenses
listUpdatesResponse_nextToken :: Lens' ListUpdatesResponse (Maybe Text) Source #
The nextToken value to include in a future ListUpdates request. When
the results of a ListUpdates request exceed maxResults, you can use
this value to retrieve the next page of results. This value is null
when there are no more results to return.
listUpdatesResponse_updateIds :: Lens' ListUpdatesResponse (Maybe [Text]) Source #
A list of all the updates for the specified cluster and Region.
listUpdatesResponse_httpStatus :: Lens' ListUpdatesResponse Int Source #
The response's http status code.