@aws-sdk/client-athena 3.218.0 → 3.222.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 (135) hide show
  1. package/dist-cjs/Athena.js +345 -0
  2. package/dist-cjs/commands/CreateNotebookCommand.js +46 -0
  3. package/dist-cjs/commands/CreatePresignedNotebookUrlCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteNotebookCommand.js +46 -0
  5. package/dist-cjs/commands/ExportNotebookCommand.js +46 -0
  6. package/dist-cjs/commands/GetCalculationExecutionCodeCommand.js +46 -0
  7. package/dist-cjs/commands/GetCalculationExecutionCommand.js +46 -0
  8. package/dist-cjs/commands/GetCalculationExecutionStatusCommand.js +46 -0
  9. package/dist-cjs/commands/GetNotebookMetadataCommand.js +46 -0
  10. package/dist-cjs/commands/GetSessionCommand.js +46 -0
  11. package/dist-cjs/commands/GetSessionStatusCommand.js +46 -0
  12. package/dist-cjs/commands/ImportNotebookCommand.js +46 -0
  13. package/dist-cjs/commands/ListApplicationDPUSizesCommand.js +46 -0
  14. package/dist-cjs/commands/ListCalculationExecutionsCommand.js +46 -0
  15. package/dist-cjs/commands/ListExecutorsCommand.js +46 -0
  16. package/dist-cjs/commands/ListNotebookMetadataCommand.js +46 -0
  17. package/dist-cjs/commands/ListNotebookSessionsCommand.js +46 -0
  18. package/dist-cjs/commands/ListSessionsCommand.js +46 -0
  19. package/dist-cjs/commands/StartCalculationExecutionCommand.js +46 -0
  20. package/dist-cjs/commands/StartSessionCommand.js +46 -0
  21. package/dist-cjs/commands/StopCalculationExecutionCommand.js +46 -0
  22. package/dist-cjs/commands/TerminateSessionCommand.js +46 -0
  23. package/dist-cjs/commands/UpdateNotebookCommand.js +46 -0
  24. package/dist-cjs/commands/UpdateNotebookMetadataCommand.js +46 -0
  25. package/dist-cjs/commands/index.js +23 -0
  26. package/dist-cjs/models/models_0.js +322 -18
  27. package/dist-cjs/pagination/ListApplicationDPUSizesPaginator.js +36 -0
  28. package/dist-cjs/pagination/ListCalculationExecutionsPaginator.js +36 -0
  29. package/dist-cjs/pagination/ListExecutorsPaginator.js +36 -0
  30. package/dist-cjs/pagination/ListSessionsPaginator.js +36 -0
  31. package/dist-cjs/pagination/index.js +4 -0
  32. package/dist-cjs/protocols/Aws_json1_1.js +1908 -183
  33. package/dist-es/Athena.js +345 -0
  34. package/dist-es/commands/CreateNotebookCommand.js +42 -0
  35. package/dist-es/commands/CreatePresignedNotebookUrlCommand.js +42 -0
  36. package/dist-es/commands/DeleteNotebookCommand.js +42 -0
  37. package/dist-es/commands/ExportNotebookCommand.js +42 -0
  38. package/dist-es/commands/GetCalculationExecutionCodeCommand.js +42 -0
  39. package/dist-es/commands/GetCalculationExecutionCommand.js +42 -0
  40. package/dist-es/commands/GetCalculationExecutionStatusCommand.js +42 -0
  41. package/dist-es/commands/GetNotebookMetadataCommand.js +42 -0
  42. package/dist-es/commands/GetSessionCommand.js +42 -0
  43. package/dist-es/commands/GetSessionStatusCommand.js +42 -0
  44. package/dist-es/commands/ImportNotebookCommand.js +42 -0
  45. package/dist-es/commands/ListApplicationDPUSizesCommand.js +42 -0
  46. package/dist-es/commands/ListCalculationExecutionsCommand.js +42 -0
  47. package/dist-es/commands/ListExecutorsCommand.js +42 -0
  48. package/dist-es/commands/ListNotebookMetadataCommand.js +42 -0
  49. package/dist-es/commands/ListNotebookSessionsCommand.js +42 -0
  50. package/dist-es/commands/ListSessionsCommand.js +42 -0
  51. package/dist-es/commands/StartCalculationExecutionCommand.js +42 -0
  52. package/dist-es/commands/StartSessionCommand.js +42 -0
  53. package/dist-es/commands/StopCalculationExecutionCommand.js +42 -0
  54. package/dist-es/commands/TerminateSessionCommand.js +42 -0
  55. package/dist-es/commands/UpdateNotebookCommand.js +42 -0
  56. package/dist-es/commands/UpdateNotebookMetadataCommand.js +42 -0
  57. package/dist-es/commands/index.js +23 -0
  58. package/dist-es/models/models_0.js +254 -14
  59. package/dist-es/pagination/ListApplicationDPUSizesPaginator.js +32 -0
  60. package/dist-es/pagination/ListCalculationExecutionsPaginator.js +32 -0
  61. package/dist-es/pagination/ListExecutorsPaginator.js +32 -0
  62. package/dist-es/pagination/ListSessionsPaginator.js +32 -0
  63. package/dist-es/pagination/index.js +4 -0
  64. package/dist-es/protocols/Aws_json1_1.js +1835 -157
  65. package/dist-types/Athena.d.ts +212 -8
  66. package/dist-types/AthenaClient.d.ts +25 -2
  67. package/dist-types/commands/BatchGetPreparedStatementCommand.d.ts +5 -1
  68. package/dist-types/commands/CreateNotebookCommand.d.ts +39 -0
  69. package/dist-types/commands/CreatePresignedNotebookUrlCommand.d.ts +39 -0
  70. package/dist-types/commands/CreateWorkGroupCommand.d.ts +4 -1
  71. package/dist-types/commands/DeleteNotebookCommand.d.ts +37 -0
  72. package/dist-types/commands/ExportNotebookCommand.d.ts +37 -0
  73. package/dist-types/commands/GetCalculationExecutionCodeCommand.d.ts +38 -0
  74. package/dist-types/commands/GetCalculationExecutionCommand.d.ts +37 -0
  75. package/dist-types/commands/GetCalculationExecutionStatusCommand.d.ts +37 -0
  76. package/dist-types/commands/GetNotebookMetadataCommand.d.ts +37 -0
  77. package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +4 -4
  78. package/dist-types/commands/GetSessionCommand.d.ts +38 -0
  79. package/dist-types/commands/GetSessionStatusCommand.d.ts +37 -0
  80. package/dist-types/commands/ImportNotebookCommand.d.ts +39 -0
  81. package/dist-types/commands/ListApplicationDPUSizesCommand.d.ts +38 -0
  82. package/dist-types/commands/ListCalculationExecutionsCommand.d.ts +38 -0
  83. package/dist-types/commands/ListExecutorsCommand.d.ts +39 -0
  84. package/dist-types/commands/ListNotebookMetadataCommand.d.ts +37 -0
  85. package/dist-types/commands/ListNotebookSessionsCommand.d.ts +40 -0
  86. package/dist-types/commands/ListSessionsCommand.d.ts +40 -0
  87. package/dist-types/commands/StartCalculationExecutionCommand.d.ts +38 -0
  88. package/dist-types/commands/StartSessionCommand.d.ts +38 -0
  89. package/dist-types/commands/StopCalculationExecutionCommand.d.ts +46 -0
  90. package/dist-types/commands/TerminateSessionCommand.d.ts +41 -0
  91. package/dist-types/commands/UpdateNotebookCommand.d.ts +37 -0
  92. package/dist-types/commands/UpdateNotebookMetadataCommand.d.ts +37 -0
  93. package/dist-types/commands/UpdateWorkGroupCommand.d.ts +5 -2
  94. package/dist-types/commands/index.d.ts +23 -0
  95. package/dist-types/models/models_0.d.ts +1511 -101
  96. package/dist-types/pagination/ListApplicationDPUSizesPaginator.d.ts +4 -0
  97. package/dist-types/pagination/ListCalculationExecutionsPaginator.d.ts +4 -0
  98. package/dist-types/pagination/ListExecutorsPaginator.d.ts +4 -0
  99. package/dist-types/pagination/ListSessionsPaginator.d.ts +4 -0
  100. package/dist-types/pagination/index.d.ts +4 -0
  101. package/dist-types/protocols/Aws_json1_1.d.ts +69 -0
  102. package/dist-types/ts3.4/Athena.d.ts +391 -0
  103. package/dist-types/ts3.4/AthenaClient.d.ts +138 -0
  104. package/dist-types/ts3.4/commands/CreateNotebookCommand.d.ts +34 -0
  105. package/dist-types/ts3.4/commands/CreatePresignedNotebookUrlCommand.d.ts +41 -0
  106. package/dist-types/ts3.4/commands/DeleteNotebookCommand.d.ts +34 -0
  107. package/dist-types/ts3.4/commands/ExportNotebookCommand.d.ts +34 -0
  108. package/dist-types/ts3.4/commands/GetCalculationExecutionCodeCommand.d.ts +41 -0
  109. package/dist-types/ts3.4/commands/GetCalculationExecutionCommand.d.ts +41 -0
  110. package/dist-types/ts3.4/commands/GetCalculationExecutionStatusCommand.d.ts +41 -0
  111. package/dist-types/ts3.4/commands/GetNotebookMetadataCommand.d.ts +38 -0
  112. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +34 -0
  113. package/dist-types/ts3.4/commands/GetSessionStatusCommand.d.ts +37 -0
  114. package/dist-types/ts3.4/commands/ImportNotebookCommand.d.ts +34 -0
  115. package/dist-types/ts3.4/commands/ListApplicationDPUSizesCommand.d.ts +41 -0
  116. package/dist-types/ts3.4/commands/ListCalculationExecutionsCommand.d.ts +41 -0
  117. package/dist-types/ts3.4/commands/ListExecutorsCommand.d.ts +37 -0
  118. package/dist-types/ts3.4/commands/ListNotebookMetadataCommand.d.ts +41 -0
  119. package/dist-types/ts3.4/commands/ListNotebookSessionsCommand.d.ts +41 -0
  120. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +34 -0
  121. package/dist-types/ts3.4/commands/StartCalculationExecutionCommand.d.ts +41 -0
  122. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +34 -0
  123. package/dist-types/ts3.4/commands/StopCalculationExecutionCommand.d.ts +41 -0
  124. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +37 -0
  125. package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +34 -0
  126. package/dist-types/ts3.4/commands/UpdateNotebookMetadataCommand.d.ts +41 -0
  127. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +538 -21
  129. package/dist-types/ts3.4/pagination/ListApplicationDPUSizesPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/ListCalculationExecutionsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListExecutorsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  134. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +276 -0
  135. package/package.json +29 -28
@@ -5,36 +5,59 @@ import { BatchGetPreparedStatementCommandInput, BatchGetPreparedStatementCommand
5
5
  import { BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput } from "./commands/BatchGetQueryExecutionCommand";
6
6
  import { CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput } from "./commands/CreateDataCatalogCommand";
7
7
  import { CreateNamedQueryCommandInput, CreateNamedQueryCommandOutput } from "./commands/CreateNamedQueryCommand";
8
+ import { CreateNotebookCommandInput, CreateNotebookCommandOutput } from "./commands/CreateNotebookCommand";
8
9
  import { CreatePreparedStatementCommandInput, CreatePreparedStatementCommandOutput } from "./commands/CreatePreparedStatementCommand";
10
+ import { CreatePresignedNotebookUrlCommandInput, CreatePresignedNotebookUrlCommandOutput } from "./commands/CreatePresignedNotebookUrlCommand";
9
11
  import { CreateWorkGroupCommandInput, CreateWorkGroupCommandOutput } from "./commands/CreateWorkGroupCommand";
10
12
  import { DeleteDataCatalogCommandInput, DeleteDataCatalogCommandOutput } from "./commands/DeleteDataCatalogCommand";
11
13
  import { DeleteNamedQueryCommandInput, DeleteNamedQueryCommandOutput } from "./commands/DeleteNamedQueryCommand";
14
+ import { DeleteNotebookCommandInput, DeleteNotebookCommandOutput } from "./commands/DeleteNotebookCommand";
12
15
  import { DeletePreparedStatementCommandInput, DeletePreparedStatementCommandOutput } from "./commands/DeletePreparedStatementCommand";
13
16
  import { DeleteWorkGroupCommandInput, DeleteWorkGroupCommandOutput } from "./commands/DeleteWorkGroupCommand";
17
+ import { ExportNotebookCommandInput, ExportNotebookCommandOutput } from "./commands/ExportNotebookCommand";
18
+ import { GetCalculationExecutionCodeCommandInput, GetCalculationExecutionCodeCommandOutput } from "./commands/GetCalculationExecutionCodeCommand";
19
+ import { GetCalculationExecutionCommandInput, GetCalculationExecutionCommandOutput } from "./commands/GetCalculationExecutionCommand";
20
+ import { GetCalculationExecutionStatusCommandInput, GetCalculationExecutionStatusCommandOutput } from "./commands/GetCalculationExecutionStatusCommand";
14
21
  import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
15
22
  import { GetDataCatalogCommandInput, GetDataCatalogCommandOutput } from "./commands/GetDataCatalogCommand";
16
23
  import { GetNamedQueryCommandInput, GetNamedQueryCommandOutput } from "./commands/GetNamedQueryCommand";
24
+ import { GetNotebookMetadataCommandInput, GetNotebookMetadataCommandOutput } from "./commands/GetNotebookMetadataCommand";
17
25
  import { GetPreparedStatementCommandInput, GetPreparedStatementCommandOutput } from "./commands/GetPreparedStatementCommand";
18
26
  import { GetQueryExecutionCommandInput, GetQueryExecutionCommandOutput } from "./commands/GetQueryExecutionCommand";
19
27
  import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
20
28
  import { GetQueryRuntimeStatisticsCommandInput, GetQueryRuntimeStatisticsCommandOutput } from "./commands/GetQueryRuntimeStatisticsCommand";
29
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
30
+ import { GetSessionStatusCommandInput, GetSessionStatusCommandOutput } from "./commands/GetSessionStatusCommand";
21
31
  import { GetTableMetadataCommandInput, GetTableMetadataCommandOutput } from "./commands/GetTableMetadataCommand";
22
32
  import { GetWorkGroupCommandInput, GetWorkGroupCommandOutput } from "./commands/GetWorkGroupCommand";
33
+ import { ImportNotebookCommandInput, ImportNotebookCommandOutput } from "./commands/ImportNotebookCommand";
34
+ import { ListApplicationDPUSizesCommandInput, ListApplicationDPUSizesCommandOutput } from "./commands/ListApplicationDPUSizesCommand";
35
+ import { ListCalculationExecutionsCommandInput, ListCalculationExecutionsCommandOutput } from "./commands/ListCalculationExecutionsCommand";
23
36
  import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
24
37
  import { ListDataCatalogsCommandInput, ListDataCatalogsCommandOutput } from "./commands/ListDataCatalogsCommand";
25
38
  import { ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput } from "./commands/ListEngineVersionsCommand";
39
+ import { ListExecutorsCommandInput, ListExecutorsCommandOutput } from "./commands/ListExecutorsCommand";
26
40
  import { ListNamedQueriesCommandInput, ListNamedQueriesCommandOutput } from "./commands/ListNamedQueriesCommand";
41
+ import { ListNotebookMetadataCommandInput, ListNotebookMetadataCommandOutput } from "./commands/ListNotebookMetadataCommand";
42
+ import { ListNotebookSessionsCommandInput, ListNotebookSessionsCommandOutput } from "./commands/ListNotebookSessionsCommand";
27
43
  import { ListPreparedStatementsCommandInput, ListPreparedStatementsCommandOutput } from "./commands/ListPreparedStatementsCommand";
28
44
  import { ListQueryExecutionsCommandInput, ListQueryExecutionsCommandOutput } from "./commands/ListQueryExecutionsCommand";
45
+ import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
29
46
  import { ListTableMetadataCommandInput, ListTableMetadataCommandOutput } from "./commands/ListTableMetadataCommand";
30
47
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
31
48
  import { ListWorkGroupsCommandInput, ListWorkGroupsCommandOutput } from "./commands/ListWorkGroupsCommand";
49
+ import { StartCalculationExecutionCommandInput, StartCalculationExecutionCommandOutput } from "./commands/StartCalculationExecutionCommand";
32
50
  import { StartQueryExecutionCommandInput, StartQueryExecutionCommandOutput } from "./commands/StartQueryExecutionCommand";
51
+ import { StartSessionCommandInput, StartSessionCommandOutput } from "./commands/StartSessionCommand";
52
+ import { StopCalculationExecutionCommandInput, StopCalculationExecutionCommandOutput } from "./commands/StopCalculationExecutionCommand";
33
53
  import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from "./commands/StopQueryExecutionCommand";
34
54
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
55
+ import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand";
35
56
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
36
57
  import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
37
58
  import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "./commands/UpdateNamedQueryCommand";
59
+ import { UpdateNotebookCommandInput, UpdateNotebookCommandOutput } from "./commands/UpdateNotebookCommand";
60
+ import { UpdateNotebookMetadataCommandInput, UpdateNotebookMetadataCommandOutput } from "./commands/UpdateNotebookMetadataCommand";
38
61
  import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "./commands/UpdatePreparedStatementCommand";
39
62
  import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "./commands/UpdateWorkGroupCommand";
40
63
  /**
@@ -69,7 +92,11 @@ export declare class Athena extends AthenaClient {
69
92
  batchGetNamedQuery(args: BatchGetNamedQueryCommandInput, cb: (err: any, data?: BatchGetNamedQueryCommandOutput) => void): void;
70
93
  batchGetNamedQuery(args: BatchGetNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetNamedQueryCommandOutput) => void): void;
71
94
  /**
72
- * <p>Returns the details of a single prepared statement or a list of up to 256 prepared statements for the array of prepared statement names that you provide. Requires you to have access to the workgroup to which the prepared statements belong. If a prepared statement cannot be retrieved for the name specified, the statement is listed in <code>UnprocessedPreparedStatementNames</code>.</p>
95
+ * <p>Returns the details of a single prepared statement or a list of up to 256 prepared
96
+ * statements for the array of prepared statement names that you provide. Requires you to
97
+ * have access to the workgroup to which the prepared statements belong. If a prepared
98
+ * statement cannot be retrieved for the name specified, the statement is listed in
99
+ * <code>UnprocessedPreparedStatementNames</code>.</p>
73
100
  */
74
101
  batchGetPreparedStatement(args: BatchGetPreparedStatementCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetPreparedStatementCommandOutput>;
75
102
  batchGetPreparedStatement(args: BatchGetPreparedStatementCommandInput, cb: (err: any, data?: BatchGetPreparedStatementCommandOutput) => void): void;
@@ -102,6 +129,14 @@ export declare class Athena extends AthenaClient {
102
129
  createNamedQuery(args: CreateNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<CreateNamedQueryCommandOutput>;
103
130
  createNamedQuery(args: CreateNamedQueryCommandInput, cb: (err: any, data?: CreateNamedQueryCommandOutput) => void): void;
104
131
  createNamedQuery(args: CreateNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNamedQueryCommandOutput) => void): void;
132
+ /**
133
+ * <p>Creates an empty <code>ipynb</code> file in the specified Apache Spark enabled
134
+ * workgroup. Throws an error if a file in the workgroup with the same name already
135
+ * exists.</p>
136
+ */
137
+ createNotebook(args: CreateNotebookCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotebookCommandOutput>;
138
+ createNotebook(args: CreateNotebookCommandInput, cb: (err: any, data?: CreateNotebookCommandOutput) => void): void;
139
+ createNotebook(args: CreateNotebookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotebookCommandOutput) => void): void;
105
140
  /**
106
141
  * <p>Creates a prepared statement for use with SQL queries in Athena.</p>
107
142
  */
@@ -109,7 +144,18 @@ export declare class Athena extends AthenaClient {
109
144
  createPreparedStatement(args: CreatePreparedStatementCommandInput, cb: (err: any, data?: CreatePreparedStatementCommandOutput) => void): void;
110
145
  createPreparedStatement(args: CreatePreparedStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePreparedStatementCommandOutput) => void): void;
111
146
  /**
112
- * <p>Creates a workgroup with the specified name.</p>
147
+ * <p>Gets an authentication token and the URL at which the notebook can be accessed. During
148
+ * programmatic access, <code>CreatePresignedNotebookUrl</code> must be called every 10
149
+ * minutes to refresh the authentication token.</p>
150
+ */
151
+ createPresignedNotebookUrl(args: CreatePresignedNotebookUrlCommandInput, options?: __HttpHandlerOptions): Promise<CreatePresignedNotebookUrlCommandOutput>;
152
+ createPresignedNotebookUrl(args: CreatePresignedNotebookUrlCommandInput, cb: (err: any, data?: CreatePresignedNotebookUrlCommandOutput) => void): void;
153
+ createPresignedNotebookUrl(args: CreatePresignedNotebookUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePresignedNotebookUrlCommandOutput) => void): void;
154
+ /**
155
+ * <p>Creates a workgroup with the specified name. Only one of <code>Configurations</code>
156
+ * or <code>Configuration</code> can be specified; <code>Configurations</code> for a
157
+ * workgroup with multi engine support (for example, an Apache Spark enabled workgroup) or
158
+ * <code>Configuration</code> for an Athena SQL workgroup.</p>
113
159
  */
114
160
  createWorkGroup(args: CreateWorkGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkGroupCommandOutput>;
115
161
  createWorkGroup(args: CreateWorkGroupCommandInput, cb: (err: any, data?: CreateWorkGroupCommandOutput) => void): void;
@@ -130,6 +176,12 @@ export declare class Athena extends AthenaClient {
130
176
  deleteNamedQuery(args: DeleteNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNamedQueryCommandOutput>;
131
177
  deleteNamedQuery(args: DeleteNamedQueryCommandInput, cb: (err: any, data?: DeleteNamedQueryCommandOutput) => void): void;
132
178
  deleteNamedQuery(args: DeleteNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNamedQueryCommandOutput) => void): void;
179
+ /**
180
+ * <p>Deletes the specified notebook.</p>
181
+ */
182
+ deleteNotebook(args: DeleteNotebookCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotebookCommandOutput>;
183
+ deleteNotebook(args: DeleteNotebookCommandInput, cb: (err: any, data?: DeleteNotebookCommandOutput) => void): void;
184
+ deleteNotebook(args: DeleteNotebookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotebookCommandOutput) => void): void;
133
185
  /**
134
186
  * <p>Deletes the prepared statement with the specified name from the specified
135
187
  * workgroup.</p>
@@ -144,6 +196,31 @@ export declare class Athena extends AthenaClient {
144
196
  deleteWorkGroup(args: DeleteWorkGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkGroupCommandOutput>;
145
197
  deleteWorkGroup(args: DeleteWorkGroupCommandInput, cb: (err: any, data?: DeleteWorkGroupCommandOutput) => void): void;
146
198
  deleteWorkGroup(args: DeleteWorkGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkGroupCommandOutput) => void): void;
199
+ /**
200
+ * <p>Exports the specified notebook and its metadata.</p>
201
+ */
202
+ exportNotebook(args: ExportNotebookCommandInput, options?: __HttpHandlerOptions): Promise<ExportNotebookCommandOutput>;
203
+ exportNotebook(args: ExportNotebookCommandInput, cb: (err: any, data?: ExportNotebookCommandOutput) => void): void;
204
+ exportNotebook(args: ExportNotebookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportNotebookCommandOutput) => void): void;
205
+ /**
206
+ * <p>Describes a previously submitted calculation execution.</p>
207
+ */
208
+ getCalculationExecution(args: GetCalculationExecutionCommandInput, options?: __HttpHandlerOptions): Promise<GetCalculationExecutionCommandOutput>;
209
+ getCalculationExecution(args: GetCalculationExecutionCommandInput, cb: (err: any, data?: GetCalculationExecutionCommandOutput) => void): void;
210
+ getCalculationExecution(args: GetCalculationExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCalculationExecutionCommandOutput) => void): void;
211
+ /**
212
+ * <p>Retrieves a pre-signed URL to a copy of the code that was executed for the
213
+ * calculation.</p>
214
+ */
215
+ getCalculationExecutionCode(args: GetCalculationExecutionCodeCommandInput, options?: __HttpHandlerOptions): Promise<GetCalculationExecutionCodeCommandOutput>;
216
+ getCalculationExecutionCode(args: GetCalculationExecutionCodeCommandInput, cb: (err: any, data?: GetCalculationExecutionCodeCommandOutput) => void): void;
217
+ getCalculationExecutionCode(args: GetCalculationExecutionCodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCalculationExecutionCodeCommandOutput) => void): void;
218
+ /**
219
+ * <p>Gets the status of a current calculation.</p>
220
+ */
221
+ getCalculationExecutionStatus(args: GetCalculationExecutionStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetCalculationExecutionStatusCommandOutput>;
222
+ getCalculationExecutionStatus(args: GetCalculationExecutionStatusCommandInput, cb: (err: any, data?: GetCalculationExecutionStatusCommandOutput) => void): void;
223
+ getCalculationExecutionStatus(args: GetCalculationExecutionStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCalculationExecutionStatusCommandOutput) => void): void;
147
224
  /**
148
225
  * <p>Returns a database object for the specified database and data catalog.</p>
149
226
  */
@@ -163,6 +240,12 @@ export declare class Athena extends AthenaClient {
163
240
  getNamedQuery(args: GetNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<GetNamedQueryCommandOutput>;
164
241
  getNamedQuery(args: GetNamedQueryCommandInput, cb: (err: any, data?: GetNamedQueryCommandOutput) => void): void;
165
242
  getNamedQuery(args: GetNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNamedQueryCommandOutput) => void): void;
243
+ /**
244
+ * <p>Retrieves notebook metadata for the specified notebook ID.</p>
245
+ */
246
+ getNotebookMetadata(args: GetNotebookMetadataCommandInput, options?: __HttpHandlerOptions): Promise<GetNotebookMetadataCommandOutput>;
247
+ getNotebookMetadata(args: GetNotebookMetadataCommandInput, cb: (err: any, data?: GetNotebookMetadataCommandOutput) => void): void;
248
+ getNotebookMetadata(args: GetNotebookMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNotebookMetadataCommandOutput) => void): void;
166
249
  /**
167
250
  * <p>Retrieves the prepared statement with the specified name from the specified
168
251
  * workgroup.</p>
@@ -199,14 +282,27 @@ export declare class Athena extends AthenaClient {
199
282
  getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
200
283
  getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
201
284
  /**
202
- * <p>Returns query execution runtime statistics related to a single execution of a query if you
203
- * have access to the workgroup in which the query ran. The query execution runtime statistics
204
- * is returned only when <a>QueryExecutionStatus$State</a> is in a SUCCEEDED
205
- * or FAILED state.</p>
285
+ * <p>Returns query execution runtime statistics related to a single execution of a query if
286
+ * you have access to the workgroup in which the query ran. The query execution runtime
287
+ * statistics is returned only when <a>QueryExecutionStatus$State</a> is in a
288
+ * SUCCEEDED or FAILED state.</p>
206
289
  */
207
290
  getQueryRuntimeStatistics(args: GetQueryRuntimeStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryRuntimeStatisticsCommandOutput>;
208
291
  getQueryRuntimeStatistics(args: GetQueryRuntimeStatisticsCommandInput, cb: (err: any, data?: GetQueryRuntimeStatisticsCommandOutput) => void): void;
209
292
  getQueryRuntimeStatistics(args: GetQueryRuntimeStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryRuntimeStatisticsCommandOutput) => void): void;
293
+ /**
294
+ * <p>Gets the full details of a previously created session, including the session status
295
+ * and configuration.</p>
296
+ */
297
+ getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
298
+ getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
299
+ getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
300
+ /**
301
+ * <p>Gets the current status of a session.</p>
302
+ */
303
+ getSessionStatus(args: GetSessionStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionStatusCommandOutput>;
304
+ getSessionStatus(args: GetSessionStatusCommandInput, cb: (err: any, data?: GetSessionStatusCommandOutput) => void): void;
305
+ getSessionStatus(args: GetSessionStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionStatusCommandOutput) => void): void;
210
306
  /**
211
307
  * <p>Returns table metadata for the specified catalog, database, and table.</p>
212
308
  */
@@ -219,6 +315,28 @@ export declare class Athena extends AthenaClient {
219
315
  getWorkGroup(args: GetWorkGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkGroupCommandOutput>;
220
316
  getWorkGroup(args: GetWorkGroupCommandInput, cb: (err: any, data?: GetWorkGroupCommandOutput) => void): void;
221
317
  getWorkGroup(args: GetWorkGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkGroupCommandOutput) => void): void;
318
+ /**
319
+ * <p>Imports a single <code>ipynb</code> file to a Spark enabled workgroup. The maximum
320
+ * file size that can be imported is 10 megabytes. If an <code>ipynb</code> file with the
321
+ * same name already exists in the workgroup, throws an error.</p>
322
+ */
323
+ importNotebook(args: ImportNotebookCommandInput, options?: __HttpHandlerOptions): Promise<ImportNotebookCommandOutput>;
324
+ importNotebook(args: ImportNotebookCommandInput, cb: (err: any, data?: ImportNotebookCommandOutput) => void): void;
325
+ importNotebook(args: ImportNotebookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportNotebookCommandOutput) => void): void;
326
+ /**
327
+ * <p>Returns the supported DPU sizes for the supported application runtimes (for example,
328
+ * <code>Jupyter 1.0</code>). </p>
329
+ */
330
+ listApplicationDPUSizes(args: ListApplicationDPUSizesCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationDPUSizesCommandOutput>;
331
+ listApplicationDPUSizes(args: ListApplicationDPUSizesCommandInput, cb: (err: any, data?: ListApplicationDPUSizesCommandOutput) => void): void;
332
+ listApplicationDPUSizes(args: ListApplicationDPUSizesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationDPUSizesCommandOutput) => void): void;
333
+ /**
334
+ * <p>Lists the calculations that have been submitted to a session in descending order.
335
+ * Newer calculations are listed first; older calculations are listed later.</p>
336
+ */
337
+ listCalculationExecutions(args: ListCalculationExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCalculationExecutionsCommandOutput>;
338
+ listCalculationExecutions(args: ListCalculationExecutionsCommandInput, cb: (err: any, data?: ListCalculationExecutionsCommandOutput) => void): void;
339
+ listCalculationExecutions(args: ListCalculationExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCalculationExecutionsCommandOutput) => void): void;
222
340
  /**
223
341
  * <p>Lists the databases in the specified data catalog.</p>
224
342
  */
@@ -238,6 +356,14 @@ export declare class Athena extends AthenaClient {
238
356
  listEngineVersions(args: ListEngineVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListEngineVersionsCommandOutput>;
239
357
  listEngineVersions(args: ListEngineVersionsCommandInput, cb: (err: any, data?: ListEngineVersionsCommandOutput) => void): void;
240
358
  listEngineVersions(args: ListEngineVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEngineVersionsCommandOutput) => void): void;
359
+ /**
360
+ * <p>Lists, in descending order, the executors that have been submitted to a session. Newer
361
+ * executors are listed first; older executors are listed later. The result can be
362
+ * optionally filtered by state.</p>
363
+ */
364
+ listExecutors(args: ListExecutorsCommandInput, options?: __HttpHandlerOptions): Promise<ListExecutorsCommandOutput>;
365
+ listExecutors(args: ListExecutorsCommandInput, cb: (err: any, data?: ListExecutorsCommandOutput) => void): void;
366
+ listExecutors(args: ListExecutorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExecutorsCommandOutput) => void): void;
241
367
  /**
242
368
  * <p>Provides a list of available query IDs only for queries saved in the specified
243
369
  * workgroup. Requires that you have access to the specified workgroup. If a workgroup is
@@ -249,6 +375,21 @@ export declare class Athena extends AthenaClient {
249
375
  listNamedQueries(args: ListNamedQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListNamedQueriesCommandOutput>;
250
376
  listNamedQueries(args: ListNamedQueriesCommandInput, cb: (err: any, data?: ListNamedQueriesCommandOutput) => void): void;
251
377
  listNamedQueries(args: ListNamedQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNamedQueriesCommandOutput) => void): void;
378
+ /**
379
+ * <p>Displays the notebook files for the specified workgroup in paginated format.</p>
380
+ */
381
+ listNotebookMetadata(args: ListNotebookMetadataCommandInput, options?: __HttpHandlerOptions): Promise<ListNotebookMetadataCommandOutput>;
382
+ listNotebookMetadata(args: ListNotebookMetadataCommandInput, cb: (err: any, data?: ListNotebookMetadataCommandOutput) => void): void;
383
+ listNotebookMetadata(args: ListNotebookMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotebookMetadataCommandOutput) => void): void;
384
+ /**
385
+ * <p>Lists, in descending order, the sessions that have been created in a notebook that are
386
+ * in an active state like <code>CREATING</code>, <code>CREATED</code>, <code>IDLE</code>
387
+ * or <code>BUSY</code>. Newer sessions are listed first; older sessions are listed
388
+ * later.</p>
389
+ */
390
+ listNotebookSessions(args: ListNotebookSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListNotebookSessionsCommandOutput>;
391
+ listNotebookSessions(args: ListNotebookSessionsCommandInput, cb: (err: any, data?: ListNotebookSessionsCommandOutput) => void): void;
392
+ listNotebookSessions(args: ListNotebookSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotebookSessionsCommandOutput) => void): void;
252
393
  /**
253
394
  * <p>Lists the prepared statements in the specified workgroup.</p>
254
395
  */
@@ -267,6 +408,15 @@ export declare class Athena extends AthenaClient {
267
408
  listQueryExecutions(args: ListQueryExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListQueryExecutionsCommandOutput>;
268
409
  listQueryExecutions(args: ListQueryExecutionsCommandInput, cb: (err: any, data?: ListQueryExecutionsCommandOutput) => void): void;
269
410
  listQueryExecutions(args: ListQueryExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueryExecutionsCommandOutput) => void): void;
411
+ /**
412
+ * <p>Lists the sessions in a workgroup that are in an active state like
413
+ * <code>CREATING</code>, <code>CREATED</code>, <code>IDLE</code>, or
414
+ * <code>BUSY</code>. Newer sessions are listed first; older sessions are listed
415
+ * later.</p>
416
+ */
417
+ listSessions(args: ListSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSessionsCommandOutput>;
418
+ listSessions(args: ListSessionsCommandInput, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
419
+ listSessions(args: ListSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
270
420
  /**
271
421
  * <p>Lists the metadata for the tables in the specified data catalog database.</p>
272
422
  */
@@ -286,6 +436,13 @@ export declare class Athena extends AthenaClient {
286
436
  listWorkGroups(args: ListWorkGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkGroupsCommandOutput>;
287
437
  listWorkGroups(args: ListWorkGroupsCommandInput, cb: (err: any, data?: ListWorkGroupsCommandOutput) => void): void;
288
438
  listWorkGroups(args: ListWorkGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkGroupsCommandOutput) => void): void;
439
+ /**
440
+ * <p>Submits calculations for execution within a session. You can supply the code to run as
441
+ * an inline code block within the request or as an Amazon S3 URL.</p>
442
+ */
443
+ startCalculationExecution(args: StartCalculationExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartCalculationExecutionCommandOutput>;
444
+ startCalculationExecution(args: StartCalculationExecutionCommandInput, cb: (err: any, data?: StartCalculationExecutionCommandOutput) => void): void;
445
+ startCalculationExecution(args: StartCalculationExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCalculationExecutionCommandOutput) => void): void;
289
446
  /**
290
447
  * <p>Runs the SQL query statements contained in the <code>Query</code>. Requires you to
291
448
  * have access to the workgroup in which the query ran. Running queries against an external
@@ -297,6 +454,28 @@ export declare class Athena extends AthenaClient {
297
454
  startQueryExecution(args: StartQueryExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartQueryExecutionCommandOutput>;
298
455
  startQueryExecution(args: StartQueryExecutionCommandInput, cb: (err: any, data?: StartQueryExecutionCommandOutput) => void): void;
299
456
  startQueryExecution(args: StartQueryExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartQueryExecutionCommandOutput) => void): void;
457
+ /**
458
+ * <p>Creates a session for running calculations within a workgroup. The session is ready
459
+ * when it reaches an <code>IDLE</code> state.</p>
460
+ */
461
+ startSession(args: StartSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartSessionCommandOutput>;
462
+ startSession(args: StartSessionCommandInput, cb: (err: any, data?: StartSessionCommandOutput) => void): void;
463
+ startSession(args: StartSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSessionCommandOutput) => void): void;
464
+ /**
465
+ * <p>Requests the cancellation of a calculation. A <code>StopCalculationExecution</code>
466
+ * call on a calculation that is already in a terminal state (for example,
467
+ * <code>STOPPED</code>, <code>FAILED</code>, or <code>COMPLETED</code>) succeeds but
468
+ * has no effect.</p>
469
+ * <note>
470
+ * <p>Cancelling a calculation is done on a best effort basis. If a calculation cannot
471
+ * be cancelled, you can be charged for its completion. If you are concerned about
472
+ * being charged for a calculation that cannot be cancelled, consider terminating the
473
+ * session in which the calculation is running.</p>
474
+ * </note>
475
+ */
476
+ stopCalculationExecution(args: StopCalculationExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StopCalculationExecutionCommandOutput>;
477
+ stopCalculationExecution(args: StopCalculationExecutionCommandInput, cb: (err: any, data?: StopCalculationExecutionCommandOutput) => void): void;
478
+ stopCalculationExecution(args: StopCalculationExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopCalculationExecutionCommandOutput) => void): void;
300
479
  /**
301
480
  * <p>Stops a query execution. Requires you to have access to the workgroup in which the
302
481
  * query ran.</p>
@@ -323,6 +502,16 @@ export declare class Athena extends AthenaClient {
323
502
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
324
503
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
325
504
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
505
+ /**
506
+ * <p>Terminates an active session. A <code>TerminateSession</code> call on a session that
507
+ * is already inactive (for example, in a <code>FAILED</code>, <code>TERMINATED</code> or
508
+ * <code>TERMINATING</code> state) succeeds but has no effect. Calculations running in
509
+ * the session when <code>TerminateSession</code> is called are forcefully stopped, but may
510
+ * display as <code>FAILED</code> instead of <code>STOPPED</code>.</p>
511
+ */
512
+ terminateSession(args: TerminateSessionCommandInput, options?: __HttpHandlerOptions): Promise<TerminateSessionCommandOutput>;
513
+ terminateSession(args: TerminateSessionCommandInput, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void;
514
+ terminateSession(args: TerminateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void;
326
515
  /**
327
516
  * <p>Removes one or more tags from a data catalog or workgroup resource.</p>
328
517
  */
@@ -342,6 +531,18 @@ export declare class Athena extends AthenaClient {
342
531
  updateNamedQuery(args: UpdateNamedQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNamedQueryCommandOutput>;
343
532
  updateNamedQuery(args: UpdateNamedQueryCommandInput, cb: (err: any, data?: UpdateNamedQueryCommandOutput) => void): void;
344
533
  updateNamedQuery(args: UpdateNamedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNamedQueryCommandOutput) => void): void;
534
+ /**
535
+ * <p>Updates the contents of a Spark notebook.</p>
536
+ */
537
+ updateNotebook(args: UpdateNotebookCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotebookCommandOutput>;
538
+ updateNotebook(args: UpdateNotebookCommandInput, cb: (err: any, data?: UpdateNotebookCommandOutput) => void): void;
539
+ updateNotebook(args: UpdateNotebookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotebookCommandOutput) => void): void;
540
+ /**
541
+ * <p>Updates the metadata for a notebook.</p>
542
+ */
543
+ updateNotebookMetadata(args: UpdateNotebookMetadataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotebookMetadataCommandOutput>;
544
+ updateNotebookMetadata(args: UpdateNotebookMetadataCommandInput, cb: (err: any, data?: UpdateNotebookMetadataCommandOutput) => void): void;
545
+ updateNotebookMetadata(args: UpdateNotebookMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotebookMetadataCommandOutput) => void): void;
345
546
  /**
346
547
  * <p>Updates a prepared statement.</p>
347
548
  */
@@ -349,8 +550,11 @@ export declare class Athena extends AthenaClient {
349
550
  updatePreparedStatement(args: UpdatePreparedStatementCommandInput, cb: (err: any, data?: UpdatePreparedStatementCommandOutput) => void): void;
350
551
  updatePreparedStatement(args: UpdatePreparedStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePreparedStatementCommandOutput) => void): void;
351
552
  /**
352
- * <p>Updates the workgroup with the specified name. The workgroup's name cannot be
353
- * changed.</p>
553
+ * <p>Updates the workgroup with the specified name. The workgroup's name cannot be changed.
554
+ * Only one of <code>ConfigurationsUpdates</code> or <code>ConfigurationUpdates</code> can
555
+ * be specified; <code>ConfigurationsUpdates</code> for a workgroup with multi engine
556
+ * support (for example, an Apache Spark enabled workgroup) or
557
+ * <code>ConfigurationUpdates</code> for an Athena SQL workgroup.</p>
354
558
  */
355
559
  updateWorkGroup(args: UpdateWorkGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkGroupCommandOutput>;
356
560
  updateWorkGroup(args: UpdateWorkGroupCommandInput, cb: (err: any, data?: UpdateWorkGroupCommandOutput) => void): void;
@@ -12,41 +12,64 @@ import { BatchGetPreparedStatementCommandInput, BatchGetPreparedStatementCommand
12
12
  import { BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput } from "./commands/BatchGetQueryExecutionCommand";
13
13
  import { CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput } from "./commands/CreateDataCatalogCommand";
14
14
  import { CreateNamedQueryCommandInput, CreateNamedQueryCommandOutput } from "./commands/CreateNamedQueryCommand";
15
+ import { CreateNotebookCommandInput, CreateNotebookCommandOutput } from "./commands/CreateNotebookCommand";
15
16
  import { CreatePreparedStatementCommandInput, CreatePreparedStatementCommandOutput } from "./commands/CreatePreparedStatementCommand";
17
+ import { CreatePresignedNotebookUrlCommandInput, CreatePresignedNotebookUrlCommandOutput } from "./commands/CreatePresignedNotebookUrlCommand";
16
18
  import { CreateWorkGroupCommandInput, CreateWorkGroupCommandOutput } from "./commands/CreateWorkGroupCommand";
17
19
  import { DeleteDataCatalogCommandInput, DeleteDataCatalogCommandOutput } from "./commands/DeleteDataCatalogCommand";
18
20
  import { DeleteNamedQueryCommandInput, DeleteNamedQueryCommandOutput } from "./commands/DeleteNamedQueryCommand";
21
+ import { DeleteNotebookCommandInput, DeleteNotebookCommandOutput } from "./commands/DeleteNotebookCommand";
19
22
  import { DeletePreparedStatementCommandInput, DeletePreparedStatementCommandOutput } from "./commands/DeletePreparedStatementCommand";
20
23
  import { DeleteWorkGroupCommandInput, DeleteWorkGroupCommandOutput } from "./commands/DeleteWorkGroupCommand";
24
+ import { ExportNotebookCommandInput, ExportNotebookCommandOutput } from "./commands/ExportNotebookCommand";
25
+ import { GetCalculationExecutionCodeCommandInput, GetCalculationExecutionCodeCommandOutput } from "./commands/GetCalculationExecutionCodeCommand";
26
+ import { GetCalculationExecutionCommandInput, GetCalculationExecutionCommandOutput } from "./commands/GetCalculationExecutionCommand";
27
+ import { GetCalculationExecutionStatusCommandInput, GetCalculationExecutionStatusCommandOutput } from "./commands/GetCalculationExecutionStatusCommand";
21
28
  import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
22
29
  import { GetDataCatalogCommandInput, GetDataCatalogCommandOutput } from "./commands/GetDataCatalogCommand";
23
30
  import { GetNamedQueryCommandInput, GetNamedQueryCommandOutput } from "./commands/GetNamedQueryCommand";
31
+ import { GetNotebookMetadataCommandInput, GetNotebookMetadataCommandOutput } from "./commands/GetNotebookMetadataCommand";
24
32
  import { GetPreparedStatementCommandInput, GetPreparedStatementCommandOutput } from "./commands/GetPreparedStatementCommand";
25
33
  import { GetQueryExecutionCommandInput, GetQueryExecutionCommandOutput } from "./commands/GetQueryExecutionCommand";
26
34
  import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
27
35
  import { GetQueryRuntimeStatisticsCommandInput, GetQueryRuntimeStatisticsCommandOutput } from "./commands/GetQueryRuntimeStatisticsCommand";
36
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
37
+ import { GetSessionStatusCommandInput, GetSessionStatusCommandOutput } from "./commands/GetSessionStatusCommand";
28
38
  import { GetTableMetadataCommandInput, GetTableMetadataCommandOutput } from "./commands/GetTableMetadataCommand";
29
39
  import { GetWorkGroupCommandInput, GetWorkGroupCommandOutput } from "./commands/GetWorkGroupCommand";
40
+ import { ImportNotebookCommandInput, ImportNotebookCommandOutput } from "./commands/ImportNotebookCommand";
41
+ import { ListApplicationDPUSizesCommandInput, ListApplicationDPUSizesCommandOutput } from "./commands/ListApplicationDPUSizesCommand";
42
+ import { ListCalculationExecutionsCommandInput, ListCalculationExecutionsCommandOutput } from "./commands/ListCalculationExecutionsCommand";
30
43
  import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
31
44
  import { ListDataCatalogsCommandInput, ListDataCatalogsCommandOutput } from "./commands/ListDataCatalogsCommand";
32
45
  import { ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput } from "./commands/ListEngineVersionsCommand";
46
+ import { ListExecutorsCommandInput, ListExecutorsCommandOutput } from "./commands/ListExecutorsCommand";
33
47
  import { ListNamedQueriesCommandInput, ListNamedQueriesCommandOutput } from "./commands/ListNamedQueriesCommand";
48
+ import { ListNotebookMetadataCommandInput, ListNotebookMetadataCommandOutput } from "./commands/ListNotebookMetadataCommand";
49
+ import { ListNotebookSessionsCommandInput, ListNotebookSessionsCommandOutput } from "./commands/ListNotebookSessionsCommand";
34
50
  import { ListPreparedStatementsCommandInput, ListPreparedStatementsCommandOutput } from "./commands/ListPreparedStatementsCommand";
35
51
  import { ListQueryExecutionsCommandInput, ListQueryExecutionsCommandOutput } from "./commands/ListQueryExecutionsCommand";
52
+ import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
36
53
  import { ListTableMetadataCommandInput, ListTableMetadataCommandOutput } from "./commands/ListTableMetadataCommand";
37
54
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
38
55
  import { ListWorkGroupsCommandInput, ListWorkGroupsCommandOutput } from "./commands/ListWorkGroupsCommand";
56
+ import { StartCalculationExecutionCommandInput, StartCalculationExecutionCommandOutput } from "./commands/StartCalculationExecutionCommand";
39
57
  import { StartQueryExecutionCommandInput, StartQueryExecutionCommandOutput } from "./commands/StartQueryExecutionCommand";
58
+ import { StartSessionCommandInput, StartSessionCommandOutput } from "./commands/StartSessionCommand";
59
+ import { StopCalculationExecutionCommandInput, StopCalculationExecutionCommandOutput } from "./commands/StopCalculationExecutionCommand";
40
60
  import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from "./commands/StopQueryExecutionCommand";
41
61
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
62
+ import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand";
42
63
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
43
64
  import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
44
65
  import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "./commands/UpdateNamedQueryCommand";
66
+ import { UpdateNotebookCommandInput, UpdateNotebookCommandOutput } from "./commands/UpdateNotebookCommand";
67
+ import { UpdateNotebookMetadataCommandInput, UpdateNotebookMetadataCommandOutput } from "./commands/UpdateNotebookMetadataCommand";
45
68
  import { UpdatePreparedStatementCommandInput, UpdatePreparedStatementCommandOutput } from "./commands/UpdatePreparedStatementCommand";
46
69
  import { UpdateWorkGroupCommandInput, UpdateWorkGroupCommandOutput } from "./commands/UpdateWorkGroupCommand";
47
70
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
48
- export declare type ServiceInputTypes = BatchGetNamedQueryCommandInput | BatchGetPreparedStatementCommandInput | BatchGetQueryExecutionCommandInput | CreateDataCatalogCommandInput | CreateNamedQueryCommandInput | CreatePreparedStatementCommandInput | CreateWorkGroupCommandInput | DeleteDataCatalogCommandInput | DeleteNamedQueryCommandInput | DeletePreparedStatementCommandInput | DeleteWorkGroupCommandInput | GetDataCatalogCommandInput | GetDatabaseCommandInput | GetNamedQueryCommandInput | GetPreparedStatementCommandInput | GetQueryExecutionCommandInput | GetQueryResultsCommandInput | GetQueryRuntimeStatisticsCommandInput | GetTableMetadataCommandInput | GetWorkGroupCommandInput | ListDataCatalogsCommandInput | ListDatabasesCommandInput | ListEngineVersionsCommandInput | ListNamedQueriesCommandInput | ListPreparedStatementsCommandInput | ListQueryExecutionsCommandInput | ListTableMetadataCommandInput | ListTagsForResourceCommandInput | ListWorkGroupsCommandInput | StartQueryExecutionCommandInput | StopQueryExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataCatalogCommandInput | UpdateNamedQueryCommandInput | UpdatePreparedStatementCommandInput | UpdateWorkGroupCommandInput;
49
- export declare type ServiceOutputTypes = BatchGetNamedQueryCommandOutput | BatchGetPreparedStatementCommandOutput | BatchGetQueryExecutionCommandOutput | CreateDataCatalogCommandOutput | CreateNamedQueryCommandOutput | CreatePreparedStatementCommandOutput | CreateWorkGroupCommandOutput | DeleteDataCatalogCommandOutput | DeleteNamedQueryCommandOutput | DeletePreparedStatementCommandOutput | DeleteWorkGroupCommandOutput | GetDataCatalogCommandOutput | GetDatabaseCommandOutput | GetNamedQueryCommandOutput | GetPreparedStatementCommandOutput | GetQueryExecutionCommandOutput | GetQueryResultsCommandOutput | GetQueryRuntimeStatisticsCommandOutput | GetTableMetadataCommandOutput | GetWorkGroupCommandOutput | ListDataCatalogsCommandOutput | ListDatabasesCommandOutput | ListEngineVersionsCommandOutput | ListNamedQueriesCommandOutput | ListPreparedStatementsCommandOutput | ListQueryExecutionsCommandOutput | ListTableMetadataCommandOutput | ListTagsForResourceCommandOutput | ListWorkGroupsCommandOutput | StartQueryExecutionCommandOutput | StopQueryExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataCatalogCommandOutput | UpdateNamedQueryCommandOutput | UpdatePreparedStatementCommandOutput | UpdateWorkGroupCommandOutput;
71
+ export declare type ServiceInputTypes = BatchGetNamedQueryCommandInput | BatchGetPreparedStatementCommandInput | BatchGetQueryExecutionCommandInput | CreateDataCatalogCommandInput | CreateNamedQueryCommandInput | CreateNotebookCommandInput | CreatePreparedStatementCommandInput | CreatePresignedNotebookUrlCommandInput | CreateWorkGroupCommandInput | DeleteDataCatalogCommandInput | DeleteNamedQueryCommandInput | DeleteNotebookCommandInput | DeletePreparedStatementCommandInput | DeleteWorkGroupCommandInput | ExportNotebookCommandInput | GetCalculationExecutionCodeCommandInput | GetCalculationExecutionCommandInput | GetCalculationExecutionStatusCommandInput | GetDataCatalogCommandInput | GetDatabaseCommandInput | GetNamedQueryCommandInput | GetNotebookMetadataCommandInput | GetPreparedStatementCommandInput | GetQueryExecutionCommandInput | GetQueryResultsCommandInput | GetQueryRuntimeStatisticsCommandInput | GetSessionCommandInput | GetSessionStatusCommandInput | GetTableMetadataCommandInput | GetWorkGroupCommandInput | ImportNotebookCommandInput | ListApplicationDPUSizesCommandInput | ListCalculationExecutionsCommandInput | ListDataCatalogsCommandInput | ListDatabasesCommandInput | ListEngineVersionsCommandInput | ListExecutorsCommandInput | ListNamedQueriesCommandInput | ListNotebookMetadataCommandInput | ListNotebookSessionsCommandInput | ListPreparedStatementsCommandInput | ListQueryExecutionsCommandInput | ListSessionsCommandInput | ListTableMetadataCommandInput | ListTagsForResourceCommandInput | ListWorkGroupsCommandInput | StartCalculationExecutionCommandInput | StartQueryExecutionCommandInput | StartSessionCommandInput | StopCalculationExecutionCommandInput | StopQueryExecutionCommandInput | TagResourceCommandInput | TerminateSessionCommandInput | UntagResourceCommandInput | UpdateDataCatalogCommandInput | UpdateNamedQueryCommandInput | UpdateNotebookCommandInput | UpdateNotebookMetadataCommandInput | UpdatePreparedStatementCommandInput | UpdateWorkGroupCommandInput;
72
+ export declare type ServiceOutputTypes = BatchGetNamedQueryCommandOutput | BatchGetPreparedStatementCommandOutput | BatchGetQueryExecutionCommandOutput | CreateDataCatalogCommandOutput | CreateNamedQueryCommandOutput | CreateNotebookCommandOutput | CreatePreparedStatementCommandOutput | CreatePresignedNotebookUrlCommandOutput | CreateWorkGroupCommandOutput | DeleteDataCatalogCommandOutput | DeleteNamedQueryCommandOutput | DeleteNotebookCommandOutput | DeletePreparedStatementCommandOutput | DeleteWorkGroupCommandOutput | ExportNotebookCommandOutput | GetCalculationExecutionCodeCommandOutput | GetCalculationExecutionCommandOutput | GetCalculationExecutionStatusCommandOutput | GetDataCatalogCommandOutput | GetDatabaseCommandOutput | GetNamedQueryCommandOutput | GetNotebookMetadataCommandOutput | GetPreparedStatementCommandOutput | GetQueryExecutionCommandOutput | GetQueryResultsCommandOutput | GetQueryRuntimeStatisticsCommandOutput | GetSessionCommandOutput | GetSessionStatusCommandOutput | GetTableMetadataCommandOutput | GetWorkGroupCommandOutput | ImportNotebookCommandOutput | ListApplicationDPUSizesCommandOutput | ListCalculationExecutionsCommandOutput | ListDataCatalogsCommandOutput | ListDatabasesCommandOutput | ListEngineVersionsCommandOutput | ListExecutorsCommandOutput | ListNamedQueriesCommandOutput | ListNotebookMetadataCommandOutput | ListNotebookSessionsCommandOutput | ListPreparedStatementsCommandOutput | ListQueryExecutionsCommandOutput | ListSessionsCommandOutput | ListTableMetadataCommandOutput | ListTagsForResourceCommandOutput | ListWorkGroupsCommandOutput | StartCalculationExecutionCommandOutput | StartQueryExecutionCommandOutput | StartSessionCommandOutput | StopCalculationExecutionCommandOutput | StopQueryExecutionCommandOutput | TagResourceCommandOutput | TerminateSessionCommandOutput | UntagResourceCommandOutput | UpdateDataCatalogCommandOutput | UpdateNamedQueryCommandOutput | UpdateNotebookCommandOutput | UpdateNotebookMetadataCommandOutput | UpdatePreparedStatementCommandOutput | UpdateWorkGroupCommandOutput;
50
73
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
51
74
  /**
52
75
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -8,7 +8,11 @@ export interface BatchGetPreparedStatementCommandInput extends BatchGetPreparedS
8
8
  export interface BatchGetPreparedStatementCommandOutput extends BatchGetPreparedStatementOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns the details of a single prepared statement or a list of up to 256 prepared statements for the array of prepared statement names that you provide. Requires you to have access to the workgroup to which the prepared statements belong. If a prepared statement cannot be retrieved for the name specified, the statement is listed in <code>UnprocessedPreparedStatementNames</code>.</p>
11
+ * <p>Returns the details of a single prepared statement or a list of up to 256 prepared
12
+ * statements for the array of prepared statement names that you provide. Requires you to
13
+ * have access to the workgroup to which the prepared statements belong. If a prepared
14
+ * statement cannot be retrieved for the name specified, the statement is listed in
15
+ * <code>UnprocessedPreparedStatementNames</code>.</p>
12
16
  * @example
13
17
  * Use a bare-bones client and the command you need to make an API call.
14
18
  * ```javascript
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { CreateNotebookInput, CreateNotebookOutput } from "../models/models_0";
6
+ export interface CreateNotebookCommandInput extends CreateNotebookInput {
7
+ }
8
+ export interface CreateNotebookCommandOutput extends CreateNotebookOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Creates an empty <code>ipynb</code> file in the specified Apache Spark enabled
12
+ * workgroup. Throws an error if a file in the workgroup with the same name already
13
+ * exists.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { AthenaClient, CreateNotebookCommand } from "@aws-sdk/client-athena"; // ES Modules import
18
+ * // const { AthenaClient, CreateNotebookCommand } = require("@aws-sdk/client-athena"); // CommonJS import
19
+ * const client = new AthenaClient(config);
20
+ * const command = new CreateNotebookCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link CreateNotebookCommandInput} for command's `input` shape.
25
+ * @see {@link CreateNotebookCommandOutput} for command's `response` shape.
26
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class CreateNotebookCommand extends $Command<CreateNotebookCommandInput, CreateNotebookCommandOutput, AthenaClientResolvedConfig> {
30
+ readonly input: CreateNotebookCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: CreateNotebookCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateNotebookCommandInput, CreateNotebookCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { CreatePresignedNotebookUrlRequest, CreatePresignedNotebookUrlResponse } from "../models/models_0";
6
+ export interface CreatePresignedNotebookUrlCommandInput extends CreatePresignedNotebookUrlRequest {
7
+ }
8
+ export interface CreatePresignedNotebookUrlCommandOutput extends CreatePresignedNotebookUrlResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets an authentication token and the URL at which the notebook can be accessed. During
12
+ * programmatic access, <code>CreatePresignedNotebookUrl</code> must be called every 10
13
+ * minutes to refresh the authentication token.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { AthenaClient, CreatePresignedNotebookUrlCommand } from "@aws-sdk/client-athena"; // ES Modules import
18
+ * // const { AthenaClient, CreatePresignedNotebookUrlCommand } = require("@aws-sdk/client-athena"); // CommonJS import
19
+ * const client = new AthenaClient(config);
20
+ * const command = new CreatePresignedNotebookUrlCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link CreatePresignedNotebookUrlCommandInput} for command's `input` shape.
25
+ * @see {@link CreatePresignedNotebookUrlCommandOutput} for command's `response` shape.
26
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class CreatePresignedNotebookUrlCommand extends $Command<CreatePresignedNotebookUrlCommandInput, CreatePresignedNotebookUrlCommandOutput, AthenaClientResolvedConfig> {
30
+ readonly input: CreatePresignedNotebookUrlCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: CreatePresignedNotebookUrlCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePresignedNotebookUrlCommandInput, CreatePresignedNotebookUrlCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -8,7 +8,10 @@ export interface CreateWorkGroupCommandInput extends CreateWorkGroupInput {
8
8
  export interface CreateWorkGroupCommandOutput extends CreateWorkGroupOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a workgroup with the specified name.</p>
11
+ * <p>Creates a workgroup with the specified name. Only one of <code>Configurations</code>
12
+ * or <code>Configuration</code> can be specified; <code>Configurations</code> for a
13
+ * workgroup with multi engine support (for example, an Apache Spark enabled workgroup) or
14
+ * <code>Configuration</code> for an Athena SQL workgroup.</p>
12
15
  * @example
13
16
  * Use a bare-bones client and the command you need to make an API call.
14
17
  * ```javascript
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
5
+ import { DeleteNotebookInput, DeleteNotebookOutput } from "../models/models_0";
6
+ export interface DeleteNotebookCommandInput extends DeleteNotebookInput {
7
+ }
8
+ export interface DeleteNotebookCommandOutput extends DeleteNotebookOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Deletes the specified notebook.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { AthenaClient, DeleteNotebookCommand } from "@aws-sdk/client-athena"; // ES Modules import
16
+ * // const { AthenaClient, DeleteNotebookCommand } = require("@aws-sdk/client-athena"); // CommonJS import
17
+ * const client = new AthenaClient(config);
18
+ * const command = new DeleteNotebookCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteNotebookCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteNotebookCommandOutput} for command's `response` shape.
24
+ * @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteNotebookCommand extends $Command<DeleteNotebookCommandInput, DeleteNotebookCommandOutput, AthenaClientResolvedConfig> {
28
+ readonly input: DeleteNotebookCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteNotebookCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteNotebookCommandInput, DeleteNotebookCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }