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// Your request was throttled because you have exceeded the limit of allowed client
11// calls. Try making the call later.
12type ClientLimitExceededException struct {
13	Message *string
14}
15
16func (e *ClientLimitExceededException) Error() string {
17	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
18}
19func (e *ClientLimitExceededException) ErrorMessage() string {
20	if e.Message == nil {
21		return ""
22	}
23	return *e.Message
24}
25func (e *ClientLimitExceededException) ErrorCode() string             { return "ClientLimitExceededException" }
26func (e *ClientLimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
27
28// The value for this input parameter is invalid.
29type InvalidArgumentException struct {
30	Message *string
31}
32
33func (e *InvalidArgumentException) Error() string {
34	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
35}
36func (e *InvalidArgumentException) ErrorMessage() string {
37	if e.Message == nil {
38		return ""
39	}
40	return *e.Message
41}
42func (e *InvalidArgumentException) ErrorCode() string             { return "InvalidArgumentException" }
43func (e *InvalidArgumentException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
44
45// The specified client is invalid.
46type InvalidClientException struct {
47	Message *string
48}
49
50func (e *InvalidClientException) Error() string {
51	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
52}
53func (e *InvalidClientException) ErrorMessage() string {
54	if e.Message == nil {
55		return ""
56	}
57	return *e.Message
58}
59func (e *InvalidClientException) ErrorCode() string             { return "InvalidClientException" }
60func (e *InvalidClientException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
61
62// The caller is not authorized to perform this operation.
63type NotAuthorizedException struct {
64	Message *string
65}
66
67func (e *NotAuthorizedException) Error() string {
68	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
69}
70func (e *NotAuthorizedException) ErrorMessage() string {
71	if e.Message == nil {
72		return ""
73	}
74	return *e.Message
75}
76func (e *NotAuthorizedException) ErrorCode() string             { return "NotAuthorizedException" }
77func (e *NotAuthorizedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
78
79// The specified resource is not 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
96// If the client session is expired. Once the client is connected, the session is
97// valid for 45 minutes. Client should reconnect to the channel to continue
98// sending/receiving messages.
99type SessionExpiredException struct {
100	Message *string
101}
102
103func (e *SessionExpiredException) Error() string {
104	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
105}
106func (e *SessionExpiredException) ErrorMessage() string {
107	if e.Message == nil {
108		return ""
109	}
110	return *e.Message
111}
112func (e *SessionExpiredException) ErrorCode() string             { return "SessionExpiredException" }
113func (e *SessionExpiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
114