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.

Certificate

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

type Certificate 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:"CertificateStatus"` }

Information about a certificate.

CertificateArn

Type: *string

The ARN of the certificate.

CertificateId

Type: *string

The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

CreationDate

Type: *time.Time

The date and time the certificate was created.

Status

Type: *string

The status of the certificate.

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

Method

GoString

func (s Certificate) GoString() string

GoString returns the string representation

SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

SetCertificateId

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

SetCertificateId sets the CertificateId field's value.

SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

SetStatus

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

SetStatus sets the Status field's value.

String

func (s Certificate) String() string

String returns the string representation

On this page: