Struct: kms.InvalidGrantTokenException

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

Overview

The request was rejected because the specified grant token is not valid.

Implemented Interfaces

s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, awserr.RequestFailure, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Message_ *string `locationName:"message" type:"string"`

RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

_ struct{} `type:"structure"`

Method Details

func (s *InvalidGrantTokenException) Code() string

Code returns the exception type name.



13786
13787
13788
// File 'service/kms/api.go', line 13786

func (s *InvalidGrantTokenException) Error() string



13803
13804
13805
// File 'service/kms/api.go', line 13803

func (s *InvalidGrantTokenException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) }

func (s InvalidGrantTokenException) 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”.



13775
13776
13777
// File 'service/kms/api.go', line 13775

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

func (s *InvalidGrantTokenException) Message() string

Message returns the exception's message.



13791
13792
13793
13794
13795
13796
// File 'service/kms/api.go', line 13791

func (s *InvalidGrantTokenException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" }

func (s *InvalidGrantTokenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



13799
13800
13801
// File 'service/kms/api.go', line 13799

func (s *InvalidGrantTokenException) OrigErr() error { return nil }

func (s *InvalidGrantTokenException) RequestID() string

RequestID returns the service's response RequestID for request.



13813
13814
13815
// File 'service/kms/api.go', line 13813

func (s *InvalidGrantTokenException) RequestID() string { return s.RespMetadata.RequestID }

func (s *InvalidGrantTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.



13808
13809
13810
// File 'service/kms/api.go', line 13808

func (s *InvalidGrantTokenException) StatusCode() int { return s.RespMetadata.StatusCode }

func (s InvalidGrantTokenException) 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”.



13766
13767
13768
// File 'service/kms/api.go', line 13766

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