Struct: kms.InvalidGrantIdException

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

Overview

The request was rejected because the specified GrantId 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 *InvalidGrantIdException) Code() string

Code returns the exception type name.



13722
13723
13724
// File 'service/kms/api.go', line 13722

func (s *InvalidGrantIdException) Code() string { return "InvalidGrantIdException" }

func (s *InvalidGrantIdException) Error() string



13739
13740
13741
// File 'service/kms/api.go', line 13739

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

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



13711
13712
13713
// File 'service/kms/api.go', line 13711

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

func (s *InvalidGrantIdException) Message() string

Message returns the exception's message.



13727
13728
13729
13730
13731
13732
// File 'service/kms/api.go', line 13727

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

func (s *InvalidGrantIdException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



13735
13736
13737
// File 'service/kms/api.go', line 13735

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

func (s *InvalidGrantIdException) RequestID() string

RequestID returns the service's response RequestID for request.



13749
13750
13751
// File 'service/kms/api.go', line 13749

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

func (s *InvalidGrantIdException) StatusCode() int

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



13744
13745
13746
// File 'service/kms/api.go', line 13744

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

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



13702
13703
13704
// File 'service/kms/api.go', line 13702

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