Skip to content

ListServicesResponse

Source code in docs_src/capo_servicediscovery/types/list_services_response.py
class ListServicesResponse(TypedDict, closed=True):
    services: NotRequired[
        "capo_servicediscovery.types.service_summaries_list.ServiceSummariesList"
    ]
    """<p>An array that contains one <code>ServiceSummary</code> object for each service 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>ListServices</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> services and then filters them based on the specified criteria. It's possible that no services in the first <code>MaxResults</code> services matched the specified criteria but that subsequent groups of <code>MaxResults</code> services do contain services that match the criteria.</p> </note>"""

next_token instance-attribute

next_token: NotRequired[NextToken]

If the response contains NextToken, submit another ListServices 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 services and then filters them based on the specified criteria. It's possible that no services in the first MaxResults services matched the specified criteria but that subsequent groups of MaxResults services do contain services that match the criteria.

services instance-attribute

services: NotRequired[ServiceSummariesList]

An array that contains one ServiceSummary object for each service that matches the specified filter criteria.