Struct: kms.InvalidArnException

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

Overview

The request was rejected because a specified ARN, or an ARN in a key policy, is not valid.

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

Code returns the exception type name.



13588
13589
13590
// File 'service/kms/api.go', line 13588

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

func (s *InvalidArnException) Error() string



13605
13606
13607
// File 'service/kms/api.go', line 13605

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

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



13577
13578
13579
// File 'service/kms/api.go', line 13577

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

func (s *InvalidArnException) Message() string

Message returns the exception's message.



13593
13594
13595
13596
13597
13598
// File 'service/kms/api.go', line 13593

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

func (s *InvalidArnException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



13601
13602
13603
// File 'service/kms/api.go', line 13601

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

func (s *InvalidArnException) RequestID() string

RequestID returns the service's response RequestID for request.



13615
13616
13617
// File 'service/kms/api.go', line 13615

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

func (s *InvalidArnException) StatusCode() int

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



13610
13611
13612
// File 'service/kms/api.go', line 13610

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

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



13568
13569
13570
// File 'service/kms/api.go', line 13568

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