Redshift / Client / deregister_namespace
deregister_namespace#
- Redshift.Client.deregister_namespace(**kwargs)#
- Deregisters a cluster or serverless namespace from the Amazon Web Services Glue Data Catalog. - See also: AWS API Documentation - Request Syntax- response = client.deregister_namespace( NamespaceIdentifier={ 'ServerlessIdentifier': { 'NamespaceIdentifier': 'string', 'WorkgroupIdentifier': 'string' }, 'ProvisionedIdentifier': { 'ClusterIdentifier': 'string' } }, ConsumerIdentifiers=[ 'string', ] ) - Parameters:
- NamespaceIdentifier (dict) – - [REQUIRED] - The unique identifier of the cluster or serverless namespace that you want to deregister. - Note- This is a Tagged Union structure. Only one of the following top level keys can be set: - ServerlessIdentifier,- ProvisionedIdentifier.- ServerlessIdentifier (dict) – - The identifier for a serverless namespace. - NamespaceIdentifier (string) – [REQUIRED] - The unique identifier for the serverless namespace. 
- WorkgroupIdentifier (string) – [REQUIRED] - The unique identifier for the workgroup associated with the serverless namespace. 
 
- ProvisionedIdentifier (dict) – - The identifier for a provisioned cluster. - ClusterIdentifier (string) – [REQUIRED] - The unique identifier for the provisioned cluster. 
 
 
- ConsumerIdentifiers (list) – - [REQUIRED] - An array containing the ID of the consumer account that you want to deregister the cluster or serverless namespace from. - (string) – 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'Status': 'Registering'|'Deregistering' } - Response Structure- (dict) – - Status (string) – - The registration status of the cluster or serverless namespace. 
 
 
 - Exceptions- Redshift.Client.exceptions.ClusterNotFoundFault
- Redshift.Client.exceptions.InvalidNamespaceFault
- Redshift.Client.exceptions.InvalidClusterStateFault