Struct: types.InvalidImportTokenException
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
733
734
735
|
// File 'service/kms/types/errors.go', line 733
func (e *InvalidImportTokenException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
742
743
744
745
746
747
|
// File 'service/kms/types/errors.go', line 742
func (e *InvalidImportTokenException) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "InvalidImportTokenException"
}
return *e.ErrorCodeOverride
}
|
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
|
// File 'service/kms/types/errors.go', line 748
func (e *InvalidImportTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
//
//
//
//
type InvalidKeyUsageException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
736
737
738
739
740
741
|
// File 'service/kms/types/errors.go', line 736
func (e *InvalidImportTokenException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|