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.

CreatePublicKeyOutput

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

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

ETag

Type: *string

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

Location

Type: *string

The fully qualified URI of the new public key resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/cloudfront-public-key/EDFDVBD632BHDS5.

PublicKey

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

Method

GoString

func (s CreatePublicKeyOutput) GoString() string

GoString returns the string representation

SetETag

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

SetETag sets the ETag field's value.

SetLocation

func (s *CreatePublicKeyOutput) SetLocation(v string) *CreatePublicKeyOutput

SetLocation sets the Location field's value.

SetPublicKey

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

SetPublicKey sets the PublicKey field's value.

String

func (s CreatePublicKeyOutput) String() string

String returns the string representation

On this page: