CmdID

CmdID / aws / aws athena

aws athena create-data-catalog

Creates (registers) a data catalog with the specified name and properties. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a data catalog

The following create-data-catalog example creates the dynamo_db_catalog data catalog.

aws athena create-data-catalog --name dynamo_db_catalog --type LAMBDA --description "DynamoDB Catalog" --parameters function=arn:aws:lambda:us-west-2:123456789012:function:dynamo_db_lambdaIdentify
--nameThe name of the data catalog to create.
--typeThe type of data catalog to create: LAMBDA for a federated catalog, GLUE for an Glue Data Catalog, and HIVE for an external Apache Hive metastore.
--descriptionA description of the data catalog to be created.
--parametersSpecifies the Lambda function or functions to use for creating the data catalog.

This command produces no output. To see the result, use aws athena get-data-catalog --name dynamo_db_catalog.

For more information, see Registering a Catalog: create-data-catalog in the Amazon Athena User Guide.

Options

5 in the AWS CLI reference
--descriptionA description of the data catalog to be created.
--nameThe name of the data catalog to create.
--parametersSpecifies the Lambda function or functions to use for creating the data catalog.
--tagsA list of comma separated tags to add to the data catalog that is created.
--typeThe type of data catalog to create: LAMBDA for a federated catalog, GLUE for an Glue Data Catalog, and HIVE for an external Apache Hive metastore.