Struct: kms.InternalException

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

Overview

The request was rejected because an internal exception occurred. The request can be retried.

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

Code returns the exception type name.



13459
13460
13461
// File 'service/kms/api.go', line 13459

func (s *InternalException) Code() string { return "KMSInternalException" }

func (s *InternalException) Error() string



13476
13477
13478
// File 'service/kms/api.go', line 13476

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

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



13448
13449
13450
// File 'service/kms/api.go', line 13448

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

func (s *InternalException) Message() string

Message returns the exception's message.



13464
13465
13466
13467
13468
13469
// File 'service/kms/api.go', line 13464

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

func (s *InternalException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



13472
13473
13474
// File 'service/kms/api.go', line 13472

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

func (s *InternalException) RequestID() string

RequestID returns the service's response RequestID for request.



13486
13487
13488
// File 'service/kms/api.go', line 13486

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

func (s *InternalException) StatusCode() int

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



13481
13482
13483
// File 'service/kms/api.go', line 13481

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

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



13439
13440
13441
// File 'service/kms/api.go', line 13439

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