SageMaker / Paginator / ListInferenceGateways
ListInferenceGateways¶
- class SageMaker.Paginator.ListInferenceGateways¶
paginator = client.get_paginator('list_inference_gateways')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
SageMaker.Client.list_inference_gateways().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( Identifier='string', Filters=[ { 'Name': 'Status'|'ClusterArn', 'Value': 'string' }, ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
Identifier (string) –
[REQUIRED]
The name, Amazon Resource Name (ARN), or ID of the global inference gateway.
Filters (list) –
The filters to apply to the results. You can filter by
StatusandClusterArn. Multiple filters are combined with a logical AND.(dict) –
A filter for
ListInferenceGateways. The filter matches the in-cluster inference gateways whose attribute named byNameequalsValue.Name (string) – [REQUIRED]
The attribute to filter in-cluster inference gateways on. Supported values are
StatusandClusterArn.Value (string) – [REQUIRED]
The value to match. For the
Statusfilter, specify a status of an in-cluster inference gateway. For theClusterArnfilter, specify the Amazon Resource Name (ARN) of a SageMaker HyperPod cluster.
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
NextTokenwill 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
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'InferenceGatewaySummaries': [ { 'Name': 'string', 'Namespace': 'string', 'ClusterArn': 'string', 'Status': 'ADDING'|'ACTIVE'|'REMOVING'|'FAILED', 'FailureReason': 'string' }, ], }
Response Structure
(dict) –
InferenceGatewaySummaries (list) –
The summaries of the in-cluster inference gateways, in the order that they were added.
(dict) –
Summary information about an in-cluster inference gateway in a global inference gateway, including its status.
Name (string) –
The name of the
InferenceGatewayConfigresource that defines the in-cluster inference gateway.Namespace (string) –
The Kubernetes namespace of the in-cluster inference gateway.
ClusterArn (string) –
The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster that runs the in-cluster inference gateway.
Status (string) –
The status of the in-cluster inference gateway in the global inference gateway. This status describes the membership in the global inference gateway, not the health of the in-cluster inference gateway.
FailureReason (string) –
The reason that adding or removing the in-cluster inference gateway failed. This value is set only when the status is
FAILED.