Registry /
cloud / aws-aws-sdk-go-v2-service-ecs
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.
ecs
✓ github.com/aws/aws-sdk-go-v2/service/ecs
List ECS clusters.
package main
import (
"context"
"fmt"
"github.com/aws/aws-sdk-go-v2/service/ecs"
)
func main() {
client := ecs.New(ecs.Options{})
output, err := client.ListClusters(context.TODO(), &ecs.ListClustersInput{})
if err != nil {
panic(err)
}
fmt.Println(output.ClusterArns)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.83.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.