Struct: kms.CustomKeyStoreNotFoundException

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

Overview

The request was rejected because KMS cannot find a custom key store with the specified key store name or ID.

Implemented Interfaces

s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, awserr.RequestFailure, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Message_ *string `locationName:"message" type:"string"`

RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

_ struct{} `type:"structure"`

Method Details

func (s *CustomKeyStoreNotFoundException) Code() string

Code returns the exception type name.



9665
9666
9667
// File 'service/kms/api.go', line 9665

func (s *CustomKeyStoreNotFoundException) Error() string



9682
9683
9684
// File 'service/kms/api.go', line 9682

func (s *CustomKeyStoreNotFoundException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) }

func (s CustomKeyStoreNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



9654
9655
9656
// File 'service/kms/api.go', line 9654

func (s CustomKeyStoreNotFoundException) GoString() string { return s.String() }

func (s *CustomKeyStoreNotFoundException) Message() string

Message returns the exception's message.



9670
9671
9672
9673
9674
9675
// File 'service/kms/api.go', line 9670

func (s *CustomKeyStoreNotFoundException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" }

func (s *CustomKeyStoreNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



9678
9679
9680
// File 'service/kms/api.go', line 9678

func (s *CustomKeyStoreNotFoundException) OrigErr() error { return nil }

func (s *CustomKeyStoreNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.



9692
9693
9694
// File 'service/kms/api.go', line 9692

func (s *CustomKeyStoreNotFoundException) RequestID() string { return s.RespMetadata.RequestID }

func (s *CustomKeyStoreNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.



9687
9688
9689
// File 'service/kms/api.go', line 9687

func (s *CustomKeyStoreNotFoundException) StatusCode() int { return s.RespMetadata.StatusCode }

func (s CustomKeyStoreNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



9645
9646
9647
// File 'service/kms/api.go', line 9645

func (s CustomKeyStoreNotFoundException) String() string { return awsutil.Prettify(s) }