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¶
servicediscovery_list_instances(ServiceId, NextToken, MaxResults)
Arguments¶
ServiceId |
[required] The ID of the service that you want to list instances for. |
NextToken |
For the first If more than |
MaxResults |
The maximum number of instances that you want Cloud Map to return
in the response to a |
Value¶
A list with the following syntax:
list(
Instances = list(
list(
Id = "string",
Attributes = list(
"string"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$list_instances(
ServiceId = "string",
NextToken = "string",
MaxResults = 123
)
Examples¶
## Not run:
# Example: List service instances
svc$list_instances(
ServiceId = "srv-qzpwvt2tfqcegapy"
)
## End(Not run)