AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetPublicKeyOutput

import "github.com/aws/aws-sdk-go/service/cloudfront"

type GetPublicKeyOutput struct { ETag *string `location:"header" locationName:"ETag" type:"string"` PublicKey *PublicKey `type:"structure"` }

ETag

Type: *string

The current version of the public key. For example: E2QWRUHAPOMQZL.

PublicKey

A complex data type of public keys you add to CloudFront to use with features like field-level encryption.

Method

GoString

func (s GetPublicKeyOutput) GoString() string

GoString returns the string representation

SetETag

func (s *GetPublicKeyOutput) SetETag(v string) *GetPublicKeyOutput

SetETag sets the ETag field's value.

SetPublicKey

func (s *GetPublicKeyOutput) SetPublicKey(v *PublicKey) *GetPublicKeyOutput

SetPublicKey sets the PublicKey field's value.

String

func (s GetPublicKeyOutput) String() string

String returns the string representation

On this page: