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.

ListKeyPoliciesOutput

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

type ListKeyPoliciesOutput struct { NextMarker *string `min:"1" type:"string"` PolicyNames []*string `type:"list"` Truncated *bool `type:"boolean"` }

NextMarker

Type: *string

When Truncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent request.

PolicyNames

Type: []*string

A list of key policy names. Currently, there is only one key policy per CMK and it is always named default.

Truncated

Type: *bool

A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker element in this response to the Marker parameter in a subsequent request.

Method

GoString

func (s ListKeyPoliciesOutput) GoString() string

GoString returns the string representation

SetNextMarker

func (s *ListKeyPoliciesOutput) SetNextMarker(v string) *ListKeyPoliciesOutput

SetNextMarker sets the NextMarker field's value.

SetPolicyNames

func (s *ListKeyPoliciesOutput) SetPolicyNames(v []*string) *ListKeyPoliciesOutput

SetPolicyNames sets the PolicyNames field's value.

SetTruncated

func (s *ListKeyPoliciesOutput) SetTruncated(v bool) *ListKeyPoliciesOutput

SetTruncated sets the Truncated field's value.

String

func (s ListKeyPoliciesOutput) String() string

String returns the string representation

On this page: