Struct: types.ExpiredImportTokenException
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
481
482
483
|
// File 'service/kms/types/errors.go', line 481
func (e *ExpiredImportTokenException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
490
491
492
493
494
495
|
// File 'service/kms/types/errors.go', line 490
func (e *ExpiredImportTokenException) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "ExpiredImportTokenException"
}
return *e.ErrorCodeOverride
}
|
496
497
498
499
500
501
502
503
504
505
506
507
|
// File 'service/kms/types/errors.go', line 496
func (e *ExpiredImportTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
type IncorrectKeyException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
484
485
486
487
488
489
|
// File 'service/kms/types/errors.go', line 484
func (e *ExpiredImportTokenException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|