Skip to content

Handling transfer acceleration discrepencies #2658

Discussion options

You must be logged in to vote

Hi @softloft38p-michael,
Unfortunately in order to check for bucket acceleration configuration, a call would need to be made to S3. You could pass the config separately as well according to the acceleration state of the bucket. Hence, botocore has limited functionality in this case and would not be able to automatically degrade the config instead of failing.

Example:

client = boto3.client("s3", config(s3={"use_accelerate_endpoint": True})

Hope this helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by softloft38p-michael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. guidance Question that needs advice or information.
2 participants