@@ -30,6 +30,24 @@ export interface CreateDataCatalogCommandOutput extends CreateDataCatalogOutput,
30
30
/**
31
31
* <p>Creates (registers) a data catalog with the specified name and properties. Catalogs
32
32
* created are visible to all users of the same Amazon Web Services account.</p>
33
+ * <p>This API operation creates the following resources.</p>
34
+ * <ul>
35
+ * <li>
36
+ * <p>CFN Stack Name with a maximum length of 128 characters and prefix
37
+ * <code>athenafederatedcatalog-CATALOG_NAME_SANITIZED</code> with length 23
38
+ * characters.</p>
39
+ * </li>
40
+ * <li>
41
+ * <p>Lambda Function Name with a maximum length of 64 characters and prefix
42
+ * <code>athenafederatedcatalog_CATALOG_NAME_SANITIZED</code> with length 23
43
+ * characters.</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>Glue Connection Name with a maximum length of 255 characters and a prefix
47
+ * <code>athenafederatedcatalog_CATALOG_NAME_SANITIZED</code> with length 23
48
+ * characters. </p>
49
+ * </li>
50
+ * </ul>
33
51
* @example
34
52
* Use a bare-bones client and the command you need to make an API call.
35
53
* ```javascript
@@ -38,7 +56,7 @@ export interface CreateDataCatalogCommandOutput extends CreateDataCatalogOutput,
38
56
* const client = new AthenaClient(config);
39
57
* const input = { // CreateDataCatalogInput
40
58
* Name: "STRING_VALUE", // required
41
- * Type: "LAMBDA" || "GLUE" || "HIVE", // required
59
+ * Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED" , // required
42
60
* Description: "STRING_VALUE",
43
61
* Parameters: { // ParametersMap
44
62
* "<keys>": "STRING_VALUE",
@@ -52,7 +70,19 @@ export interface CreateDataCatalogCommandOutput extends CreateDataCatalogOutput,
52
70
* };
53
71
* const command = new CreateDataCatalogCommand(input);
54
72
* const response = await client.send(command);
55
- * // {};
73
+ * // { // CreateDataCatalogOutput
74
+ * // DataCatalog: { // DataCatalog
75
+ * // Name: "STRING_VALUE", // required
76
+ * // Description: "STRING_VALUE",
77
+ * // Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", // required
78
+ * // Parameters: { // ParametersMap
79
+ * // "<keys>": "STRING_VALUE",
80
+ * // },
81
+ * // 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",
82
+ * // ConnectionType: "DYNAMODB" || "MYSQL" || "POSTGRESQL" || "REDSHIFT" || "ORACLE" || "SYNAPSE" || "SQLSERVER" || "DB2" || "OPENSEARCH" || "BIGQUERY" || "GOOGLECLOUDSTORAGE" || "HBASE" || "DOCUMENTDB" || "CMDB" || "TPCDS" || "TIMESTREAM" || "SAPHANA" || "SNOWFLAKE" || "DATALAKEGEN2" || "DB2AS400",
83
+ * // Error: "STRING_VALUE",
84
+ * // },
85
+ * // };
56
86
*
57
87
* ```
58
88
*
@@ -100,7 +130,7 @@ export class CreateDataCatalogCommand extends $Command
100
130
protected declare static __types : {
101
131
api : {
102
132
input : CreateDataCatalogInput ;
103
- output : { } ;
133
+ output : CreateDataCatalogOutput ;
104
134
} ;
105
135
sdk : {
106
136
input : CreateDataCatalogCommandInput ;
0 commit comments