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// More than one process tried to modify a resource at the same time. 11type ConcurrentModificationException struct { 12 Message *string 13} 14 15func (e *ConcurrentModificationException) Error() string { 16 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 17} 18func (e *ConcurrentModificationException) ErrorMessage() string { 19 if e.Message == nil { 20 return "" 21 } 22 return *e.Message 23} 24func (e *ConcurrentModificationException) ErrorCode() string { 25 return "ConcurrentModificationException" 26} 27func (e *ConcurrentModificationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 28 29// Some part of the dashboard data is invalid. 30type DashboardInvalidInputError struct { 31 Message *string 32 33 DashboardValidationMessages []DashboardValidationMessage 34} 35 36func (e *DashboardInvalidInputError) Error() string { 37 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 38} 39func (e *DashboardInvalidInputError) ErrorMessage() string { 40 if e.Message == nil { 41 return "" 42 } 43 return *e.Message 44} 45func (e *DashboardInvalidInputError) ErrorCode() string { return "DashboardInvalidInputError" } 46func (e *DashboardInvalidInputError) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 47 48// The specified dashboard does not exist. 49type DashboardNotFoundError struct { 50 Message *string 51} 52 53func (e *DashboardNotFoundError) Error() string { 54 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 55} 56func (e *DashboardNotFoundError) ErrorMessage() string { 57 if e.Message == nil { 58 return "" 59 } 60 return *e.Message 61} 62func (e *DashboardNotFoundError) ErrorCode() string { return "DashboardNotFoundError" } 63func (e *DashboardNotFoundError) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 64 65// Request processing has failed due to some unknown error, exception, or failure. 66type InternalServiceFault struct { 67 Message *string 68} 69 70func (e *InternalServiceFault) Error() string { 71 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 72} 73func (e *InternalServiceFault) ErrorMessage() string { 74 if e.Message == nil { 75 return "" 76 } 77 return *e.Message 78} 79func (e *InternalServiceFault) ErrorCode() string { return "InternalServiceFault" } 80func (e *InternalServiceFault) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } 81 82// Data was not syntactically valid JSON. 83type InvalidFormatFault struct { 84 Message *string 85} 86 87func (e *InvalidFormatFault) Error() string { 88 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 89} 90func (e *InvalidFormatFault) ErrorMessage() string { 91 if e.Message == nil { 92 return "" 93 } 94 return *e.Message 95} 96func (e *InvalidFormatFault) ErrorCode() string { return "InvalidFormatFault" } 97func (e *InvalidFormatFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 98 99// The next token specified is invalid. 100type InvalidNextToken struct { 101 Message *string 102} 103 104func (e *InvalidNextToken) Error() string { 105 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 106} 107func (e *InvalidNextToken) ErrorMessage() string { 108 if e.Message == nil { 109 return "" 110 } 111 return *e.Message 112} 113func (e *InvalidNextToken) ErrorCode() string { return "InvalidNextToken" } 114func (e *InvalidNextToken) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 115 116// Parameters were used together that cannot be used together. 117type InvalidParameterCombinationException struct { 118 Message *string 119} 120 121func (e *InvalidParameterCombinationException) Error() string { 122 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 123} 124func (e *InvalidParameterCombinationException) ErrorMessage() string { 125 if e.Message == nil { 126 return "" 127 } 128 return *e.Message 129} 130func (e *InvalidParameterCombinationException) ErrorCode() string { 131 return "InvalidParameterCombinationException" 132} 133func (e *InvalidParameterCombinationException) ErrorFault() smithy.ErrorFault { 134 return smithy.FaultClient 135} 136 137// The value of an input parameter is bad or out-of-range. 138type InvalidParameterValueException struct { 139 Message *string 140} 141 142func (e *InvalidParameterValueException) Error() string { 143 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 144} 145func (e *InvalidParameterValueException) ErrorMessage() string { 146 if e.Message == nil { 147 return "" 148 } 149 return *e.Message 150} 151func (e *InvalidParameterValueException) ErrorCode() string { return "InvalidParameterValueException" } 152func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 153 154// The operation exceeded one or more limits. 155type LimitExceededException struct { 156 Message *string 157} 158 159func (e *LimitExceededException) Error() string { 160 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 161} 162func (e *LimitExceededException) ErrorMessage() string { 163 if e.Message == nil { 164 return "" 165 } 166 return *e.Message 167} 168func (e *LimitExceededException) ErrorCode() string { return "LimitExceededException" } 169func (e *LimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 170 171// The quota for alarms for this customer has already been reached. 172type LimitExceededFault struct { 173 Message *string 174} 175 176func (e *LimitExceededFault) Error() string { 177 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 178} 179func (e *LimitExceededFault) ErrorMessage() string { 180 if e.Message == nil { 181 return "" 182 } 183 return *e.Message 184} 185func (e *LimitExceededFault) ErrorCode() string { return "LimitExceededFault" } 186func (e *LimitExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 187 188// An input parameter that is required is missing. 189type MissingRequiredParameterException struct { 190 Message *string 191} 192 193func (e *MissingRequiredParameterException) Error() string { 194 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 195} 196func (e *MissingRequiredParameterException) ErrorMessage() string { 197 if e.Message == nil { 198 return "" 199 } 200 return *e.Message 201} 202func (e *MissingRequiredParameterException) ErrorCode() string { 203 return "MissingRequiredParameterException" 204} 205func (e *MissingRequiredParameterException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 206 207// The named resource does not exist. 208type ResourceNotFound struct { 209 Message *string 210} 211 212func (e *ResourceNotFound) Error() string { 213 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 214} 215func (e *ResourceNotFound) ErrorMessage() string { 216 if e.Message == nil { 217 return "" 218 } 219 return *e.Message 220} 221func (e *ResourceNotFound) ErrorCode() string { return "ResourceNotFound" } 222func (e *ResourceNotFound) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 223 224// The named resource does not exist. 225type ResourceNotFoundException struct { 226 Message *string 227 228 ResourceType *string 229 ResourceId *string 230} 231 232func (e *ResourceNotFoundException) Error() string { 233 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 234} 235func (e *ResourceNotFoundException) ErrorMessage() string { 236 if e.Message == nil { 237 return "" 238 } 239 return *e.Message 240} 241func (e *ResourceNotFoundException) ErrorCode() string { return "ResourceNotFoundException" } 242func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 243