@aws-sdk/client-athena 3.1168.0 → 3.1170.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1167.0";
72
+ var version = "3.1169.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -247,6 +247,7 @@ const _AEC = "AthenaErrorCode";
247
247
  const _ARI = "ApplicationRuntimeId";
248
248
  const _AT = "AuthToken";
249
249
  const _ATET = "AuthTokenExpirationTime";
250
+ const _ATG = "AttributesToGet";
250
251
  const _ATu = "AuthenticationType";
251
252
  const _BGNQ = "BatchGetNamedQuery";
252
253
  const _BGNQI = "BatchGetNamedQueryInput";
@@ -1390,8 +1391,8 @@ var ListCapacityReservationsOutput$ = [3, n0, _LCRO,
1390
1391
  ];
1391
1392
  var ListDatabasesInput$ = [3, n0, _LDI,
1392
1393
  0,
1393
- [_CN, _NT, _MR, _WG],
1394
- [0, 0, 1, 0], 1
1394
+ [_CN, _NT, _MR, _WG, _ATG],
1395
+ [0, 0, 1, 0, 64 | 0], 1
1395
1396
  ];
1396
1397
  var ListDatabasesOutput$ = [3, n0, _LDO,
1397
1398
  0,
@@ -1500,8 +1501,8 @@ var ListSystemTableStatusesOutput$ = [3, n0, _LSTSO,
1500
1501
  ];
1501
1502
  var ListTableMetadataInput$ = [3, n0, _LTMI,
1502
1503
  0,
1503
- [_CN, _DN, _Ex, _NT, _MR, _WG],
1504
- [0, 0, 0, 0, 1, 0], 2
1504
+ [_CN, _DN, _Ex, _NT, _MR, _WG, _ATG],
1505
+ [0, 0, 0, 0, 1, 0, 64 | 0], 2
1505
1506
  ];
1506
1507
  var ListTableMetadataOutput$ = [3, n0, _LTMO,
1507
1508
  0,
@@ -2853,6 +2854,9 @@ const WorkGroupState = {
2853
2854
  DISABLED: "DISABLED",
2854
2855
  ENABLED: "ENABLED",
2855
2856
  };
2857
+ const DatabaseAttributes = {
2858
+ NAME: "NAME",
2859
+ };
2856
2860
  const ExecutorState = {
2857
2861
  CREATED: "CREATED",
2858
2862
  CREATING: "CREATING",
@@ -2866,6 +2870,10 @@ const ExecutorType = {
2866
2870
  GATEWAY: "GATEWAY",
2867
2871
  WORKER: "WORKER",
2868
2872
  };
2873
+ const TableAttributes = {
2874
+ NAME: "NAME",
2875
+ TABLE_TYPE: "TABLE_TYPE",
2876
+ };
2869
2877
 
2870
2878
  exports.AclConfiguration$ = AclConfiguration$;
2871
2879
  exports.ApplicationDPUSizes$ = ApplicationDPUSizes$;
@@ -2947,6 +2955,7 @@ exports.DataCatalogStatus = DataCatalogStatus;
2947
2955
  exports.DataCatalogSummary$ = DataCatalogSummary$;
2948
2956
  exports.DataCatalogType = DataCatalogType;
2949
2957
  exports.Database$ = Database$;
2958
+ exports.DatabaseAttributes = DatabaseAttributes;
2950
2959
  exports.Datum$ = Datum$;
2951
2960
  exports.DeleteCapacityReservation$ = DeleteCapacityReservation$;
2952
2961
  exports.DeleteCapacityReservationCommand = DeleteCapacityReservationCommand;
@@ -3217,6 +3226,7 @@ exports.StopQueryExecutionOutput$ = StopQueryExecutionOutput$;
3217
3226
  exports.SystemTableName = SystemTableName;
3218
3227
  exports.SystemTableStatus$ = SystemTableStatus$;
3219
3228
  exports.SystemTableType = SystemTableType;
3229
+ exports.TableAttributes = TableAttributes;
3220
3230
  exports.TableMetadata$ = TableMetadata$;
3221
3231
  exports.Tag$ = Tag$;
3222
3232
  exports.TagResource$ = TagResource$;
@@ -118,6 +118,9 @@ export const WorkGroupState = {
118
118
  DISABLED: "DISABLED",
119
119
  ENABLED: "ENABLED",
120
120
  };
121
+ export const DatabaseAttributes = {
122
+ NAME: "NAME",
123
+ };
121
124
  export const ExecutorState = {
122
125
  CREATED: "CREATED",
123
126
  CREATING: "CREATING",
@@ -131,3 +134,7 @@ export const ExecutorType = {
131
134
  GATEWAY: "GATEWAY",
132
135
  WORKER: "WORKER",
133
136
  };
137
+ export const TableAttributes = {
138
+ NAME: "NAME",
139
+ TABLE_TYPE: "TABLE_TYPE",
140
+ };
@@ -9,6 +9,7 @@ const _AEC = "AthenaErrorCode";
9
9
  const _ARI = "ApplicationRuntimeId";
10
10
  const _AT = "AuthToken";
11
11
  const _ATET = "AuthTokenExpirationTime";
12
+ const _ATG = "AttributesToGet";
12
13
  const _ATu = "AuthenticationType";
13
14
  const _BGNQ = "BatchGetNamedQuery";
14
15
  const _BGNQI = "BatchGetNamedQueryInput";
@@ -1155,8 +1156,8 @@ export var ListCapacityReservationsOutput$ = [3, n0, _LCRO,
1155
1156
  ];
1156
1157
  export var ListDatabasesInput$ = [3, n0, _LDI,
1157
1158
  0,
1158
- [_CN, _NT, _MR, _WG],
1159
- [0, 0, 1, 0], 1
1159
+ [_CN, _NT, _MR, _WG, _ATG],
1160
+ [0, 0, 1, 0, 64 | 0], 1
1160
1161
  ];
1161
1162
  export var ListDatabasesOutput$ = [3, n0, _LDO,
1162
1163
  0,
@@ -1265,8 +1266,8 @@ export var ListSystemTableStatusesOutput$ = [3, n0, _LSTSO,
1265
1266
  ];
1266
1267
  export var ListTableMetadataInput$ = [3, n0, _LTMI,
1267
1268
  0,
1268
- [_CN, _DN, _Ex, _NT, _MR, _WG],
1269
- [0, 0, 0, 0, 1, 0], 2
1269
+ [_CN, _DN, _Ex, _NT, _MR, _WG, _ATG],
1270
+ [0, 0, 0, 0, 1, 0, 64 | 0], 2
1270
1271
  ];
1271
1272
  export var ListTableMetadataOutput$ = [3, n0, _LTMO,
1272
1273
  0,
@@ -1699,6 +1700,7 @@ var ColumnInfoList = [1, n0, _CIL,
1699
1700
  var ColumnList = [1, n0, _CLo,
1700
1701
  0, () => Column$
1701
1702
  ];
1703
+ var DatabaseAttributesList = 64 | 0;
1702
1704
  var DatabaseList = [1, n0, _DL,
1703
1705
  0, () => Database$
1704
1706
  ];
@@ -1754,6 +1756,7 @@ var SupportedDPUSizeList = 64 | 1;
1754
1756
  var SystemTableStatusList = [1, n0, _STSL,
1755
1757
  0, () => SystemTableStatus$
1756
1758
  ];
1759
+ var TableAttributesList = 64 | 0;
1757
1760
  var TableMetadataList = [1, n0, _TML,
1758
1761
  0, () => TableMetadata$
1759
1762
  ];
@@ -38,6 +38,9 @@ declare const ListDatabasesCommand_base: {
38
38
  * NextToken: "STRING_VALUE",
39
39
  * MaxResults: Number("int"),
40
40
  * WorkGroup: "STRING_VALUE",
41
+ * AttributesToGet: [ // DatabaseAttributesList
42
+ * "NAME",
43
+ * ],
41
44
  * };
42
45
  * const command = new ListDatabasesCommand(input);
43
46
  * const response = await client.send(command);
@@ -40,6 +40,9 @@ declare const ListTableMetadataCommand_base: {
40
40
  * NextToken: "STRING_VALUE",
41
41
  * MaxResults: Number("int"),
42
42
  * WorkGroup: "STRING_VALUE",
43
+ * AttributesToGet: [ // TableAttributesList
44
+ * "NAME" || "TABLE_TYPE",
45
+ * ],
43
46
  * };
44
47
  * const command = new ListTableMetadataCommand(input);
45
48
  * const response = await client.send(command);
@@ -270,6 +270,17 @@ export declare const WorkGroupState: {
270
270
  * @public
271
271
  */
272
272
  export type WorkGroupState = (typeof WorkGroupState)[keyof typeof WorkGroupState];
273
+ /**
274
+ * @public
275
+ * @enum
276
+ */
277
+ export declare const DatabaseAttributes: {
278
+ readonly NAME: "NAME";
279
+ };
280
+ /**
281
+ * @public
282
+ */
283
+ export type DatabaseAttributes = (typeof DatabaseAttributes)[keyof typeof DatabaseAttributes];
273
284
  /**
274
285
  * @public
275
286
  * @enum
@@ -299,3 +310,15 @@ export declare const ExecutorType: {
299
310
  * @public
300
311
  */
301
312
  export type ExecutorType = (typeof ExecutorType)[keyof typeof ExecutorType];
313
+ /**
314
+ * @public
315
+ * @enum
316
+ */
317
+ export declare const TableAttributes: {
318
+ readonly NAME: "NAME";
319
+ readonly TABLE_TYPE: "TABLE_TYPE";
320
+ };
321
+ /**
322
+ * @public
323
+ */
324
+ export type TableAttributes = (typeof TableAttributes)[keyof typeof TableAttributes];
@@ -1,4 +1,4 @@
1
- import type { AuthenticationType, CalculationExecutionState, CapacityAllocationStatus, CapacityReservationStatus, ColumnNullable, ConnectionType, DataCatalogStatus, DataCatalogType, EncryptionOption, ExecutorState, ExecutorType, NotebookType, QueryExecutionState, QueryResultType, S3AclOption, SessionState, StatementType, SystemTableName, SystemTableType, WorkGroupState } from "./enums";
1
+ import type { AuthenticationType, CalculationExecutionState, CapacityAllocationStatus, CapacityReservationStatus, ColumnNullable, ConnectionType, DatabaseAttributes, DataCatalogStatus, DataCatalogType, EncryptionOption, ExecutorState, ExecutorType, NotebookType, QueryExecutionState, QueryResultType, S3AclOption, SessionState, StatementType, SystemTableName, SystemTableType, TableAttributes, WorkGroupState } from "./enums";
2
2
  /**
3
3
  * <p>Indicates that an Amazon S3 canned ACL should be set to control ownership of
4
4
  * stored query results, including data files inserted by Athena as the result
@@ -1623,9 +1623,7 @@ export interface WorkGroupConfiguration {
1623
1623
  */
1624
1624
  RequesterPaysEnabled?: boolean | undefined;
1625
1625
  /**
1626
- * <p>The engine version that all queries running on the workgroup use. Queries on the
1627
- * <code>AmazonAthenaPreviewFunctionality</code> workgroup run on the preview engine
1628
- * regardless of this setting.</p>
1626
+ * <p>The engine version that all queries running on the workgroup use.</p>
1629
1627
  * @public
1630
1628
  */
1631
1629
  EngineVersion?: EngineVersion | undefined;
@@ -3364,6 +3362,19 @@ export interface ListDatabasesInput {
3364
3362
  * @public
3365
3363
  */
3366
3364
  WorkGroup?: string | undefined;
3365
+ /**
3366
+ * <p>Specifies the database properties returned by the <code>ListDatabases</code>
3367
+ * call. The only valid value is <code>NAME</code>, which returns only the name of
3368
+ * each database and omits the remaining properties. If you omit this parameter or
3369
+ * specify an empty list, all database properties are returned.</p>
3370
+ * <p>Requesting only names can reduce response time for catalogs that contain many
3371
+ * databases, especially resource links to databases shared from other
3372
+ * accounts.</p>
3373
+ * <p>This parameter applies only to the Glue Data Catalog. For other data
3374
+ * catalog types, it is ignored.</p>
3375
+ * @public
3376
+ */
3377
+ AttributesToGet?: DatabaseAttributes[] | undefined;
3367
3378
  }
3368
3379
  /**
3369
3380
  * @public
@@ -4073,6 +4084,20 @@ export interface ListTableMetadataInput {
4073
4084
  * @public
4074
4085
  */
4075
4086
  WorkGroup?: string | undefined;
4087
+ /**
4088
+ * <p>Specifies the table properties returned by the <code>ListTableMetadata</code>
4089
+ * call. This parameter doesn't accept an empty list, and the request must include
4090
+ * <code>NAME</code>. The valid combinations of values are <code>NAME</code>, which
4091
+ * returns the name of each table, and <code>NAME</code> and <code>TABLE_TYPE</code>,
4092
+ * which return the name and table type of each table. The remaining properties are
4093
+ * omitted. If you omit this parameter, all table properties are returned.</p>
4094
+ * <p>Requesting only the properties you need can reduce response time for databases
4095
+ * that contain many tables.</p>
4096
+ * <p>This parameter applies only to the Glue Data Catalog. For other data
4097
+ * catalog types, it is ignored.</p>
4098
+ * @public
4099
+ */
4100
+ AttributesToGet?: TableAttributes[] | undefined;
4076
4101
  }
4077
4102
  /**
4078
4103
  * @public
@@ -4173,9 +4198,7 @@ export interface WorkGroupSummary {
4173
4198
  */
4174
4199
  CreationTime?: Date | undefined;
4175
4200
  /**
4176
- * <p>The engine version setting for all queries on the workgroup. Queries on the
4177
- * <code>AmazonAthenaPreviewFunctionality</code> workgroup run on the preview engine
4178
- * regardless of this setting.</p>
4201
+ * <p>The engine version setting for all queries on the workgroup.</p>
4179
4202
  * @public
4180
4203
  */
4181
4204
  EngineVersion?: EngineVersion | undefined;
@@ -5067,8 +5090,7 @@ export interface WorkGroupConfigurationUpdates {
5067
5090
  /**
5068
5091
  * <p>The engine version requested when a workgroup is updated. After the update, all
5069
5092
  * queries on the workgroup run on the requested engine version. If no value was previously
5070
- * set, the default is Auto. Queries on the <code>AmazonAthenaPreviewFunctionality</code>
5071
- * workgroup run on the preview engine regardless of this setting.</p>
5093
+ * set, the default is Auto.</p>
5072
5094
  * @public
5073
5095
  */
5074
5096
  EngineVersion?: EngineVersion | undefined;
@@ -140,6 +140,10 @@ export declare const WorkGroupState: {
140
140
  readonly ENABLED: "ENABLED";
141
141
  };
142
142
  export type WorkGroupState = (typeof WorkGroupState)[keyof typeof WorkGroupState];
143
+ export declare const DatabaseAttributes: {
144
+ readonly NAME: "NAME";
145
+ };
146
+ export type DatabaseAttributes = (typeof DatabaseAttributes)[keyof typeof DatabaseAttributes];
143
147
  export declare const ExecutorState: {
144
148
  readonly CREATED: "CREATED";
145
149
  readonly CREATING: "CREATING";
@@ -155,3 +159,8 @@ export declare const ExecutorType: {
155
159
  readonly WORKER: "WORKER";
156
160
  };
157
161
  export type ExecutorType = (typeof ExecutorType)[keyof typeof ExecutorType];
162
+ export declare const TableAttributes: {
163
+ readonly NAME: "NAME";
164
+ readonly TABLE_TYPE: "TABLE_TYPE";
165
+ };
166
+ export type TableAttributes = (typeof TableAttributes)[keyof typeof TableAttributes];
@@ -5,6 +5,7 @@ import {
5
5
  CapacityReservationStatus,
6
6
  ColumnNullable,
7
7
  ConnectionType,
8
+ DatabaseAttributes,
8
9
  DataCatalogStatus,
9
10
  DataCatalogType,
10
11
  EncryptionOption,
@@ -18,6 +19,7 @@ import {
18
19
  StatementType,
19
20
  SystemTableName,
20
21
  SystemTableType,
22
+ TableAttributes,
21
23
  WorkGroupState,
22
24
  } from "./enums";
23
25
  export interface AclConfiguration {
@@ -675,6 +677,7 @@ export interface ListDatabasesInput {
675
677
  NextToken?: string | undefined;
676
678
  MaxResults?: number | undefined;
677
679
  WorkGroup?: string | undefined;
680
+ AttributesToGet?: DatabaseAttributes[] | undefined;
678
681
  }
679
682
  export interface ListDatabasesOutput {
680
683
  DatabaseList?: Database[] | undefined;
@@ -812,6 +815,7 @@ export interface ListTableMetadataInput {
812
815
  NextToken?: string | undefined;
813
816
  MaxResults?: number | undefined;
814
817
  WorkGroup?: string | undefined;
818
+ AttributesToGet?: TableAttributes[] | undefined;
815
819
  }
816
820
  export interface ListTableMetadataOutput {
817
821
  TableMetadataList?: TableMetadata[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-athena",
3
- "version": "3.1168.0",
3
+ "version": "3.1170.0",
4
4
  "description": "AWS SDK for JavaScript Athena Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-athena",
6
6
  "license": "Apache-2.0",