update_global_inference_gateway
async
¶
update_global_inference_gateway(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
identifier: Optional[GlobalInferenceGatewayIdentifier] = None,
routing: Optional[GlobalInferenceGatewayRouting] = None,
) -> UpdateGlobalInferenceGatewayResponse
Updates the routing configuration of a global inference gateway. To add or remove in-cluster inference gateways, use AddInferenceGateway and RemoveInferenceGateway. This operation is asynchronous: the global inference gateway moves to the UPDATING status. The operation fails with ConflictException while another operation is in progress on the global inference gateway.
Parameters:
-
identifier(Optional[GlobalInferenceGatewayIdentifier], default:None) –The name, Amazon Resource Name (ARN), or ID of the global inference gateway to update.
-
routing(Optional[GlobalInferenceGatewayRouting], default:None) –The new routing configuration of the global inference gateway.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
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
33532 33533 33534 33535 33536 33537 33538 33539 33540 33541 33542 33543 33544 33545 33546 33547 33548 33549 33550 33551 33552 33553 33554 33555 33556 33557 33558 33559 33560 33561 33562 33563 33564 33565 33566 33567 33568 33569 33570 33571 33572 33573 33574 33575 33576 33577 33578 33579 33580 33581 33582 33583 33584 33585 | |