From 500786a14fa02561e817763aae95fb150729612c Mon Sep 17 00:00:00 2001
From: awstools 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. This API operation creates the following resources. CFN Stack Name with a maximum length of 128 characters and prefix
+ * Lambda Function Name with a maximum length of 64 characters and prefix
+ * Glue Connection Name with a maximum length of 255 characters and a prefix
+ *
+ *
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
@@ -38,7 +56,7 @@ export interface CreateDataCatalogCommandOutput extends CreateDataCatalogOutput,
* const client = new AthenaClient(config);
* const input = { // CreateDataCatalogInput
* Name: "STRING_VALUE", // required
- * Type: "LAMBDA" || "GLUE" || "HIVE", // required
+ * Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", // required
* Description: "STRING_VALUE",
* Parameters: { // ParametersMap
* "athenafederatedcatalog-CATALOG_NAME_SANITIZED
with length 23
+ * characters.athenafederatedcatalog_CATALOG_NAME_SANITIZED
with length 23
+ * characters.athenafederatedcatalog_CATALOG_NAME_SANITIZED
with length 23
+ * characters.
For FEDERATED
type the catalog name has following considerations and
+ * limits:
The catalog name allows special characters such as _ , @ , \ , -
+ *
. These characters are replaced with a hyphen (-) when creating the CFN
+ * Stack Name and with an underscore (_) when creating the Lambda Function and Glue
+ * Connection Name.
The catalog name has a theoretical limit of 128 characters. However, since we
+ * use it to create other resources that allow less characters and we prepend a
+ * prefix to it, the actual catalog name limit for FEDERATED
catalog
+ * is 64 - 23 = 41 characters.
The type of data catalog to create: LAMBDA
for a federated catalog,
- * HIVE
for an external hive metastore, or GLUE
for an
- * Glue Data Catalog.
GLUE
for an Glue Data Catalog, and HIVE
for an
+ * external Apache Hive metastore. FEDERATED
is a federated catalog for which
+ * Athena creates the connection and the Lambda function for
+ * you based on the parameters that you pass.
* @public
*/
Type: DataCatalogType | undefined;
@@ -1063,22 +1082,327 @@ export interface CreateDataCatalogInput {
*
*
*
+ * The FEDERATED
data catalog type uses one of the following
+ * parameters, but not both. Use connection-arn
for an existing
+ * Glue connection. Use connection-type
and
+ * connection-properties
to specify the configuration setting for
+ * a new connection.
+ * connection-arn:
+ *
+ * lambda-role-arn
(optional): The execution role to use for the
+ * Lambda function. If not provided, one is created.
+ * connection-type:MYSQL|REDSHIFT|....,
+ * connection-properties:"
+ *
For
+ *
+ * , use escaped
+ * JSON text, as in the following example.
+ * "\{\"spill_bucket\":\"my_spill\",\"spill_prefix\":\"athena-spill\",\"host\":\"abc12345.snowflakecomputing.com\",\"port\":\"1234\",\"warehouse\":\"DEV_WH\",\"database\":\"TEST\",\"schema\":\"PUBLIC\",\"SecretArn\":\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\"\}"
+ *
A list of comma separated tags to add to the data catalog that is created.
+ *A list of comma separated tags to add to the data catalog that is created. All the
+ * resources that are created by the CreateDataCatalog
API operation with
+ * FEDERATED
type will have the tag
+ * federated_athena_datacatalog="true"
. This includes the CFN Stack, Glue
+ * Connection, Athena DataCatalog, and all the resources created as part of the CFN Stack
+ * (Lambda Function, IAM policies/roles).
Contains information about a data catalog in an Amazon Web Services account.
+ *In the Athena console, data catalogs are listed as "data sources" on + * the Data sources page under the Data source name column.
+ *The name of the data catalog. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, + * or hyphen characters. The remainder of the length constraint of 256 is reserved for use + * by Athena.
+ * @public + */ + Name: string | undefined; + + /** + *An optional description of the data catalog.
+ * @public + */ + Description?: string | undefined; + + /** + *The 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. FEDERATED
is a federated catalog for which
+ * Athena creates the connection and the Lambda function for
+ * you based on the parameters that you pass.
Specifies the Lambda function or functions to use for the data catalog. + * This is a mapping whose values depend on the catalog type.
+ *For the HIVE
data catalog type, use the following syntax. The
+ * metadata-function
parameter is required. The
+ * sdk-version
parameter is optional and defaults to the currently
+ * supported version.
+ * metadata-function=lambda_arn,
+ * sdk-version=version_number
+ *
+ *
For the LAMBDA
data catalog type, use one of the following sets
+ * of required parameters, but not both.
If you have one Lambda function that processes metadata + * and another for reading the actual data, use the following syntax. Both + * parameters are required.
+ *
+ * metadata-function=lambda_arn,
+ * record-function=lambda_arn
+ *
+ *
If you have a composite Lambda function that processes + * both metadata and data, use the following syntax to specify your Lambda function.
+ *
+ * function=lambda_arn
+ *
+ *
The GLUE
type takes a catalog ID parameter and is required. The
+ *
+ * catalog_id
+ *
is the account ID of the
+ * Amazon Web Services account to which the Glue catalog
+ * belongs.
+ * catalog-id=catalog_id
+ *
+ *
The GLUE
data catalog type also applies to the default
+ * AwsDataCatalog
that already exists in your account, of
+ * which you can have only one and cannot modify.
The FEDERATED
data catalog type uses one of the following
+ * parameters, but not both. Use connection-arn
for an existing
+ * Glue connection. Use connection-type
and
+ * connection-properties
to specify the configuration setting for
+ * a new connection.
+ * connection-arn:
+ *
+ * connection-type:MYSQL|REDSHIFT|....,
+ * connection-properties:"
+ *
For
+ *
+ * , use escaped
+ * JSON text, as in the following example.
+ * "\{\"spill_bucket\":\"my_spill\",\"spill_prefix\":\"athena-spill\",\"host\":\"abc12345.snowflakecomputing.com\",\"port\":\"1234\",\"warehouse\":\"DEV_WH\",\"database\":\"TEST\",\"schema\":\"PUBLIC\",\"SecretArn\":\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\"\}"
+ *
The status of the creation or deletion of the data catalog.
+ *The LAMBDA
, GLUE
, and HIVE
data catalog
+ * types are created synchronously. Their status is either
+ * CREATE_COMPLETE
or CREATE_FAILED
.
The FEDERATED
data catalog type is created asynchronously.
Data catalog creation status:
+ *
+ * CREATE_IN_PROGRESS
: Federated data catalog creation in
+ * progress.
+ * CREATE_COMPLETE
: Data catalog creation complete.
+ * CREATE_FAILED
: Data catalog could not be created.
+ * CREATE_FAILED_CLEANUP_IN_PROGRESS
: Federated data catalog
+ * creation failed and is being removed.
+ * CREATE_FAILED_CLEANUP_COMPLETE
: Federated data catalog creation
+ * failed and was removed.
+ * CREATE_FAILED_CLEANUP_FAILED
: Federated data catalog creation
+ * failed but could not be removed.
Data catalog deletion status:
+ *
+ * DELETE_IN_PROGRESS
: Federated data catalog deletion in
+ * progress.
+ * DELETE_COMPLETE
: Federated data catalog deleted.
+ * DELETE_FAILED
: Federated data catalog could not be
+ * deleted.
The type of connection for a FEDERATED
data catalog (for example,
+ * REDSHIFT
, MYSQL
, or SQLSERVER
). For
+ * information about individual connectors, see Available data source
+ * connectors.
Text of the error that occurred during data catalog creation or deletion.
+ * @public + */ + Error?: string | undefined; +} + +/** + * @public + */ +export interface CreateDataCatalogOutput { + /** + *Contains information about a data catalog in an Amazon Web Services account.
+ *In the Athena console, data catalogs are listed as "data sources" on + * the Data sources page under the Data source name column.
+ *Deletes the Athena Data Catalog. You can only use this with the FEDERATED
+ * catalogs. You usually perform this before registering the connector with Glue Data
+ * Catalog. After deletion, you will have to manage the Glue Connection and Lambda
+ * function.
Contains information about a data catalog in an Amazon Web Services account.
+ *In the Athena console, data catalogs are listed as "data sources" on + * the Data sources page under the Data source name column.
+ *Contains information about a data catalog in an Amazon Web Services account.
- *In the Athena console, data catalogs are listed as "data sources" on - * the Data sources page under the Data source name column.
- *The name of the data catalog. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, - * or hyphen characters. The remainder of the length constraint of 256 is reserved for use - * by Athena.
- * @public - */ - Name: string | undefined; - - /** - *An optional description of the data catalog.
- * @public - */ - Description?: string | undefined; - - /** - *The type of data catalog to create: LAMBDA
for a federated catalog,
- * HIVE
for an external hive metastore, or GLUE
for an
- * Glue Data Catalog.
Specifies the Lambda function or functions to use for the data catalog. - * This is a mapping whose values depend on the catalog type.
- *For the HIVE
data catalog type, use the following syntax. The
- * metadata-function
parameter is required. The
- * sdk-version
parameter is optional and defaults to the currently
- * supported version.
- * metadata-function=lambda_arn,
- * sdk-version=version_number
- *
- *
For the LAMBDA
data catalog type, use one of the following sets
- * of required parameters, but not both.
If you have one Lambda function that processes metadata - * and another for reading the actual data, use the following syntax. Both - * parameters are required.
- *
- * metadata-function=lambda_arn,
- * record-function=lambda_arn
- *
- *
If you have a composite Lambda function that processes - * both metadata and data, use the following syntax to specify your Lambda function.
- *
- * function=lambda_arn
- *
- *
The GLUE
type takes a catalog ID parameter and is required. The
- *
- * catalog_id
- *
is the account ID of the
- * Amazon Web Services account to which the Glue catalog
- * belongs.
- * catalog-id=catalog_id
- *
- *
The GLUE
data catalog type also applies to the default
- * AwsDataCatalog
that already exists in your account, of
- * which you can have only one and cannot modify.
The status of the creation or deletion of the data catalog.
+ *The LAMBDA
, GLUE
, and HIVE
data catalog
+ * types are created synchronously. Their status is either
+ * CREATE_COMPLETE
or CREATE_FAILED
.
The FEDERATED
data catalog type is created asynchronously.
Data catalog creation status:
+ *
+ * CREATE_IN_PROGRESS
: Federated data catalog creation in
+ * progress.
+ * CREATE_COMPLETE
: Data catalog creation complete.
+ * CREATE_FAILED
: Data catalog could not be created.
+ * CREATE_FAILED_CLEANUP_IN_PROGRESS
: Federated data catalog
+ * creation failed and is being removed.
+ * CREATE_FAILED_CLEANUP_COMPLETE
: Federated data catalog creation
+ * failed and was removed.
+ * CREATE_FAILED_CLEANUP_FAILED
: Federated data catalog creation
+ * failed but could not be removed.
Data catalog deletion status:
+ *
+ * DELETE_IN_PROGRESS
: Federated data catalog deletion in
+ * progress.
+ * DELETE_COMPLETE
: Federated data catalog deleted.
+ * DELETE_FAILED
: Federated data catalog could not be
+ * deleted.
The type of connection for a FEDERATED
data catalog (for example,
+ * REDSHIFT
, MYSQL
, or SQLSERVER
). For
+ * information about individual connectors, see Available data source
+ * connectors.
Text of the error that occurred during data catalog creation or deletion.
+ * @public + */ + Error?: string | undefined; } /** diff --git a/codegen/sdk-codegen/aws-models/athena.json b/codegen/sdk-codegen/aws-models/athena.json index e6fef7b284fe..adc6930a5529 100644 --- a/codegen/sdk-codegen/aws-models/athena.json +++ b/codegen/sdk-codegen/aws-models/athena.json @@ -2172,6 +2172,131 @@ "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*$" } }, + "com.amazonaws.athena#ConnectionType": { + "type": "enum", + "members": { + "DYNAMODB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DYNAMODB" + } + }, + "MYSQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MYSQL" + } + }, + "POSTGRESQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POSTGRESQL" + } + }, + "REDSHIFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REDSHIFT" + } + }, + "ORACLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ORACLE" + } + }, + "SYNAPSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYNAPSE" + } + }, + "SQLSERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQLSERVER" + } + }, + "DB2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DB2" + } + }, + "OPENSEARCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPENSEARCH" + } + }, + "BIGQUERY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BIGQUERY" + } + }, + "GOOGLECLOUDSTORAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GOOGLECLOUDSTORAGE" + } + }, + "HBASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HBASE" + } + }, + "DOCUMENTDB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOCUMENTDB" + } + }, + "CMDB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CMDB" + } + }, + "TPCDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TPCDS" + } + }, + "TIMESTREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMESTREAM" + } + }, + "SAPHANA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAPHANA" + } + }, + "SNOWFLAKE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNOWFLAKE" + } + }, + "DATALAKEGEN2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATALAKEGEN2" + } + }, + "DB2AS400": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DB2AS400" + } + } + } + }, "com.amazonaws.athena#CoordinatorDpuSize": { "type": "integer", "traits": { @@ -2254,7 +2379,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates (registers) a data catalog with the specified name and properties. Catalogs\n created are visible to all users of the same Amazon Web Services account.
" + "smithy.api#documentation": "Creates (registers) a data catalog with the specified name and properties. Catalogs\n created are visible to all users of the same Amazon Web Services account.
\nThis API operation creates the following resources.
\nCFN Stack Name with a maximum length of 128 characters and prefix\n athenafederatedcatalog-CATALOG_NAME_SANITIZED
with length 23\n characters.
Lambda Function Name with a maximum length of 64 characters and prefix\n athenafederatedcatalog_CATALOG_NAME_SANITIZED
with length 23\n characters.
Glue Connection Name with a maximum length of 255 characters and a prefix\n athenafederatedcatalog_CATALOG_NAME_SANITIZED
with length 23\n characters.
The name of the data catalog to create. The catalog name must be unique for the\n Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at\n sign, or hyphen characters. The remainder of the length constraint of 256 is reserved\n for use by Athena.
", + "smithy.api#documentation": "The name of the data catalog to create. The catalog name must be unique for the\n Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at\n sign, or hyphen characters. The remainder of the length constraint of 256 is reserved\n for use by Athena.
\nFor FEDERATED
type the catalog name has following considerations and\n limits:
The catalog name allows special characters such as _ , @ , \\ , -\n
. These characters are replaced with a hyphen (-) when creating the CFN\n Stack Name and with an underscore (_) when creating the Lambda Function and Glue\n Connection Name.
The catalog name has a theoretical limit of 128 characters. However, since we\n use it to create other resources that allow less characters and we prepend a\n prefix to it, the actual catalog name limit for FEDERATED
catalog\n is 64 - 23 = 41 characters.
The type of data catalog to create: LAMBDA
for a federated catalog,\n HIVE
for an external hive metastore, or GLUE
for an\n Glue Data Catalog.
The type of data catalog to create: LAMBDA
for a federated catalog,\n GLUE
for an Glue Data Catalog, and HIVE
for an\n external Apache Hive metastore. FEDERATED
is a federated catalog for which\n Athena creates the connection and the Lambda function for\n you based on the parameters that you pass.
Specifies the Lambda function or functions to use for creating the data\n catalog. This is a mapping whose values depend on the catalog type.
\nFor the HIVE
data catalog type, use the following syntax. The\n metadata-function
parameter is required. The\n sdk-version
parameter is optional and defaults to the currently\n supported version.
\n metadata-function=lambda_arn,\n sdk-version=version_number\n
\n
For the LAMBDA
data catalog type, use one of the following sets\n of required parameters, but not both.
If you have one Lambda function that processes metadata\n and another for reading the actual data, use the following syntax. Both\n parameters are required.
\n\n metadata-function=lambda_arn,\n record-function=lambda_arn\n
\n
If you have a composite Lambda function that processes\n both metadata and data, use the following syntax to specify your Lambda function.
\n\n function=lambda_arn\n
\n
The GLUE
type takes a catalog ID parameter and is required. The\n \n catalog_id\n
is the account ID of the\n Amazon Web Services account to which the Glue Data Catalog\n belongs.
\n catalog-id=catalog_id\n
\n
The GLUE
data catalog type also applies to the default\n AwsDataCatalog
that already exists in your account, of\n which you can have only one and cannot modify.
Specifies the Lambda function or functions to use for creating the data\n catalog. This is a mapping whose values depend on the catalog type.
\nFor the HIVE
data catalog type, use the following syntax. The\n metadata-function
parameter is required. The\n sdk-version
parameter is optional and defaults to the currently\n supported version.
\n metadata-function=lambda_arn,\n sdk-version=version_number\n
\n
For the LAMBDA
data catalog type, use one of the following sets\n of required parameters, but not both.
If you have one Lambda function that processes metadata\n and another for reading the actual data, use the following syntax. Both\n parameters are required.
\n\n metadata-function=lambda_arn,\n record-function=lambda_arn\n
\n
If you have a composite Lambda function that processes\n both metadata and data, use the following syntax to specify your Lambda function.
\n\n function=lambda_arn\n
\n
The GLUE
type takes a catalog ID parameter and is required. The\n \n catalog_id\n
is the account ID of the\n Amazon Web Services account to which the Glue Data Catalog\n belongs.
\n catalog-id=catalog_id\n
\n
The GLUE
data catalog type also applies to the default\n AwsDataCatalog
that already exists in your account, of\n which you can have only one and cannot modify.
The FEDERATED
data catalog type uses one of the following\n parameters, but not both. Use connection-arn
for an existing\n Glue connection. Use connection-type
and\n connection-properties
to specify the configuration setting for\n a new connection.
\n connection-arn:
\n
\n lambda-role-arn
(optional): The execution role to use for the\n Lambda function. If not provided, one is created.
\n connection-type:MYSQL|REDSHIFT|....,\n connection-properties:\"
\n
For \n
\n , use escaped\n JSON text, as in the following example.
\n \"{\\\"spill_bucket\\\":\\\"my_spill\\\",\\\"spill_prefix\\\":\\\"athena-spill\\\",\\\"host\\\":\\\"abc12345.snowflakecomputing.com\\\",\\\"port\\\":\\\"1234\\\",\\\"warehouse\\\":\\\"DEV_WH\\\",\\\"database\\\":\\\"TEST\\\",\\\"schema\\\":\\\"PUBLIC\\\",\\\"SecretArn\\\":\\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\\"}\"
\n
A list of comma separated tags to add to the data catalog that is created.
" + "smithy.api#documentation": "A list of comma separated tags to add to the data catalog that is created. All the\n resources that are created by the CreateDataCatalog
API operation with\n FEDERATED
type will have the tag\n federated_athena_datacatalog=\"true\"
. This includes the CFN Stack, Glue\n Connection, Athena DataCatalog, and all the resources created as part of the CFN Stack\n (Lambda Function, IAM policies/roles).
The type of data catalog to create: LAMBDA
for a federated catalog,\n HIVE
for an external hive metastore, or GLUE
for an\n Glue Data Catalog.
The type of data catalog to create: LAMBDA
for a federated catalog,\n GLUE
for an Glue Data Catalog, and HIVE
for an\n external Apache Hive metastore. FEDERATED
is a federated catalog for which\n Athena creates the connection and the Lambda function for\n you based on the parameters that you pass.
Specifies the Lambda function or functions to use for the data catalog.\n This is a mapping whose values depend on the catalog type.
\nFor the HIVE
data catalog type, use the following syntax. The\n metadata-function
parameter is required. The\n sdk-version
parameter is optional and defaults to the currently\n supported version.
\n metadata-function=lambda_arn,\n sdk-version=version_number\n
\n
For the LAMBDA
data catalog type, use one of the following sets\n of required parameters, but not both.
If you have one Lambda function that processes metadata\n and another for reading the actual data, use the following syntax. Both\n parameters are required.
\n\n metadata-function=lambda_arn,\n record-function=lambda_arn\n
\n
If you have a composite Lambda function that processes\n both metadata and data, use the following syntax to specify your Lambda function.
\n\n function=lambda_arn\n
\n
The GLUE
type takes a catalog ID parameter and is required. The\n \n catalog_id\n
is the account ID of the\n Amazon Web Services account to which the Glue catalog\n belongs.
\n catalog-id=catalog_id\n
\n
The GLUE
data catalog type also applies to the default\n AwsDataCatalog
that already exists in your account, of\n which you can have only one and cannot modify.
Specifies the Lambda function or functions to use for the data catalog.\n This is a mapping whose values depend on the catalog type.
\nFor the HIVE
data catalog type, use the following syntax. The\n metadata-function
parameter is required. The\n sdk-version
parameter is optional and defaults to the currently\n supported version.
\n metadata-function=lambda_arn,\n sdk-version=version_number\n
\n
For the LAMBDA
data catalog type, use one of the following sets\n of required parameters, but not both.
If you have one Lambda function that processes metadata\n and another for reading the actual data, use the following syntax. Both\n parameters are required.
\n\n metadata-function=lambda_arn,\n record-function=lambda_arn\n
\n
If you have a composite Lambda function that processes\n both metadata and data, use the following syntax to specify your Lambda function.
\n\n function=lambda_arn\n
\n
The GLUE
type takes a catalog ID parameter and is required. The\n \n catalog_id\n
is the account ID of the\n Amazon Web Services account to which the Glue catalog\n belongs.
\n catalog-id=catalog_id\n
\n
The GLUE
data catalog type also applies to the default\n AwsDataCatalog
that already exists in your account, of\n which you can have only one and cannot modify.
The FEDERATED
data catalog type uses one of the following\n parameters, but not both. Use connection-arn
for an existing\n Glue connection. Use connection-type
and\n connection-properties
to specify the configuration setting for\n a new connection.
\n connection-arn:
\n
\n connection-type:MYSQL|REDSHIFT|....,\n connection-properties:\"
\n
For \n
\n , use escaped\n JSON text, as in the following example.
\n \"{\\\"spill_bucket\\\":\\\"my_spill\\\",\\\"spill_prefix\\\":\\\"athena-spill\\\",\\\"host\\\":\\\"abc12345.snowflakecomputing.com\\\",\\\"port\\\":\\\"1234\\\",\\\"warehouse\\\":\\\"DEV_WH\\\",\\\"database\\\":\\\"TEST\\\",\\\"schema\\\":\\\"PUBLIC\\\",\\\"SecretArn\\\":\\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\\"}\"
\n
The status of the creation or deletion of the data catalog.
\nThe LAMBDA
, GLUE
, and HIVE
data catalog\n types are created synchronously. Their status is either\n CREATE_COMPLETE
or CREATE_FAILED
.
The FEDERATED
data catalog type is created asynchronously.
Data catalog creation status:
\n\n CREATE_IN_PROGRESS
: Federated data catalog creation in\n progress.
\n CREATE_COMPLETE
: Data catalog creation complete.
\n CREATE_FAILED
: Data catalog could not be created.
\n CREATE_FAILED_CLEANUP_IN_PROGRESS
: Federated data catalog\n creation failed and is being removed.
\n CREATE_FAILED_CLEANUP_COMPLETE
: Federated data catalog creation\n failed and was removed.
\n CREATE_FAILED_CLEANUP_FAILED
: Federated data catalog creation\n failed but could not be removed.
Data catalog deletion status:
\n\n DELETE_IN_PROGRESS
: Federated data catalog deletion in\n progress.
\n DELETE_COMPLETE
: Federated data catalog deleted.
\n DELETE_FAILED
: Federated data catalog could not be\n deleted.
The type of connection for a FEDERATED
data catalog (for example,\n REDSHIFT
, MYSQL
, or SQLSERVER
). For\n information about individual connectors, see Available data source\n connectors.
Text of the error that occurred during data catalog creation or deletion.
" } } }, @@ -2690,6 +2837,65 @@ "smithy.api#documentation": "Contains information about a data catalog in an Amazon Web Services account.
\nIn the Athena console, data catalogs are listed as \"data sources\" on\n the Data sources page under the Data source name column.
\nThe data catalog type.
" } + }, + "Status": { + "target": "com.amazonaws.athena#DataCatalogStatus", + "traits": { + "smithy.api#documentation": "The status of the creation or deletion of the data catalog.
\nThe LAMBDA
, GLUE
, and HIVE
data catalog\n types are created synchronously. Their status is either\n CREATE_COMPLETE
or CREATE_FAILED
.
The FEDERATED
data catalog type is created asynchronously.
Data catalog creation status:
\n\n CREATE_IN_PROGRESS
: Federated data catalog creation in\n progress.
\n CREATE_COMPLETE
: Data catalog creation complete.
\n CREATE_FAILED
: Data catalog could not be created.
\n CREATE_FAILED_CLEANUP_IN_PROGRESS
: Federated data catalog\n creation failed and is being removed.
\n CREATE_FAILED_CLEANUP_COMPLETE
: Federated data catalog creation\n failed and was removed.
\n CREATE_FAILED_CLEANUP_FAILED
: Federated data catalog creation\n failed but could not be removed.
Data catalog deletion status:
\n\n DELETE_IN_PROGRESS
: Federated data catalog deletion in\n progress.
\n DELETE_COMPLETE
: Federated data catalog deleted.
\n DELETE_FAILED
: Federated data catalog could not be\n deleted.
The type of connection for a FEDERATED
data catalog (for example,\n REDSHIFT
, MYSQL
, or SQLSERVER
). For\n information about individual connectors, see Available data source\n connectors.
Text of the error that occurred during data catalog creation or deletion.
" + } } }, "traits": { @@ -2736,6 +2960,12 @@ "traits": { "smithy.api#enumValue": "HIVE" } + }, + "FEDERATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FEDERATED" + } } } }, @@ -2879,6 +3109,13 @@ "smithy.api#documentation": "The name of the data catalog to delete.
", "smithy.api#required": {} } + }, + "DeleteCatalogOnly": { + "target": "com.amazonaws.athena#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "Deletes the Athena Data Catalog. You can only use this with the FEDERATED
\n catalogs. You usually perform this before registering the connector with Glue Data\n Catalog. After deletion, you will have to manage the Glue Connection and Lambda\n function.