From ca03f0c2cdca4a62332cb0099e7c7c422aafb301 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 18 Oct 2024 18:15:04 +0000 Subject: [PATCH] feat(client-athena): Removing FEDERATED from Create/List/Delete/GetDataCatalog API --- .../src/commands/CreateDataCatalogCommand.ts | 18 +- .../src/commands/DeleteDataCatalogCommand.ts | 16 +- .../src/commands/GetDataCatalogCommand.ts | 5 +- .../src/commands/ListDataCatalogsCommand.ts | 5 +- .../src/commands/UpdateDataCatalogCommand.ts | 2 +- clients/client-athena/src/models/models_0.ts | 519 ++++-------------- codegen/sdk-codegen/aws-models/athena.json | 312 +---------- 7 files changed, 124 insertions(+), 753 deletions(-) diff --git a/clients/client-athena/src/commands/CreateDataCatalogCommand.ts b/clients/client-athena/src/commands/CreateDataCatalogCommand.ts index ea82efa22b2e..1c9af2931d53 100644 --- a/clients/client-athena/src/commands/CreateDataCatalogCommand.ts +++ b/clients/client-athena/src/commands/CreateDataCatalogCommand.ts @@ -38,7 +38,7 @@ export interface CreateDataCatalogCommandOutput extends CreateDataCatalogOutput, * const client = new AthenaClient(config); * const input = { // CreateDataCatalogInput * Name: "STRING_VALUE", // required - * Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", // required + * Type: "LAMBDA" || "GLUE" || "HIVE", // required * Description: "STRING_VALUE", * Parameters: { // ParametersMap * "": "STRING_VALUE", @@ -52,19 +52,7 @@ export interface CreateDataCatalogCommandOutput extends CreateDataCatalogOutput, * }; * const command = new CreateDataCatalogCommand(input); * const response = await client.send(command); - * // { // CreateDataCatalogOutput - * // DataCatalog: { // DataCatalog - * // Name: "STRING_VALUE", // required - * // Description: "STRING_VALUE", - * // Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", // required - * // Parameters: { // ParametersMap - * // "": "STRING_VALUE", - * // }, - * // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "CREATE_FAILED_CLEANUP_IN_PROGRESS" || "CREATE_FAILED_CLEANUP_COMPLETE" || "CREATE_FAILED_CLEANUP_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED", - * // ConnectionType: "DYNAMODB" || "MYSQL" || "POSTGRESQL" || "REDSHIFT" || "ORACLE" || "SYNAPSE" || "SQLSERVER" || "DB2" || "OPENSEARCH" || "BIGQUERY" || "GOOGLECLOUDSTORAGE" || "HBASE" || "DOCUMENTDB" || "MSK" || "NEPTUNE" || "CMDB" || "TPCDS" || "REDIS" || "CLOUDWATCH" || "TIMESTREAM" || "SAPHANA" || "SNOWFLAKE" || "TERADATA" || "VERTICA" || "CLOUDERAIMPALA" || "CLOUDERAHIVE" || "HORTONWORKSHIVE" || "DATALAKEGEN2" || "DB2AS400" || "CLOUDWATCHMETRICS", - * // Error: "STRING_VALUE", - * // }, - * // }; + * // {}; * * ``` * @@ -112,7 +100,7 @@ export class CreateDataCatalogCommand extends $Command protected declare static __types: { api: { input: CreateDataCatalogInput; - output: CreateDataCatalogOutput; + output: {}; }; sdk: { input: CreateDataCatalogCommandInput; diff --git a/clients/client-athena/src/commands/DeleteDataCatalogCommand.ts b/clients/client-athena/src/commands/DeleteDataCatalogCommand.ts index 8db0db79da5d..fc0e8a0f6bde 100644 --- a/clients/client-athena/src/commands/DeleteDataCatalogCommand.ts +++ b/clients/client-athena/src/commands/DeleteDataCatalogCommand.ts @@ -40,19 +40,7 @@ export interface DeleteDataCatalogCommandOutput extends DeleteDataCatalogOutput, * }; * const command = new DeleteDataCatalogCommand(input); * const response = await client.send(command); - * // { // DeleteDataCatalogOutput - * // DataCatalog: { // DataCatalog - * // Name: "STRING_VALUE", // required - * // Description: "STRING_VALUE", - * // Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", // required - * // Parameters: { // ParametersMap - * // "": "STRING_VALUE", - * // }, - * // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "CREATE_FAILED_CLEANUP_IN_PROGRESS" || "CREATE_FAILED_CLEANUP_COMPLETE" || "CREATE_FAILED_CLEANUP_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED", - * // ConnectionType: "DYNAMODB" || "MYSQL" || "POSTGRESQL" || "REDSHIFT" || "ORACLE" || "SYNAPSE" || "SQLSERVER" || "DB2" || "OPENSEARCH" || "BIGQUERY" || "GOOGLECLOUDSTORAGE" || "HBASE" || "DOCUMENTDB" || "MSK" || "NEPTUNE" || "CMDB" || "TPCDS" || "REDIS" || "CLOUDWATCH" || "TIMESTREAM" || "SAPHANA" || "SNOWFLAKE" || "TERADATA" || "VERTICA" || "CLOUDERAIMPALA" || "CLOUDERAHIVE" || "HORTONWORKSHIVE" || "DATALAKEGEN2" || "DB2AS400" || "CLOUDWATCHMETRICS", - * // Error: "STRING_VALUE", - * // }, - * // }; + * // {}; * * ``` * @@ -100,7 +88,7 @@ export class DeleteDataCatalogCommand extends $Command protected declare static __types: { api: { input: DeleteDataCatalogInput; - output: DeleteDataCatalogOutput; + output: {}; }; sdk: { input: DeleteDataCatalogCommandInput; diff --git a/clients/client-athena/src/commands/GetDataCatalogCommand.ts b/clients/client-athena/src/commands/GetDataCatalogCommand.ts index 5b43ba94e594..fc1b2615ef1a 100644 --- a/clients/client-athena/src/commands/GetDataCatalogCommand.ts +++ b/clients/client-athena/src/commands/GetDataCatalogCommand.ts @@ -45,13 +45,10 @@ export interface GetDataCatalogCommandOutput extends GetDataCatalogOutput, __Met * // DataCatalog: { // DataCatalog * // Name: "STRING_VALUE", // required * // Description: "STRING_VALUE", - * // Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", // required + * // Type: "LAMBDA" || "GLUE" || "HIVE", // required * // Parameters: { // ParametersMap * // "": "STRING_VALUE", * // }, - * // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "CREATE_FAILED_CLEANUP_IN_PROGRESS" || "CREATE_FAILED_CLEANUP_COMPLETE" || "CREATE_FAILED_CLEANUP_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED", - * // ConnectionType: "DYNAMODB" || "MYSQL" || "POSTGRESQL" || "REDSHIFT" || "ORACLE" || "SYNAPSE" || "SQLSERVER" || "DB2" || "OPENSEARCH" || "BIGQUERY" || "GOOGLECLOUDSTORAGE" || "HBASE" || "DOCUMENTDB" || "MSK" || "NEPTUNE" || "CMDB" || "TPCDS" || "REDIS" || "CLOUDWATCH" || "TIMESTREAM" || "SAPHANA" || "SNOWFLAKE" || "TERADATA" || "VERTICA" || "CLOUDERAIMPALA" || "CLOUDERAHIVE" || "HORTONWORKSHIVE" || "DATALAKEGEN2" || "DB2AS400" || "CLOUDWATCHMETRICS", - * // Error: "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-athena/src/commands/ListDataCatalogsCommand.ts b/clients/client-athena/src/commands/ListDataCatalogsCommand.ts index c762228ea421..6b7a898e0452 100644 --- a/clients/client-athena/src/commands/ListDataCatalogsCommand.ts +++ b/clients/client-athena/src/commands/ListDataCatalogsCommand.ts @@ -50,10 +50,7 @@ export interface ListDataCatalogsCommandOutput extends ListDataCatalogsOutput, _ * // DataCatalogsSummary: [ // DataCatalogSummaryList * // { // DataCatalogSummary * // CatalogName: "STRING_VALUE", - * // Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", - * // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "CREATE_FAILED_CLEANUP_IN_PROGRESS" || "CREATE_FAILED_CLEANUP_COMPLETE" || "CREATE_FAILED_CLEANUP_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED", - * // ConnectionType: "DYNAMODB" || "MYSQL" || "POSTGRESQL" || "REDSHIFT" || "ORACLE" || "SYNAPSE" || "SQLSERVER" || "DB2" || "OPENSEARCH" || "BIGQUERY" || "GOOGLECLOUDSTORAGE" || "HBASE" || "DOCUMENTDB" || "MSK" || "NEPTUNE" || "CMDB" || "TPCDS" || "REDIS" || "CLOUDWATCH" || "TIMESTREAM" || "SAPHANA" || "SNOWFLAKE" || "TERADATA" || "VERTICA" || "CLOUDERAIMPALA" || "CLOUDERAHIVE" || "HORTONWORKSHIVE" || "DATALAKEGEN2" || "DB2AS400" || "CLOUDWATCHMETRICS", - * // Error: "STRING_VALUE", + * // Type: "LAMBDA" || "GLUE" || "HIVE", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-athena/src/commands/UpdateDataCatalogCommand.ts b/clients/client-athena/src/commands/UpdateDataCatalogCommand.ts index 50ece0fa59af..335b4069f2bf 100644 --- a/clients/client-athena/src/commands/UpdateDataCatalogCommand.ts +++ b/clients/client-athena/src/commands/UpdateDataCatalogCommand.ts @@ -37,7 +37,7 @@ export interface UpdateDataCatalogCommandOutput extends UpdateDataCatalogOutput, * const client = new AthenaClient(config); * const input = { // UpdateDataCatalogInput * Name: "STRING_VALUE", // required - * Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", // required + * Type: "LAMBDA" || "GLUE" || "HIVE", // required * Description: "STRING_VALUE", * Parameters: { // ParametersMap * "": "STRING_VALUE", diff --git a/clients/client-athena/src/models/models_0.ts b/clients/client-athena/src/models/models_0.ts index db7a71ef6488..7bdf098e365d 100644 --- a/clients/client-athena/src/models/models_0.ts +++ b/clients/client-athena/src/models/models_0.ts @@ -18,16 +18,18 @@ export type S3AclOption = (typeof S3AclOption)[keyof typeof S3AclOption]; /** *

Indicates that an Amazon S3 canned ACL should be set to control ownership of - * stored query results. When Athena stores query results in Amazon S3, - * the canned ACL is set with the x-amz-acl request header. For more - * information about S3 Object Ownership, see Object Ownership settings in the Amazon S3 User + * stored query results, including data files inserted by Athena as the result + * of statements like CTAS or INSERT INTO. When Athena stores query results in + * Amazon S3, the canned ACL is set with the x-amz-acl request + * header. For more information about S3 Object Ownership, see Object Ownership settings in the Amazon S3 User * Guide.

* @public */ export interface AclConfiguration { /** *

The Amazon S3 canned ACL that Athena should specify when storing - * query results. Currently the only supported canned ACL is + * query results, including data files inserted by Athena as the result + * of statements like CTAS or INSERT INTO. Currently the only supported canned ACL is * BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the * workgroup overrides client-side settings, then the Amazon S3 canned ACL * specified in the workgroup's settings is used for all queries that run in the workgroup. @@ -966,7 +968,6 @@ export interface CreateCapacityReservationOutput {} * @enum */ export const DataCatalogType = { - FEDERATED: "FEDERATED", GLUE: "GLUE", HIVE: "HIVE", LAMBDA: "LAMBDA", @@ -992,10 +993,8 @@ export interface CreateDataCatalogInput { /** *

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.

+ * HIVE for an external hive metastore, or GLUE for an + * Glue Data Catalog.

* @public */ Type: DataCatalogType | undefined; @@ -1064,39 +1063,6 @@ 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\"\}" - *

      - *
    • - *
    - *
  • * * @public */ @@ -1109,287 +1075,10 @@ export interface CreateDataCatalogInput { Tags?: Tag[]; } -/** - * @public - * @enum - */ -export const ConnectionType = { - BIGQUERY: "BIGQUERY", - CLOUDERAHIVE: "CLOUDERAHIVE", - CLOUDERAIMPALA: "CLOUDERAIMPALA", - CLOUDWATCH: "CLOUDWATCH", - CLOUDWATCHMETRICS: "CLOUDWATCHMETRICS", - CMDB: "CMDB", - DATALAKEGEN2: "DATALAKEGEN2", - DB2: "DB2", - DB2AS400: "DB2AS400", - DOCUMENTDB: "DOCUMENTDB", - DYNAMODB: "DYNAMODB", - GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE", - HBASE: "HBASE", - HORTONWORKSHIVE: "HORTONWORKSHIVE", - MSK: "MSK", - MYSQL: "MYSQL", - NEPTUNE: "NEPTUNE", - OPENSEARCH: "OPENSEARCH", - ORACLE: "ORACLE", - POSTGRESQL: "POSTGRESQL", - REDIS: "REDIS", - REDSHIFT: "REDSHIFT", - SAPHANA: "SAPHANA", - SNOWFLAKE: "SNOWFLAKE", - SQLSERVER: "SQLSERVER", - SYNAPSE: "SYNAPSE", - TERADATA: "TERADATA", - TIMESTREAM: "TIMESTREAM", - TPCDS: "TPCDS", - VERTICA: "VERTICA", -} as const; - -/** - * @public - */ -export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType]; - -/** - * @public - * @enum - */ -export const DataCatalogStatus = { - CREATE_COMPLETE: "CREATE_COMPLETE", - CREATE_FAILED: "CREATE_FAILED", - CREATE_FAILED_CLEANUP_COMPLETE: "CREATE_FAILED_CLEANUP_COMPLETE", - CREATE_FAILED_CLEANUP_FAILED: "CREATE_FAILED_CLEANUP_FAILED", - CREATE_FAILED_CLEANUP_IN_PROGRESS: "CREATE_FAILED_CLEANUP_IN_PROGRESS", - CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", - DELETE_COMPLETE: "DELETE_COMPLETE", - DELETE_FAILED: "DELETE_FAILED", - DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", -} as const; - /** * @public */ -export type DataCatalogStatus = (typeof DataCatalogStatus)[keyof typeof DataCatalogStatus]; - -/** - *

    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.

    - *
    - * @public - */ -export interface DataCatalog { - /** - *

    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; - - /** - *

    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.

    - * @public - */ - Type: DataCatalogType | undefined; - - /** - *

    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\"\}" - *

        - *
      • - *
      - *
    • - *
    - * @public - */ - Parameters?: Record; - - /** - *

    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.

      - *
    • - *
    - * @public - */ - Status?: DataCatalogStatus; - - /** - *

    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.

    - * @public - */ - ConnectionType?: ConnectionType; - - /** - *

    Text of the error that occurred during data catalog creation or deletion.

    - * @public - */ - Error?: string; -} - -/** - * @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.

    - *
    - * @public - */ - DataCatalog?: DataCatalog; -} +export interface CreateDataCatalogOutput {} /** * @public @@ -1846,17 +1535,7 @@ export interface DeleteDataCatalogInput { /** * @public */ -export interface DeleteDataCatalogOutput { - /** - *

    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.

    - *
    - * @public - */ - DataCatalog?: DataCatalog; -} +export interface DeleteDataCatalogOutput {} /** * @public @@ -2546,6 +2225,101 @@ export interface GetDataCatalogInput { WorkGroup?: string; } +/** + *

    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.

    + *
    + * @public + */ +export interface DataCatalog { + /** + *

    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; + + /** + *

    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.

    + * @public + */ + Type: DataCatalogType | undefined; + + /** + *

    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.

        + *
      • + *
      + *
    • + *
    + * @public + */ + Parameters?: Record; +} + /** * @public */ @@ -2822,8 +2596,8 @@ export interface ResultSet { */ export interface GetQueryResultsOutput { /** - *

    The number of rows inserted with a CREATE TABLE AS SELECT statement. - *

    + *

    The number of rows inserted with a CREATE TABLE AS SELECT, INSERT + * INTO, or UPDATE statement.

    * @public */ UpdateCount?: number; @@ -3758,85 +3532,6 @@ export interface DataCatalogSummary { * @public */ Type?: DataCatalogType; - - /** - *

    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.

      - *
    • - *
    - * @public - */ - Status?: DataCatalogStatus; - - /** - *

    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.

    - * @public - */ - ConnectionType?: ConnectionType; - - /** - *

    Text of the error that occurred during data catalog creation or deletion.

    - * @public - */ - Error?: string; } /** diff --git a/codegen/sdk-codegen/aws-models/athena.json b/codegen/sdk-codegen/aws-models/athena.json index dc44431e37d3..e6fef7b284fe 100644 --- a/codegen/sdk-codegen/aws-models/athena.json +++ b/codegen/sdk-codegen/aws-models/athena.json @@ -35,13 +35,13 @@ "S3AclOption": { "target": "com.amazonaws.athena#S3AclOption", "traits": { - "smithy.api#documentation": "

    The Amazon S3 canned ACL that Athena should specify when storing\n query results. Currently the only supported canned ACL is\n BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the\n workgroup overrides client-side settings, then the Amazon S3 canned ACL\n specified in the workgroup's settings is used for all queries that run in the workgroup.\n For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.

    ", + "smithy.api#documentation": "

    The Amazon S3 canned ACL that Athena should specify when storing\n query results, including data files inserted by Athena as the result\n of statements like CTAS or INSERT INTO. Currently the only supported canned ACL is\n BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the\n workgroup overrides client-side settings, then the Amazon S3 canned ACL\n specified in the workgroup's settings is used for all queries that run in the workgroup.\n For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.

    ", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

    Indicates that an Amazon S3 canned ACL should be set to control ownership of\n stored query results. When Athena stores query results in Amazon S3,\n the canned ACL is set with the x-amz-acl request header. For more\n information about S3 Object Ownership, see Object Ownership settings in the Amazon S3 User\n Guide.

    " + "smithy.api#documentation": "

    Indicates that an Amazon S3 canned ACL should be set to control ownership of\n stored query results, including data files inserted by Athena as the result\n of statements like CTAS or INSERT INTO. When Athena stores query results in\n Amazon S3, the canned ACL is set with the x-amz-acl request\n header. For more information about S3 Object Ownership, see Object Ownership settings in the Amazon S3 User\n Guide.

    " } }, "com.amazonaws.athena#Age": { @@ -2172,191 +2172,6 @@ "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" - } - }, - "MSK": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MSK" - } - }, - "NEPTUNE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NEPTUNE" - } - }, - "CMDB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CMDB" - } - }, - "TPCDS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TPCDS" - } - }, - "REDIS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "REDIS" - } - }, - "CLOUDWATCH": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CLOUDWATCH" - } - }, - "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" - } - }, - "TERADATA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TERADATA" - } - }, - "VERTICA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VERTICA" - } - }, - "CLOUDERAIMPALA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CLOUDERAIMPALA" - } - }, - "CLOUDERAHIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CLOUDERAHIVE" - } - }, - "HORTONWORKSHIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "HORTONWORKSHIVE" - } - }, - "DATALAKEGEN2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DATALAKEGEN2" - } - }, - "DB2AS400": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DB2AS400" - } - }, - "CLOUDWATCHMETRICS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CLOUDWATCHMETRICS" - } - } - } - }, "com.amazonaws.athena#CoordinatorDpuSize": { "type": "integer", "traits": { @@ -2455,7 +2270,7 @@ "Type": { "target": "com.amazonaws.athena#DataCatalogType", "traits": { - "smithy.api#documentation": "

    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.

    ", + "smithy.api#documentation": "

    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.

    ", "smithy.api#required": {} } }, @@ -2468,7 +2283,7 @@ "Parameters": { "target": "com.amazonaws.athena#ParametersMap", "traits": { - "smithy.api#documentation": "

    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.

    \n
      \n
    • \n

      For 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

      \n metadata-function=lambda_arn,\n sdk-version=version_number\n \n

      \n
    • \n
    • \n

      For the LAMBDA data catalog type, use one of the following sets\n of required parameters, but not both.

      \n
        \n
      • \n

        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

        \n
      • \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

        \n
      • \n
      \n
    • \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

      \n catalog-id=catalog_id\n \n

      \n
        \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.

        \n
      • \n
      \n
    • \n
    • \n

      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
        \n
      • \n

        \n connection-arn:\n \n

        \n
      • \n
      • \n

        \n lambda-role-arn (optional): The execution role to use for the\n Lambda function. If not provided, one is created.

        \n
      • \n
      • \n

        \n connection-type:MYSQL|REDSHIFT|....,\n connection-properties:\"\"\n

        \n

        For \n \n , use escaped\n JSON text, as in the following example.

        \n

        \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

        \n
      • \n
      \n
    • \n
    " + "smithy.api#documentation": "

    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.

    \n
      \n
    • \n

      For 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

      \n metadata-function=lambda_arn,\n sdk-version=version_number\n \n

      \n
    • \n
    • \n

      For the LAMBDA data catalog type, use one of the following sets\n of required parameters, but not both.

      \n
        \n
      • \n

        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

        \n
      • \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

        \n
      • \n
      \n
    • \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

      \n catalog-id=catalog_id\n \n

      \n
        \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.

        \n
      • \n
      \n
    • \n
    " } }, "Tags": { @@ -2484,11 +2299,7 @@ }, "com.amazonaws.athena#CreateDataCatalogOutput": { "type": "structure", - "members": { - "DataCatalog": { - "target": "com.amazonaws.athena#DataCatalog" - } - }, + "members": {}, "traits": { "smithy.api#output": {} } @@ -2864,32 +2675,14 @@ "Type": { "target": "com.amazonaws.athena#DataCatalogType", "traits": { - "smithy.api#documentation": "

    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.

    ", + "smithy.api#documentation": "

    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.

    ", "smithy.api#required": {} } }, "Parameters": { "target": "com.amazonaws.athena#ParametersMap", "traits": { - "smithy.api#documentation": "

    Specifies the Lambda function or functions to use for the data catalog.\n This is a mapping whose values depend on the catalog type.

    \n
      \n
    • \n

      For 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

      \n metadata-function=lambda_arn,\n sdk-version=version_number\n \n

      \n
    • \n
    • \n

      For the LAMBDA data catalog type, use one of the following sets\n of required parameters, but not both.

      \n
        \n
      • \n

        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

        \n
      • \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

        \n
      • \n
      \n
    • \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

      \n catalog-id=catalog_id\n \n

      \n
        \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.

        \n
      • \n
      \n
    • \n
    • \n

      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
        \n
      • \n

        \n connection-arn:\n \n

        \n
      • \n
      • \n

        \n connection-type:MYSQL|REDSHIFT|....,\n connection-properties:\"\"\n

        \n

        For \n \n , use escaped\n JSON text, as in the following example.

        \n

        \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

        \n
      • \n
      \n
    • \n
    " - } - }, - "Status": { - "target": "com.amazonaws.athena#DataCatalogStatus", - "traits": { - "smithy.api#documentation": "

    The status of the creation or deletion of the data catalog.

    \n
      \n
    • \n

      The LAMBDA, GLUE, and HIVE data catalog\n types are created synchronously. Their status is either\n CREATE_COMPLETE or CREATE_FAILED.

      \n
    • \n
    • \n

      The FEDERATED data catalog type is created asynchronously.

      \n
    • \n
    \n

    Data catalog creation status:

    \n
      \n
    • \n

      \n CREATE_IN_PROGRESS: Federated data catalog creation in\n progress.

      \n
    • \n
    • \n

      \n CREATE_COMPLETE: Data catalog creation complete.

      \n
    • \n
    • \n

      \n CREATE_FAILED: Data catalog could not be created.

      \n
    • \n
    • \n

      \n CREATE_FAILED_CLEANUP_IN_PROGRESS: Federated data catalog\n creation failed and is being removed.

      \n
    • \n
    • \n

      \n CREATE_FAILED_CLEANUP_COMPLETE: Federated data catalog creation\n failed and was removed.

      \n
    • \n
    • \n

      \n CREATE_FAILED_CLEANUP_FAILED: Federated data catalog creation\n failed but could not be removed.

      \n
    • \n
    \n

    Data catalog deletion status:

    \n
      \n
    • \n

      \n DELETE_IN_PROGRESS: Federated data catalog deletion in\n progress.

      \n
    • \n
    • \n

      \n DELETE_COMPLETE: Federated data catalog deleted.

      \n
    • \n
    • \n

      \n DELETE_FAILED: Federated data catalog could not be\n deleted.

      \n
    • \n
    " - } - }, - "ConnectionType": { - "target": "com.amazonaws.athena#ConnectionType", - "traits": { - "smithy.api#documentation": "

    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.

    " - } - }, - "Error": { - "target": "com.amazonaws.athena#ErrorMessage", - "traits": { - "smithy.api#documentation": "

    Text of the error that occurred during data catalog creation or deletion.

    " + "smithy.api#documentation": "

    Specifies the Lambda function or functions to use for the data catalog.\n This is a mapping whose values depend on the catalog type.

    \n
      \n
    • \n

      For 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

      \n metadata-function=lambda_arn,\n sdk-version=version_number\n \n

      \n
    • \n
    • \n

      For the LAMBDA data catalog type, use one of the following sets\n of required parameters, but not both.

      \n
        \n
      • \n

        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

        \n
      • \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

        \n
      • \n
      \n
    • \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

      \n catalog-id=catalog_id\n \n

      \n
        \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.

        \n
      • \n
      \n
    • \n
    " } } }, @@ -2897,65 +2690,6 @@ "smithy.api#documentation": "

    Contains information about a data catalog in an Amazon Web Services account.

    \n \n

    In the Athena console, data catalogs are listed as \"data sources\" on\n the Data sources page under the Data source name column.

    \n
    " } }, - "com.amazonaws.athena#DataCatalogStatus": { - "type": "enum", - "members": { - "CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_IN_PROGRESS" - } - }, - "CREATE_COMPLETE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_COMPLETE" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "CREATE_FAILED_CLEANUP_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED_CLEANUP_IN_PROGRESS" - } - }, - "CREATE_FAILED_CLEANUP_COMPLETE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED_CLEANUP_COMPLETE" - } - }, - "CREATE_FAILED_CLEANUP_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED_CLEANUP_FAILED" - } - }, - "DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_IN_PROGRESS" - } - }, - "DELETE_COMPLETE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_COMPLETE" - } - }, - "DELETE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_FAILED" - } - } - } - }, "com.amazonaws.athena#DataCatalogSummary": { "type": "structure", "members": { @@ -2970,24 +2704,6 @@ "traits": { "smithy.api#documentation": "

    The data catalog type.

    " } - }, - "Status": { - "target": "com.amazonaws.athena#DataCatalogStatus", - "traits": { - "smithy.api#documentation": "

    The status of the creation or deletion of the data catalog.

    \n
      \n
    • \n

      The LAMBDA, GLUE, and HIVE data catalog\n types are created synchronously. Their status is either\n CREATE_COMPLETE or CREATE_FAILED.

      \n
    • \n
    • \n

      The FEDERATED data catalog type is created asynchronously.

      \n
    • \n
    \n

    Data catalog creation status:

    \n
      \n
    • \n

      \n CREATE_IN_PROGRESS: Federated data catalog creation in\n progress.

      \n
    • \n
    • \n

      \n CREATE_COMPLETE: Data catalog creation complete.

      \n
    • \n
    • \n

      \n CREATE_FAILED: Data catalog could not be created.

      \n
    • \n
    • \n

      \n CREATE_FAILED_CLEANUP_IN_PROGRESS: Federated data catalog\n creation failed and is being removed.

      \n
    • \n
    • \n

      \n CREATE_FAILED_CLEANUP_COMPLETE: Federated data catalog creation\n failed and was removed.

      \n
    • \n
    • \n

      \n CREATE_FAILED_CLEANUP_FAILED: Federated data catalog creation\n failed but could not be removed.

      \n
    • \n
    \n

    Data catalog deletion status:

    \n
      \n
    • \n

      \n DELETE_IN_PROGRESS: Federated data catalog deletion in\n progress.

      \n
    • \n
    • \n

      \n DELETE_COMPLETE: Federated data catalog deleted.

      \n
    • \n
    • \n

      \n DELETE_FAILED: Federated data catalog could not be\n deleted.

      \n
    • \n
    " - } - }, - "ConnectionType": { - "target": "com.amazonaws.athena#ConnectionType", - "traits": { - "smithy.api#documentation": "

    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.

    " - } - }, - "Error": { - "target": "com.amazonaws.athena#ErrorMessage", - "traits": { - "smithy.api#documentation": "

    Text of the error that occurred during data catalog creation or deletion.

    " - } } }, "traits": { @@ -3020,12 +2736,6 @@ "traits": { "smithy.api#enumValue": "HIVE" } - }, - "FEDERATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FEDERATED" - } } } }, @@ -3177,11 +2887,7 @@ }, "com.amazonaws.athena#DeleteDataCatalogOutput": { "type": "structure", - "members": { - "DataCatalog": { - "target": "com.amazonaws.athena#DataCatalog" - } - }, + "members": {}, "traits": { "smithy.api#output": {} } @@ -4445,7 +4151,7 @@ "UpdateCount": { "target": "com.amazonaws.athena#Long", "traits": { - "smithy.api#documentation": "

    The number of rows inserted with a CREATE TABLE AS SELECT statement.\n

    " + "smithy.api#documentation": "

    The number of rows inserted with a CREATE TABLE AS SELECT, INSERT\n INTO, or UPDATE statement.

    " } }, "ResultSet": {