Struct: kms.TagException

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

Overview

The request was rejected because one or more tags are 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 *TagException) Code() string

Code returns the exception type name.



16590
16591
16592
// File 'service/kms/api.go', line 16590

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

func (s *TagException) Error() string



16607
16608
16609
// File 'service/kms/api.go', line 16607

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

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



16579
16580
16581
// File 'service/kms/api.go', line 16579

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

func (s *TagException) Message() string

Message returns the exception's message.



16595
16596
16597
16598
16599
16600
// File 'service/kms/api.go', line 16595

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

func (s *TagException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



16603
16604
16605
// File 'service/kms/api.go', line 16603

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

func (s *TagException) RequestID() string

RequestID returns the service's response RequestID for request.



16617
16618
16619
// File 'service/kms/api.go', line 16617

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

func (s *TagException) StatusCode() int

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



16612
16613
16614
// File 'service/kms/api.go', line 16612

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

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



16570
16571
16572
// File 'service/kms/api.go', line 16570

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