Struct: kms.CreateGrantOutput

import "../ibm-cos-sdk-go/service/kms"

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

GrantId *string `min:"1" type:"string"`

The unique identifier for the grant.

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

GrantToken *string `min:"1" type:"string"`

The grant token.

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

_ struct{} `type:"structure"`

Method Details

func (s CreateGrantOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



9077
9078
9079
// File 'service/kms/api.go', line 9077

func (s CreateGrantOutput) GoString() string { return s.String() }

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

SetGrantId sets the GrantId field's value.



9082
9083
9084
9085
// File 'service/kms/api.go', line 9082

func (s *CreateGrantOutput) SetGrantId(v string) *CreateGrantOutput { s.GrantId = &v return s }

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

SetGrantToken sets the GrantToken field's value.



9088
9089
9090
9091
// File 'service/kms/api.go', line 9088

func (s *CreateGrantOutput) SetGrantToken(v string) *CreateGrantOutput { s.GrantToken = &v return s }

func (s CreateGrantOutput) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



9068
9069
9070
// File 'service/kms/api.go', line 9068

func (s CreateGrantOutput) String() string { return awsutil.Prettify(s) }