amazonka-eks-2.0: Amazon Elastic Kubernetes Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

  • 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.

  • 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.

  • name :: Text

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

Instances

Instances details
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

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 #

Generic ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Associated Types

type Rep ListUpdates :: Type -> Type #

Read ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Show ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

NFData ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Methods

rnf :: ListUpdates -> () #

Eq ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Hashable ListUpdates Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

type AWSResponse 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" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "ListUpdates'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "addonName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nodegroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

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

  • 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
Generic ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Associated Types

type Rep ListUpdatesResponse :: Type -> Type #

Read ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Show ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

NFData ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

Methods

rnf :: ListUpdatesResponse -> () #

Eq ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

type Rep ListUpdatesResponse Source # 
Instance details

Defined in Amazonka.EKS.ListUpdates

type Rep ListUpdatesResponse = D1 ('MetaData "ListUpdatesResponse" "Amazonka.EKS.ListUpdates" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" '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:

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.