Skip to content

ListNamespacesResponse

Source code in docs_src/capo_servicediscovery/types/list_namespaces_response.py
class ListNamespacesResponse(TypedDict, closed=True):
    namespaces: NotRequired[
        "capo_servicediscovery.types.namespace_summaries_list.NamespaceSummariesList"
    ]
    """<p>An array that contains one <code>NamespaceSummary</code> object for each namespace that matches the specified filter criteria.</p>"""
    next_token: NotRequired["capo_servicediscovery.types.next_token.NextToken"]
    """<p>If the response contains <code>NextToken</code>, submit another <code>ListNamespaces</code> request to get the next group of results. Specify the value of <code>NextToken</code> from the previous response in the next request.</p> <note> <p>Cloud Map gets <code>MaxResults</code> namespaces and then filters them based on the specified criteria. It's possible that no namespaces in the first <code>MaxResults</code> namespaces matched the specified criteria but that subsequent groups of <code>MaxResults</code> namespaces do contain namespaces that match the criteria.</p> </note>"""

namespaces instance-attribute

namespaces: NotRequired[NamespaceSummariesList]

An array that contains one NamespaceSummary object for each namespace that matches the specified filter criteria.

next_token instance-attribute

next_token: NotRequired[NextToken]

If the response contains NextToken, submit another ListNamespaces request to get the next group of results. Specify the value of NextToken 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 first MaxResults namespaces matched the specified criteria but that subsequent groups of MaxResults namespaces do contain namespaces that match the criteria.