proxy.golang.org : github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations
Package customizations provides customizations for the Amazon S3 API client. This package provides support for following S3 customizations Since serializers serialize by default as path style url, we use customization to modify the endpoint url when `UsePathStyle` option on S3Client is unset or false. This flag will be ignored if `UseAccelerate` option is set to true. If UseAccelerate is not enabled, and the bucket name is not a valid hostname label, they SDK will fallback to forcing the request to be made as if UsePathStyle was enabled. This behavior is also used if UseDualStackEndpoint is enabled. https://docs.aws.amazon.com/AmazonS3/latest/dev/dual-stack-endpoints.html#dual-stack-endpoints-description By default S3 Transfer acceleration support is disabled. By enabling `UseAccelerate` option on S3Client, one can enable s3 transfer acceleration support. Transfer acceleration only works with Virtual Host style addressing, and thus `UsePathStyle` option if set is ignored. Transfer acceleration is not supported for S3 operations DeleteBucket, ListBuckets, and CreateBucket. By default dualstack support for s3 client is disabled. By enabling `UseDualstack` option on s3 client, you can enable dualstack endpoint support. Customizations to lookup ARN, process ARN needs to happen before request serialization. UpdateEndpoint middleware which mutates resources based on Options such as UseDualstack, UseAccelerate for modifying resolved endpoint are executed after request serialization. Remove bucket middleware is executed after an request is serialized, and removes the serialized bucket name from request path Customization options: S3 operations: CopyObject, CompleteMultipartUpload, UploadPartCopy can have an error Response with status code 2xx. The processResponseWith200Error middleware customizations enables SDK to check for an error within response body prior to deserialization. As the check for 2xx response containing an error needs to be performed earlier than response deserialization. Since the behavior of Deserialization is in reverse order to the other stack steps its easier to consider that "after" means "before".
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations
Keywords:
aws
, aws-sdk
, go
, golang
License: Apache-2.0
Latest release: about 2 months ago
Namespace: github.com/aws/aws-sdk-go-v2/service/s3/internal
Stars: 2,531 on GitHub
Forks: 612 on GitHub
Total Commits: 2384
Committers: 101
Average commits per author: 23.604
Development Distribution Score (DDS): 0.573
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago