Struct: kms.UnsupportedOperationException

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

Overview

The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.

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 *UnsupportedOperationException) Code() string

Code returns the exception type name.



16768
16769
16770
// File 'service/kms/api.go', line 16768

func (s *UnsupportedOperationException) Error() string



16785
16786
16787
// File 'service/kms/api.go', line 16785

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

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



16757
16758
16759
// File 'service/kms/api.go', line 16757

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

func (s *UnsupportedOperationException) Message() string

Message returns the exception's message.



16773
16774
16775
16776
16777
16778
// File 'service/kms/api.go', line 16773

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

func (s *UnsupportedOperationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



16781
16782
16783
// File 'service/kms/api.go', line 16781

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

func (s *UnsupportedOperationException) RequestID() string

RequestID returns the service's response RequestID for request.



16795
16796
16797
// File 'service/kms/api.go', line 16795

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

func (s *UnsupportedOperationException) StatusCode() int

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



16790
16791
16792
// File 'service/kms/api.go', line 16790

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

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



16748
16749
16750
// File 'service/kms/api.go', line 16748

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