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 Summary collapse

Method Details

func (e *InvalidKeyUsageException) Error() string



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()) }

func (e *InvalidKeyUsageException) ErrorCode() string



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 }

func (e *InvalidKeyUsageException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }



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 } // The request was rejected because the marker that specifies where pagination // should next begin is not valid. type InvalidMarkerException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *InvalidKeyUsageException) ErrorMessage() string



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 }