1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5import (
6	"fmt"
7	smithy "github.com/aws/smithy-go"
8)
9
10//
11type AccessDeniedException struct {
12	Message *string
13}
14
15func (e *AccessDeniedException) Error() string {
16	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
17}
18func (e *AccessDeniedException) ErrorMessage() string {
19	if e.Message == nil {
20		return ""
21	}
22	return *e.Message
23}
24func (e *AccessDeniedException) ErrorCode() string             { return "AccessDeniedException" }
25func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
26
27//
28type BadGatewayException struct {
29	Message *string
30}
31
32func (e *BadGatewayException) Error() string {
33	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
34}
35func (e *BadGatewayException) ErrorMessage() string {
36	if e.Message == nil {
37		return ""
38	}
39	return *e.Message
40}
41func (e *BadGatewayException) ErrorCode() string             { return "BadGatewayException" }
42func (e *BadGatewayException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }
43
44//
45type ConflictException struct {
46	Message *string
47}
48
49func (e *ConflictException) Error() string {
50	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
51}
52func (e *ConflictException) ErrorMessage() string {
53	if e.Message == nil {
54		return ""
55	}
56	return *e.Message
57}
58func (e *ConflictException) ErrorCode() string             { return "ConflictException" }
59func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
60
61//
62type DependencyFailedException struct {
63	Message *string
64}
65
66func (e *DependencyFailedException) Error() string {
67	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
68}
69func (e *DependencyFailedException) ErrorMessage() string {
70	if e.Message == nil {
71		return ""
72	}
73	return *e.Message
74}
75func (e *DependencyFailedException) ErrorCode() string             { return "DependencyFailedException" }
76func (e *DependencyFailedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
77
78//
79type InternalServerException struct {
80	Message *string
81}
82
83func (e *InternalServerException) Error() string {
84	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
85}
86func (e *InternalServerException) ErrorMessage() string {
87	if e.Message == nil {
88		return ""
89	}
90	return *e.Message
91}
92func (e *InternalServerException) ErrorCode() string             { return "InternalServerException" }
93func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }
94
95//
96type ResourceNotFoundException struct {
97	Message *string
98}
99
100func (e *ResourceNotFoundException) Error() string {
101	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
102}
103func (e *ResourceNotFoundException) ErrorMessage() string {
104	if e.Message == nil {
105		return ""
106	}
107	return *e.Message
108}
109func (e *ResourceNotFoundException) ErrorCode() string             { return "ResourceNotFoundException" }
110func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
111
112//
113type ThrottlingException struct {
114	Message *string
115}
116
117func (e *ThrottlingException) Error() string {
118	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
119}
120func (e *ThrottlingException) ErrorMessage() string {
121	if e.Message == nil {
122		return ""
123	}
124	return *e.Message
125}
126func (e *ThrottlingException) ErrorCode() string             { return "ThrottlingException" }
127func (e *ThrottlingException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
128
129//
130type ValidationException struct {
131	Message *string
132}
133
134func (e *ValidationException) Error() string {
135	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
136}
137func (e *ValidationException) ErrorMessage() string {
138	if e.Message == nil {
139		return ""
140	}
141	return *e.Message
142}
143func (e *ValidationException) ErrorCode() string             { return "ValidationException" }
144func (e *ValidationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
145