register_namespace
¶
register_namespace(
*,
config_overrides: Optional[RedshiftClientConfig] = 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/redshift.py
10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 | |