// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // The specified activity does not exist. type ActivityDoesNotExist struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ActivityDoesNotExist) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ActivityDoesNotExist) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ActivityDoesNotExist) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ActivityDoesNotExist" } return *e.ErrorCodeOverride } func (e *ActivityDoesNotExist) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The maximum number of activities has been reached. Existing activities must be // deleted before a new activity can be created. type ActivityLimitExceeded struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ActivityLimitExceeded) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ActivityLimitExceeded) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ActivityLimitExceeded) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ActivityLimitExceeded" } return *e.ErrorCodeOverride } func (e *ActivityLimitExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The maximum number of workers concurrently polling for activity tasks has been // reached. type ActivityWorkerLimitExceeded struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ActivityWorkerLimitExceeded) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ActivityWorkerLimitExceeded) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ActivityWorkerLimitExceeded) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ActivityWorkerLimitExceeded" } return *e.ErrorCodeOverride } func (e *ActivityWorkerLimitExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Updating or deleting a resource can cause an inconsistent state. This error // occurs when there're concurrent requests for DeleteStateMachineVersion , // PublishStateMachineVersion , or UpdateStateMachine with the publish parameter // set to true . HTTP Status Code: 409 type ConflictException struct { Message *string ErrorCodeOverride *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 execution has the same name as another execution (but a different input ). // Executions with the same name and input are considered idempotent. type ExecutionAlreadyExists struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ExecutionAlreadyExists) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ExecutionAlreadyExists) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ExecutionAlreadyExists) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ExecutionAlreadyExists" } return *e.ErrorCodeOverride } func (e *ExecutionAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified execution does not exist. type ExecutionDoesNotExist struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ExecutionDoesNotExist) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ExecutionDoesNotExist) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ExecutionDoesNotExist) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ExecutionDoesNotExist" } return *e.ErrorCodeOverride } func (e *ExecutionDoesNotExist) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The maximum number of running executions has been reached. Running executions // must end or be stopped before a new execution can be started. type ExecutionLimitExceeded struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ExecutionLimitExceeded) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ExecutionLimitExceeded) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ExecutionLimitExceeded) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ExecutionLimitExceeded" } return *e.ErrorCodeOverride } func (e *ExecutionLimitExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The provided Amazon Resource Name (ARN) is not valid. type InvalidArn struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidArn) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidArn) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidArn) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidArn" } return *e.ErrorCodeOverride } func (e *InvalidArn) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The provided Amazon States Language definition is not valid. type InvalidDefinition struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidDefinition) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidDefinition) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidDefinition) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidDefinition" } return *e.ErrorCodeOverride } func (e *InvalidDefinition) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The provided JSON input data is not valid. type InvalidExecutionInput struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidExecutionInput) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidExecutionInput) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidExecutionInput) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidExecutionInput" } return *e.ErrorCodeOverride } func (e *InvalidExecutionInput) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } type InvalidLoggingConfiguration struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidLoggingConfiguration) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidLoggingConfiguration) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidLoggingConfiguration) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidLoggingConfiguration" } return *e.ErrorCodeOverride } func (e *InvalidLoggingConfiguration) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The provided name is not valid. type InvalidName struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidName) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidName) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidName) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidName" } return *e.ErrorCodeOverride } func (e *InvalidName) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The provided JSON output data is not valid. type InvalidOutput struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidOutput) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidOutput) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidOutput) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidOutput" } return *e.ErrorCodeOverride } func (e *InvalidOutput) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The provided token is not valid. type InvalidToken struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidToken) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidToken) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidToken) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidToken" } return *e.ErrorCodeOverride } func (e *InvalidToken) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Your tracingConfiguration key does not match, or enabled has not been set to // true or false . type InvalidTracingConfiguration struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *InvalidTracingConfiguration) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidTracingConfiguration) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidTracingConfiguration) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidTracingConfiguration" } return *e.ErrorCodeOverride } func (e *InvalidTracingConfiguration) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Request is missing a required parameter. This error occurs if both definition // and roleArn are not specified. type MissingRequiredParameter struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *MissingRequiredParameter) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *MissingRequiredParameter) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *MissingRequiredParameter) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "MissingRequiredParameter" } return *e.ErrorCodeOverride } func (e *MissingRequiredParameter) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Could not find the referenced resource. type ResourceNotFound struct { Message *string ErrorCodeOverride *string ResourceName *string noSmithyDocumentSerde } func (e *ResourceNotFound) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ResourceNotFound) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ResourceNotFound) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ResourceNotFound" } return *e.ErrorCodeOverride } func (e *ResourceNotFound) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request would cause a service quota to be exceeded. HTTP Status Code: 402 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 } // A state machine with the same name but a different definition or role ARN // already exists. type StateMachineAlreadyExists struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *StateMachineAlreadyExists) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *StateMachineAlreadyExists) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *StateMachineAlreadyExists) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "StateMachineAlreadyExists" } return *e.ErrorCodeOverride } func (e *StateMachineAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified state machine is being deleted. type StateMachineDeleting struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *StateMachineDeleting) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *StateMachineDeleting) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *StateMachineDeleting) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "StateMachineDeleting" } return *e.ErrorCodeOverride } func (e *StateMachineDeleting) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The specified state machine does not exist. type StateMachineDoesNotExist struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *StateMachineDoesNotExist) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *StateMachineDoesNotExist) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *StateMachineDoesNotExist) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "StateMachineDoesNotExist" } return *e.ErrorCodeOverride } func (e *StateMachineDoesNotExist) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The maximum number of state machines has been reached. Existing state machines // must be deleted before a new state machine can be created. type StateMachineLimitExceeded struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *StateMachineLimitExceeded) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *StateMachineLimitExceeded) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *StateMachineLimitExceeded) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "StateMachineLimitExceeded" } return *e.ErrorCodeOverride } func (e *StateMachineLimitExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } type StateMachineTypeNotSupported struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *StateMachineTypeNotSupported) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *StateMachineTypeNotSupported) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *StateMachineTypeNotSupported) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "StateMachineTypeNotSupported" } return *e.ErrorCodeOverride } func (e *StateMachineTypeNotSupported) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } type TaskDoesNotExist struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *TaskDoesNotExist) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TaskDoesNotExist) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TaskDoesNotExist) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TaskDoesNotExist" } return *e.ErrorCodeOverride } func (e *TaskDoesNotExist) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } type TaskTimedOut struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *TaskTimedOut) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TaskTimedOut) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TaskTimedOut) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TaskTimedOut" } return *e.ErrorCodeOverride } func (e *TaskTimedOut) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // You've exceeded the number of tags allowed for a resource. See the Limits Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html) // in the Step Functions Developer Guide. type TooManyTags struct { Message *string ErrorCodeOverride *string ResourceName *string noSmithyDocumentSerde } func (e *TooManyTags) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TooManyTags) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TooManyTags) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TooManyTags" } return *e.ErrorCodeOverride } func (e *TooManyTags) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The input does not satisfy the constraints specified by an Amazon Web Services // service. type ValidationException struct { Message *string ErrorCodeOverride *string Reason ValidationExceptionReason 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 }