Last chance! 50% off unlimited learning
Sale ends in
Lists summary information about the namespaces that were created by the current AWS account.
servicediscovery_list_namespaces(NextToken, MaxResults, Filters)
For the first list_namespaces
request, omit this value.
If the response contains NextToken
, submit another
list_namespaces
request to get the
next group of results. Specify the value of NextToken
from the
previous response in the next request.
AWS Cloud Map gets MaxResults
namespaces and then filters them based
on the specified criteria. It's possible that no namespaces in the first
MaxResults
namespaces matched the specified criteria but that
subsequent groups of MaxResults
namespaces do contain namespaces that
match the criteria.
The maximum number of namespaces that you want AWS Cloud Map to return
in the response to a
list_namespaces
request. If you
don't specify a value for MaxResults
, AWS Cloud Map returns up to 100
namespaces.
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
.
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" ), HttpProperties = list( HttpName = "string" ) ), CreateDate = as.POSIXct( "2015-01-01" ) ) ), NextToken = "string" )
svc$list_namespaces( NextToken = "string", MaxResults = 123, Filters = list( list( Name = "TYPE", Values = list( "string" ), Condition = "EQ"|"IN"|"BETWEEN" ) ) )
# NOT RUN {
# Example: List namespaces
svc$list_namespaces()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab