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.

CACertificateDescription

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

type CACertificateDescription struct { AutoRegistrationStatus *string `locationName:"autoRegistrationStatus" type:"string" enum:"AutoRegistrationStatus"` CertificateArn *string `locationName:"certificateArn" type:"string"` CertificateId *string `locationName:"certificateId" min:"64" type:"string"` CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` CustomerVersion *int64 `locationName:"customerVersion" min:"1" type:"integer"` GenerationId *string `locationName:"generationId" type:"string"` LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"` OwnedBy *string `locationName:"ownedBy" min:"12" type:"string"` Status *string `locationName:"status" type:"string" enum:"CACertificateStatus"` Validity *CertificateValidity `locationName:"validity" type:"structure"` }

Describes a CA certificate.

AutoRegistrationStatus

Type: *string

Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"

CertificateArn

Type: *string

The CA certificate ARN.

CertificateId

Type: *string

The CA certificate ID.

CertificatePem

Type: *string

The CA certificate data, in PEM format.

CreationDate

Type: *time.Time

The date the CA certificate was created.

CustomerVersion

Type: *int64

The customer version of the CA certificate.

GenerationId

Type: *string

The generation ID of the CA certificate.

LastModifiedDate

Type: *time.Time

The date the CA certificate was last modified.

OwnedBy

Type: *string

The owner of the CA certificate.

Status

Type: *string

The status of a CA certificate.

Validity

When the certificate is valid.

Method

GoString

func (s CACertificateDescription) GoString() string

GoString returns the string representation

SetAutoRegistrationStatus

func (s *CACertificateDescription) SetAutoRegistrationStatus(v string) *CACertificateDescription

SetAutoRegistrationStatus sets the AutoRegistrationStatus field's value.

SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

SetCertificateId

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

SetCertificateId sets the CertificateId field's value.

SetCertificatePem

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

SetCertificatePem sets the CertificatePem field's value.

SetCreationDate

func (s *CACertificateDescription) SetCreationDate(v time.Time) *CACertificateDescription

SetCreationDate sets the CreationDate field's value.

SetCustomerVersion

func (s *CACertificateDescription) SetCustomerVersion(v int64) *CACertificateDescription

SetCustomerVersion sets the CustomerVersion field's value.

SetGenerationId

func (s *CACertificateDescription) SetGenerationId(v string) *CACertificateDescription

SetGenerationId sets the GenerationId field's value.

SetLastModifiedDate

func (s *CACertificateDescription) SetLastModifiedDate(v time.Time) *CACertificateDescription

SetLastModifiedDate sets the LastModifiedDate field's value.

SetOwnedBy

func (s *CACertificateDescription) SetOwnedBy(v string) *CACertificateDescription

SetOwnedBy sets the OwnedBy field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetValidity

func (s *CACertificateDescription) SetValidity(v *CertificateValidity) *CACertificateDescription

SetValidity sets the Validity field's value.

String

func (s CACertificateDescription) String() string

String returns the string representation

On this page: