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
10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 | |