Module: Aws::Redshift::Errors
- Defined in:
- gems/aws-sdk-redshift/lib/aws-sdk-redshift/errors.rb
Overview
When Redshift returns an error response, the Ruby SDK constructs and raises an error. These errors all extend Aws::Redshift::Errors::ServiceError < Errors::ServiceError
You can rescue all Redshift errors using ServiceError:
begin
# do stuff
rescue Aws::Redshift::Errors::ServiceError
# rescues all Redshift API errors
end
Request Context
ServiceError objects have a #context method that returns information about the request that generated the error. See Seahorse::Client::RequestContext for more information.
Error Classes
- AccessToClusterDeniedFault
- This error class is not used.
AccessToClusterDenied
is used during parsing instead.
- This error class is not used.
- AccessToSnapshotDeniedFault
- This error class is not used.
AccessToSnapshotDenied
is used during parsing instead.
- This error class is not used.
- AuthenticationProfileAlreadyExistsFault
- AuthenticationProfileNotFoundFault
- AuthenticationProfileQuotaExceededFault
- AuthorizationAlreadyExistsFault
- This error class is not used.
AuthorizationAlreadyExists
is used during parsing instead.
- This error class is not used.
- AuthorizationNotFoundFault
- This error class is not used.
AuthorizationNotFound
is used during parsing instead.
- This error class is not used.
- AuthorizationQuotaExceededFault
- This error class is not used.
AuthorizationQuotaExceeded
is used during parsing instead.
- This error class is not used.
- BatchDeleteRequestSizeExceededFault
- This error class is not used.
BatchDeleteRequestSizeExceeded
is used during parsing instead.
- This error class is not used.
- BatchModifyClusterSnapshotsLimitExceededFault
- BucketNotFoundFault
- ClusterAlreadyExistsFault
- This error class is not used.
ClusterAlreadyExists
is used during parsing instead.
- This error class is not used.
- ClusterNotFoundFault
- This error class is not used.
ClusterNotFound
is used during parsing instead.
- This error class is not used.
- ClusterOnLatestRevisionFault
- This error class is not used.
ClusterOnLatestRevision
is used during parsing instead.
- This error class is not used.
- ClusterParameterGroupAlreadyExistsFault
- This error class is not used.
ClusterParameterGroupAlreadyExists
is used during parsing instead.
- This error class is not used.
- ClusterParameterGroupNotFoundFault
- This error class is not used.
ClusterParameterGroupNotFound
is used during parsing instead.
- This error class is not used.
- ClusterParameterGroupQuotaExceededFault
- This error class is not used.
ClusterParameterGroupQuotaExceeded
is used during parsing instead.
- This error class is not used.
- ClusterQuotaExceededFault
- This error class is not used.
ClusterQuotaExceeded
is used during parsing instead.
- This error class is not used.
- ClusterSecurityGroupAlreadyExistsFault
- This error class is not used.
ClusterSecurityGroupAlreadyExists
is used during parsing instead.
- This error class is not used.
- ClusterSecurityGroupNotFoundFault
- This error class is not used.
ClusterSecurityGroupNotFound
is used during parsing instead.
- This error class is not used.
- ClusterSecurityGroupQuotaExceededFault
- This error class is not used.
QuotaExceeded.ClusterSecurityGroup
is used during parsing instead.
- This error class is not used.
- ClusterSnapshotAlreadyExistsFault
- This error class is not used.
ClusterSnapshotAlreadyExists
is used during parsing instead.
- This error class is not used.
- ClusterSnapshotNotFoundFault
- This error class is not used.
ClusterSnapshotNotFound
is used during parsing instead.
- This error class is not used.
- ClusterSnapshotQuotaExceededFault
- This error class is not used.
ClusterSnapshotQuotaExceeded
is used during parsing instead.
- This error class is not used.
- ClusterSubnetGroupAlreadyExistsFault
- This error class is not used.
ClusterSubnetGroupAlreadyExists
is used during parsing instead.
- This error class is not used.
- ClusterSubnetGroupNotFoundFault
- ClusterSubnetGroupQuotaExceededFault
- This error class is not used.
ClusterSubnetGroupQuotaExceeded
is used during parsing instead.
- This error class is not used.
- ClusterSubnetQuotaExceededFault
- ConflictPolicyUpdateFault
- CopyToRegionDisabledFault
- CustomCnameAssociationFault
- CustomDomainAssociationNotFoundFault
- DependentServiceAccessDeniedFault
- This error class is not used.
DependentServiceAccessDenied
is used during parsing instead.
- This error class is not used.
- DependentServiceRequestThrottlingFault
- DependentServiceUnavailableFault
- EndpointAlreadyExistsFault
- This error class is not used.
EndpointAlreadyExists
is used during parsing instead.
- This error class is not used.
- EndpointAuthorizationAlreadyExistsFault
- This error class is not used.
EndpointAuthorizationAlreadyExists
is used during parsing instead.
- This error class is not used.
- EndpointAuthorizationNotFoundFault
- This error class is not used.
EndpointAuthorizationNotFound
is used during parsing instead.
- This error class is not used.
- EndpointAuthorizationsPerClusterLimitExceededFault
- This error class is not used.
EndpointAuthorizationsPerClusterLimitExceeded
is used during parsing instead.
- This error class is not used.
- EndpointNotFoundFault
- This error class is not used.
EndpointNotFound
is used during parsing instead.
- This error class is not used.
- EndpointsPerAuthorizationLimitExceededFault
- This error class is not used.
EndpointsPerAuthorizationLimitExceeded
is used during parsing instead.
- This error class is not used.
- EndpointsPerClusterLimitExceededFault
- This error class is not used.
EndpointsPerClusterLimitExceeded
is used during parsing instead.
- This error class is not used.
- EventSubscriptionQuotaExceededFault
- This error class is not used.
EventSubscriptionQuotaExceeded
is used during parsing instead.
- This error class is not used.
- HsmClientCertificateAlreadyExistsFault
- HsmClientCertificateNotFoundFault
- HsmClientCertificateQuotaExceededFault
- HsmConfigurationAlreadyExistsFault
- HsmConfigurationNotFoundFault
- HsmConfigurationQuotaExceededFault
- InProgressTableRestoreQuotaExceededFault
- IncompatibleOrderableOptions
- InsufficientClusterCapacityFault
- This error class is not used.
InsufficientClusterCapacity
is used during parsing instead.
- This error class is not used.
- InsufficientS3BucketPolicyFault
- IntegrationAlreadyExistsFault
- IntegrationConflictOperationFault
- IntegrationConflictStateFault
- IntegrationNotFoundFault
- IntegrationQuotaExceededFault
- IntegrationSourceNotFoundFault
- IntegrationTargetNotFoundFault
- InvalidAuthenticationProfileRequestFault
- InvalidAuthorizationStateFault
- This error class is not used.
InvalidAuthorizationState
is used during parsing instead.
- This error class is not used.
- InvalidClusterParameterGroupStateFault
- This error class is not used.
InvalidClusterParameterGroupState
is used during parsing instead.
- This error class is not used.
- InvalidClusterSecurityGroupStateFault
- This error class is not used.
InvalidClusterSecurityGroupState
is used during parsing instead.
- This error class is not used.
- InvalidClusterSnapshotScheduleStateFault
- This error class is not used.
InvalidClusterSnapshotScheduleState
is used during parsing instead.
- This error class is not used.
- InvalidClusterSnapshotStateFault
- This error class is not used.
InvalidClusterSnapshotState
is used during parsing instead.
- This error class is not used.
- InvalidClusterStateFault
- This error class is not used.
InvalidClusterState
is used during parsing instead.
- This error class is not used.
- InvalidClusterSubnetGroupStateFault
- InvalidClusterSubnetStateFault
- InvalidClusterTrackFault
- This error class is not used.
InvalidClusterTrack
is used during parsing instead.
- This error class is not used.
- InvalidDataShareFault
- InvalidElasticIpFault
- InvalidEndpointStateFault
- This error class is not used.
InvalidEndpointState
is used during parsing instead.
- This error class is not used.
- InvalidHsmClientCertificateStateFault
- InvalidHsmConfigurationStateFault
- InvalidNamespaceFault
- InvalidPolicyFault
- InvalidReservedNodeStateFault
- This error class is not used.
InvalidReservedNodeState
is used during parsing instead.
- This error class is not used.
- InvalidRestoreFault
- This error class is not used.
InvalidRestore
is used during parsing instead.
- This error class is not used.
- InvalidRetentionPeriodFault
- InvalidS3BucketNameFault
- InvalidS3KeyPrefixFault
- InvalidScheduleFault
- This error class is not used.
InvalidSchedule
is used during parsing instead.
- This error class is not used.
- InvalidScheduledActionFault
- This error class is not used.
InvalidScheduledAction
is used during parsing instead.
- This error class is not used.
- InvalidSnapshotCopyGrantStateFault
- InvalidSubnet
- InvalidSubscriptionStateFault
- InvalidTableRestoreArgumentFault
- This error class is not used.
InvalidTableRestoreArgument
is used during parsing instead.
- This error class is not used.
- InvalidTagFault
- InvalidUsageLimitFault
- This error class is not used.
InvalidUsageLimit
is used during parsing instead.
- This error class is not used.
- InvalidVPCNetworkStateFault
- Ipv6CidrBlockNotFoundFault
- LimitExceededFault
- NumberOfNodesPerClusterLimitExceededFault
- This error class is not used.
NumberOfNodesPerClusterLimitExceeded
is used during parsing instead.
- This error class is not used.
- NumberOfNodesQuotaExceededFault
- This error class is not used.
NumberOfNodesQuotaExceeded
is used during parsing instead.
- This error class is not used.
- PartnerNotFoundFault
- This error class is not used.
PartnerNotFound
is used during parsing instead.
- This error class is not used.
- RedshiftIdcApplicationAlreadyExistsFault
- This error class is not used.
RedshiftIdcApplicationAlreadyExists
is used during parsing instead.
- This error class is not used.
- RedshiftIdcApplicationNotExistsFault
- This error class is not used.
RedshiftIdcApplicationNotExists
is used during parsing instead.
- This error class is not used.
- RedshiftIdcApplicationQuotaExceededFault
- This error class is not used.
RedshiftIdcApplicationQuotaExceeded
is used during parsing instead.
- This error class is not used.
- ReservedNodeAlreadyExistsFault
- This error class is not used.
ReservedNodeAlreadyExists
is used during parsing instead.
- This error class is not used.
- ReservedNodeAlreadyMigratedFault
- This error class is not used.
ReservedNodeAlreadyMigrated
is used during parsing instead.
- This error class is not used.
- ReservedNodeExchangeNotFoundFault
- This error class is not used.
ReservedNodeExchangeNotFond
is used during parsing instead.
- This error class is not used.
- ReservedNodeNotFoundFault
- This error class is not used.
ReservedNodeNotFound
is used during parsing instead.
- This error class is not used.
- ReservedNodeOfferingNotFoundFault
- This error class is not used.
ReservedNodeOfferingNotFound
is used during parsing instead.
- This error class is not used.
- ReservedNodeQuotaExceededFault
- This error class is not used.
ReservedNodeQuotaExceeded
is used during parsing instead.
- This error class is not used.
- ResizeNotFoundFault
- This error class is not used.
ResizeNotFound
is used during parsing instead.
- This error class is not used.
- ResourceNotFoundFault
- SNSInvalidTopicFault
- This error class is not used.
SNSInvalidTopic
is used during parsing instead.
- This error class is not used.
- SNSNoAuthorizationFault
- This error class is not used.
SNSNoAuthorization
is used during parsing instead.
- This error class is not used.
- SNSTopicArnNotFoundFault
- This error class is not used.
SNSTopicArnNotFound
is used during parsing instead.
- This error class is not used.
- ScheduleDefinitionTypeUnsupportedFault
- This error class is not used.
ScheduleDefinitionTypeUnsupported
is used during parsing instead.
- This error class is not used.
- ScheduledActionAlreadyExistsFault
- This error class is not used.
ScheduledActionAlreadyExists
is used during parsing instead.
- This error class is not used.
- ScheduledActionNotFoundFault
- This error class is not used.
ScheduledActionNotFound
is used during parsing instead.
- This error class is not used.
- ScheduledActionQuotaExceededFault
- This error class is not used.
ScheduledActionQuotaExceeded
is used during parsing instead.
- This error class is not used.
- ScheduledActionTypeUnsupportedFault
- This error class is not used.
ScheduledActionTypeUnsupported
is used during parsing instead.
- This error class is not used.
- SnapshotCopyAlreadyDisabledFault
- SnapshotCopyAlreadyEnabledFault
- SnapshotCopyDisabledFault
- SnapshotCopyGrantAlreadyExistsFault
- SnapshotCopyGrantNotFoundFault
- SnapshotCopyGrantQuotaExceededFault
- SnapshotScheduleAlreadyExistsFault
- This error class is not used.
SnapshotScheduleAlreadyExists
is used during parsing instead.
- This error class is not used.
- SnapshotScheduleNotFoundFault
- This error class is not used.
SnapshotScheduleNotFound
is used during parsing instead.
- This error class is not used.
- SnapshotScheduleQuotaExceededFault
- This error class is not used.
SnapshotScheduleQuotaExceeded
is used during parsing instead.
- This error class is not used.
- SnapshotScheduleUpdateInProgressFault
- This error class is not used.
SnapshotScheduleUpdateInProgress
is used during parsing instead.
- This error class is not used.
- SourceNotFoundFault
- This error class is not used.
SourceNotFound
is used during parsing instead.
- This error class is not used.
- SubnetAlreadyInUse
- SubscriptionAlreadyExistFault
- This error class is not used.
SubscriptionAlreadyExist
is used during parsing instead.
- This error class is not used.
- SubscriptionCategoryNotFoundFault
- This error class is not used.
SubscriptionCategoryNotFound
is used during parsing instead.
- This error class is not used.
- SubscriptionEventIdNotFoundFault
- This error class is not used.
SubscriptionEventIdNotFound
is used during parsing instead.
- This error class is not used.
- SubscriptionNotFoundFault
- This error class is not used.
SubscriptionNotFound
is used during parsing instead.
- This error class is not used.
- SubscriptionSeverityNotFoundFault
- This error class is not used.
SubscriptionSeverityNotFound
is used during parsing instead.
- This error class is not used.
- TableLimitExceededFault
- This error class is not used.
TableLimitExceeded
is used during parsing instead.
- This error class is not used.
- TableRestoreNotFoundFault
- TagLimitExceededFault
- UnauthorizedOperation
- UnauthorizedPartnerIntegrationFault
- This error class is not used.
UnauthorizedPartnerIntegration
is used during parsing instead.
- This error class is not used.
- UnknownSnapshotCopyRegionFault
- UnsupportedOperationFault
- This error class is not used.
UnsupportedOperation
is used during parsing instead.
- This error class is not used.
- UnsupportedOptionFault
- UsageLimitAlreadyExistsFault
- This error class is not used.
UsageLimitAlreadyExists
is used during parsing instead.
- This error class is not used.
- UsageLimitNotFoundFault
- This error class is not used.
UsageLimitNotFound
is used during parsing instead.
- This error class is not used.
Additionally, error classes are dynamically generated for service errors based on the error code if they are not defined above.
Defined Under Namespace
Classes: AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, ConflictPolicyUpdateFault, CopyToRegionDisabledFault, CustomCnameAssociationFault, CustomDomainAssociationNotFoundFault, DependentServiceAccessDeniedFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationNotFoundFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InProgressTableRestoreQuotaExceededFault, IncompatibleOrderableOptions, InsufficientClusterCapacityFault, InsufficientS3BucketPolicyFault, IntegrationAlreadyExistsFault, IntegrationConflictOperationFault, IntegrationConflictStateFault, IntegrationNotFoundFault, IntegrationQuotaExceededFault, IntegrationSourceNotFoundFault, IntegrationTargetNotFoundFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidPolicyFault, InvalidReservedNodeStateFault, InvalidRestoreFault, InvalidRetentionPeriodFault, InvalidS3BucketNameFault, InvalidS3KeyPrefixFault, InvalidScheduleFault, InvalidScheduledActionFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTableRestoreArgumentFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, Ipv6CidrBlockNotFoundFault, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, RedshiftIdcApplicationAlreadyExistsFault, RedshiftIdcApplicationNotExistsFault, RedshiftIdcApplicationQuotaExceededFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeExchangeNotFoundFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ReservedNodeQuotaExceededFault, ResizeNotFoundFault, ResourceNotFoundFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, ScheduleDefinitionTypeUnsupportedFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, SnapshotCopyAlreadyDisabledFault, SnapshotCopyAlreadyEnabledFault, SnapshotCopyDisabledFault, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SnapshotScheduleUpdateInProgressFault, SourceNotFoundFault, SubnetAlreadyInUse, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TableLimitExceededFault, TableRestoreNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnknownSnapshotCopyRegionFault, UnsupportedOperationFault, UnsupportedOptionFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault