Paws::ServiceDiscovery::ListNamespaces - Arguments for method ListNamespaces on Paws::ServiceDiscovery
This class represents the parameters used for calling the method ListNamespaces on the AWS Cloud Map service. Use the attributes of this class as arguments to method ListNamespaces.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListNamespaces.
my $servicediscovery = Paws->service('ServiceDiscovery'); my $ListNamespacesResponse = $servicediscovery->ListNamespaces( Filters => [ { Name => 'TYPE', # values: TYPE Values => [ 'MyFilterValue', ... # min: 1, max: 255 ], Condition => 'EQ', # values: EQ, IN, BETWEEN; OPTIONAL }, ... ], # OPTIONAL MaxResults => 1, # OPTIONAL NextToken => 'MyNextToken', # OPTIONAL ); # Results: my $Namespaces = $ListNamespacesResponse->Namespaces; my $NextToken = $ListNamespacesResponse->NextToken; # Returns a L<Paws::ServiceDiscovery::ListNamespacesResponse> 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/servicediscovery/ListNamespaces
A complex type that contains specifications for the namespaces that you want to list.
If you specify more than one filter, a namespace must match all filters to be returned by ListNamespaces.
ListNamespaces
The maximum number of namespaces that you want Cloud Map to return in the response to a ListNamespaces request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 namespaces.
MaxResults
For the first ListNamespaces request, omit this value.
If the response contains NextToken, submit another ListNamespaces request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
NextToken
Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria. It's possible that no namespaces in the first MaxResults namespaces matched the specified criteria but that subsequent groups of MaxResults namespaces do contain namespaces that match the criteria.
This class forms part of Paws, documenting arguments for method ListNamespaces in Paws::ServiceDiscovery
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.