// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // The input parameters don't match the service's restrictions. type BadRequestException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string noSmithyDocumentSerde } func (e *BadRequestException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *BadRequestException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *BadRequestException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "BadRequestException" } return *e.ErrorCodeOverride } func (e *BadRequestException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Multiple instances of the same request have been made simultaneously. type ConflictException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string noSmithyDocumentSerde } func (e *ConflictException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ConflictException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ConflictException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ConflictException" } return *e.ErrorCodeOverride } func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The client is permanently forbidden from making the request. type ForbiddenException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string noSmithyDocumentSerde } func (e *ForbiddenException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ForbiddenException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ForbiddenException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ForbiddenException" } return *e.ErrorCodeOverride } func (e *ForbiddenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request exceeds the resource limit. type LimitExceededException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string noSmithyDocumentSerde } func (e *LimitExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *LimitExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *LimitExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "LimitExceededException" } return *e.ErrorCodeOverride } func (e *LimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // One or more of the resources in the request does not exist in the system. type NotFoundException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string noSmithyDocumentSerde } func (e *NotFoundException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *NotFoundException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *NotFoundException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "NotFoundException" } return *e.ErrorCodeOverride } func (e *NotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The resource that you want to tag couldn't be found. type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string ResourceName *string noSmithyDocumentSerde } func (e *ResourceNotFoundException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ResourceNotFoundException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ResourceNotFoundException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ResourceNotFoundException" } return *e.ErrorCodeOverride } func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The service encountered an unexpected error. type ServiceFailureException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string noSmithyDocumentSerde } func (e *ServiceFailureException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ServiceFailureException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ServiceFailureException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ServiceFailureException" } return *e.ErrorCodeOverride } func (e *ServiceFailureException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The service is currently unavailable. type ServiceUnavailableException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string RetryAfterSeconds *string noSmithyDocumentSerde } func (e *ServiceUnavailableException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ServiceUnavailableException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ServiceUnavailableException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ServiceUnavailableException" } return *e.ErrorCodeOverride } func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The number of customer requests exceeds the request rate limit. type ThrottlingException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string noSmithyDocumentSerde } func (e *ThrottlingException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ThrottlingException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ThrottlingException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ThrottlingException" } return *e.ErrorCodeOverride } func (e *ThrottlingException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Too many tags were added to the specified resource. type TooManyTagsException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string ResourceName *string noSmithyDocumentSerde } func (e *TooManyTagsException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TooManyTagsException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TooManyTagsException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TooManyTagsException" } return *e.ErrorCodeOverride } func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The user isn't authorized to request a resource. type UnauthorizedException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string noSmithyDocumentSerde } func (e *UnauthorizedException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *UnauthorizedException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *UnauthorizedException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "UnauthorizedException" } return *e.ErrorCodeOverride } func (e *UnauthorizedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was well-formed but was unable to be followed due to semantic // errors. type UnprocessableEntityException struct { Message *string ErrorCodeOverride *string Code *string RequestId *string noSmithyDocumentSerde } func (e *UnprocessableEntityException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *UnprocessableEntityException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *UnprocessableEntityException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "UnprocessableEntityException" } return *e.ErrorCodeOverride } func (e *UnprocessableEntityException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }