Paws::MQ::ListBrokers - Arguments for method ListBrokers on Paws::MQ


This class represents the parameters used for calling the method ListBrokers on the AmazonMQ service. Use the attributes of this class as arguments to method ListBrokers.

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


    my $mq = Paws->service('MQ');
    my $ListBrokersResponse = $mq->ListBrokers(
      MaxResults => 1,               # OPTIONAL
      NextToken  => 'My__string',    # OPTIONAL

    # Results:
    my $BrokerSummaries = $ListBrokersResponse->BrokerSummaries;
    my $NextToken       = $ListBrokersResponse->NextToken;

    # Returns a L<Paws::MQ::ListBrokersResponse> 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


MaxResults => Int

The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

NextToken => Str

The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.


This class forms part of Paws, documenting arguments for method ListBrokers in Paws::MQ


The source code is located here:

Please report bugs to: