SageMaker / Client / list_global_inference_gateways

list_global_inference_gateways

SageMaker.Client.list_global_inference_gateways(**kwargs)

Lists summaries of the global inference gateways in your account. You can filter the results by status.

See also: AWS API Documentation

Request Syntax

response = client.list_global_inference_gateways(
    Filters=[
        {
            'Name': 'Status',
            'Value': 'string'
        },
    ],
    NextToken='string',
    MaxResults=123
)
Parameters:
  • Filters (list) –

    The filters to apply to the results. You can filter by Status. Multiple filters are combined with a logical AND.

    • (dict) –

      A filter for ListGlobalInferenceGateways. The filter matches the global inference gateways whose attribute named by Name equals Value.

      • Name (string) – [REQUIRED]

        The attribute to filter global inference gateways on. The only supported value is Status.

      • Value (string) – [REQUIRED]

        The value to match. For the Status filter, specify a global inference gateway status.

  • NextToken (string) – If the result of the previous ListGlobalInferenceGateways request was truncated, the response includes a NextToken. To retrieve the next set of global inference gateways, use the token in the next request.

  • MaxResults (integer) – The maximum number of global inference gateways to return in the response.

Return type:

dict

Returns:

Response Syntax

{
    'GlobalInferenceGatewaySummaries': [
        {
            'Arn': 'string',
            'Id': 'string',
            'Name': 'string',
            'Status': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETING'|'FAILED',
            'CreationTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • GlobalInferenceGatewaySummaries (list) –

      The summaries of the global inference gateways.

      • (dict) –

        Summary information about a global inference gateway.

        • Arn (string) –

          The Amazon Resource Name (ARN) of the global inference gateway.

        • Id (string) –

          The ID of the global inference gateway.

        • Name (string) –

          The name of the global inference gateway.

        • Status (string) –

          The status of the global inference gateway.

        • CreationTime (datetime) –

          The time when the global inference gateway was created.

    • NextToken (string) –

      If the result of the previous ListGlobalInferenceGateways request was truncated, the response includes a NextToken. To retrieve the next set of global inference gateways, use the token in the next request.