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// The AWS user account does not have permission to perform the action. Check the
11// IAM policy associated with this account.
12type AuthorizationErrorException struct {
13	Message *string
14}
15
16func (e *AuthorizationErrorException) Error() string {
17	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
18}
19func (e *AuthorizationErrorException) ErrorMessage() string {
20	if e.Message == nil {
21		return ""
22	}
23	return *e.Message
24}
25func (e *AuthorizationErrorException) ErrorCode() string             { return "AuthorizationErrorException" }
26func (e *AuthorizationErrorException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
27
28//
29type ConflictErrorException struct {
30	Message *string
31}
32
33func (e *ConflictErrorException) Error() string {
34	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
35}
36func (e *ConflictErrorException) ErrorMessage() string {
37	if e.Message == nil {
38		return ""
39	}
40	return *e.Message
41}
42func (e *ConflictErrorException) ErrorCode() string             { return "ConflictErrorException" }
43func (e *ConflictErrorException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
44
45// The home region is not set. Set the home region to continue.
46type HomeRegionNotSetException struct {
47	Message *string
48}
49
50func (e *HomeRegionNotSetException) Error() string {
51	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
52}
53func (e *HomeRegionNotSetException) ErrorMessage() string {
54	if e.Message == nil {
55		return ""
56	}
57	return *e.Message
58}
59func (e *HomeRegionNotSetException) ErrorCode() string             { return "HomeRegionNotSetException" }
60func (e *HomeRegionNotSetException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
61
62// One or more parameters are not valid. Verify the parameters and try again.
63type InvalidParameterException struct {
64	Message *string
65}
66
67func (e *InvalidParameterException) Error() string {
68	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
69}
70func (e *InvalidParameterException) ErrorMessage() string {
71	if e.Message == nil {
72		return ""
73	}
74	return *e.Message
75}
76func (e *InvalidParameterException) ErrorCode() string             { return "InvalidParameterException" }
77func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
78
79// The value of one or more parameters are either invalid or out of range. Verify
80// the parameter values and try again.
81type InvalidParameterValueException struct {
82	Message *string
83}
84
85func (e *InvalidParameterValueException) Error() string {
86	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
87}
88func (e *InvalidParameterValueException) ErrorMessage() string {
89	if e.Message == nil {
90		return ""
91	}
92	return *e.Message
93}
94func (e *InvalidParameterValueException) ErrorCode() string             { return "InvalidParameterValueException" }
95func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
96
97// This operation is not permitted.
98type OperationNotPermittedException struct {
99	Message *string
100}
101
102func (e *OperationNotPermittedException) Error() string {
103	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
104}
105func (e *OperationNotPermittedException) ErrorMessage() string {
106	if e.Message == nil {
107		return ""
108	}
109	return *e.Message
110}
111func (e *OperationNotPermittedException) ErrorCode() string             { return "OperationNotPermittedException" }
112func (e *OperationNotPermittedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
113
114// This issue occurs when the same clientRequestToken is used with the
115// StartImportTask action, but with different parameters. For example, you use the
116// same request token but have two different import URLs, you can encounter this
117// issue. If the import tasks are meant to be different, use a different
118// clientRequestToken, and try again.
119type ResourceInUseException struct {
120	Message *string
121}
122
123func (e *ResourceInUseException) Error() string {
124	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
125}
126func (e *ResourceInUseException) ErrorMessage() string {
127	if e.Message == nil {
128		return ""
129	}
130	return *e.Message
131}
132func (e *ResourceInUseException) ErrorCode() string             { return "ResourceInUseException" }
133func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
134
135// The specified configuration ID was not located. Verify the configuration ID and
136// try again.
137type ResourceNotFoundException struct {
138	Message *string
139}
140
141func (e *ResourceNotFoundException) Error() string {
142	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
143}
144func (e *ResourceNotFoundException) ErrorMessage() string {
145	if e.Message == nil {
146		return ""
147	}
148	return *e.Message
149}
150func (e *ResourceNotFoundException) ErrorCode() string             { return "ResourceNotFoundException" }
151func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
152
153// The server experienced an internal error. Try again.
154type ServerInternalErrorException struct {
155	Message *string
156}
157
158func (e *ServerInternalErrorException) Error() string {
159	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
160}
161func (e *ServerInternalErrorException) ErrorMessage() string {
162	if e.Message == nil {
163		return ""
164	}
165	return *e.Message
166}
167func (e *ServerInternalErrorException) ErrorCode() string             { return "ServerInternalErrorException" }
168func (e *ServerInternalErrorException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }
169