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.

CACertificate

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

type CACertificate struct { CertificateArn *string `locationName:"certificateArn" type:"string"` CertificateId *string `locationName:"certificateId" min:"64" type:"string"` CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` Status *string `locationName:"status" type:"string" enum:"CACertificateStatus"` }

A CA certificate.

CertificateArn

Type: *string

The ARN of the CA certificate.

CertificateId

Type: *string

The ID of the CA certificate.

CreationDate

Type: *time.Time

The date the CA certificate was created.

Status

Type: *string

The status of the CA certificate.

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

Method

GoString

func (s CACertificate) GoString() string

GoString returns the string representation

SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

SetCertificateId

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

SetCertificateId sets the CertificateId field's value.

SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

SetStatus

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

SetStatus sets the Status field's value.

String

func (s CACertificate) String() string

String returns the string representation

On this page: