remove_inference_gateway
¶
remove_inference_gateway(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
identifier: Optional[GlobalInferenceGatewayIdentifier] = None,
cluster_arn: Optional[GlobalInferenceGatewayClusterArn] = None,
namespace: Optional[GlobalInferenceGatewayKubernetesNamespace] = None,
name: Optional[GlobalInferenceGatewayKubernetesResourceName] = None,
) -> RemoveInferenceGatewayResponse
Removes an in-cluster inference gateway from a global inference gateway. This operation is asynchronous: the in-cluster inference gateway moves to the REMOVING status, and then no longer appears in ListInferenceGateways. If the in-cluster inference gateway isn't in the global inference gateway, the operation succeeds and returns no status. The operation returns ResourceNotFound only if the global inference gateway doesn't exist. The operation fails with ConflictException while another operation is in progress on the global inference gateway. It fails with ValidationException if the in-cluster inference gateway is the last one, because a global inference gateway must have at least one.
Parameters:
-
identifier(Optional[GlobalInferenceGatewayIdentifier], default:None) –The name, Amazon Resource Name (ARN), or ID of the global inference gateway.
-
cluster_arn(Optional[GlobalInferenceGatewayClusterArn], default:None) –The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster that runs the in-cluster inference gateway.
-
namespace(Optional[GlobalInferenceGatewayKubernetesNamespace], default:None) –The Kubernetes namespace of the in-cluster inference gateway.
-
name(Optional[GlobalInferenceGatewayKubernetesResourceName], default:None) –The name of the
InferenceGatewayConfigresource that defines the in-cluster 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/sage_maker.py
29944 29945 29946 29947 29948 29949 29950 29951 29952 29953 29954 29955 29956 29957 29958 29959 29960 29961 29962 29963 29964 29965 29966 29967 29968 29969 29970 29971 29972 29973 29974 29975 29976 29977 29978 29979 29980 29981 29982 29983 29984 29985 29986 29987 29988 29989 29990 29991 29992 29993 29994 29995 29996 29997 29998 29999 30000 30001 30002 30003 30004 30005 30006 30007 30008 | |