Paws::EC2::DescribePublicIpv4Pools - Arguments for method DescribePublicIpv4Pools on Paws::EC2


This class represents the parameters used for calling the method DescribePublicIpv4Pools on the Amazon Elastic Compute Cloud service. Use the attributes of this class as arguments to method DescribePublicIpv4Pools.

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


    my $ec2 = Paws->service('EC2');
    my $DescribePublicIpv4PoolsResult = $ec2->DescribePublicIpv4Pools(
      MaxResults => 1,                      # OPTIONAL
      NextToken  => 'MyNextToken',          # OPTIONAL
      PoolIds    => [ 'MyString', ... ],    # OPTIONAL

    # Results:
    my $NextToken       = $DescribePublicIpv4PoolsResult->NextToken;
    my $PublicIpv4Pools = $DescribePublicIpv4PoolsResult->PublicIpv4Pools;

    # Returns a L<Paws::EC2::DescribePublicIpv4PoolsResult> 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 results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

NextToken => Str

The token for the next page of results.

PoolIds => ArrayRef[Str|Undef]

The IDs of the address pools.


This class forms part of Paws, documenting arguments for method DescribePublicIpv4Pools in Paws::EC2


The source code is located here:

Please report bugs to: