Struct: kms.NotFoundException

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

Overview

The request was rejected because the specified entity or resource could not be found.

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 *NotFoundException) Code() string

Code returns the exception type name.



15484
15485
15486
// File 'service/kms/api.go', line 15484

func (s *NotFoundException) Code() string { return "NotFoundException" }

func (s *NotFoundException) Error() string



15501
15502
15503
// File 'service/kms/api.go', line 15501

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

func (s NotFoundException) 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”.



15473
15474
15475
// File 'service/kms/api.go', line 15473

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

func (s *NotFoundException) Message() string

Message returns the exception's message.



15489
15490
15491
15492
15493
15494
// File 'service/kms/api.go', line 15489

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

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



15497
15498
15499
// File 'service/kms/api.go', line 15497

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

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.



15511
15512
15513
// File 'service/kms/api.go', line 15511

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

func (s *NotFoundException) StatusCode() int

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



15506
15507
15508
// File 'service/kms/api.go', line 15506

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

func (s NotFoundException) 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”.



15464
15465
15466
// File 'service/kms/api.go', line 15464

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