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.

UpdateCACertificateInput

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

type UpdateCACertificateInput struct { CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` NewAutoRegistrationStatus *string `location:"querystring" locationName:"newAutoRegistrationStatus" type:"string" enum:"AutoRegistrationStatus"` NewStatus *string `location:"querystring" locationName:"newStatus" type:"string" enum:"CACertificateStatus"` RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"` RemoveAutoRegistration *bool `locationName:"removeAutoRegistration" type:"boolean"` }

The input to the UpdateCACertificate operation.

CertificateId

Type: *string

The CA certificate identifier.

CertificateId is a required field

NewAutoRegistrationStatus

Type: *string

The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".

NewStatus

Type: *string

The updated status of the CA certificate.

Note: The status value REGISTER_INACTIVE is deprecated and should not be used.

RegistrationConfig

The registration configuration.

RemoveAutoRegistration

Type: *bool

If true, remove auto registration.

Method

GoString

func (s UpdateCACertificateInput) GoString() string

GoString returns the string representation

SetCertificateId

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

SetCertificateId sets the CertificateId field's value.

SetNewAutoRegistrationStatus

func (s *UpdateCACertificateInput) SetNewAutoRegistrationStatus(v string) *UpdateCACertificateInput

SetNewAutoRegistrationStatus sets the NewAutoRegistrationStatus field's value.

SetNewStatus

func (s *UpdateCACertificateInput) SetNewStatus(v string) *UpdateCACertificateInput

SetNewStatus sets the NewStatus field's value.

SetRegistrationConfig

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

SetRegistrationConfig sets the RegistrationConfig field's value.

SetRemoveAutoRegistration

func (s *UpdateCACertificateInput) SetRemoveAutoRegistration(v bool) *UpdateCACertificateInput

SetRemoveAutoRegistration sets the RemoveAutoRegistration field's value.

String

func (s UpdateCACertificateInput) String() string

String returns the string representation

Validate

func (s *UpdateCACertificateInput) Validate() error

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

On this page: