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.

RegisterCertificateInput

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

type RegisterCertificateInput struct { CaCertificatePem *string `locationName:"caCertificatePem" min:"1" type:"string"` CertificatePem *string `locationName:"certificatePem" min:"1" type:"string" required:"true"` SetAsActive *bool `location:"querystring" locationName:"setAsActive" deprecated:"true" type:"boolean"` Status *string `locationName:"status" type:"string" enum:"CertificateStatus"` }

The input to the RegisterCertificate operation.

CaCertificatePem

Type: *string

The CA certificate used to sign the device certificate being registered.

CertificatePem

Type: *string

The certificate data, in PEM format.

CertificatePem is a required field

SetAsActive

Type: *bool

A boolean value that specifies if the CA certificate is set to active.

Deprecated: SetAsActive has been deprecated

Status

Type: *string

The status of the register certificate request.

Method

GoString

func (s RegisterCertificateInput) GoString() string

GoString returns the string representation

SetCaCertificatePem

func (s *RegisterCertificateInput) SetCaCertificatePem(v string) *RegisterCertificateInput

SetCaCertificatePem sets the CaCertificatePem field's value.

SetCertificatePem

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

SetCertificatePem sets the CertificatePem field's value.

SetSetAsActive

func (s *RegisterCertificateInput) SetSetAsActive(v bool) *RegisterCertificateInput

SetSetAsActive sets the SetAsActive field's value.

SetStatus

func (s *RegisterCertificateInput) SetStatus(v string) *RegisterCertificateInput

SetStatus sets the Status field's value.

String

func (s RegisterCertificateInput) String() string

String returns the string representation

Validate

func (s *RegisterCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: