SageMaker / Paginator / ListGlobalInferenceGateways

ListGlobalInferenceGateways

class SageMaker.Paginator.ListGlobalInferenceGateways
paginator = client.get_paginator('list_global_inference_gateways')
paginate(**kwargs)

Creates an iterator that will paginate through responses from SageMaker.Client.list_global_inference_gateways().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    Filters=[
        {
            'Name': 'Status',
            'Value': 'string'
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
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.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous 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)
        },
    ],

}

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.