AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates (registers) a data catalog with the specified name and properties. Catalogs created are visible to all users of the same Amazon Web Services account.
For a FEDERATED
catalog, this API operation creates the following resources.
CFN Stack Name with a maximum length of 128 characters and prefix athenafederatedcatalog-CATALOG_NAME_SANITIZED
with length 23 characters.
Lambda Function Name with a maximum length of 64 characters and prefix athenafederatedcatalog_CATALOG_NAME_SANITIZED
with length 23 characters.
Glue Connection Name with a maximum length of 255 characters and a prefix athenafederatedcatalog_CATALOG_NAME_SANITIZED
with length 23 characters.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateDataCatalogAsync.
Namespace: Amazon.Athena
Assembly: AWSSDK.Athena.dll
Version: 3.x.y.z
public virtual CreateDataCatalogResponse CreateDataCatalog( CreateDataCatalogRequest request )
Container for the necessary parameters to execute the CreateDataCatalog service method.
Exception | Condition |
---|---|
InternalServerException | Indicates a platform issue, which may be due to a transient condition or outage. |
InvalidRequestException | Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range. |
.NET Framework:
Supported in: 4.5 and newer, 3.5