Paws::FMS::ListPolicies - Arguments for method ListPolicies on Paws::FMS


This class represents the parameters used for calling the method ListPolicies on the Firewall Management Service service. Use the attributes of this class as arguments to method ListPolicies.

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


    my $fms = Paws->service('FMS');
    my $ListPoliciesResponse = $fms->ListPolicies(
      MaxResults => 1,                      # OPTIONAL
      NextToken  => 'MyPaginationToken',    # OPTIONAL

    # Results:
    my $NextToken  = $ListPoliciesResponse->NextToken;
    my $PolicyList = $ListPoliciesResponse->PolicyList;

    # Returns a L<Paws::FMS::ListPoliciesResponse> 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

Specifies the number of PolicySummary objects that you want AWS Firewall Manager to return for this request. If you have more PolicySummary objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of PolicySummary objects.

NextToken => Str

If you specify a value for MaxResults and you have more PolicySummary objects than the number that you specify for MaxResults, AWS Firewall Manager returns a NextToken value in the response that allows you to list another group of PolicySummary objects. For the second and subsequent ListPolicies requests, specify the value of NextToken from the previous response to get information about another batch of PolicySummary objects.


This class forms part of Paws, documenting arguments for method ListPolicies in Paws::FMS


The source code is located here:

Please report bugs to: