list_inference_gateways
¶
list_inference_gateways(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
identifier: Optional[GlobalInferenceGatewayIdentifier] = None,
filters: Optional[GlobalInferenceGatewayMemberFilters] = None,
next_token: Optional[GlobalInferenceGatewayNextToken] = None,
max_results: Optional[GlobalInferenceGatewayMaxResults] = None,
) -> ListInferenceGatewaysResponse
Lists the in-cluster inference gateways in a global inference gateway, in the order that they were added. Each summary includes the status of the in-cluster inference gateway and, if the status is FAILED, the reason for the failure. DescribeGlobalInferenceGateway doesn't return the in-cluster inference gateways; use this operation to list them.
Parameters:
-
identifier(Optional[GlobalInferenceGatewayIdentifier], default:None) –The name, Amazon Resource Name (ARN), or ID of the global inference gateway.
-
filters(Optional[GlobalInferenceGatewayMemberFilters], default:None) –The filters to apply to the results. You can filter by
StatusandClusterArn. Multiple filters are combined with a logical AND. -
next_token(Optional[GlobalInferenceGatewayNextToken], default:None) –If the result of the previous
ListInferenceGatewaysrequest was truncated, the response includes aNextToken. To retrieve the next set of in-cluster inference gateways, use the token in the next request. -
max_results(Optional[GlobalInferenceGatewayMaxResults], default:None) –The maximum number of in-cluster inference gateways to return in the response.
Raises:
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
23058 23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 23074 23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 | |