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.

RegisterCACertificateInput

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

type RegisterCACertificateInput struct { AllowAutoRegistration *bool `location:"querystring" locationName:"allowAutoRegistration" type:"boolean"` CaCertificate *string `locationName:"caCertificate" min:"1" type:"string" required:"true"` RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"` SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` VerificationCertificate *string `locationName:"verificationCertificate" min:"1" type:"string" required:"true"` }

The input to the RegisterCACertificate operation.

AllowAutoRegistration

Type: *bool

Allows this CA certificate to be used for auto registration of device certificates.

CaCertificate

Type: *string

The CA certificate.

CaCertificate is a required field

RegistrationConfig

The registration configuration.

SetAsActive

Type: *bool

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

VerificationCertificate

Type: *string

The private key verification certificate.

VerificationCertificate is a required field

Method

GoString

func (s RegisterCACertificateInput) GoString() string

GoString returns the string representation

SetAllowAutoRegistration

func (s *RegisterCACertificateInput) SetAllowAutoRegistration(v bool) *RegisterCACertificateInput

SetAllowAutoRegistration sets the AllowAutoRegistration field's value.

SetCaCertificate

func (s *RegisterCACertificateInput) SetCaCertificate(v string) *RegisterCACertificateInput

SetCaCertificate sets the CaCertificate field's value.

SetRegistrationConfig

func (s *RegisterCACertificateInput) SetRegistrationConfig(v *RegistrationConfig) *RegisterCACertificateInput

SetRegistrationConfig sets the RegistrationConfig field's value.

SetSetAsActive

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

SetSetAsActive sets the SetAsActive field's value.

SetVerificationCertificate

func (s *RegisterCACertificateInput) SetVerificationCertificate(v string) *RegisterCACertificateInput

SetVerificationCertificate sets the VerificationCertificate field's value.

String

func (s RegisterCACertificateInput) String() string

String returns the string representation

Validate

func (s *RegisterCACertificateInput) Validate() error

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

On this page: