File: //usr/lib/python3/dist-packages/boto/redshift/__pycache__/layer1.cpython-310.pyc
o
ckF[V � @ sX d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl m
Z
G dd� de�ZdS ) � N)�json)�AWSQueryConnection)�
RegionInfo)�JSONResponseError)�
exceptionsc s, e Zd ZdZdZdZdZeZi de j
�de j�de j�de j
�d e j�d
e j�de j�de j�d
e j�de j�de j�de j�de j�de j�de j�de j�de j�i de j�de j�de j�de j�de j�de j �de j!�de j"�de j#�de j$�d e j%�d!e j&�d"e j'�d#e j(�d$e j)�d%e j*�d&e j+��i d'e j,�d(e j-�d)e j.�d*e j/�d+e j0�d,e j1�d-e j2�d.e j3�d/e j4�d0e j5�d1e j6�d2e j7�d3e j8�d4e j9�d5e j:�d6e j;�d7e j<��i d8e j=�d9e j>�d:e j?�d;e j@�d<e jA�d=e jB�d>e jC�d?e jD�d@e jE�dAe jF�dBe jG�dCe jH�dDe jI�dEe jJ�dFe jK�dGe jL�dHe jM��e jNe jOdI��ZP� fdJdK�ZQdLdM� ZR N N Nd�dOdP�ZS Nd�dQdR�ZT Nd�dSdT�ZU N N N N N N N N N N N N Nd�dUdV�ZVdWdX� ZWdYdZ� ZXd[d\� ZYd]d^� ZZ N N Nd�d_d`�Z[dadb� Z\dcdd� Z] N Nd�dedf�Z^dgdh� Z_didj� Z` Nd�dkdl�Zadmdn� Zbdodp� Zcdqdr� Zddsdt� Ze N Nd�dudv�Zf N Nd�dwdx�Zg N Nd�dydz�Zh N N N N Nd�d{d|�Zi N Nd�d}d~�Zj N N Nd�dd��Zk N Nd�d�d��Zl Nd�d�d��Zmd�d�d��Zn N Nd�d�d��Zo N N Nd�d�d��Zp N Nd�d�d��Zq N Nd�d�d��Zrd�d�� Zs N N Nd�d�d��Zt N Nd�d�d��Zu N Nd�d�d��Zvd�d�� Zwd�d�� Zxd�d�� Zy Nd�d�d��Zz Nd�d�d��Z{ N N N N N N N N N N N Nd�d�d��Z|d�d�� Z} Nd�d�d��Z~ N N Nd�d�d��Zd�d�� Z� Nd�d�d��Z�d�d�� Z� N Nd�d�d��Z� N N N N N N N N N N N N N Nd�d�d��Z� N N Nd�d�d��Z� Nd�d�d��Z�d�d�� Z�d�d�� Z�� Z�S )��RedshiftConnectiona�
Amazon Redshift **Overview**
This is an interface reference for Amazon Redshift. It contains
documentation for one of the programming or command line
interfaces you can use to manage Amazon Redshift clusters. Note
that Amazon Redshift is asynchronous, which means that some
interfaces may require techniques, such as polling or asynchronous
callback handlers, to determine when a command has been applied.
In this reference, the parameter descriptions indicate whether a
change is applied immediately, on the next instance reboot, or
during the next maintenance window. For a summary of the Amazon
Redshift cluster management interfaces, go to `Using the Amazon
Redshift Management Interfaces `_.
Amazon Redshift manages all the work of setting up, operating, and
scaling a data warehouse: provisioning capacity, monitoring and
backing up the cluster, and applying patches and upgrades to the
Amazon Redshift engine. You can focus on using your data to
acquire new insights for your business and customers.
If you are a first-time user of Amazon Redshift, we recommend that
you begin by reading the The `Amazon Redshift Getting Started
Guide`_
If you are a database developer, the `Amazon Redshift Database
Developer Guide`_ explains how to design, build, query, and
maintain the databases that make up your data warehouse.
z
2012-12-01z us-east-1z redshift.us-east-1.amazonaws.com�SnapshotCopyAlreadyDisabled�ClusterNotFound�UnknownSnapshotCopyRegion�InvalidClusterSubnetState�
InvalidSubnet�ReservedNodeQuotaExceeded�InvalidClusterState�!HsmClientCertificateQuotaExceeded�SubscriptionCategoryNotFound�HsmClientCertificateNotFound�SubscriptionEventIdNotFound�!ClusterSecurityGroupAlreadyExists�HsmConfigurationAlreadyExists�NumberOfNodesQuotaExceeded�ReservedNodeOfferingNotFound�BucketNotFound�InsufficientClusterCapacity�InvalidRestore�UnauthorizedOperation�ClusterQuotaExceeded�InvalidVPCNetworkState�ClusterSnapshotNotFound�AuthorizationQuotaExceeded� InvalidHsmClientCertificateState�SNSTopicArnNotFound�ResizeNotFound�ClusterSubnetGroupNotFound�SNSNoAuthorization�ClusterSnapshotQuotaExceeded�AccessToSnapshotDenied� InvalidClusterSecurityGroupState�$NumberOfNodesPerClusterLimitExceeded�ClusterSubnetQuotaExceeded�SNSInvalidTopic�ClusterSecurityGroupNotFound�InvalidElasticIp�!InvalidClusterParameterGroupState�InvalidHsmConfigurationState�ClusterAlreadyExists�HsmConfigurationQuotaExceeded�ClusterSnapshotAlreadyExists�SubscriptionSeverityNotFound�SourceNotFound�ReservedNodeAlreadyExists�ClusterSubnetGroupQuotaExceeded�ClusterParameterGroupNotFound�InvalidS3BucketName�InvalidS3KeyPrefix�SubscriptionAlreadyExist�HsmConfigurationNotFound�InvalidSubscriptionState�AuthorizationNotFound�!ClusterSecurityGroupQuotaExceeded�SubnetAlreadyInUse�EventSubscriptionQuotaExceeded�AuthorizationAlreadyExists�InvalidClusterSnapshotState�"ClusterParameterGroupQuotaExceeded�SnapshotCopyDisabled�ClusterSubnetGroupAlreadyExists�ReservedNodeNotFound�!HsmClientCertificateAlreadyExists�InvalidClusterSubnetGroupState�SubscriptionNotFound�InsufficientS3BucketPolicy�"ClusterParameterGroupAlreadyExists�UnsupportedOption�CopyToRegionDisabled)�SnapshotCopyAlreadyEnabled�IncompatibleOrderableOptionsc s^ |� dd �}|st| | j| j�}d|vs|d d u r|j|d<