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 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_nextToken :: Lens' ListUpdates (Maybe Text)
- listUpdates_nodegroupName :: Lens' ListUpdates (Maybe Text)
- listUpdates_maxResults :: Lens' ListUpdates (Maybe Natural)
- 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.
ListUpdates' | |
|
Instances
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:
$sel:addonName:ListUpdates'
, listUpdates_addonName
- The names of the installed add-ons that have available updates.
$sel:nextToken: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.
$sel:nodegroupName:ListUpdates'
, listUpdates_nodegroupName
- The name of the Amazon EKS managed node group to list updates for.
$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.
$sel:name: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_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_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_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.
ListUpdatesResponse' | |
|
Instances
newListUpdatesResponse Source #
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:
$sel:nextToken: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.