List Services
servicediscovery_list_services | R Documentation |
Lists summary information for all the services that are associated with one or more namespaces¶
Description¶
Lists summary information for all the services that are associated with one or more namespaces.
Usage¶
Arguments¶
NextToken
For the first
list_services
request, omit this value.If the response contains
NextToken
, submit anotherlist_services
request to get the next group of results. Specify the value ofNextToken
from the previous response in the next request.Cloud Map gets
MaxResults
services and then filters them based on the specified criteria. It's possible that no services in the firstMaxResults
services matched the specified criteria but that subsequent groups ofMaxResults
services do contain services that match the criteria.MaxResults
The maximum number of services that you want Cloud Map to return in the response to a
list_services
request. If you don't specify a value forMaxResults
, Cloud Map returns up to 100 services.Filters
A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
list_services
.
Value¶
A list with the following syntax:
list(
Services = list(
list(
Id = "string",
Arn = "string",
Name = "string",
Type = "HTTP"|"DNS_HTTP"|"DNS",
Description = "string",
InstanceCount = 123,
DnsConfig = list(
NamespaceId = "string",
RoutingPolicy = "MULTIVALUE"|"WEIGHTED",
DnsRecords = list(
list(
Type = "SRV"|"A"|"AAAA"|"CNAME",
TTL = 123
)
)
),
HealthCheckConfig = list(
Type = "HTTP"|"HTTPS"|"TCP",
ResourcePath = "string",
FailureThreshold = 123
),
HealthCheckCustomConfig = list(
FailureThreshold = 123
),
CreateDate = as.POSIXct(
"2015-01-01"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$list_services(
NextToken = "string",
MaxResults = 123,
Filters = list(
list(
Name = "NAMESPACE_ID",
Values = list(
"string"
),
Condition = "EQ"|"IN"|"BETWEEN"|"BEGINS_WITH"
)
)
)