Struct: types.XksProxyInvalidResponseException

import "../ibm-cos-sdk-go-v2/service/kms/types"

Overview

KMS cannot interpret the response it received from the external key store proxy. The problem might be a poorly constructed response, but it could also be a transient network issue. If you see this error repeatedly, report it to the proxy vendor.

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

ErrorCodeOverride *string

Message *string

Method Details

func (e *XksProxyInvalidResponseException) Error() string



1274
1275
1276
// File 'service/kms/types/errors.go', line 1274

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

func (e *XksProxyInvalidResponseException) ErrorCode() string



1283
1284
1285
1286
1287
1288
// File 'service/kms/types/errors.go', line 1283

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

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



1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
// File 'service/kms/types/errors.go', line 1289

func (e *XksProxyInvalidResponseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because the XksProxyUriEndpoint is already associated // with another external key store in this Amazon Web Services Region. To identify // the cause, see the error message that accompanies the exception. type XksProxyUriEndpointInUseException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *XksProxyInvalidResponseException) ErrorMessage() string



1277
1278
1279
1280
1281
1282
// File 'service/kms/types/errors.go', line 1277

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