// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // You don't have sufficient permissions 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 was a conflict with this request. Try again. type ConflictException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *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 cluster endpoint isn't available. Try another cluster endpoint. type EndpointTemporarilyUnavailableException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *EndpointTemporarilyUnavailableException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *EndpointTemporarilyUnavailableException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *EndpointTemporarilyUnavailableException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "EndpointTemporarilyUnavailableException" } return *e.ErrorCodeOverride } func (e *EndpointTemporarilyUnavailableException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // There was an unexpected error during processing of the request. type InternalServerException struct { Message *string ErrorCodeOverride *string RetryAfterSeconds int32 noSmithyDocumentSerde } func (e *InternalServerException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InternalServerException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InternalServerException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InternalServerException" } return *e.ErrorCodeOverride } func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The request references a routing control or control panel that was not found. type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *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 request can't update that many routing control states at the same time. Try // again with fewer routing control states. type ServiceLimitExceededException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *string LimitCode *string ServiceCode *string noSmithyDocumentSerde } func (e *ServiceLimitExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ServiceLimitExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ServiceLimitExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ServiceLimitExceededException" } return *e.ErrorCodeOverride } func (e *ServiceLimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was denied because of request throttling. type ThrottlingException struct { Message *string ErrorCodeOverride *string RetryAfterSeconds int32 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 } // There was a validation error on the request. type ValidationException struct { Message *string ErrorCodeOverride *string Reason ValidationExceptionReason Fields []ValidationExceptionField noSmithyDocumentSerde } func (e *ValidationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ValidationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ValidationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ValidationException" } return *e.ErrorCodeOverride } func (e *ValidationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }