Registry /
cloud / aws-aws-sdk-go-v2-service-workspaces
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.
workspaces
✓ github.com/aws/aws-sdk-go-v2/service/workspaces
List WorkSpaces using the AWS SDK v2.
package main
import (
"context"
"fmt"
"github.com/aws/aws-sdk-go-v2/config"
"github.com/aws/aws-sdk-go-v2/service/workspaces"
)
func main() {
cfg, _ := config.LoadDefaultConfig(context.TODO())
client := workspaces.NewFromConfig(cfg)
output, _ := client.DescribeWorkspaces(context.TODO(), &workspaces.DescribeWorkspacesInput{})
fmt.Println(output)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.70.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.