Skip to content

Commit

Permalink
feat(client-athena): Removing FEDERATED from Create/List/Delete/GetDa…
Browse files Browse the repository at this point in the history
…taCatalog API
  • Loading branch information
awstools committed Oct 18, 2024
1 parent 46406ae commit ca03f0c
Show file tree
Hide file tree
Showing 7 changed files with 124 additions and 753 deletions.
18 changes: 3 additions & 15 deletions clients/client-athena/src/commands/CreateDataCatalogCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
* "<keys>": "STRING_VALUE",
Expand All @@ -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
* // "<keys>": "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",
* // },
* // };
* // {};
*
* ```
*
Expand Down Expand Up @@ -112,7 +100,7 @@ export class CreateDataCatalogCommand extends $Command
protected declare static __types: {
api: {
input: CreateDataCatalogInput;
output: CreateDataCatalogOutput;
output: {};
};
sdk: {
input: CreateDataCatalogCommandInput;
Expand Down
16 changes: 2 additions & 14 deletions clients/client-athena/src/commands/DeleteDataCatalogCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
* // "<keys>": "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",
* // },
* // };
* // {};
*
* ```
*
Expand Down Expand Up @@ -100,7 +88,7 @@ export class DeleteDataCatalogCommand extends $Command
protected declare static __types: {
api: {
input: DeleteDataCatalogInput;
output: DeleteDataCatalogOutput;
output: {};
};
sdk: {
input: DeleteDataCatalogCommandInput;
Expand Down
5 changes: 1 addition & 4 deletions clients/client-athena/src/commands/GetDataCatalogCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
* // "<keys>": "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",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
* "<keys>": "STRING_VALUE",
Expand Down
Loading

0 comments on commit ca03f0c

Please sign in to comment.