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.

CreateKeysAndCertificateOutput

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

type CreateKeysAndCertificateOutput struct { CertificateArn *string `locationName:"certificateArn" type:"string"` CertificateId *string `locationName:"certificateId" min:"64" type:"string"` CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` KeyPair *KeyPair `locationName:"keyPair" type:"structure"` }

The output of the CreateKeysAndCertificate operation.

CertificateArn

Type: *string

The ARN of the certificate.

CertificateId

Type: *string

The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).

CertificatePem

Type: *string

The certificate data, in PEM format.

KeyPair

Describes a key pair.

Method

GoString

func (s CreateKeysAndCertificateOutput) GoString() string

GoString returns the string representation

SetCertificateArn

func (s *CreateKeysAndCertificateOutput) SetCertificateArn(v string) *CreateKeysAndCertificateOutput

SetCertificateArn sets the CertificateArn field's value.

SetCertificateId

func (s *CreateKeysAndCertificateOutput) SetCertificateId(v string) *CreateKeysAndCertificateOutput

SetCertificateId sets the CertificateId field's value.

SetCertificatePem

func (s *CreateKeysAndCertificateOutput) SetCertificatePem(v string) *CreateKeysAndCertificateOutput

SetCertificatePem sets the CertificatePem field's value.

SetKeyPair

func (s *CreateKeysAndCertificateOutput) SetKeyPair(v *KeyPair) *CreateKeysAndCertificateOutput

SetKeyPair sets the KeyPair field's value.

String

func (s CreateKeysAndCertificateOutput) String() string

String returns the string representation

On this page: