Registry / auth / aws-aws-sdk-go-v2-service-sso

aws-aws-sdk-go-v2-service-sso

JSON →
library1.31.3gogounverified

Package sso provides the API client for AWS Single Sign-On (SSO) service.

go get github.com/aws/aws-sdk-go-v2/service/sso
INSTALL
IMPORT
SIG · AWS-AWS-SDK-GO-V2-
A
aws-aws-sdk-go-v2-service-sso
authgov1.31.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.

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

Create an SSO client and list accounts.

package main import ( "context" "fmt" "log" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/sso" ) func main() { cfg, err := config.LoadDefaultConfig(context.TODO()) if err != nil { log.Fatal(err) } client := sso.NewFromConfig(cfg) // Example: list accounts output, err := client.ListAccounts(context.TODO(), &sso.ListAccountsInput{AccessToken: aws.String("token")}) if err != nil { log.Fatal(err) } fmt.Println("Accounts:", output.AccountList) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.31.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
Resources
aws-aws-sdk-go-v2-service-sso — go get aws-aws-sdk-go-v2-service-sso · libregistry