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.

TransferCertificateInput

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

type TransferCertificateInput struct { CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` TargetAwsAccount *string `location:"querystring" locationName:"targetAwsAccount" min:"12" type:"string" required:"true"` TransferMessage *string `locationName:"transferMessage" type:"string"` }

The input for the TransferCertificate operation.

CertificateId

Type: *string

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

CertificateId is a required field

TargetAwsAccount

Type: *string

The AWS account.

TargetAwsAccount is a required field

TransferMessage

Type: *string

The transfer message.

Method

GoString

func (s TransferCertificateInput) GoString() string

GoString returns the string representation

SetCertificateId

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

SetCertificateId sets the CertificateId field's value.

SetTargetAwsAccount

func (s *TransferCertificateInput) SetTargetAwsAccount(v string) *TransferCertificateInput

SetTargetAwsAccount sets the TargetAwsAccount field's value.

SetTransferMessage

func (s *TransferCertificateInput) SetTransferMessage(v string) *TransferCertificateInput

SetTransferMessage sets the TransferMessage field's value.

String

func (s TransferCertificateInput) String() string

String returns the string representation

Validate

func (s *TransferCertificateInput) Validate() error

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

On this page: