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.

ResourceIdentifier

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

type ResourceIdentifier struct { Account *string `locationName:"account" min:"12" type:"string"` CaCertificateId *string `locationName:"caCertificateId" min:"64" type:"string"` ClientId *string `locationName:"clientId" type:"string"` CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"` DeviceCertificateId *string `locationName:"deviceCertificateId" min:"64" type:"string"` PolicyVersionIdentifier *PolicyVersionIdentifier `locationName:"policyVersionIdentifier" type:"structure"` }

Information identifying the non-compliant resource.

Account

Type: *string

The account with which the resource is associated.

CaCertificateId

Type: *string

The ID of the CA certificate used to authorize the certificate.

ClientId

Type: *string

The client ID.

CognitoIdentityPoolId

Type: *string

The ID of the Cognito Identity Pool.

DeviceCertificateId

Type: *string

The ID of the certificate attached to the resource.

PolicyVersionIdentifier

Information about the version of the policy associated with the resource.

Method

GoString

func (s ResourceIdentifier) GoString() string

GoString returns the string representation

SetAccount

func (s *ResourceIdentifier) SetAccount(v string) *ResourceIdentifier

SetAccount sets the Account field's value.

SetCaCertificateId

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

SetCaCertificateId sets the CaCertificateId field's value.

SetClientId

func (s *ResourceIdentifier) SetClientId(v string) *ResourceIdentifier

SetClientId sets the ClientId field's value.

SetCognitoIdentityPoolId

func (s *ResourceIdentifier) SetCognitoIdentityPoolId(v string) *ResourceIdentifier

SetCognitoIdentityPoolId sets the CognitoIdentityPoolId field's value.

SetDeviceCertificateId

func (s *ResourceIdentifier) SetDeviceCertificateId(v string) *ResourceIdentifier

SetDeviceCertificateId sets the DeviceCertificateId field's value.

SetPolicyVersionIdentifier

func (s *ResourceIdentifier) SetPolicyVersionIdentifier(v *PolicyVersionIdentifier) *ResourceIdentifier

SetPolicyVersionIdentifier sets the PolicyVersionIdentifier field's value.

String

func (s ResourceIdentifier) String() string

String returns the string representation

Validate

func (s *ResourceIdentifier) Validate() error

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

On this page: