update_endpoint
¶
update_endpoint(
endpoint_arn: ComprehendEndpointArn,
*,
config_overrides: Optional[ComprehendClientConfig] = 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/comprehend.py
5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 | |