Struct: types.XksKeyNotFoundException

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

Overview

The request was rejected because the external key store proxy could not find the external key. This exception is thrown when the value of the XksKeyId parameter doesn’t identify a key in the external key manager associated with the external key proxy.

Verify that the XksKeyId represents an existing key in the external key manager. Use the key identifier that the external key store proxy uses to identify the key. For details, see the documentation provided with your external key store proxy or key manager.

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



1183
1184
1185
// File 'service/kms/types/errors.go', line 1183

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

func (e *XksKeyNotFoundException) ErrorCode() string



1192
1193
1194
1195
1196
1197
// File 'service/kms/types/errors.go', line 1192

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

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



1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
// File 'service/kms/types/errors.go', line 1198

func (e *XksKeyNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because the proxy credentials failed to authenticate // to the specified external key store proxy. The specified external key store // proxy rejected a status request from KMS due to invalid credentials. This can // indicate an error in the credentials or in the identification of the external // key store proxy. type XksProxyIncorrectAuthenticationCredentialException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *XksKeyNotFoundException) ErrorMessage() string



1186
1187
1188
1189
1190
1191
// File 'service/kms/types/errors.go', line 1186

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