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// An AWS service limit was exceeded for the calling AWS account.
11type AccountLimitExceededException struct {
12	Message *string
13}
14
15func (e *AccountLimitExceededException) Error() string {
16	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
17}
18func (e *AccountLimitExceededException) ErrorMessage() string {
19	if e.Message == nil {
20		return ""
21	}
22	return *e.Message
23}
24func (e *AccountLimitExceededException) ErrorCode() string             { return "AccountLimitExceededException" }
25func (e *AccountLimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
26
27// The input value that was provided is not valid.
28type InvalidInputException struct {
29	Message *string
30}
31
32func (e *InvalidInputException) Error() string {
33	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
34}
35func (e *InvalidInputException) ErrorMessage() string {
36	if e.Message == nil {
37		return ""
38	}
39	return *e.Message
40}
41func (e *InvalidInputException) ErrorCode() string             { return "InvalidInputException" }
42func (e *InvalidInputException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
43
44// There was a problem with the underlying OAuth provider.
45type OAuthProviderException struct {
46	Message *string
47}
48
49func (e *OAuthProviderException) Error() string {
50	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
51}
52func (e *OAuthProviderException) ErrorMessage() string {
53	if e.Message == nil {
54		return ""
55	}
56	return *e.Message
57}
58func (e *OAuthProviderException) ErrorCode() string             { return "OAuthProviderException" }
59func (e *OAuthProviderException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
60
61// The specified AWS resource cannot be created, because an AWS resource with the
62// same settings already exists.
63type ResourceAlreadyExistsException struct {
64	Message *string
65}
66
67func (e *ResourceAlreadyExistsException) Error() string {
68	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
69}
70func (e *ResourceAlreadyExistsException) ErrorMessage() string {
71	if e.Message == nil {
72		return ""
73	}
74	return *e.Message
75}
76func (e *ResourceAlreadyExistsException) ErrorCode() string             { return "ResourceAlreadyExistsException" }
77func (e *ResourceAlreadyExistsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
78
79// The specified AWS resource cannot be found.
80type ResourceNotFoundException struct {
81	Message *string
82}
83
84func (e *ResourceNotFoundException) Error() string {
85	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
86}
87func (e *ResourceNotFoundException) ErrorMessage() string {
88	if e.Message == nil {
89		return ""
90	}
91	return *e.Message
92}
93func (e *ResourceNotFoundException) ErrorCode() string             { return "ResourceNotFoundException" }
94func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
95