// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // You don't have access to perform this operation on this resource. 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 } // The API key exceeded a limit. Try your request again. type ApiKeyLimitExceededException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ApiKeyLimitExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ApiKeyLimitExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ApiKeyLimitExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ApiKeyLimitExceededException" } return *e.ErrorCodeOverride } func (e *ApiKeyLimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The API key expiration must be set to a value between 1 and 365 days from // creation (for CreateApiKey ) or from update (for UpdateApiKey ). type ApiKeyValidityOutOfBoundsException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ApiKeyValidityOutOfBoundsException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ApiKeyValidityOutOfBoundsException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ApiKeyValidityOutOfBoundsException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ApiKeyValidityOutOfBoundsException" } return *e.ErrorCodeOverride } func (e *ApiKeyValidityOutOfBoundsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The GraphQL API exceeded a limit. Try your request again. type ApiLimitExceededException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ApiLimitExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ApiLimitExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ApiLimitExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ApiLimitExceededException" } return *e.ErrorCodeOverride } func (e *ApiLimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request is not well formed. For example, a value is invalid or a required // field is missing. Check the field values, and then try again. type BadRequestException struct { Message *string ErrorCodeOverride *string Reason BadRequestReason Detail *BadRequestDetail 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 } // Another modification is in progress at this time and it must complete before // you can make your change. type ConcurrentModificationException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ConcurrentModificationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ConcurrentModificationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ConcurrentModificationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ConcurrentModificationException" } return *e.ErrorCodeOverride } func (e *ConcurrentModificationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The GraphQL schema is not valid. type GraphQLSchemaException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *GraphQLSchemaException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *GraphQLSchemaException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *GraphQLSchemaException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "GraphQLSchemaException" } return *e.ErrorCodeOverride } func (e *GraphQLSchemaException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // An internal AppSync error occurred. Try your request again. type InternalFailureException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InternalFailureException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InternalFailureException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InternalFailureException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InternalFailureException" } return *e.ErrorCodeOverride } func (e *InternalFailureException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The request exceeded a limit. Try your request again. type LimitExceededException struct { Message *string ErrorCodeOverride *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 } // The resource specified in the request was not found. Check the resource, and // then try again. 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 } // You aren't authorized to perform this operation. type UnauthorizedException struct { Message *string ErrorCodeOverride *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 }