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.

CertificateDescription

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

type CertificateDescription struct { CaCertificateId *string `locationName:"caCertificateId" min:"64" type:"string"` 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"` PreviousOwnedBy *string `locationName:"previousOwnedBy" min:"12" type:"string"` Status *string `locationName:"status" type:"string" enum:"CertificateStatus"` TransferData *TransferData `locationName:"transferData" type:"structure"` Validity *CertificateValidity `locationName:"validity" type:"structure"` }

Describes a certificate.

CaCertificateId

Type: *string

The certificate ID of the CA certificate used to sign this certificate.

CertificateArn

Type: *string

The ARN of the certificate.

CertificateId

Type: *string

The ID of the certificate.

CertificatePem

Type: *string

The certificate data, in PEM format.

CreationDate

Type: *time.Time

The date and time the certificate was created.

CustomerVersion

Type: *int64

The customer version of the certificate.

GenerationId

Type: *string

The generation ID of the certificate.

LastModifiedDate

Type: *time.Time

The date and time the certificate was last modified.

OwnedBy

Type: *string

The ID of the AWS account that owns the certificate.

PreviousOwnedBy

Type: *string

The ID of the AWS account of the previous owner of the certificate.

Status

Type: *string

The status of the certificate.

TransferData

Data used to transfer a certificate to an AWS account.

Validity

When the certificate is valid.

Method

GoString

func (s CertificateDescription) GoString() string

GoString returns the string representation

SetCaCertificateId

func (s *CertificateDescription) SetCaCertificateId(v string) *CertificateDescription

SetCaCertificateId sets the CaCertificateId field's value.

SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

SetCertificateId

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

SetCertificateId sets the CertificateId field's value.

SetCertificatePem

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

SetCertificatePem sets the CertificatePem field's value.

SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

SetCustomerVersion

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

SetCustomerVersion sets the CustomerVersion field's value.

SetGenerationId

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

SetGenerationId sets the GenerationId field's value.

SetLastModifiedDate

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

SetLastModifiedDate sets the LastModifiedDate field's value.

SetOwnedBy

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

SetOwnedBy sets the OwnedBy field's value.

SetPreviousOwnedBy

func (s *CertificateDescription) SetPreviousOwnedBy(v string) *CertificateDescription

SetPreviousOwnedBy sets the PreviousOwnedBy field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetTransferData

func (s *CertificateDescription) SetTransferData(v *TransferData) *CertificateDescription

SetTransferData sets the TransferData field's value.

SetValidity

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

SetValidity sets the Validity field's value.

String

func (s CertificateDescription) String() string

String returns the string representation

On this page: