SageMaker / Client / list_inference_routers

list_inference_routers

SageMaker.Client.list_inference_routers(**kwargs)

Lists the inference routers in your account in the current Amazon Web Services Region. A router that you just created might not appear in the list right away.

See also: AWS API Documentation

Request Syntax

response = client.list_inference_routers(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – The maximum number of inference routers to return in the response.

  • NextToken (string) – If the previous response was truncated, you receive this token. To get the next set of inference routers, use it in your next request.

Return type:

dict

Returns:

Response Syntax

{
    'InferenceRouters': [
        {
            'InferenceRouterName': 'string',
            'InferenceRouterArn': 'string',
            'CreationTime': datetime(2015, 1, 1),
            'LastModifiedTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • InferenceRouters (list) –

      A list of summaries of the inference routers.

      • (dict) –

        A summary of an inference router.

        • InferenceRouterName (string) –

          The name of the inference router.

        • InferenceRouterArn (string) –

          The Amazon Resource Name (ARN) of the inference router.

        • CreationTime (datetime) –

          The date and time that the inference router was created.

        • LastModifiedTime (datetime) –

          The date and time that the inference router was last updated.

    • NextToken (string) –

      If the response is truncated, SageMaker AI returns this token. To get the next set of inference routers, use it in your next request.