1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
"fmt"
smithy "github.com/aws/smithy-go"
)
// One or more parameters are not valid.
type DirectConnectClientException struct {
Message *string
noSmithyDocumentSerde
}
func (e *DirectConnectClientException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *DirectConnectClientException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *DirectConnectClientException) ErrorCode() string { return "DirectConnectClientException" }
func (e *DirectConnectClientException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
// A server-side error occurred.
type DirectConnectServerException struct {
Message *string
noSmithyDocumentSerde
}
func (e *DirectConnectServerException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *DirectConnectServerException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *DirectConnectServerException) ErrorCode() string { return "DirectConnectServerException" }
func (e *DirectConnectServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }
// A tag key was specified more than once.
type DuplicateTagKeysException struct {
Message *string
noSmithyDocumentSerde
}
func (e *DuplicateTagKeysException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *DuplicateTagKeysException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *DuplicateTagKeysException) ErrorCode() string { return "DuplicateTagKeysException" }
func (e *DuplicateTagKeysException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
// You have reached the limit on the number of tags that can be assigned.
type TooManyTagsException struct {
Message *string
noSmithyDocumentSerde
}
func (e *TooManyTagsException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *TooManyTagsException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *TooManyTagsException) ErrorCode() string { return "TooManyTagsException" }
func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|