// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // You don't have the permissions needed to run this action. type AccessDeniedException struct { Message *string ErrorCodeOverride *string Code ErrorCode noSmithyDocumentSerde } func (e *AccessDeniedException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *AccessDeniedException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *AccessDeniedException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "AccessDeniedException" } return *e.ErrorCodeOverride } func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The input parameters don't match the service's restrictions. type BadRequestException struct { Message *string ErrorCodeOverride *string Code ErrorCode 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 were made simultaneously. type ConflictException struct { Message *string ErrorCodeOverride *string Code ErrorCode 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 ErrorCode 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 } // Access to the target resource is no longer available at the origin server. This // condition is likely to be permanent. type GoneException struct { Message *string ErrorCodeOverride *string Code ErrorCode noSmithyDocumentSerde } func (e *GoneException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *GoneException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *GoneException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "GoneException" } return *e.ErrorCodeOverride } func (e *GoneException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The requested resource couldn't be found. type NotFoundException struct { Message *string ErrorCodeOverride *string Code ErrorCode 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 request exceeds the resource limit. type ResourceLimitExceededException struct { Message *string ErrorCodeOverride *string Code ErrorCode noSmithyDocumentSerde } func (e *ResourceLimitExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ResourceLimitExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ResourceLimitExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ResourceLimitExceededException" } return *e.ErrorCodeOverride } func (e *ResourceLimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The service encountered an unexpected error. type ServiceFailureException struct { Message *string ErrorCodeOverride *string Code ErrorCode 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 ErrorCode 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 ThrottledClientException struct { Message *string ErrorCodeOverride *string Code ErrorCode noSmithyDocumentSerde } func (e *ThrottledClientException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ThrottledClientException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ThrottledClientException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ThrottledClientException" } return *e.ErrorCodeOverride } func (e *ThrottledClientException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The client isn't authorized to request a resource. type UnauthorizedClientException struct { Message *string ErrorCodeOverride *string Code ErrorCode noSmithyDocumentSerde } func (e *UnauthorizedClientException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *UnauthorizedClientException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *UnauthorizedClientException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "UnauthorizedClientException" } return *e.ErrorCodeOverride } func (e *UnauthorizedClientException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // A well-formed request couldn't be followed due to semantic errors. type UnprocessableEntityException struct { Message *string ErrorCodeOverride *string Code ErrorCode 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 }