NAME

Paws::EKS::ListNodegroups - Arguments for method ListNodegroups on Paws::EKS

DESCRIPTION

This class represents the parameters used for calling the method ListNodegroups on the Amazon Elastic Kubernetes Service service. Use the attributes of this class as arguments to method ListNodegroups.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListNodegroups.

SYNOPSIS

my $eks = Paws->service('EKS');
my $ListNodegroupsResponse = $eks->ListNodegroups(
  ClusterName => 'MyString',
  MaxResults  => 1,             # OPTIONAL
  NextToken   => 'MyString',    # OPTIONAL
);

# Results:
my $NextToken  = $ListNodegroupsResponse->NextToken;
my $Nodegroups = $ListNodegroupsResponse->Nodegroups;

# Returns a L<Paws::EKS::ListNodegroupsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/eks/ListNodegroups

ATTRIBUTES

REQUIRED ClusterName => Str

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

MaxResults => Int

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.

NextToken => Str

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListNodegroups in Paws::EKS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues