update_flywheel
async
¶
update_flywheel(
flywheel_arn: ComprehendFlywheelArn,
*,
config_overrides: Optional[AsyncComprehendClientConfig] = 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/async_comprehend.py
7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 | |