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

Description

Lists the Amazon EKS managed node groups associated with the specified cluster in your Amazon Web Services account in the specified Region. Self-managed node groups are not listed.

This operation returns paginated results.

Synopsis

Creating a Request

data ListNodegroups Source #

See: newListNodegroups smart constructor.

Constructors

ListNodegroups' 

Fields

  • nextToken :: Maybe Text

    The nextToken value returned from a previous paginated ListNodegroups 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.

  • maxResults :: Maybe Natural

    The maximum number of node group results returned by ListNodegroups in paginated output. When you use this parameter, ListNodegroups 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 ListNodegroups request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListNodegroups returns up to 100 results and a nextToken value if applicable.

  • clusterName :: Text

    The name of the Amazon EKS cluster that you would like to list node groups in.

Instances

Instances details
Eq ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Read ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Show ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Generic ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Associated Types

type Rep ListNodegroups :: Type -> Type #

NFData ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Methods

rnf :: ListNodegroups -> () #

Hashable ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

AWSPager ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

AWSRequest ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Associated Types

type AWSResponse ListNodegroups #

ToHeaders ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

ToPath ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

ToQuery ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

type Rep ListNodegroups Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

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

Defined in Amazonka.EKS.ListNodegroups

newListNodegroups Source #

Create a value of ListNodegroups 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:ListNodegroups', listNodegroups_nextToken - The nextToken value returned from a previous paginated ListNodegroups 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:maxResults:ListNodegroups', listNodegroups_maxResults - The maximum number of node group results returned by ListNodegroups in paginated output. When you use this parameter, ListNodegroups 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 ListNodegroups request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListNodegroups returns up to 100 results and a nextToken value if applicable.

$sel:clusterName:ListNodegroups', listNodegroups_clusterName - The name of the Amazon EKS cluster that you would like to list node groups in.

Request Lenses

listNodegroups_nextToken :: Lens' ListNodegroups (Maybe Text) Source #

The nextToken value returned from a previous paginated ListNodegroups 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.

listNodegroups_maxResults :: Lens' ListNodegroups (Maybe Natural) Source #

The maximum number of node group results returned by ListNodegroups in paginated output. When you use this parameter, ListNodegroups 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 ListNodegroups request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListNodegroups returns up to 100 results and a nextToken value if applicable.

listNodegroups_clusterName :: Lens' ListNodegroups Text Source #

The name of the Amazon EKS cluster that you would like to list node groups in.

Destructuring the Response

data ListNodegroupsResponse Source #

See: newListNodegroupsResponse smart constructor.

Constructors

ListNodegroupsResponse' 

Fields

  • nodegroups :: Maybe [Text]

    A list of all of the node groups associated with the specified cluster.

  • nextToken :: Maybe Text

    The nextToken value to include in a future ListNodegroups request. When the results of a ListNodegroups 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListNodegroupsResponse Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Read ListNodegroupsResponse Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Show ListNodegroupsResponse Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Generic ListNodegroupsResponse Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Associated Types

type Rep ListNodegroupsResponse :: Type -> Type #

NFData ListNodegroupsResponse Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

Methods

rnf :: ListNodegroupsResponse -> () #

type Rep ListNodegroupsResponse Source # 
Instance details

Defined in Amazonka.EKS.ListNodegroups

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

newListNodegroupsResponse Source #

Create a value of ListNodegroupsResponse 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:nodegroups:ListNodegroupsResponse', listNodegroupsResponse_nodegroups - A list of all of the node groups associated with the specified cluster.

$sel:nextToken:ListNodegroups', listNodegroupsResponse_nextToken - The nextToken value to include in a future ListNodegroups request. When the results of a ListNodegroups 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:httpStatus:ListNodegroupsResponse', listNodegroupsResponse_httpStatus - The response's http status code.

Response Lenses

listNodegroupsResponse_nodegroups :: Lens' ListNodegroupsResponse (Maybe [Text]) Source #

A list of all of the node groups associated with the specified cluster.

listNodegroupsResponse_nextToken :: Lens' ListNodegroupsResponse (Maybe Text) Source #

The nextToken value to include in a future ListNodegroups request. When the results of a ListNodegroups 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.