NAME

Paws::ServiceDiscovery::ListInstances - Arguments for method ListInstances on Paws::ServiceDiscovery

DESCRIPTION

This class represents the parameters used for calling the method ListInstances on the AWS Cloud Map service. Use the attributes of this class as arguments to method ListInstances.

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

SYNOPSIS

my $servicediscovery = Paws->service('ServiceDiscovery');
my $ListInstancesResponse = $servicediscovery->ListInstances(
  ServiceId  => 'MyResourceId',
  MaxResults => 1,                # OPTIONAL
  NextToken  => 'MyNextToken',    # OPTIONAL
);

# Results:
my $Instances = $ListInstancesResponse->Instances;
my $NextToken = $ListInstancesResponse->NextToken;

# Returns a L<Paws::ServiceDiscovery::ListInstancesResponse> 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/ListInstances

ATTRIBUTES

MaxResults => Int

The maximum number of instances that you want Cloud Map to return in the response to a ListInstances request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances.

NextToken => Str

For the first ListInstances request, omit this value.

If more than MaxResults instances match the specified criteria, you can submit another ListInstances request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

REQUIRED ServiceId => Str

The ID of the service that you want to list instances for.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListInstances in Paws::ServiceDiscovery

BUGS and CONTRIBUTIONS

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