Paws::OpsWorks::DescribeEcsClusters - Arguments for method DescribeEcsClusters on Paws::OpsWorks


This class represents the parameters used for calling the method DescribeEcsClusters on the AWS OpsWorks service. Use the attributes of this class as arguments to method DescribeEcsClusters.

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


    my $opsworks = Paws->service('OpsWorks');
    my $DescribeEcsClustersResult = $opsworks->DescribeEcsClusters(
      EcsClusterArns => [ 'MyString', ... ],    # OPTIONAL
      MaxResults     => 1,                      # OPTIONAL
      NextToken      => 'MyString',             # OPTIONAL
      StackId        => 'MyString',             # OPTIONAL

    # Results:
    my $EcsClusters = $DescribeEcsClustersResult->EcsClusters;
    my $NextToken   = $DescribeEcsClustersResult->NextToken;

    # Returns a L<Paws::OpsWorks::DescribeEcsClustersResult> 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


EcsClusterArns => ArrayRef[Str|Undef]

A list of ARNs, one for each cluster to be described.

MaxResults => Int

To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

NextToken => Str

If the previous paginated request did not return all of the remaining results, the response object'sNextToken parameter value is set to a token. To retrieve the next set of results, call DescribeEcsClusters again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

StackId => Str

A stack ID. DescribeEcsClusters returns a description of the cluster that is registered with the stack.


This class forms part of Paws, documenting arguments for method DescribeEcsClusters in Paws::OpsWorks


The source code is located here:

Please report bugs to: