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
6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 | |