List Namespaces
servicediscovery_list_namespaces | R Documentation |
Lists summary information about the namespaces that were created by the current Amazon Web Services account¶
Description¶
Lists summary information about the namespaces that were created by the current Amazon Web Services account.
Usage¶
Arguments¶
NextToken
For the first
list_namespaces
request, omit this value.If the response contains
NextToken
, submit anotherlist_namespaces
request to get the next group of results. Specify the value ofNextToken
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 firstMaxResults
namespaces matched the specified criteria but that subsequent groups ofMaxResults
namespaces do contain namespaces that match the criteria.MaxResults
The maximum number of namespaces that you want Cloud Map to return in the response to a
list_namespaces
request. If you don't specify a value forMaxResults
, Cloud Map returns up to 100 namespaces.Filters
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
list_namespaces
.
Value¶
A list with the following syntax:
list(
Namespaces = list(
list(
Id = "string",
Arn = "string",
Name = "string",
Type = "DNS_PUBLIC"|"DNS_PRIVATE"|"HTTP",
Description = "string",
ServiceCount = 123,
Properties = list(
DnsProperties = list(
HostedZoneId = "string",
SOA = list(
TTL = 123
)
),
HttpProperties = list(
HttpName = "string"
)
),
CreateDate = as.POSIXct(
"2015-01-01"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$list_namespaces(
NextToken = "string",
MaxResults = 123,
Filters = list(
list(
Name = "TYPE"|"NAME"|"HTTP_NAME",
Values = list(
"string"
),
Condition = "EQ"|"IN"|"BETWEEN"|"BEGINS_WITH"
)
)
)