Added config parameter
Issue #, if available:
- No option to set botocore config to the textract client.
Description of changes:
- This change provides the ability to pass botocore config to
Textractobject
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
What is the use case here? Isn't this redundant since Config contains region as well?
@Belval , yes, the Config object does indeed contain a region_name parameter.
The specific use case I'm interested in is implementing a retry mechanism at the API level. Within my organization, we're aiming to increase the number of retries for API calls in case of failures (such as throttling errors), as this can often resolve temporary issues.
The Config object offers granular control over various parameters, which can be beneficial for interacting with the underlying Boto3 APIs.