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
10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 | |