Struct: types.KeyUnavailableException

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

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Method Summary collapse

Method Details

func (e *KeyUnavailableException) Error() string



828
829
830
// File 'service/kms/types/errors.go', line 828

func (e *KeyUnavailableException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) }

func (e *KeyUnavailableException) ErrorCode() string



837
838
839
840
841
842
// File 'service/kms/types/errors.go', line 837

func (e *KeyUnavailableException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "KeyUnavailableException" } return *e.ErrorCodeOverride }

func (e *KeyUnavailableException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }



843
844
845
846
847
848
849
850
851
852
853
// File 'service/kms/types/errors.go', line 843

func (e *KeyUnavailableException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The request was rejected because an internal exception occurred. The request // can be retried. type KMSInternalException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *KeyUnavailableException) ErrorMessage() string



831
832
833
834
835
836
// File 'service/kms/types/errors.go', line 831

func (e *KeyUnavailableException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message }