// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // An unexpected service exception occurred. type InternalServiceErrorException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InternalServiceErrorException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InternalServiceErrorException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InternalServiceErrorException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InternalServiceErrorException" } return *e.ErrorCodeOverride } func (e *InternalServiceErrorException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // One or more input parameters aren't valid. Refer to the API action's document // page, correct the input parameters, and try the action again. type InvalidRequestException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidRequestException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidRequestException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidRequestException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidRequestException" } return *e.ErrorCodeOverride } func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // You can't perform this action when the resource is in its current state. type InvalidStateException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidStateException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidStateException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidStateException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidStateException" } return *e.ErrorCodeOverride } func (e *InvalidStateException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // A resource doesn't exist for the specified Amazon Resource Name (ARN) in your // Amazon Web Services account. type ResourceNotFoundException struct { Message *string ErrorCodeOverride *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 } // App Runner can't create this resource. You've reached your account quota for // this resource type. For App Runner per-resource quotas, see App Runner // endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) // in the Amazon Web Services General Reference. type ServiceQuotaExceededException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ServiceQuotaExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ServiceQuotaExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ServiceQuotaExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ServiceQuotaExceededException" } return *e.ErrorCodeOverride } func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }