register_namespace
async
¶
register_namespace(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
namespace_identifier: Optional[NamespaceIdentifierUnion] = None,
consumer_identifiers: Optional[ConsumerIdentifierList] = None,
) -> RegisterNamespaceOutputMessage
Registers a cluster or serverless namespace to the Amazon Web Services Glue Data Catalog.
Parameters:
-
namespace_identifier(Optional[NamespaceIdentifierUnion], default:None) –The unique identifier of the cluster or serverless namespace that you want to register.
-
consumer_identifiers(Optional[ConsumerIdentifierList], default:None) –An array containing the ID of the consumer account that you want to register the namespace to.
Raises:
-
ClusterNotFoundFault–The
ClusterIdentifierparameter does not refer to an existing cluster. -
InvalidClusterStateFault–The specified cluster is not in the
availablestate. -
InvalidNamespaceFault–The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/async_redshift.py
10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 | |