update_flywheel
¶
update_flywheel(
flywheel_arn: ComprehendFlywheelArn,
*,
config_overrides: Optional[ComprehendClientConfig] = None,
active_model_arn: Optional[ComprehendModelArn] = None,
data_access_role_arn: Optional[IamRoleArn] = None,
data_security_config: Optional[UpdateDataSecurityConfig] = None,
) -> UpdateFlywheelResponse
Update the configuration information for an existing flywheel.
Parameters:
-
flywheel_arn(ComprehendFlywheelArn) –The Amazon Resource Number (ARN) of the flywheel to update.
-
active_model_arn(Optional[ComprehendModelArn], default:None) –The Amazon Resource Number (ARN) of the active model version.
-
data_access_role_arn(Optional[IamRoleArn], default:None) –The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.
-
data_security_config(Optional[UpdateDataSecurityConfig], default:None) –Flywheel data security configuration.
Raises:
-
InternalServerException–An internal server error occurred. Retry your request.
-
InvalidRequestException–The request is invalid.
-
KmsKeyValidationException–The KMS customer managed key (CMK) entered cannot be validated. Verify the key and re-enter it.
-
ResourceNotFoundException–The specified resource ARN was not found. Check the ARN 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
5930 5931 5932 5933 5934 5935 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 | |