list_inference_gateways
async
¶
list_inference_gateways(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
23370 23371 23372 23373 23374 23375 23376 23377 23378 23379 23380 23381 23382 23383 23384 23385 23386 23387 23388 23389 23390 23391 23392 23393 23394 23395 23396 23397 23398 23399 23400 23401 23402 23403 23404 23405 23406 23407 23408 23409 23410 23411 23412 23413 23414 23415 23416 23417 23418 23419 23420 23421 23422 23423 23424 23425 23426 23427 23428 23429 23430 23431 23432 23433 23434 | |