Struct: types.InvalidKeyUsageException
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 Details
774
775
776
|
// File 'service/kms/types/errors.go', line 774
func (e *InvalidKeyUsageException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
783
784
785
786
787
788
|
// File 'service/kms/types/errors.go', line 783
func (e *InvalidKeyUsageException) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "InvalidKeyUsageException"
}
return *e.ErrorCodeOverride
}
|
789
790
791
792
793
794
795
796
797
798
799
|
// File 'service/kms/types/errors.go', line 789
func (e *InvalidKeyUsageException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
type InvalidMarkerException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
777
778
779
780
781
782
|
// File 'service/kms/types/errors.go', line 777
func (e *InvalidKeyUsageException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|