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.
AccessToClusterDeniedis used during parsing instead.
- This error class is not used.
- AccessToSnapshotDeniedFault
- This error class is not used.
AccessToSnapshotDeniedis used during parsing instead.
- This error class is not used.
- AuthenticationProfileAlreadyExistsFault
- AuthenticationProfileNotFoundFault
- AuthenticationProfileQuotaExceededFault
- AuthorizationAlreadyExistsFault
- This error class is not used.
AuthorizationAlreadyExistsis used during parsing instead.
- This error class is not used.
- AuthorizationNotFoundFault
- This error class is not used.
AuthorizationNotFoundis used during parsing instead.
- This error class is not used.
- AuthorizationQuotaExceededFault
- This error class is not used.
AuthorizationQuotaExceededis used during parsing instead.
- This error class is not used.
- BatchDeleteRequestSizeExceededFault
- This error class is not used.
BatchDeleteRequestSizeExceededis used during parsing instead.
- This error class is not used.
- BatchModifyClusterSnapshotsLimitExceededFault
- BucketNotFoundFault
- ClusterAlreadyExistsFault
- This error class is not used.
ClusterAlreadyExistsis used during parsing instead.
- This error class is not used.
- ClusterNotFoundFault
- This error class is not used.
ClusterNotFoundis used during parsing instead.
- This error class is not used.
- ClusterOnLatestRevisionFault
- This error class is not used.
ClusterOnLatestRevisionis used during parsing instead.
- This error class is not used.
- ClusterParameterGroupAlreadyExistsFault
- This error class is not used.
ClusterParameterGroupAlreadyExistsis used during parsing instead.
- This error class is not used.
- ClusterParameterGroupNotFoundFault
- This error class is not used.
ClusterParameterGroupNotFoundis used during parsing instead.
- This error class is not used.
- ClusterParameterGroupQuotaExceededFault
- This error class is not used.
ClusterParameterGroupQuotaExceededis used during parsing instead.
- This error class is not used.
- ClusterQuotaExceededFault
- This error class is not used.
ClusterQuotaExceededis used during parsing instead.
- This error class is not used.
- ClusterSecurityGroupAlreadyExistsFault
- This error class is not used.
ClusterSecurityGroupAlreadyExistsis used during parsing instead.
- This error class is not used.
- ClusterSecurityGroupNotFoundFault
- This error class is not used.
ClusterSecurityGroupNotFoundis used during parsing instead.
- This error class is not used.
- ClusterSecurityGroupQuotaExceededFault
- This error class is not used.
QuotaExceeded.ClusterSecurityGroupis used during parsing instead.
- This error class is not used.
- ClusterSnapshotAlreadyExistsFault
- This error class is not used.
ClusterSnapshotAlreadyExistsis used during parsing instead.
- This error class is not used.
- ClusterSnapshotNotFoundFault
- This error class is not used.
ClusterSnapshotNotFoundis used during parsing instead.
- This error class is not used.
- ClusterSnapshotQuotaExceededFault
- This error class is not used.
ClusterSnapshotQuotaExceededis used during parsing instead.
- This error class is not used.
- ClusterSubnetGroupAlreadyExistsFault
- This error class is not used.
ClusterSubnetGroupAlreadyExistsis used during parsing instead.
- This error class is not used.
- ClusterSubnetGroupNotFoundFault
- ClusterSubnetGroupQuotaExceededFault
- This error class is not used.
ClusterSubnetGroupQuotaExceededis used during parsing instead.
- This error class is not used.
- ClusterSubnetQuotaExceededFault
- ConflictPolicyUpdateFault
- CopyToRegionDisabledFault
- CustomCnameAssociationFault
- CustomDomainAssociationNotFoundFault
- DependentServiceAccessDeniedFault
- This error class is not used.
DependentServiceAccessDeniedis used during parsing instead.
- This error class is not used.
- DependentServiceRequestThrottlingFault
- DependentServiceUnavailableFault
- EndpointAlreadyExistsFault
- This error class is not used.
EndpointAlreadyExistsis used during parsing instead.
- This error class is not used.
- EndpointAuthorizationAlreadyExistsFault
- This error class is not used.
EndpointAuthorizationAlreadyExistsis used during parsing instead.
- This error class is not used.
- EndpointAuthorizationNotFoundFault
- This error class is not used.
EndpointAuthorizationNotFoundis used during parsing instead.
- This error class is not used.
- EndpointAuthorizationsPerClusterLimitExceededFault
- This error class is not used.
EndpointAuthorizationsPerClusterLimitExceededis used during parsing instead.
- This error class is not used.
- EndpointNotFoundFault
- This error class is not used.
EndpointNotFoundis used during parsing instead.
- This error class is not used.
- EndpointsPerAuthorizationLimitExceededFault
- This error class is not used.
EndpointsPerAuthorizationLimitExceededis used during parsing instead.
- This error class is not used.
- EndpointsPerClusterLimitExceededFault
- This error class is not used.
EndpointsPerClusterLimitExceededis used during parsing instead.
- This error class is not used.
- EventSubscriptionQuotaExceededFault
- This error class is not used.
EventSubscriptionQuotaExceededis 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.
InsufficientClusterCapacityis 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.
InvalidAuthorizationStateis used during parsing instead.
- This error class is not used.
- InvalidClusterParameterGroupStateFault
- This error class is not used.
InvalidClusterParameterGroupStateis used during parsing instead.
- This error class is not used.
- InvalidClusterSecurityGroupStateFault
- This error class is not used.
InvalidClusterSecurityGroupStateis used during parsing instead.
- This error class is not used.
- InvalidClusterSnapshotScheduleStateFault
- This error class is not used.
InvalidClusterSnapshotScheduleStateis used during parsing instead.
- This error class is not used.
- InvalidClusterSnapshotStateFault
- This error class is not used.
InvalidClusterSnapshotStateis used during parsing instead.
- This error class is not used.
- InvalidClusterStateFault
- This error class is not used.
InvalidClusterStateis used during parsing instead.
- This error class is not used.
- InvalidClusterSubnetGroupStateFault
- InvalidClusterSubnetStateFault
- InvalidClusterTrackFault
- This error class is not used.
InvalidClusterTrackis used during parsing instead.
- This error class is not used.
- InvalidDataShareFault
- InvalidElasticIpFault
- InvalidEndpointStateFault
- This error class is not used.
InvalidEndpointStateis used during parsing instead.
- This error class is not used.
- InvalidHsmClientCertificateStateFault
- InvalidHsmConfigurationStateFault
- InvalidNamespaceFault
- InvalidPolicyFault
- InvalidReservedNodeStateFault
- This error class is not used.
InvalidReservedNodeStateis used during parsing instead.
- This error class is not used.
- InvalidRestoreFault
- This error class is not used.
InvalidRestoreis used during parsing instead.
- This error class is not used.
- InvalidRetentionPeriodFault
- InvalidS3BucketNameFault
- InvalidS3KeyPrefixFault
- InvalidScheduleFault
- This error class is not used.
InvalidScheduleis used during parsing instead.
- This error class is not used.
- InvalidScheduledActionFault
- This error class is not used.
InvalidScheduledActionis used during parsing instead.
- This error class is not used.
- InvalidSnapshotCopyGrantStateFault
- InvalidSubnet
- InvalidSubscriptionStateFault
- InvalidTableRestoreArgumentFault
- This error class is not used.
InvalidTableRestoreArgumentis used during parsing instead.
- This error class is not used.
- InvalidTagFault
- InvalidUsageLimitFault
- This error class is not used.
InvalidUsageLimitis used during parsing instead.
- This error class is not used.
- InvalidVPCNetworkStateFault
- Ipv6CidrBlockNotFoundFault
- LimitExceededFault
- NumberOfNodesPerClusterLimitExceededFault
- This error class is not used.
NumberOfNodesPerClusterLimitExceededis used during parsing instead.
- This error class is not used.
- NumberOfNodesQuotaExceededFault
- This error class is not used.
NumberOfNodesQuotaExceededis used during parsing instead.
- This error class is not used.
- PartnerNotFoundFault
- This error class is not used.
PartnerNotFoundis used during parsing instead.
- This error class is not used.
- RedshiftIdcApplicationAlreadyExistsFault
- This error class is not used.
RedshiftIdcApplicationAlreadyExistsis used during parsing instead.
- This error class is not used.
- RedshiftIdcApplicationNotExistsFault
- This error class is not used.
RedshiftIdcApplicationNotExistsis used during parsing instead.
- This error class is not used.
- RedshiftIdcApplicationQuotaExceededFault
- This error class is not used.
RedshiftIdcApplicationQuotaExceededis used during parsing instead.
- This error class is not used.
- RedshiftInvalidParameterFault
- This error class is not used.
RedshiftInvalidParameteris used during parsing instead.
- This error class is not used.
- ReservedNodeAlreadyExistsFault
- This error class is not used.
ReservedNodeAlreadyExistsis used during parsing instead.
- This error class is not used.
- ReservedNodeAlreadyMigratedFault
- This error class is not used.
ReservedNodeAlreadyMigratedis used during parsing instead.
- This error class is not used.
- ReservedNodeExchangeNotFoundFault
- This error class is not used.
ReservedNodeExchangeNotFondis used during parsing instead.
- This error class is not used.
- ReservedNodeNotFoundFault
- This error class is not used.
ReservedNodeNotFoundis used during parsing instead.
- This error class is not used.
- ReservedNodeOfferingNotFoundFault
- This error class is not used.
ReservedNodeOfferingNotFoundis used during parsing instead.
- This error class is not used.
- ReservedNodeQuotaExceededFault
- This error class is not used.
ReservedNodeQuotaExceededis used during parsing instead.
- This error class is not used.
- ResizeNotFoundFault
- This error class is not used.
ResizeNotFoundis used during parsing instead.
- This error class is not used.
- ResourceNotFoundFault
- SNSInvalidTopicFault
- This error class is not used.
SNSInvalidTopicis used during parsing instead.
- This error class is not used.
- SNSNoAuthorizationFault
- This error class is not used.
SNSNoAuthorizationis used during parsing instead.
- This error class is not used.
- SNSTopicArnNotFoundFault
- This error class is not used.
SNSTopicArnNotFoundis used during parsing instead.
- This error class is not used.
- ScheduleDefinitionTypeUnsupportedFault
- This error class is not used.
ScheduleDefinitionTypeUnsupportedis used during parsing instead.
- This error class is not used.
- ScheduledActionAlreadyExistsFault
- This error class is not used.
ScheduledActionAlreadyExistsis used during parsing instead.
- This error class is not used.
- ScheduledActionNotFoundFault
- This error class is not used.
ScheduledActionNotFoundis used during parsing instead.
- This error class is not used.
- ScheduledActionQuotaExceededFault
- This error class is not used.
ScheduledActionQuotaExceededis used during parsing instead.
- This error class is not used.
- ScheduledActionTypeUnsupportedFault
- This error class is not used.
ScheduledActionTypeUnsupportedis used during parsing instead.
- This error class is not used.
- SnapshotCopyAlreadyDisabledFault
- SnapshotCopyAlreadyEnabledFault
- SnapshotCopyDisabledFault
- SnapshotCopyGrantAlreadyExistsFault
- SnapshotCopyGrantNotFoundFault
- SnapshotCopyGrantQuotaExceededFault
- SnapshotScheduleAlreadyExistsFault
- This error class is not used.
SnapshotScheduleAlreadyExistsis used during parsing instead.
- This error class is not used.
- SnapshotScheduleNotFoundFault
- This error class is not used.
SnapshotScheduleNotFoundis used during parsing instead.
- This error class is not used.
- SnapshotScheduleQuotaExceededFault
- This error class is not used.
SnapshotScheduleQuotaExceededis used during parsing instead.
- This error class is not used.
- SnapshotScheduleUpdateInProgressFault
- This error class is not used.
SnapshotScheduleUpdateInProgressis used during parsing instead.
- This error class is not used.
- SourceNotFoundFault
- This error class is not used.
SourceNotFoundis used during parsing instead.
- This error class is not used.
- SubnetAlreadyInUse
- SubscriptionAlreadyExistFault
- This error class is not used.
SubscriptionAlreadyExistis used during parsing instead.
- This error class is not used.
- SubscriptionCategoryNotFoundFault
- This error class is not used.
SubscriptionCategoryNotFoundis used during parsing instead.
- This error class is not used.
- SubscriptionEventIdNotFoundFault
- This error class is not used.
SubscriptionEventIdNotFoundis used during parsing instead.
- This error class is not used.
- SubscriptionNotFoundFault
- This error class is not used.
SubscriptionNotFoundis used during parsing instead.
- This error class is not used.
- SubscriptionSeverityNotFoundFault
- This error class is not used.
SubscriptionSeverityNotFoundis used during parsing instead.
- This error class is not used.
- TableLimitExceededFault
- This error class is not used.
TableLimitExceededis used during parsing instead.
- This error class is not used.
- TableRestoreNotFoundFault
- TagLimitExceededFault
- UnauthorizedOperation
- UnauthorizedPartnerIntegrationFault
- This error class is not used.
UnauthorizedPartnerIntegrationis used during parsing instead.
- This error class is not used.
- UnknownSnapshotCopyRegionFault
- UnsupportedOperationFault
- This error class is not used.
UnsupportedOperationis used during parsing instead.
- This error class is not used.
- UnsupportedOptionFault
- UsageLimitAlreadyExistsFault
- This error class is not used.
UsageLimitAlreadyExistsis used during parsing instead.
- This error class is not used.
- UsageLimitNotFoundFault
- This error class is not used.
UsageLimitNotFoundis 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, RedshiftInvalidParameterFault, 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