libZSservicesZSamazonka-eksZSamazonka-eks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data ListUpdates Source #

See: newListUpdates smart constructor.

Constructors

ListUpdates' 

Fields

  • addonName :: Maybe Text

    The names of the installed add-ons that have available updates.

  • nextToken :: Maybe Text

    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.

  • nodegroupName :: Maybe Text

    The name of the Amazon EKS managed node group to list updates for.

  • maxResults :: Maybe Natural

    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.

  • name :: Text

    The name of the Amazon EKS cluster to list updates for.

Instances

Instances details
Eq ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Read ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Show ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Generic ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Associated Types

type Rep ListUpdates :: Type -> Type #

NFData ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Methods

rnf :: ListUpdates -> () #

Hashable ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

AWSPager ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

AWSRequest ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Associated Types

type AWSResponse ListUpdates #

ToHeaders ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Methods

toHeaders :: ListUpdates -> [Header] #

ToPath ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

ToQuery ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

type Rep ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

type Rep ListUpdates = D1 ('MetaData "ListUpdates" "Amazonka.EKS.ListUpdates" "libZSservicesZSamazonka-eksZSamazonka-eks" 'False) (C1 ('MetaCons "ListUpdates'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "addonName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nodegroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

newListUpdates Source #

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.

Constructors

ListUpdatesResponse' 

Fields

  • nextToken :: Maybe Text

    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.

  • updateIds :: Maybe [Text]

    A list of all the updates for the specified cluster and Region.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Read ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Show ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Generic ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Associated Types

type Rep ListUpdatesResponse :: Type -> Type #

NFData ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Methods

rnf :: ListUpdatesResponse -> () #

type Rep ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

type Rep ListUpdatesResponse = D1 ('MetaData "ListUpdatesResponse" "Amazonka.EKS.ListUpdates" "libZSservicesZSamazonka-eksZSamazonka-eks" 'False) (C1 ('MetaCons "ListUpdatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "updateIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.