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

aws-aws-sdk-go-v2-service-acmpca

JSON →
library1.37.9gogounverified

Package acmpca provides the API client, operations, and parameter types for AWS Certificate Manager Private Certificate Authority.

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

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

Lists certificate authorities using the ACM PCA client.

package main import ( "context" "fmt" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/acmpca" ) func main() { cfg, err := config.LoadDefaultConfig(context.TODO()) if err != nil { panic(err) } client := acmpca.NewFromConfig(cfg) output, err := client.ListCertificateAuthorities(context.TODO(), &acmpca.ListCertificateAuthoritiesInput{}) if err != nil { panic(err) } fmt.Println(output) }
Debug
Known issues
breakingAWS SDK v2 requires Go 1.18+ and uses a different configuration pattern than v1.
fix
Use config.LoadDefaultConfig instead of session.NewSession.
affects: >=2.0.0
Upgrade
Version history
1.37.9latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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