Struct: types.DryRunOperationException

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 *DryRunOperationException) Error() string



453
454
455
// File 'service/kms/types/errors.go', line 453

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

func (e *DryRunOperationException) ErrorCode() string



462
463
464
465
466
467
// File 'service/kms/types/errors.go', line 462

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

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



468
469
470
471
472
473
474
475
476
477
478
479
// File 'service/kms/types/errors.go', line 468

func (e *DryRunOperationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because the specified import token is expired. Use GetParametersForImport to // get a new import token and public key, use the new public key to encrypt the key // material, and then try the request again. type ExpiredImportTokenException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *DryRunOperationException) ErrorMessage() string



456
457
458
459
460
461
// File 'service/kms/types/errors.go', line 456

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