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.

CreatePolicyVersionOutput

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

type CreatePolicyVersionOutput struct { IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` PolicyArn *string `locationName:"policyArn" type:"string"` PolicyDocument *string `locationName:"policyDocument" type:"string"` PolicyVersionId *string `locationName:"policyVersionId" type:"string"` }

The output of the CreatePolicyVersion operation.

IsDefaultVersion

Type: *bool

Specifies whether the policy version is the default.

PolicyArn

Type: *string

The policy ARN.

PolicyDocument

Type: *string

The JSON document that describes the policy.

PolicyVersionId

Type: *string

The policy version ID.

Method

GoString

func (s CreatePolicyVersionOutput) GoString() string

GoString returns the string representation

SetIsDefaultVersion

func (s *CreatePolicyVersionOutput) SetIsDefaultVersion(v bool) *CreatePolicyVersionOutput

SetIsDefaultVersion sets the IsDefaultVersion field's value.

SetPolicyArn

func (s *CreatePolicyVersionOutput) SetPolicyArn(v string) *CreatePolicyVersionOutput

SetPolicyArn sets the PolicyArn field's value.

SetPolicyDocument

func (s *CreatePolicyVersionOutput) SetPolicyDocument(v string) *CreatePolicyVersionOutput

SetPolicyDocument sets the PolicyDocument field's value.

SetPolicyVersionId

func (s *CreatePolicyVersionOutput) SetPolicyVersionId(v string) *CreatePolicyVersionOutput

SetPolicyVersionId sets the PolicyVersionId field's value.

String

func (s CreatePolicyVersionOutput) String() string

String returns the string representation

On this page: