Registry / cloud / aws-aws-sdk-go-v2-service-s3

aws-aws-sdk-go-v2-service-s3

JSON →
library1.103.3gogounverified

AWS SDK for Go v2 service client for Amazon Simple Storage Service (S3).

go get github.com/aws/aws-sdk-go-v2/service/s3
INSTALL
IMPORT
SIG · AWS-AWS-SDK-GO-V2-
A
aws-aws-sdk-go-v2-service-s3
cloudgov1.103.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

s3
github.com/aws/aws-sdk-go-v2/service/s3

List all S3 buckets using the AWS SDK v2.

package main import ( "context" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/s3" ) func main() { cfg, _ := config.LoadDefaultConfig(context.TODO()) client := s3.NewFromConfig(cfg) result, _ := client.ListBuckets(context.TODO(), &s3.ListBucketsInput{}) for _, bucket := range result.Buckets { println(*bucket.Name) } }
Debug
Known issues
breakingBreaking changes from v1 to v2 in AWS SDK.
fix
Use v2-specific patterns; refer to migration guide.
affects: <2.0.0
Upgrade
Version history
1.103.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
OpenAI (training)
1
Resources
aws-aws-sdk-go-v2-service-s3 — go get aws-aws-sdk-go-v2-service-s3 · libregistry