// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // You do not have sufficient access to perform this action. type AccessDeniedException struct { Message *string ErrorCodeOverride *string 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 } // There is an error in the call or in a SQL statement. type BadRequestException struct { Message *string ErrorCodeOverride *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 } // There are insufficient privileges to make the call. type ForbiddenException struct { Message *string ErrorCodeOverride *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 } // An internal error occurred. type InternalServerErrorException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InternalServerErrorException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InternalServerErrorException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InternalServerErrorException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InternalServerErrorException" } return *e.ErrorCodeOverride } func (e *InternalServerErrorException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The resourceArn , secretArn , or transactionId value can't be found. type NotFoundException struct { Message *string ErrorCodeOverride *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 service specified by the resourceArn parameter is not available. type ServiceUnavailableError struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ServiceUnavailableError) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ServiceUnavailableError) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ServiceUnavailableError) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ServiceUnavailableError" } return *e.ErrorCodeOverride } func (e *ServiceUnavailableError) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The execution of the SQL statement timed out. type StatementTimeoutException struct { Message *string ErrorCodeOverride *string DbConnectionId int64 noSmithyDocumentSerde } func (e *StatementTimeoutException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *StatementTimeoutException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *StatementTimeoutException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "StatementTimeoutException" } return *e.ErrorCodeOverride } func (e *StatementTimeoutException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }