![]() |
![]()
| ![]() |
![]()
NAMEPaws::ServiceDiscovery::ListNamespaces - Arguments for method ListNamespaces on Paws::ServiceDiscovery DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESFilters => ArrayRef[Paws::ServiceDiscovery::NamespaceFilter]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". MaxResults => IntThe 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. NextToken => StrFor 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. 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. SEE ALSOThis class forms part of Paws, documenting arguments for method ListNamespaces in Paws::ServiceDiscovery BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|