Choose how to set the endpoint
Set it for the process
endpoint:
Set it on one client
endpoint wins when AWS_ENDPOINT_URL_S3 is also set. Avoid setting both to different values.
For SDK v2, use the v2 client’s endpoint and s3ForcePathStyle settings. Avoid silently selecting different endpoint behavior during a v2-to-v3 migration.
Exercise create, read, compare, and delete
Log useful failures safely
AWS SDK v3 service exceptions include$metadata: