get_adapter_version
async
¶
get_adapter_version(
adapter_id: AdapterId,
adapter_version: AdapterVersion,
*,
config_overrides: Optional[AsyncTextractClientConfig] = None,
) -> GetAdapterVersionResponse
Gets configuration information for the specified adapter version, including: AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics.
Parameters:
-
adapter_id(AdapterId) –A string specifying a unique ID for the adapter version you want to retrieve information for.
-
adapter_version(AdapterVersion) –A string specifying the adapter version you want to retrieve information for.
Raises:
-
AccessDeniedException–You aren't authorized to perform the action. Use the Amazon Resource Name (ARN) of an authorized user or IAM role to perform the operation.
-
InternalServerError–Amazon Textract experienced a service issue. Try your call again.
-
InvalidParameterException–An input parameter violated a constraint. For example, in synchronous operations, an
InvalidParameterExceptionexception occurs when neither of theS3ObjectorBytesvalues are supplied in theDocumentrequest parameter. Validate your parameter before calling the API operation again. -
ProvisionedThroughputExceededException–The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Textract.
-
ResourceNotFoundException–Returned when an operation tried to access a nonexistent resource.
-
ThrottlingException–Amazon Textract is temporarily unable to process the request. Try your call again.
-
ValidationException–Indicates that a request was not valid. Check request for proper formatting.
-
UnknownServiceError–The service returned an error code this client does not model.