Registry / cloud / ibm-ibm-cos-sdk-go

ibm-ibm-cos-sdk-go

JSON →
library1.14.0gogounverified

Official AWS SDK for Go, adapted for IBM Cloud Object Storage, providing APIs and utilities to build Go applications that use S3-compatible services.

go get github.com/IBM/ibm-cos-sdk-go
INSTALL
IMPORT
SIG · IBM-IBM-COS-SDK-GO
I
ibm-ibm-cos-sdk-go
cloudgov1.14.0
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.

sdk
github.com/IBM/ibm-cos-sdk-go

Lists all S3 buckets using the IBM COS SDK.

package main import ( "github.com/IBM/ibm-cos-sdk-go/aws" "github.com/IBM/ibm-cos-sdk-go/aws/session" "github.com/IBM/ibm-cos-sdk-go/service/s3" ) func main() { sess := session.Must(session.NewSession()) svc := s3.New(sess) result, err := svc.ListBuckets(&s3.ListBucketsInput{}) if err != nil { panic(err) } for _, b := range result.Buckets { println(*b.Name) } }
Debug
Known issues
gotchaThis SDK is a fork of the AWS SDK v1; it may not include all AWS features or latest updates.
fix
Check IBM documentation for supported services and consider using the official AWS SDK if you need full AWS compatibility.
affects: all
Upgrade
Version history
1.14.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
ibm-ibm-cos-sdk-go — go get ibm-ibm-cos-sdk-go · libregistry