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.

CreateGrantOutput

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

type CreateGrantOutput struct { GrantId *string `min:"1" type:"string"` GrantToken *string `min:"1" type:"string"` }

GrantId

Type: *string

The unique identifier for the grant.

You can use the GrantId in a subsequent RetireGrant or RevokeGrant operation.

GrantToken

Type: *string

The grant token.

For more information, see Grant Tokens (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token) in the AWS Key Management Service Developer Guide.

Method

GoString

func (s CreateGrantOutput) GoString() string

GoString returns the string representation

SetGrantId

func (s *CreateGrantOutput) SetGrantId(v string) *CreateGrantOutput

SetGrantId sets the GrantId field's value.

SetGrantToken

func (s *CreateGrantOutput) SetGrantToken(v string) *CreateGrantOutput

SetGrantToken sets the GrantToken field's value.

String

func (s CreateGrantOutput) String() string

String returns the string representation

On this page: