List Instances
| servicediscovery_list_instances | R Documentation |
Lists summary information about the instances that you registered by using a specified service¶
Description¶
Lists summary information about the instances that you registered by using a specified service.
Usage¶
Arguments¶
ServiceId[required] The ID of the service that you want to list instances for.
NextTokenFor the first
list_instancesrequest, omit this value.If more than
MaxResultsinstances match the specified criteria, you can submit anotherlist_instancesrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.MaxResultsThe maximum number of instances that you want Cloud Map to return in the response to a
list_instancesrequest. If you don't specify a value forMaxResults, Cloud Map returns up to 100 instances.
Value¶
A list with the following syntax:
list(
Instances = list(
list(
Id = "string",
Attributes = list(
"string"
)
)
),
NextToken = "string"
)