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

aws-aws-sdk-go-v2-service-cloudtrail

JSON →
library1.56.4gogounverified

Provides a Go client for AWS CloudTrail, enabling programmatic management of trail logs and API activity tracking.

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

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

Creates a CloudTrail client and describes trails.

package main import ( "context" "fmt" "github.com/aws/aws-sdk-go-v2/service/cloudtrail" ) func main() { client := cloudtrail.NewFromConfig(cfg) trails, err := client.DescribeTrails(context.TODO(), &cloudtrail.DescribeTrailsInput{}) if err != nil { panic(err) } fmt.Println(trails) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
aws-aws-sdk-go-v2-service-cloudtrail — go get aws-aws-sdk-go-v2-service-cloudtrail · libregistry