@aws-sdk/client-athena 3.651.1 → 3.657.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/dist-cjs/index.js +48 -0
  2. package/dist-es/models/models_0.js +44 -0
  3. package/dist-types/commands/BatchGetNamedQueryCommand.d.ts +11 -0
  4. package/dist-types/commands/BatchGetPreparedStatementCommand.d.ts +11 -0
  5. package/dist-types/commands/BatchGetQueryExecutionCommand.d.ts +11 -0
  6. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +11 -0
  7. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +11 -0
  8. package/dist-types/commands/CreateDataCatalogCommand.d.ts +25 -2
  9. package/dist-types/commands/CreateNamedQueryCommand.d.ts +11 -0
  10. package/dist-types/commands/CreateNotebookCommand.d.ts +11 -0
  11. package/dist-types/commands/CreatePreparedStatementCommand.d.ts +11 -0
  12. package/dist-types/commands/CreatePresignedNotebookUrlCommand.d.ts +11 -0
  13. package/dist-types/commands/CreateWorkGroupCommand.d.ts +11 -0
  14. package/dist-types/commands/DeleteCapacityReservationCommand.d.ts +11 -0
  15. package/dist-types/commands/DeleteDataCatalogCommand.d.ts +24 -1
  16. package/dist-types/commands/DeleteNamedQueryCommand.d.ts +11 -0
  17. package/dist-types/commands/DeleteNotebookCommand.d.ts +11 -0
  18. package/dist-types/commands/DeletePreparedStatementCommand.d.ts +11 -0
  19. package/dist-types/commands/DeleteWorkGroupCommand.d.ts +11 -0
  20. package/dist-types/commands/ExportNotebookCommand.d.ts +11 -0
  21. package/dist-types/commands/GetCalculationExecutionCodeCommand.d.ts +11 -0
  22. package/dist-types/commands/GetCalculationExecutionCommand.d.ts +11 -0
  23. package/dist-types/commands/GetCalculationExecutionStatusCommand.d.ts +11 -0
  24. package/dist-types/commands/GetCapacityAssignmentConfigurationCommand.d.ts +11 -0
  25. package/dist-types/commands/GetCapacityReservationCommand.d.ts +11 -0
  26. package/dist-types/commands/GetDataCatalogCommand.d.ts +15 -1
  27. package/dist-types/commands/GetDatabaseCommand.d.ts +11 -0
  28. package/dist-types/commands/GetNamedQueryCommand.d.ts +11 -0
  29. package/dist-types/commands/GetNotebookMetadataCommand.d.ts +11 -0
  30. package/dist-types/commands/GetPreparedStatementCommand.d.ts +11 -0
  31. package/dist-types/commands/GetQueryExecutionCommand.d.ts +11 -0
  32. package/dist-types/commands/GetQueryResultsCommand.d.ts +11 -0
  33. package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +11 -0
  34. package/dist-types/commands/GetSessionCommand.d.ts +11 -0
  35. package/dist-types/commands/GetSessionStatusCommand.d.ts +11 -0
  36. package/dist-types/commands/GetTableMetadataCommand.d.ts +11 -0
  37. package/dist-types/commands/GetWorkGroupCommand.d.ts +11 -0
  38. package/dist-types/commands/ImportNotebookCommand.d.ts +11 -0
  39. package/dist-types/commands/ListApplicationDPUSizesCommand.d.ts +11 -0
  40. package/dist-types/commands/ListCalculationExecutionsCommand.d.ts +11 -0
  41. package/dist-types/commands/ListCapacityReservationsCommand.d.ts +12 -1
  42. package/dist-types/commands/ListDataCatalogsCommand.d.ts +15 -1
  43. package/dist-types/commands/ListDatabasesCommand.d.ts +11 -0
  44. package/dist-types/commands/ListEngineVersionsCommand.d.ts +11 -0
  45. package/dist-types/commands/ListExecutorsCommand.d.ts +11 -0
  46. package/dist-types/commands/ListNamedQueriesCommand.d.ts +11 -0
  47. package/dist-types/commands/ListNotebookMetadataCommand.d.ts +11 -0
  48. package/dist-types/commands/ListNotebookSessionsCommand.d.ts +11 -0
  49. package/dist-types/commands/ListPreparedStatementsCommand.d.ts +11 -0
  50. package/dist-types/commands/ListQueryExecutionsCommand.d.ts +11 -0
  51. package/dist-types/commands/ListSessionsCommand.d.ts +11 -0
  52. package/dist-types/commands/ListTableMetadataCommand.d.ts +11 -0
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  54. package/dist-types/commands/ListWorkGroupsCommand.d.ts +11 -0
  55. package/dist-types/commands/PutCapacityAssignmentConfigurationCommand.d.ts +11 -0
  56. package/dist-types/commands/StartCalculationExecutionCommand.d.ts +11 -0
  57. package/dist-types/commands/StartQueryExecutionCommand.d.ts +11 -0
  58. package/dist-types/commands/StartSessionCommand.d.ts +11 -0
  59. package/dist-types/commands/StopCalculationExecutionCommand.d.ts +11 -0
  60. package/dist-types/commands/StopQueryExecutionCommand.d.ts +11 -0
  61. package/dist-types/commands/TagResourceCommand.d.ts +11 -0
  62. package/dist-types/commands/TerminateSessionCommand.d.ts +11 -0
  63. package/dist-types/commands/UntagResourceCommand.d.ts +11 -0
  64. package/dist-types/commands/UpdateCapacityReservationCommand.d.ts +11 -0
  65. package/dist-types/commands/UpdateDataCatalogCommand.d.ts +12 -1
  66. package/dist-types/commands/UpdateNamedQueryCommand.d.ts +11 -0
  67. package/dist-types/commands/UpdateNotebookCommand.d.ts +11 -0
  68. package/dist-types/commands/UpdateNotebookMetadataCommand.d.ts +11 -0
  69. package/dist-types/commands/UpdatePreparedStatementCommand.d.ts +11 -0
  70. package/dist-types/commands/UpdateWorkGroupCommand.d.ts +11 -0
  71. package/dist-types/models/models_0.d.ts +388 -93
  72. package/dist-types/ts3.4/commands/BatchGetNamedQueryCommand.d.ts +12 -1
  73. package/dist-types/ts3.4/commands/BatchGetPreparedStatementCommand.d.ts +12 -1
  74. package/dist-types/ts3.4/commands/BatchGetQueryExecutionCommand.d.ts +12 -1
  75. package/dist-types/ts3.4/commands/CancelCapacityReservationCommand.d.ts +12 -1
  76. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +12 -1
  77. package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +12 -1
  78. package/dist-types/ts3.4/commands/CreateNamedQueryCommand.d.ts +12 -1
  79. package/dist-types/ts3.4/commands/CreateNotebookCommand.d.ts +12 -1
  80. package/dist-types/ts3.4/commands/CreatePreparedStatementCommand.d.ts +12 -1
  81. package/dist-types/ts3.4/commands/CreatePresignedNotebookUrlCommand.d.ts +12 -1
  82. package/dist-types/ts3.4/commands/CreateWorkGroupCommand.d.ts +12 -1
  83. package/dist-types/ts3.4/commands/DeleteCapacityReservationCommand.d.ts +12 -1
  84. package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +12 -1
  85. package/dist-types/ts3.4/commands/DeleteNamedQueryCommand.d.ts +12 -1
  86. package/dist-types/ts3.4/commands/DeleteNotebookCommand.d.ts +12 -1
  87. package/dist-types/ts3.4/commands/DeletePreparedStatementCommand.d.ts +12 -1
  88. package/dist-types/ts3.4/commands/DeleteWorkGroupCommand.d.ts +12 -1
  89. package/dist-types/ts3.4/commands/ExportNotebookCommand.d.ts +12 -1
  90. package/dist-types/ts3.4/commands/GetCalculationExecutionCodeCommand.d.ts +12 -1
  91. package/dist-types/ts3.4/commands/GetCalculationExecutionCommand.d.ts +12 -1
  92. package/dist-types/ts3.4/commands/GetCalculationExecutionStatusCommand.d.ts +12 -1
  93. package/dist-types/ts3.4/commands/GetCapacityAssignmentConfigurationCommand.d.ts +12 -1
  94. package/dist-types/ts3.4/commands/GetCapacityReservationCommand.d.ts +12 -1
  95. package/dist-types/ts3.4/commands/GetDataCatalogCommand.d.ts +12 -1
  96. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +12 -1
  97. package/dist-types/ts3.4/commands/GetNamedQueryCommand.d.ts +12 -1
  98. package/dist-types/ts3.4/commands/GetNotebookMetadataCommand.d.ts +12 -1
  99. package/dist-types/ts3.4/commands/GetPreparedStatementCommand.d.ts +12 -1
  100. package/dist-types/ts3.4/commands/GetQueryExecutionCommand.d.ts +12 -1
  101. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +12 -1
  102. package/dist-types/ts3.4/commands/GetQueryRuntimeStatisticsCommand.d.ts +12 -1
  103. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +12 -1
  104. package/dist-types/ts3.4/commands/GetSessionStatusCommand.d.ts +12 -1
  105. package/dist-types/ts3.4/commands/GetTableMetadataCommand.d.ts +12 -1
  106. package/dist-types/ts3.4/commands/GetWorkGroupCommand.d.ts +12 -1
  107. package/dist-types/ts3.4/commands/ImportNotebookCommand.d.ts +12 -1
  108. package/dist-types/ts3.4/commands/ListApplicationDPUSizesCommand.d.ts +12 -1
  109. package/dist-types/ts3.4/commands/ListCalculationExecutionsCommand.d.ts +12 -1
  110. package/dist-types/ts3.4/commands/ListCapacityReservationsCommand.d.ts +12 -1
  111. package/dist-types/ts3.4/commands/ListDataCatalogsCommand.d.ts +12 -1
  112. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +12 -1
  113. package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +12 -1
  114. package/dist-types/ts3.4/commands/ListExecutorsCommand.d.ts +12 -1
  115. package/dist-types/ts3.4/commands/ListNamedQueriesCommand.d.ts +12 -1
  116. package/dist-types/ts3.4/commands/ListNotebookMetadataCommand.d.ts +12 -1
  117. package/dist-types/ts3.4/commands/ListNotebookSessionsCommand.d.ts +12 -1
  118. package/dist-types/ts3.4/commands/ListPreparedStatementsCommand.d.ts +12 -1
  119. package/dist-types/ts3.4/commands/ListQueryExecutionsCommand.d.ts +12 -1
  120. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +12 -1
  121. package/dist-types/ts3.4/commands/ListTableMetadataCommand.d.ts +12 -1
  122. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +12 -1
  123. package/dist-types/ts3.4/commands/ListWorkGroupsCommand.d.ts +12 -1
  124. package/dist-types/ts3.4/commands/PutCapacityAssignmentConfigurationCommand.d.ts +12 -1
  125. package/dist-types/ts3.4/commands/StartCalculationExecutionCommand.d.ts +12 -1
  126. package/dist-types/ts3.4/commands/StartQueryExecutionCommand.d.ts +12 -1
  127. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +12 -1
  128. package/dist-types/ts3.4/commands/StopCalculationExecutionCommand.d.ts +12 -1
  129. package/dist-types/ts3.4/commands/StopQueryExecutionCommand.d.ts +12 -1
  130. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
  131. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +12 -1
  132. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
  133. package/dist-types/ts3.4/commands/UpdateCapacityReservationCommand.d.ts +12 -1
  134. package/dist-types/ts3.4/commands/UpdateDataCatalogCommand.d.ts +12 -1
  135. package/dist-types/ts3.4/commands/UpdateNamedQueryCommand.d.ts +12 -1
  136. package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +12 -1
  137. package/dist-types/ts3.4/commands/UpdateNotebookMetadataCommand.d.ts +12 -1
  138. package/dist-types/ts3.4/commands/UpdatePreparedStatementCommand.d.ts +12 -1
  139. package/dist-types/ts3.4/commands/UpdateWorkGroupCommand.d.ts +12 -1
  140. package/dist-types/ts3.4/models/models_0.d.ts +66 -8
  141. package/package.json +35 -35
@@ -70,4 +70,15 @@ declare const UpdateNotebookCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class UpdateNotebookCommand extends UpdateNotebookCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: UpdateNotebookInput;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: UpdateNotebookCommandInput;
81
+ output: UpdateNotebookCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -68,4 +68,15 @@ declare const UpdateNotebookMetadataCommand_base: {
68
68
  * @public
69
69
  */
70
70
  export declare class UpdateNotebookMetadataCommand extends UpdateNotebookMetadataCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: UpdateNotebookMetadataInput;
75
+ output: {};
76
+ };
77
+ sdk: {
78
+ input: UpdateNotebookMetadataCommandInput;
79
+ output: UpdateNotebookMetadataCommandOutput;
80
+ };
81
+ };
71
82
  }
@@ -69,4 +69,15 @@ declare const UpdatePreparedStatementCommand_base: {
69
69
  * @public
70
70
  */
71
71
  export declare class UpdatePreparedStatementCommand extends UpdatePreparedStatementCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: UpdatePreparedStatementInput;
76
+ output: {};
77
+ };
78
+ sdk: {
79
+ input: UpdatePreparedStatementCommandInput;
80
+ output: UpdatePreparedStatementCommandOutput;
81
+ };
82
+ };
72
83
  }
@@ -104,4 +104,15 @@ declare const UpdateWorkGroupCommand_base: {
104
104
  * @public
105
105
  */
106
106
  export declare class UpdateWorkGroupCommand extends UpdateWorkGroupCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: UpdateWorkGroupInput;
111
+ output: {};
112
+ };
113
+ sdk: {
114
+ input: UpdateWorkGroupCommandInput;
115
+ output: UpdateWorkGroupCommandOutput;
116
+ };
117
+ };
107
118
  }
@@ -848,6 +848,7 @@ export interface CreateCapacityReservationOutput {
848
848
  * @enum
849
849
  */
850
850
  export declare const DataCatalogType: {
851
+ readonly FEDERATED: "FEDERATED";
851
852
  readonly GLUE: "GLUE";
852
853
  readonly HIVE: "HIVE";
853
854
  readonly LAMBDA: "LAMBDA";
@@ -870,8 +871,10 @@ export interface CreateDataCatalogInput {
870
871
  Name: string | undefined;
871
872
  /**
872
873
  * <p>The type of data catalog to create: <code>LAMBDA</code> for a federated catalog,
873
- * <code>HIVE</code> for an external hive metastore, or <code>GLUE</code> for an
874
- * Glue Data Catalog.</p>
874
+ * <code>GLUE</code> for an Glue Data Catalog, and <code>HIVE</code> for an
875
+ * external Apache Hive metastore. <code>FEDERATED</code> is a federated catalog for which
876
+ * Athena creates the connection and the Lambda function for
877
+ * you based on the parameters that you pass.</p>
875
878
  * @public
876
879
  */
877
880
  Type: DataCatalogType | undefined;
@@ -938,6 +941,39 @@ export interface CreateDataCatalogInput {
938
941
  * </li>
939
942
  * </ul>
940
943
  * </li>
944
+ * <li>
945
+ * <p>The <code>FEDERATED</code> data catalog type uses one of the following
946
+ * parameters, but not both. Use <code>connection-arn</code> for an existing
947
+ * Glue connection. Use <code>connection-type</code> and
948
+ * <code>connection-properties</code> to specify the configuration setting for
949
+ * a new connection.</p>
950
+ * <ul>
951
+ * <li>
952
+ * <p>
953
+ * <code>connection-arn:<i><glue_connection_arn_to_reuse></i>
954
+ * </code>
955
+ * </p>
956
+ * </li>
957
+ * <li>
958
+ * <p>
959
+ * <code>lambda-role-arn</code> (optional): The execution role to use for the
960
+ * Lambda function. If not provided, one is created.</p>
961
+ * </li>
962
+ * <li>
963
+ * <p>
964
+ * <code>connection-type:MYSQL|REDSHIFT|....,
965
+ * connection-properties:"<i><json_string></i>"</code>
966
+ * </p>
967
+ * <p>For <i>
968
+ * <code><json_string></code>
969
+ * </i>, use escaped
970
+ * JSON text, as in the following example.</p>
971
+ * <p>
972
+ * <code>"\{\"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\"\}"</code>
973
+ * </p>
974
+ * </li>
975
+ * </ul>
976
+ * </li>
941
977
  * </ul>
942
978
  * @public
943
979
  */
@@ -948,10 +984,275 @@ export interface CreateDataCatalogInput {
948
984
  */
949
985
  Tags?: Tag[];
950
986
  }
987
+ /**
988
+ * @public
989
+ * @enum
990
+ */
991
+ export declare const ConnectionType: {
992
+ readonly BIGQUERY: "BIGQUERY";
993
+ readonly CLOUDERAHIVE: "CLOUDERAHIVE";
994
+ readonly CLOUDERAIMPALA: "CLOUDERAIMPALA";
995
+ readonly CLOUDWATCH: "CLOUDWATCH";
996
+ readonly CLOUDWATCHMETRICS: "CLOUDWATCHMETRICS";
997
+ readonly CMDB: "CMDB";
998
+ readonly DATALAKEGEN2: "DATALAKEGEN2";
999
+ readonly DB2: "DB2";
1000
+ readonly DB2AS400: "DB2AS400";
1001
+ readonly DOCUMENTDB: "DOCUMENTDB";
1002
+ readonly DYNAMODB: "DYNAMODB";
1003
+ readonly GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE";
1004
+ readonly HBASE: "HBASE";
1005
+ readonly HORTONWORKSHIVE: "HORTONWORKSHIVE";
1006
+ readonly MSK: "MSK";
1007
+ readonly MYSQL: "MYSQL";
1008
+ readonly NEPTUNE: "NEPTUNE";
1009
+ readonly OPENSEARCH: "OPENSEARCH";
1010
+ readonly ORACLE: "ORACLE";
1011
+ readonly POSTGRESQL: "POSTGRESQL";
1012
+ readonly REDIS: "REDIS";
1013
+ readonly REDSHIFT: "REDSHIFT";
1014
+ readonly SAPHANA: "SAPHANA";
1015
+ readonly SNOWFLAKE: "SNOWFLAKE";
1016
+ readonly SQLSERVER: "SQLSERVER";
1017
+ readonly SYNAPSE: "SYNAPSE";
1018
+ readonly TERADATA: "TERADATA";
1019
+ readonly TIMESTREAM: "TIMESTREAM";
1020
+ readonly TPCDS: "TPCDS";
1021
+ readonly VERTICA: "VERTICA";
1022
+ };
1023
+ /**
1024
+ * @public
1025
+ */
1026
+ export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
1027
+ /**
1028
+ * @public
1029
+ * @enum
1030
+ */
1031
+ export declare const DataCatalogStatus: {
1032
+ readonly CREATE_COMPLETE: "CREATE_COMPLETE";
1033
+ readonly CREATE_FAILED: "CREATE_FAILED";
1034
+ readonly CREATE_FAILED_CLEANUP_COMPLETE: "CREATE_FAILED_CLEANUP_COMPLETE";
1035
+ readonly CREATE_FAILED_CLEANUP_FAILED: "CREATE_FAILED_CLEANUP_FAILED";
1036
+ readonly CREATE_FAILED_CLEANUP_IN_PROGRESS: "CREATE_FAILED_CLEANUP_IN_PROGRESS";
1037
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1038
+ readonly DELETE_COMPLETE: "DELETE_COMPLETE";
1039
+ readonly DELETE_FAILED: "DELETE_FAILED";
1040
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1041
+ };
1042
+ /**
1043
+ * @public
1044
+ */
1045
+ export type DataCatalogStatus = (typeof DataCatalogStatus)[keyof typeof DataCatalogStatus];
1046
+ /**
1047
+ * <p>Contains information about a data catalog in an Amazon Web Services account.</p>
1048
+ * <note>
1049
+ * <p>In the Athena console, data catalogs are listed as "data sources" on
1050
+ * the <b>Data sources</b> page under the <b>Data source name</b> column.</p>
1051
+ * </note>
1052
+ * @public
1053
+ */
1054
+ export interface DataCatalog {
1055
+ /**
1056
+ * <p>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,
1057
+ * or hyphen characters. The remainder of the length constraint of 256 is reserved for use
1058
+ * by Athena.</p>
1059
+ * @public
1060
+ */
1061
+ Name: string | undefined;
1062
+ /**
1063
+ * <p>An optional description of the data catalog.</p>
1064
+ * @public
1065
+ */
1066
+ Description?: string;
1067
+ /**
1068
+ * <p>The type of data catalog to create: <code>LAMBDA</code> for a federated catalog,
1069
+ * <code>GLUE</code> for an Glue Data Catalog, and <code>HIVE</code> for an
1070
+ * external Apache Hive metastore. <code>FEDERATED</code> is a federated catalog for which
1071
+ * Athena creates the connection and the Lambda function for
1072
+ * you based on the parameters that you pass.</p>
1073
+ * @public
1074
+ */
1075
+ Type: DataCatalogType | undefined;
1076
+ /**
1077
+ * <p>Specifies the Lambda function or functions to use for the data catalog.
1078
+ * This is a mapping whose values depend on the catalog type. </p>
1079
+ * <ul>
1080
+ * <li>
1081
+ * <p>For the <code>HIVE</code> data catalog type, use the following syntax. The
1082
+ * <code>metadata-function</code> parameter is required. <code>The
1083
+ * sdk-version</code> parameter is optional and defaults to the currently
1084
+ * supported version.</p>
1085
+ * <p>
1086
+ * <code>metadata-function=<i>lambda_arn</i>,
1087
+ * sdk-version=<i>version_number</i>
1088
+ * </code>
1089
+ * </p>
1090
+ * </li>
1091
+ * <li>
1092
+ * <p>For the <code>LAMBDA</code> data catalog type, use one of the following sets
1093
+ * of required parameters, but not both.</p>
1094
+ * <ul>
1095
+ * <li>
1096
+ * <p>If you have one Lambda function that processes metadata
1097
+ * and another for reading the actual data, use the following syntax. Both
1098
+ * parameters are required.</p>
1099
+ * <p>
1100
+ * <code>metadata-function=<i>lambda_arn</i>,
1101
+ * record-function=<i>lambda_arn</i>
1102
+ * </code>
1103
+ * </p>
1104
+ * </li>
1105
+ * <li>
1106
+ * <p> If you have a composite Lambda function that processes
1107
+ * both metadata and data, use the following syntax to specify your Lambda function.</p>
1108
+ * <p>
1109
+ * <code>function=<i>lambda_arn</i>
1110
+ * </code>
1111
+ * </p>
1112
+ * </li>
1113
+ * </ul>
1114
+ * </li>
1115
+ * <li>
1116
+ * <p>The <code>GLUE</code> type takes a catalog ID parameter and is required. The
1117
+ * <code>
1118
+ * <i>catalog_id</i>
1119
+ * </code> is the account ID of the
1120
+ * Amazon Web Services account to which the Glue catalog
1121
+ * belongs.</p>
1122
+ * <p>
1123
+ * <code>catalog-id=<i>catalog_id</i>
1124
+ * </code>
1125
+ * </p>
1126
+ * <ul>
1127
+ * <li>
1128
+ * <p>The <code>GLUE</code> data catalog type also applies to the default
1129
+ * <code>AwsDataCatalog</code> that already exists in your account, of
1130
+ * which you can have only one and cannot modify.</p>
1131
+ * </li>
1132
+ * </ul>
1133
+ * </li>
1134
+ * <li>
1135
+ * <p>The <code>FEDERATED</code> data catalog type uses one of the following
1136
+ * parameters, but not both. Use <code>connection-arn</code> for an existing
1137
+ * Glue connection. Use <code>connection-type</code> and
1138
+ * <code>connection-properties</code> to specify the configuration setting for
1139
+ * a new connection.</p>
1140
+ * <ul>
1141
+ * <li>
1142
+ * <p>
1143
+ * <code>connection-arn:<i><glue_connection_arn_to_reuse></i>
1144
+ * </code>
1145
+ * </p>
1146
+ * </li>
1147
+ * <li>
1148
+ * <p>
1149
+ * <code>connection-type:MYSQL|REDSHIFT|....,
1150
+ * connection-properties:"<i><json_string></i>"</code>
1151
+ * </p>
1152
+ * <p>For <i>
1153
+ * <code><json_string></code>
1154
+ * </i>, use escaped
1155
+ * JSON text, as in the following example.</p>
1156
+ * <p>
1157
+ * <code>"\{\"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\"\}"</code>
1158
+ * </p>
1159
+ * </li>
1160
+ * </ul>
1161
+ * </li>
1162
+ * </ul>
1163
+ * @public
1164
+ */
1165
+ Parameters?: Record<string, string>;
1166
+ /**
1167
+ * <p>The status of the creation or deletion of the data catalog.</p>
1168
+ * <ul>
1169
+ * <li>
1170
+ * <p>The <code>LAMBDA</code>, <code>GLUE</code>, and <code>HIVE</code> data catalog
1171
+ * types are created synchronously. Their status is either
1172
+ * <code>CREATE_COMPLETE</code> or <code>CREATE_FAILED</code>.</p>
1173
+ * </li>
1174
+ * <li>
1175
+ * <p>The <code>FEDERATED</code> data catalog type is created asynchronously.</p>
1176
+ * </li>
1177
+ * </ul>
1178
+ * <p>Data catalog creation status:</p>
1179
+ * <ul>
1180
+ * <li>
1181
+ * <p>
1182
+ * <code>CREATE_IN_PROGRESS</code>: Federated data catalog creation in
1183
+ * progress.</p>
1184
+ * </li>
1185
+ * <li>
1186
+ * <p>
1187
+ * <code>CREATE_COMPLETE</code>: Data catalog creation complete.</p>
1188
+ * </li>
1189
+ * <li>
1190
+ * <p>
1191
+ * <code>CREATE_FAILED</code>: Data catalog could not be created.</p>
1192
+ * </li>
1193
+ * <li>
1194
+ * <p>
1195
+ * <code>CREATE_FAILED_CLEANUP_IN_PROGRESS</code>: Federated data catalog
1196
+ * creation failed and is being removed.</p>
1197
+ * </li>
1198
+ * <li>
1199
+ * <p>
1200
+ * <code>CREATE_FAILED_CLEANUP_COMPLETE</code>: Federated data catalog creation
1201
+ * failed and was removed.</p>
1202
+ * </li>
1203
+ * <li>
1204
+ * <p>
1205
+ * <code>CREATE_FAILED_CLEANUP_FAILED</code>: Federated data catalog creation
1206
+ * failed but could not be removed.</p>
1207
+ * </li>
1208
+ * </ul>
1209
+ * <p>Data catalog deletion status:</p>
1210
+ * <ul>
1211
+ * <li>
1212
+ * <p>
1213
+ * <code>DELETE_IN_PROGRESS</code>: Federated data catalog deletion in
1214
+ * progress.</p>
1215
+ * </li>
1216
+ * <li>
1217
+ * <p>
1218
+ * <code>DELETE_COMPLETE</code>: Federated data catalog deleted.</p>
1219
+ * </li>
1220
+ * <li>
1221
+ * <p>
1222
+ * <code>DELETE_FAILED</code>: Federated data catalog could not be
1223
+ * deleted.</p>
1224
+ * </li>
1225
+ * </ul>
1226
+ * @public
1227
+ */
1228
+ Status?: DataCatalogStatus;
1229
+ /**
1230
+ * <p>The type of connection for a <code>FEDERATED</code> data catalog (for example,
1231
+ * <code>REDSHIFT</code>, <code>MYSQL</code>, or <code>SQLSERVER</code>). For
1232
+ * information about individual connectors, see <a href="https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html">Available data source
1233
+ * connectors</a>.</p>
1234
+ * @public
1235
+ */
1236
+ ConnectionType?: ConnectionType;
1237
+ /**
1238
+ * <p>Text of the error that occurred during data catalog creation or deletion.</p>
1239
+ * @public
1240
+ */
1241
+ Error?: string;
1242
+ }
951
1243
  /**
952
1244
  * @public
953
1245
  */
954
1246
  export interface CreateDataCatalogOutput {
1247
+ /**
1248
+ * <p>Contains information about a data catalog in an Amazon Web Services account.</p>
1249
+ * <note>
1250
+ * <p>In the Athena console, data catalogs are listed as "data sources" on
1251
+ * the <b>Data sources</b> page under the <b>Data source name</b> column.</p>
1252
+ * </note>
1253
+ * @public
1254
+ */
1255
+ DataCatalog?: DataCatalog;
955
1256
  }
956
1257
  /**
957
1258
  * @public
@@ -1347,6 +1648,15 @@ export interface DeleteDataCatalogInput {
1347
1648
  * @public
1348
1649
  */
1349
1650
  export interface DeleteDataCatalogOutput {
1651
+ /**
1652
+ * <p>Contains information about a data catalog in an Amazon Web Services account.</p>
1653
+ * <note>
1654
+ * <p>In the Athena console, data catalogs are listed as "data sources" on
1655
+ * the <b>Data sources</b> page under the <b>Data source name</b> column.</p>
1656
+ * </note>
1657
+ * @public
1658
+ */
1659
+ DataCatalog?: DataCatalog;
1350
1660
  }
1351
1661
  /**
1352
1662
  * @public
@@ -1954,97 +2264,6 @@ export interface GetDataCatalogInput {
1954
2264
  */
1955
2265
  WorkGroup?: string;
1956
2266
  }
1957
- /**
1958
- * <p>Contains information about a data catalog in an Amazon Web Services account.</p>
1959
- * <note>
1960
- * <p>In the Athena console, data catalogs are listed as "data sources" on
1961
- * the <b>Data sources</b> page under the <b>Data source name</b> column.</p>
1962
- * </note>
1963
- * @public
1964
- */
1965
- export interface DataCatalog {
1966
- /**
1967
- * <p>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,
1968
- * or hyphen characters. The remainder of the length constraint of 256 is reserved for use
1969
- * by Athena.</p>
1970
- * @public
1971
- */
1972
- Name: string | undefined;
1973
- /**
1974
- * <p>An optional description of the data catalog.</p>
1975
- * @public
1976
- */
1977
- Description?: string;
1978
- /**
1979
- * <p>The type of data catalog to create: <code>LAMBDA</code> for a federated catalog,
1980
- * <code>HIVE</code> for an external hive metastore, or <code>GLUE</code> for an
1981
- * Glue Data Catalog.</p>
1982
- * @public
1983
- */
1984
- Type: DataCatalogType | undefined;
1985
- /**
1986
- * <p>Specifies the Lambda function or functions to use for the data catalog.
1987
- * This is a mapping whose values depend on the catalog type. </p>
1988
- * <ul>
1989
- * <li>
1990
- * <p>For the <code>HIVE</code> data catalog type, use the following syntax. The
1991
- * <code>metadata-function</code> parameter is required. <code>The
1992
- * sdk-version</code> parameter is optional and defaults to the currently
1993
- * supported version.</p>
1994
- * <p>
1995
- * <code>metadata-function=<i>lambda_arn</i>,
1996
- * sdk-version=<i>version_number</i>
1997
- * </code>
1998
- * </p>
1999
- * </li>
2000
- * <li>
2001
- * <p>For the <code>LAMBDA</code> data catalog type, use one of the following sets
2002
- * of required parameters, but not both.</p>
2003
- * <ul>
2004
- * <li>
2005
- * <p>If you have one Lambda function that processes metadata
2006
- * and another for reading the actual data, use the following syntax. Both
2007
- * parameters are required.</p>
2008
- * <p>
2009
- * <code>metadata-function=<i>lambda_arn</i>,
2010
- * record-function=<i>lambda_arn</i>
2011
- * </code>
2012
- * </p>
2013
- * </li>
2014
- * <li>
2015
- * <p> If you have a composite Lambda function that processes
2016
- * both metadata and data, use the following syntax to specify your Lambda function.</p>
2017
- * <p>
2018
- * <code>function=<i>lambda_arn</i>
2019
- * </code>
2020
- * </p>
2021
- * </li>
2022
- * </ul>
2023
- * </li>
2024
- * <li>
2025
- * <p>The <code>GLUE</code> type takes a catalog ID parameter and is required. The
2026
- * <code>
2027
- * <i>catalog_id</i>
2028
- * </code> is the account ID of the
2029
- * Amazon Web Services account to which the Glue catalog
2030
- * belongs.</p>
2031
- * <p>
2032
- * <code>catalog-id=<i>catalog_id</i>
2033
- * </code>
2034
- * </p>
2035
- * <ul>
2036
- * <li>
2037
- * <p>The <code>GLUE</code> data catalog type also applies to the default
2038
- * <code>AwsDataCatalog</code> that already exists in your account, of
2039
- * which you can have only one and cannot modify.</p>
2040
- * </li>
2041
- * </ul>
2042
- * </li>
2043
- * </ul>
2044
- * @public
2045
- */
2046
- Parameters?: Record<string, string>;
2047
- }
2048
2267
  /**
2049
2268
  * @public
2050
2269
  */
@@ -3121,6 +3340,82 @@ export interface DataCatalogSummary {
3121
3340
  * @public
3122
3341
  */
3123
3342
  Type?: DataCatalogType;
3343
+ /**
3344
+ * <p>The status of the creation or deletion of the data catalog.</p>
3345
+ * <ul>
3346
+ * <li>
3347
+ * <p>The <code>LAMBDA</code>, <code>GLUE</code>, and <code>HIVE</code> data catalog
3348
+ * types are created synchronously. Their status is either
3349
+ * <code>CREATE_COMPLETE</code> or <code>CREATE_FAILED</code>.</p>
3350
+ * </li>
3351
+ * <li>
3352
+ * <p>The <code>FEDERATED</code> data catalog type is created asynchronously.</p>
3353
+ * </li>
3354
+ * </ul>
3355
+ * <p>Data catalog creation status:</p>
3356
+ * <ul>
3357
+ * <li>
3358
+ * <p>
3359
+ * <code>CREATE_IN_PROGRESS</code>: Federated data catalog creation in
3360
+ * progress.</p>
3361
+ * </li>
3362
+ * <li>
3363
+ * <p>
3364
+ * <code>CREATE_COMPLETE</code>: Data catalog creation complete.</p>
3365
+ * </li>
3366
+ * <li>
3367
+ * <p>
3368
+ * <code>CREATE_FAILED</code>: Data catalog could not be created.</p>
3369
+ * </li>
3370
+ * <li>
3371
+ * <p>
3372
+ * <code>CREATE_FAILED_CLEANUP_IN_PROGRESS</code>: Federated data catalog
3373
+ * creation failed and is being removed.</p>
3374
+ * </li>
3375
+ * <li>
3376
+ * <p>
3377
+ * <code>CREATE_FAILED_CLEANUP_COMPLETE</code>: Federated data catalog creation
3378
+ * failed and was removed.</p>
3379
+ * </li>
3380
+ * <li>
3381
+ * <p>
3382
+ * <code>CREATE_FAILED_CLEANUP_FAILED</code>: Federated data catalog creation
3383
+ * failed but could not be removed.</p>
3384
+ * </li>
3385
+ * </ul>
3386
+ * <p>Data catalog deletion status:</p>
3387
+ * <ul>
3388
+ * <li>
3389
+ * <p>
3390
+ * <code>DELETE_IN_PROGRESS</code>: Federated data catalog deletion in
3391
+ * progress.</p>
3392
+ * </li>
3393
+ * <li>
3394
+ * <p>
3395
+ * <code>DELETE_COMPLETE</code>: Federated data catalog deleted.</p>
3396
+ * </li>
3397
+ * <li>
3398
+ * <p>
3399
+ * <code>DELETE_FAILED</code>: Federated data catalog could not be
3400
+ * deleted.</p>
3401
+ * </li>
3402
+ * </ul>
3403
+ * @public
3404
+ */
3405
+ Status?: DataCatalogStatus;
3406
+ /**
3407
+ * <p>The type of connection for a <code>FEDERATED</code> data catalog (for example,
3408
+ * <code>REDSHIFT</code>, <code>MYSQL</code>, or <code>SQLSERVER</code>). For
3409
+ * information about individual connectors, see <a href="https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html">Available data source
3410
+ * connectors</a>.</p>
3411
+ * @public
3412
+ */
3413
+ ConnectionType?: ConnectionType;
3414
+ /**
3415
+ * <p>Text of the error that occurred during data catalog creation or deletion.</p>
3416
+ * @public
3417
+ */
3418
+ Error?: string;
3124
3419
  }
3125
3420
  /**
3126
3421
  * @public
@@ -37,4 +37,15 @@ declare const BatchGetNamedQueryCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class BatchGetNamedQueryCommand extends BatchGetNamedQueryCommand_base {}
40
+ export declare class BatchGetNamedQueryCommand extends BatchGetNamedQueryCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: BatchGetNamedQueryInput;
44
+ output: BatchGetNamedQueryOutput;
45
+ };
46
+ sdk: {
47
+ input: BatchGetNamedQueryCommandInput;
48
+ output: BatchGetNamedQueryCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const BatchGetPreparedStatementCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class BatchGetPreparedStatementCommand extends BatchGetPreparedStatementCommand_base {}
40
+ export declare class BatchGetPreparedStatementCommand extends BatchGetPreparedStatementCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: BatchGetPreparedStatementInput;
44
+ output: BatchGetPreparedStatementOutput;
45
+ };
46
+ sdk: {
47
+ input: BatchGetPreparedStatementCommandInput;
48
+ output: BatchGetPreparedStatementCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const BatchGetQueryExecutionCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class BatchGetQueryExecutionCommand extends BatchGetQueryExecutionCommand_base {}
40
+ export declare class BatchGetQueryExecutionCommand extends BatchGetQueryExecutionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: BatchGetQueryExecutionInput;
44
+ output: BatchGetQueryExecutionOutput;
45
+ };
46
+ sdk: {
47
+ input: BatchGetQueryExecutionCommandInput;
48
+ output: BatchGetQueryExecutionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const CancelCapacityReservationCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class CancelCapacityReservationCommand extends CancelCapacityReservationCommand_base {}
40
+ export declare class CancelCapacityReservationCommand extends CancelCapacityReservationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CancelCapacityReservationInput;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: CancelCapacityReservationCommandInput;
48
+ output: CancelCapacityReservationCommandOutput;
49
+ };
50
+ };
51
+ }