update_endpoint
async
¶
update_endpoint(
endpoint_arn: ComprehendEndpointArn,
*,
config_overrides: Optional[AsyncComprehendClientConfig] = None,
desired_model_arn: Optional[ComprehendModelArn] = None,
desired_inference_units: Optional[InferenceUnitsInteger] = None,
desired_data_access_role_arn: Optional[IamRoleArn] = None,
flywheel_arn: Optional[ComprehendFlywheelArn] = None,
) -> UpdateEndpointResponse
Updates information about the specified endpoint. For information about endpoints, see Managing endpoints.
Parameters:
-
endpoint_arn(ComprehendEndpointArn) –The Amazon Resource Number (ARN) of the endpoint being updated.
-
desired_model_arn(Optional[ComprehendModelArn], default:None) –The ARN of the new model to use when updating an existing endpoint.
-
desired_inference_units(Optional[InferenceUnitsInteger], default:None) –The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
-
desired_data_access_role_arn(Optional[IamRoleArn], default:None) –Data access role ARN to use in case the new model is encrypted with a customer CMK.
-
flywheel_arn(Optional[ComprehendFlywheelArn], default:None) –The Amazon Resource Number (ARN) of the flywheel
Raises:
-
InternalServerException–An internal server error occurred. Retry your request.
-
InvalidRequestException–The request is invalid.
-
ResourceInUseException–The specified resource name is already in use. Use a different name and try your request again.
-
ResourceLimitExceededException–The maximum number of resources per account has been exceeded. Review the resources, and then try your request again.
-
ResourceNotFoundException–The specified resource ARN was not found. Check the ARN and try your request again.
-
ResourceUnavailableException–The specified resource is not available. Check the resource and try your request again.
-
TooManyRequestsException–The number of requests exceeds the limit. Resubmit your request later.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_comprehend/_services/async_comprehend.py
5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 | |