# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::Redshift # When Redshift returns an error response, the Ruby SDK constructs and raises an error. # These errors all extend Aws::Redshift::Errors::ServiceError < {Aws::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 {Aws::Errors::ServiceError#context #context} method that returns # information about the request that generated the error. # See {Seahorse::Client::RequestContext} for more information. # # ## Error 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} # * {CopyToRegionDisabledFault} # * {CustomCnameAssociationFault} # * {CustomDomainAssociationNotFoundFault} # * {DependentServiceRequestThrottlingFault} # * {DependentServiceUnavailableFault} # * {EndpointAlreadyExistsFault} # * {EndpointAuthorizationAlreadyExistsFault} # * {EndpointAuthorizationNotFoundFault} # * {EndpointAuthorizationsPerClusterLimitExceededFault} # * {EndpointNotFoundFault} # * {EndpointsPerAuthorizationLimitExceededFault} # * {EndpointsPerClusterLimitExceededFault} # * {EventSubscriptionQuotaExceededFault} # * {HsmClientCertificateAlreadyExistsFault} # * {HsmClientCertificateNotFoundFault} # * {HsmClientCertificateQuotaExceededFault} # * {HsmConfigurationAlreadyExistsFault} # * {HsmConfigurationNotFoundFault} # * {HsmConfigurationQuotaExceededFault} # * {InProgressTableRestoreQuotaExceededFault} # * {IncompatibleOrderableOptions} # * {InsufficientClusterCapacityFault} # * {InsufficientS3BucketPolicyFault} # * {InvalidAuthenticationProfileRequestFault} # * {InvalidAuthorizationStateFault} # * {InvalidClusterParameterGroupStateFault} # * {InvalidClusterSecurityGroupStateFault} # * {InvalidClusterSnapshotScheduleStateFault} # * {InvalidClusterSnapshotStateFault} # * {InvalidClusterStateFault} # * {InvalidClusterSubnetGroupStateFault} # * {InvalidClusterSubnetStateFault} # * {InvalidClusterTrackFault} # * {InvalidDataShareFault} # * {InvalidElasticIpFault} # * {InvalidEndpointStateFault} # * {InvalidHsmClientCertificateStateFault} # * {InvalidHsmConfigurationStateFault} # * {InvalidNamespaceFault} # * {InvalidReservedNodeStateFault} # * {InvalidRestoreFault} # * {InvalidRetentionPeriodFault} # * {InvalidS3BucketNameFault} # * {InvalidS3KeyPrefixFault} # * {InvalidScheduleFault} # * {InvalidScheduledActionFault} # * {InvalidSnapshotCopyGrantStateFault} # * {InvalidSubnet} # * {InvalidSubscriptionStateFault} # * {InvalidTableRestoreArgumentFault} # * {InvalidTagFault} # * {InvalidUsageLimitFault} # * {InvalidVPCNetworkStateFault} # * {LimitExceededFault} # * {NumberOfNodesPerClusterLimitExceededFault} # * {NumberOfNodesQuotaExceededFault} # * {PartnerNotFoundFault} # * {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} # # Additionally, error classes are dynamically generated for service errors based on the error code # if they are not defined above. module Errors extend Aws::Errors::DynamicErrors class AccessToClusterDeniedFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::AccessToClusterDeniedFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class AccessToSnapshotDeniedFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::AccessToSnapshotDeniedFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class AuthenticationProfileAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::AuthenticationProfileAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class AuthenticationProfileNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::AuthenticationProfileNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class AuthenticationProfileQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::AuthenticationProfileQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class AuthorizationAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::AuthorizationAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class AuthorizationNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::AuthorizationNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class AuthorizationQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::AuthorizationQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class BatchDeleteRequestSizeExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::BatchDeleteRequestSizeExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class BatchModifyClusterSnapshotsLimitExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::BatchModifyClusterSnapshotsLimitExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class BucketNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::BucketNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterOnLatestRevisionFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterOnLatestRevisionFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterParameterGroupAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterParameterGroupAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterParameterGroupNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterParameterGroupNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterParameterGroupQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterParameterGroupQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSecurityGroupAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSecurityGroupAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSecurityGroupNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSecurityGroupNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSecurityGroupQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSecurityGroupQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSnapshotAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSnapshotAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSnapshotNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSnapshotNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSnapshotQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSnapshotQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSubnetGroupAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSubnetGroupAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSubnetGroupNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSubnetGroupNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSubnetGroupQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSubnetGroupQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ClusterSubnetQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ClusterSubnetQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class CopyToRegionDisabledFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::CopyToRegionDisabledFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class CustomCnameAssociationFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::CustomCnameAssociationFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class CustomDomainAssociationNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::CustomDomainAssociationNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class DependentServiceRequestThrottlingFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::DependentServiceRequestThrottlingFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class DependentServiceUnavailableFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::DependentServiceUnavailableFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class EndpointAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::EndpointAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class EndpointAuthorizationAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::EndpointAuthorizationAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class EndpointAuthorizationNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::EndpointAuthorizationNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class EndpointAuthorizationsPerClusterLimitExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::EndpointAuthorizationsPerClusterLimitExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class EndpointNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::EndpointNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class EndpointsPerAuthorizationLimitExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::EndpointsPerAuthorizationLimitExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class EndpointsPerClusterLimitExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::EndpointsPerClusterLimitExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class EventSubscriptionQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::EventSubscriptionQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class HsmClientCertificateAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::HsmClientCertificateAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class HsmClientCertificateNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::HsmClientCertificateNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class HsmClientCertificateQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::HsmClientCertificateQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class HsmConfigurationAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::HsmConfigurationAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class HsmConfigurationNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::HsmConfigurationNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class HsmConfigurationQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::HsmConfigurationQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InProgressTableRestoreQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InProgressTableRestoreQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class IncompatibleOrderableOptions < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::IncompatibleOrderableOptions] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InsufficientClusterCapacityFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InsufficientClusterCapacityFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InsufficientS3BucketPolicyFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InsufficientS3BucketPolicyFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidAuthenticationProfileRequestFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidAuthenticationProfileRequestFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidAuthorizationStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidAuthorizationStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidClusterParameterGroupStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidClusterParameterGroupStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidClusterSecurityGroupStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidClusterSecurityGroupStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidClusterSnapshotScheduleStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidClusterSnapshotScheduleStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidClusterSnapshotStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidClusterSnapshotStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidClusterStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidClusterStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidClusterSubnetGroupStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidClusterSubnetGroupStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidClusterSubnetStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidClusterSubnetStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidClusterTrackFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidClusterTrackFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidDataShareFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidDataShareFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidElasticIpFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidElasticIpFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidEndpointStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidEndpointStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidHsmClientCertificateStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidHsmClientCertificateStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidHsmConfigurationStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidHsmConfigurationStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidNamespaceFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidNamespaceFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidReservedNodeStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidReservedNodeStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidRestoreFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidRestoreFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidRetentionPeriodFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidRetentionPeriodFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidS3BucketNameFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidS3BucketNameFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidS3KeyPrefixFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidS3KeyPrefixFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidScheduleFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidScheduleFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidScheduledActionFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidScheduledActionFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidSnapshotCopyGrantStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidSnapshotCopyGrantStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidSubnet < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidSubnet] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidSubscriptionStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidSubscriptionStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidTableRestoreArgumentFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidTableRestoreArgumentFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidTagFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidTagFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidUsageLimitFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidUsageLimitFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidVPCNetworkStateFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::InvalidVPCNetworkStateFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class LimitExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::LimitExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class NumberOfNodesPerClusterLimitExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::NumberOfNodesPerClusterLimitExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class NumberOfNodesQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::NumberOfNodesQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class PartnerNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::PartnerNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ReservedNodeAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ReservedNodeAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ReservedNodeAlreadyMigratedFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ReservedNodeAlreadyMigratedFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ReservedNodeExchangeNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ReservedNodeExchangeNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ReservedNodeNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ReservedNodeNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ReservedNodeOfferingNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ReservedNodeOfferingNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ReservedNodeQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ReservedNodeQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ResizeNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ResizeNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ResourceNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ResourceNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SNSInvalidTopicFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SNSInvalidTopicFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SNSNoAuthorizationFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SNSNoAuthorizationFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SNSTopicArnNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SNSTopicArnNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ScheduleDefinitionTypeUnsupportedFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ScheduleDefinitionTypeUnsupportedFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ScheduledActionAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ScheduledActionAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ScheduledActionNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ScheduledActionNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ScheduledActionQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ScheduledActionQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class ScheduledActionTypeUnsupportedFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::ScheduledActionTypeUnsupportedFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotCopyAlreadyDisabledFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotCopyAlreadyDisabledFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotCopyAlreadyEnabledFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotCopyAlreadyEnabledFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotCopyDisabledFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotCopyDisabledFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotCopyGrantAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotCopyGrantAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotCopyGrantNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotCopyGrantNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotCopyGrantQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotCopyGrantQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotScheduleAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotScheduleAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotScheduleNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotScheduleNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotScheduleQuotaExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotScheduleQuotaExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SnapshotScheduleUpdateInProgressFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SnapshotScheduleUpdateInProgressFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SourceNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SourceNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SubnetAlreadyInUse < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SubnetAlreadyInUse] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SubscriptionAlreadyExistFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SubscriptionAlreadyExistFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SubscriptionCategoryNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SubscriptionCategoryNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SubscriptionEventIdNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SubscriptionEventIdNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SubscriptionNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SubscriptionNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class SubscriptionSeverityNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::SubscriptionSeverityNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class TableLimitExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::TableLimitExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class TableRestoreNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::TableRestoreNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class TagLimitExceededFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::TagLimitExceededFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class UnauthorizedOperation < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::UnauthorizedOperation] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class UnauthorizedPartnerIntegrationFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::UnauthorizedPartnerIntegrationFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class UnknownSnapshotCopyRegionFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::UnknownSnapshotCopyRegionFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class UnsupportedOperationFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::UnsupportedOperationFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class UnsupportedOptionFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::UnsupportedOptionFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class UsageLimitAlreadyExistsFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::UsageLimitAlreadyExistsFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class UsageLimitNotFoundFault < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Redshift::Types::UsageLimitNotFoundFault] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end end end