@aws-sdk/client-athena 3.674.0 → 3.675.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 +0 -48
- package/dist-es/models/models_0.js +0 -44
- package/dist-types/commands/CreateDataCatalogCommand.d.ts +3 -15
- package/dist-types/commands/DeleteDataCatalogCommand.d.ts +2 -14
- package/dist-types/commands/GetDataCatalogCommand.d.ts +1 -4
- package/dist-types/commands/ListDataCatalogsCommand.d.ts +1 -4
- package/dist-types/commands/UpdateDataCatalogCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +101 -394
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDataCatalogCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteDataCatalogCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +8 -66
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -33,7 +33,6 @@ __export(src_exports, {
|
|
|
33
33
|
CapacityAllocationStatus: () => CapacityAllocationStatus,
|
|
34
34
|
CapacityReservationStatus: () => CapacityReservationStatus,
|
|
35
35
|
ColumnNullable: () => ColumnNullable,
|
|
36
|
-
ConnectionType: () => ConnectionType,
|
|
37
36
|
CreateCapacityReservationCommand: () => CreateCapacityReservationCommand,
|
|
38
37
|
CreateDataCatalogCommand: () => CreateDataCatalogCommand,
|
|
39
38
|
CreateNamedQueryCommand: () => CreateNamedQueryCommand,
|
|
@@ -41,7 +40,6 @@ __export(src_exports, {
|
|
|
41
40
|
CreatePreparedStatementCommand: () => CreatePreparedStatementCommand,
|
|
42
41
|
CreatePresignedNotebookUrlCommand: () => CreatePresignedNotebookUrlCommand,
|
|
43
42
|
CreateWorkGroupCommand: () => CreateWorkGroupCommand,
|
|
44
|
-
DataCatalogStatus: () => DataCatalogStatus,
|
|
45
43
|
DataCatalogType: () => DataCatalogType,
|
|
46
44
|
DeleteCapacityReservationCommand: () => DeleteCapacityReservationCommand,
|
|
47
45
|
DeleteDataCatalogCommand: () => DeleteDataCatalogCommand,
|
|
@@ -362,54 +360,10 @@ var QueryExecutionState = {
|
|
|
362
360
|
SUCCEEDED: "SUCCEEDED"
|
|
363
361
|
};
|
|
364
362
|
var DataCatalogType = {
|
|
365
|
-
FEDERATED: "FEDERATED",
|
|
366
363
|
GLUE: "GLUE",
|
|
367
364
|
HIVE: "HIVE",
|
|
368
365
|
LAMBDA: "LAMBDA"
|
|
369
366
|
};
|
|
370
|
-
var ConnectionType = {
|
|
371
|
-
BIGQUERY: "BIGQUERY",
|
|
372
|
-
CLOUDERAHIVE: "CLOUDERAHIVE",
|
|
373
|
-
CLOUDERAIMPALA: "CLOUDERAIMPALA",
|
|
374
|
-
CLOUDWATCH: "CLOUDWATCH",
|
|
375
|
-
CLOUDWATCHMETRICS: "CLOUDWATCHMETRICS",
|
|
376
|
-
CMDB: "CMDB",
|
|
377
|
-
DATALAKEGEN2: "DATALAKEGEN2",
|
|
378
|
-
DB2: "DB2",
|
|
379
|
-
DB2AS400: "DB2AS400",
|
|
380
|
-
DOCUMENTDB: "DOCUMENTDB",
|
|
381
|
-
DYNAMODB: "DYNAMODB",
|
|
382
|
-
GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE",
|
|
383
|
-
HBASE: "HBASE",
|
|
384
|
-
HORTONWORKSHIVE: "HORTONWORKSHIVE",
|
|
385
|
-
MSK: "MSK",
|
|
386
|
-
MYSQL: "MYSQL",
|
|
387
|
-
NEPTUNE: "NEPTUNE",
|
|
388
|
-
OPENSEARCH: "OPENSEARCH",
|
|
389
|
-
ORACLE: "ORACLE",
|
|
390
|
-
POSTGRESQL: "POSTGRESQL",
|
|
391
|
-
REDIS: "REDIS",
|
|
392
|
-
REDSHIFT: "REDSHIFT",
|
|
393
|
-
SAPHANA: "SAPHANA",
|
|
394
|
-
SNOWFLAKE: "SNOWFLAKE",
|
|
395
|
-
SQLSERVER: "SQLSERVER",
|
|
396
|
-
SYNAPSE: "SYNAPSE",
|
|
397
|
-
TERADATA: "TERADATA",
|
|
398
|
-
TIMESTREAM: "TIMESTREAM",
|
|
399
|
-
TPCDS: "TPCDS",
|
|
400
|
-
VERTICA: "VERTICA"
|
|
401
|
-
};
|
|
402
|
-
var DataCatalogStatus = {
|
|
403
|
-
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
404
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
405
|
-
CREATE_FAILED_CLEANUP_COMPLETE: "CREATE_FAILED_CLEANUP_COMPLETE",
|
|
406
|
-
CREATE_FAILED_CLEANUP_FAILED: "CREATE_FAILED_CLEANUP_FAILED",
|
|
407
|
-
CREATE_FAILED_CLEANUP_IN_PROGRESS: "CREATE_FAILED_CLEANUP_IN_PROGRESS",
|
|
408
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
409
|
-
DELETE_COMPLETE: "DELETE_COMPLETE",
|
|
410
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
411
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
|
|
412
|
-
};
|
|
413
367
|
var ThrottleReason = {
|
|
414
368
|
CONCURRENT_QUERY_LIMIT_EXCEEDED: "CONCURRENT_QUERY_LIMIT_EXCEEDED"
|
|
415
369
|
};
|
|
@@ -3553,8 +3507,6 @@ var paginateListWorkGroups = (0, import_core.createPaginator)(AthenaClient, List
|
|
|
3553
3507
|
StatementType,
|
|
3554
3508
|
QueryExecutionState,
|
|
3555
3509
|
DataCatalogType,
|
|
3556
|
-
ConnectionType,
|
|
3557
|
-
DataCatalogStatus,
|
|
3558
3510
|
ThrottleReason,
|
|
3559
3511
|
TooManyRequestsException,
|
|
3560
3512
|
ResourceNotFoundException,
|
|
@@ -50,54 +50,10 @@ export const QueryExecutionState = {
|
|
|
50
50
|
SUCCEEDED: "SUCCEEDED",
|
|
51
51
|
};
|
|
52
52
|
export const DataCatalogType = {
|
|
53
|
-
FEDERATED: "FEDERATED",
|
|
54
53
|
GLUE: "GLUE",
|
|
55
54
|
HIVE: "HIVE",
|
|
56
55
|
LAMBDA: "LAMBDA",
|
|
57
56
|
};
|
|
58
|
-
export const ConnectionType = {
|
|
59
|
-
BIGQUERY: "BIGQUERY",
|
|
60
|
-
CLOUDERAHIVE: "CLOUDERAHIVE",
|
|
61
|
-
CLOUDERAIMPALA: "CLOUDERAIMPALA",
|
|
62
|
-
CLOUDWATCH: "CLOUDWATCH",
|
|
63
|
-
CLOUDWATCHMETRICS: "CLOUDWATCHMETRICS",
|
|
64
|
-
CMDB: "CMDB",
|
|
65
|
-
DATALAKEGEN2: "DATALAKEGEN2",
|
|
66
|
-
DB2: "DB2",
|
|
67
|
-
DB2AS400: "DB2AS400",
|
|
68
|
-
DOCUMENTDB: "DOCUMENTDB",
|
|
69
|
-
DYNAMODB: "DYNAMODB",
|
|
70
|
-
GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE",
|
|
71
|
-
HBASE: "HBASE",
|
|
72
|
-
HORTONWORKSHIVE: "HORTONWORKSHIVE",
|
|
73
|
-
MSK: "MSK",
|
|
74
|
-
MYSQL: "MYSQL",
|
|
75
|
-
NEPTUNE: "NEPTUNE",
|
|
76
|
-
OPENSEARCH: "OPENSEARCH",
|
|
77
|
-
ORACLE: "ORACLE",
|
|
78
|
-
POSTGRESQL: "POSTGRESQL",
|
|
79
|
-
REDIS: "REDIS",
|
|
80
|
-
REDSHIFT: "REDSHIFT",
|
|
81
|
-
SAPHANA: "SAPHANA",
|
|
82
|
-
SNOWFLAKE: "SNOWFLAKE",
|
|
83
|
-
SQLSERVER: "SQLSERVER",
|
|
84
|
-
SYNAPSE: "SYNAPSE",
|
|
85
|
-
TERADATA: "TERADATA",
|
|
86
|
-
TIMESTREAM: "TIMESTREAM",
|
|
87
|
-
TPCDS: "TPCDS",
|
|
88
|
-
VERTICA: "VERTICA",
|
|
89
|
-
};
|
|
90
|
-
export const DataCatalogStatus = {
|
|
91
|
-
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
92
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
93
|
-
CREATE_FAILED_CLEANUP_COMPLETE: "CREATE_FAILED_CLEANUP_COMPLETE",
|
|
94
|
-
CREATE_FAILED_CLEANUP_FAILED: "CREATE_FAILED_CLEANUP_FAILED",
|
|
95
|
-
CREATE_FAILED_CLEANUP_IN_PROGRESS: "CREATE_FAILED_CLEANUP_IN_PROGRESS",
|
|
96
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
97
|
-
DELETE_COMPLETE: "DELETE_COMPLETE",
|
|
98
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
99
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
100
|
-
};
|
|
101
57
|
export const ThrottleReason = {
|
|
102
58
|
CONCURRENT_QUERY_LIMIT_EXCEEDED: "CONCURRENT_QUERY_LIMIT_EXCEEDED",
|
|
103
59
|
};
|
|
@@ -37,7 +37,7 @@ declare const CreateDataCatalogCommand_base: {
|
|
|
37
37
|
* const client = new AthenaClient(config);
|
|
38
38
|
* const input = { // CreateDataCatalogInput
|
|
39
39
|
* Name: "STRING_VALUE", // required
|
|
40
|
-
* Type: "LAMBDA" || "GLUE" || "HIVE"
|
|
40
|
+
* Type: "LAMBDA" || "GLUE" || "HIVE", // required
|
|
41
41
|
* Description: "STRING_VALUE",
|
|
42
42
|
* Parameters: { // ParametersMap
|
|
43
43
|
* "<keys>": "STRING_VALUE",
|
|
@@ -51,19 +51,7 @@ declare const CreateDataCatalogCommand_base: {
|
|
|
51
51
|
* };
|
|
52
52
|
* const command = new CreateDataCatalogCommand(input);
|
|
53
53
|
* const response = await client.send(command);
|
|
54
|
-
* // {
|
|
55
|
-
* // DataCatalog: { // DataCatalog
|
|
56
|
-
* // Name: "STRING_VALUE", // required
|
|
57
|
-
* // Description: "STRING_VALUE",
|
|
58
|
-
* // Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", // required
|
|
59
|
-
* // Parameters: { // ParametersMap
|
|
60
|
-
* // "<keys>": "STRING_VALUE",
|
|
61
|
-
* // },
|
|
62
|
-
* // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "CREATE_FAILED_CLEANUP_IN_PROGRESS" || "CREATE_FAILED_CLEANUP_COMPLETE" || "CREATE_FAILED_CLEANUP_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED",
|
|
63
|
-
* // ConnectionType: "DYNAMODB" || "MYSQL" || "POSTGRESQL" || "REDSHIFT" || "ORACLE" || "SYNAPSE" || "SQLSERVER" || "DB2" || "OPENSEARCH" || "BIGQUERY" || "GOOGLECLOUDSTORAGE" || "HBASE" || "DOCUMENTDB" || "MSK" || "NEPTUNE" || "CMDB" || "TPCDS" || "REDIS" || "CLOUDWATCH" || "TIMESTREAM" || "SAPHANA" || "SNOWFLAKE" || "TERADATA" || "VERTICA" || "CLOUDERAIMPALA" || "CLOUDERAHIVE" || "HORTONWORKSHIVE" || "DATALAKEGEN2" || "DB2AS400" || "CLOUDWATCHMETRICS",
|
|
64
|
-
* // Error: "STRING_VALUE",
|
|
65
|
-
* // },
|
|
66
|
-
* // };
|
|
54
|
+
* // {};
|
|
67
55
|
*
|
|
68
56
|
* ```
|
|
69
57
|
*
|
|
@@ -91,7 +79,7 @@ export declare class CreateDataCatalogCommand extends CreateDataCatalogCommand_b
|
|
|
91
79
|
protected static __types: {
|
|
92
80
|
api: {
|
|
93
81
|
input: CreateDataCatalogInput;
|
|
94
|
-
output:
|
|
82
|
+
output: {};
|
|
95
83
|
};
|
|
96
84
|
sdk: {
|
|
97
85
|
input: CreateDataCatalogCommandInput;
|
|
@@ -39,19 +39,7 @@ declare const DeleteDataCatalogCommand_base: {
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new DeleteDataCatalogCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
-
* // {
|
|
43
|
-
* // DataCatalog: { // DataCatalog
|
|
44
|
-
* // Name: "STRING_VALUE", // required
|
|
45
|
-
* // Description: "STRING_VALUE",
|
|
46
|
-
* // Type: "LAMBDA" || "GLUE" || "HIVE" || "FEDERATED", // required
|
|
47
|
-
* // Parameters: { // ParametersMap
|
|
48
|
-
* // "<keys>": "STRING_VALUE",
|
|
49
|
-
* // },
|
|
50
|
-
* // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "CREATE_FAILED_CLEANUP_IN_PROGRESS" || "CREATE_FAILED_CLEANUP_COMPLETE" || "CREATE_FAILED_CLEANUP_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED",
|
|
51
|
-
* // ConnectionType: "DYNAMODB" || "MYSQL" || "POSTGRESQL" || "REDSHIFT" || "ORACLE" || "SYNAPSE" || "SQLSERVER" || "DB2" || "OPENSEARCH" || "BIGQUERY" || "GOOGLECLOUDSTORAGE" || "HBASE" || "DOCUMENTDB" || "MSK" || "NEPTUNE" || "CMDB" || "TPCDS" || "REDIS" || "CLOUDWATCH" || "TIMESTREAM" || "SAPHANA" || "SNOWFLAKE" || "TERADATA" || "VERTICA" || "CLOUDERAIMPALA" || "CLOUDERAHIVE" || "HORTONWORKSHIVE" || "DATALAKEGEN2" || "DB2AS400" || "CLOUDWATCHMETRICS",
|
|
52
|
-
* // Error: "STRING_VALUE",
|
|
53
|
-
* // },
|
|
54
|
-
* // };
|
|
42
|
+
* // {};
|
|
55
43
|
*
|
|
56
44
|
* ```
|
|
57
45
|
*
|
|
@@ -79,7 +67,7 @@ export declare class DeleteDataCatalogCommand extends DeleteDataCatalogCommand_b
|
|
|
79
67
|
protected static __types: {
|
|
80
68
|
api: {
|
|
81
69
|
input: DeleteDataCatalogInput;
|
|
82
|
-
output:
|
|
70
|
+
output: {};
|
|
83
71
|
};
|
|
84
72
|
sdk: {
|
|
85
73
|
input: DeleteDataCatalogCommandInput;
|
|
@@ -44,13 +44,10 @@ declare const GetDataCatalogCommand_base: {
|
|
|
44
44
|
* // DataCatalog: { // DataCatalog
|
|
45
45
|
* // Name: "STRING_VALUE", // required
|
|
46
46
|
* // Description: "STRING_VALUE",
|
|
47
|
-
* // Type: "LAMBDA" || "GLUE" || "HIVE"
|
|
47
|
+
* // Type: "LAMBDA" || "GLUE" || "HIVE", // required
|
|
48
48
|
* // Parameters: { // ParametersMap
|
|
49
49
|
* // "<keys>": "STRING_VALUE",
|
|
50
50
|
* // },
|
|
51
|
-
* // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "CREATE_FAILED_CLEANUP_IN_PROGRESS" || "CREATE_FAILED_CLEANUP_COMPLETE" || "CREATE_FAILED_CLEANUP_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED",
|
|
52
|
-
* // ConnectionType: "DYNAMODB" || "MYSQL" || "POSTGRESQL" || "REDSHIFT" || "ORACLE" || "SYNAPSE" || "SQLSERVER" || "DB2" || "OPENSEARCH" || "BIGQUERY" || "GOOGLECLOUDSTORAGE" || "HBASE" || "DOCUMENTDB" || "MSK" || "NEPTUNE" || "CMDB" || "TPCDS" || "REDIS" || "CLOUDWATCH" || "TIMESTREAM" || "SAPHANA" || "SNOWFLAKE" || "TERADATA" || "VERTICA" || "CLOUDERAIMPALA" || "CLOUDERAHIVE" || "HORTONWORKSHIVE" || "DATALAKEGEN2" || "DB2AS400" || "CLOUDWATCHMETRICS",
|
|
53
|
-
* // Error: "STRING_VALUE",
|
|
54
51
|
* // },
|
|
55
52
|
* // };
|
|
56
53
|
*
|
|
@@ -49,10 +49,7 @@ declare const ListDataCatalogsCommand_base: {
|
|
|
49
49
|
* // DataCatalogsSummary: [ // DataCatalogSummaryList
|
|
50
50
|
* // { // DataCatalogSummary
|
|
51
51
|
* // CatalogName: "STRING_VALUE",
|
|
52
|
-
* // Type: "LAMBDA" || "GLUE" || "HIVE"
|
|
53
|
-
* // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "CREATE_FAILED_CLEANUP_IN_PROGRESS" || "CREATE_FAILED_CLEANUP_COMPLETE" || "CREATE_FAILED_CLEANUP_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED",
|
|
54
|
-
* // ConnectionType: "DYNAMODB" || "MYSQL" || "POSTGRESQL" || "REDSHIFT" || "ORACLE" || "SYNAPSE" || "SQLSERVER" || "DB2" || "OPENSEARCH" || "BIGQUERY" || "GOOGLECLOUDSTORAGE" || "HBASE" || "DOCUMENTDB" || "MSK" || "NEPTUNE" || "CMDB" || "TPCDS" || "REDIS" || "CLOUDWATCH" || "TIMESTREAM" || "SAPHANA" || "SNOWFLAKE" || "TERADATA" || "VERTICA" || "CLOUDERAIMPALA" || "CLOUDERAHIVE" || "HORTONWORKSHIVE" || "DATALAKEGEN2" || "DB2AS400" || "CLOUDWATCHMETRICS",
|
|
55
|
-
* // Error: "STRING_VALUE",
|
|
52
|
+
* // Type: "LAMBDA" || "GLUE" || "HIVE",
|
|
56
53
|
* // },
|
|
57
54
|
* // ],
|
|
58
55
|
* // NextToken: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ declare const UpdateDataCatalogCommand_base: {
|
|
|
36
36
|
* const client = new AthenaClient(config);
|
|
37
37
|
* const input = { // UpdateDataCatalogInput
|
|
38
38
|
* Name: "STRING_VALUE", // required
|
|
39
|
-
* Type: "LAMBDA" || "GLUE" || "HIVE"
|
|
39
|
+
* Type: "LAMBDA" || "GLUE" || "HIVE", // required
|
|
40
40
|
* Description: "STRING_VALUE",
|
|
41
41
|
* Parameters: { // ParametersMap
|
|
42
42
|
* "<keys>": "STRING_VALUE",
|
|
@@ -13,16 +13,18 @@ export declare const S3AclOption: {
|
|
|
13
13
|
export type S3AclOption = (typeof S3AclOption)[keyof typeof S3AclOption];
|
|
14
14
|
/**
|
|
15
15
|
* <p>Indicates that an Amazon S3 canned ACL should be set to control ownership of
|
|
16
|
-
* stored query results
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* stored query results, including data files inserted by Athena as the result
|
|
17
|
+
* of statements like CTAS or INSERT INTO. When Athena stores query results in
|
|
18
|
+
* Amazon S3, the canned ACL is set with the <code>x-amz-acl</code> request
|
|
19
|
+
* header. For more information about S3 Object Ownership, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html#object-ownership-overview">Object Ownership settings</a> in the <i>Amazon S3 User
|
|
19
20
|
* Guide</i>.</p>
|
|
20
21
|
* @public
|
|
21
22
|
*/
|
|
22
23
|
export interface AclConfiguration {
|
|
23
24
|
/**
|
|
24
25
|
* <p>The Amazon S3 canned ACL that Athena should specify when storing
|
|
25
|
-
* query results
|
|
26
|
+
* query results, including data files inserted by Athena as the result
|
|
27
|
+
* of statements like CTAS or INSERT INTO. Currently the only supported canned ACL is
|
|
26
28
|
* <code>BUCKET_OWNER_FULL_CONTROL</code>. If a query runs in a workgroup and the
|
|
27
29
|
* workgroup overrides client-side settings, then the Amazon S3 canned ACL
|
|
28
30
|
* specified in the workgroup's settings is used for all queries that run in the workgroup.
|
|
@@ -848,7 +850,6 @@ export interface CreateCapacityReservationOutput {
|
|
|
848
850
|
* @enum
|
|
849
851
|
*/
|
|
850
852
|
export declare const DataCatalogType: {
|
|
851
|
-
readonly FEDERATED: "FEDERATED";
|
|
852
853
|
readonly GLUE: "GLUE";
|
|
853
854
|
readonly HIVE: "HIVE";
|
|
854
855
|
readonly LAMBDA: "LAMBDA";
|
|
@@ -871,10 +872,8 @@ export interface CreateDataCatalogInput {
|
|
|
871
872
|
Name: string | undefined;
|
|
872
873
|
/**
|
|
873
874
|
* <p>The type of data catalog to create: <code>LAMBDA</code> for a federated catalog,
|
|
874
|
-
* <code>
|
|
875
|
-
*
|
|
876
|
-
* Athena creates the connection and the Lambda function for
|
|
877
|
-
* you based on the parameters that you pass.</p>
|
|
875
|
+
* <code>HIVE</code> for an external hive metastore, or <code>GLUE</code> for an
|
|
876
|
+
* Glue Data Catalog.</p>
|
|
878
877
|
* @public
|
|
879
878
|
*/
|
|
880
879
|
Type: DataCatalogType | undefined;
|
|
@@ -941,39 +940,6 @@ export interface CreateDataCatalogInput {
|
|
|
941
940
|
* </li>
|
|
942
941
|
* </ul>
|
|
943
942
|
* </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>
|
|
977
943
|
* </ul>
|
|
978
944
|
* @public
|
|
979
945
|
*/
|
|
@@ -984,275 +950,10 @@ export interface CreateDataCatalogInput {
|
|
|
984
950
|
*/
|
|
985
951
|
Tags?: Tag[];
|
|
986
952
|
}
|
|
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
|
-
}
|
|
1243
953
|
/**
|
|
1244
954
|
* @public
|
|
1245
955
|
*/
|
|
1246
956
|
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;
|
|
1256
957
|
}
|
|
1257
958
|
/**
|
|
1258
959
|
* @public
|
|
@@ -1648,15 +1349,6 @@ export interface DeleteDataCatalogInput {
|
|
|
1648
1349
|
* @public
|
|
1649
1350
|
*/
|
|
1650
1351
|
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;
|
|
1660
1352
|
}
|
|
1661
1353
|
/**
|
|
1662
1354
|
* @public
|
|
@@ -2264,6 +1956,97 @@ export interface GetDataCatalogInput {
|
|
|
2264
1956
|
*/
|
|
2265
1957
|
WorkGroup?: string;
|
|
2266
1958
|
}
|
|
1959
|
+
/**
|
|
1960
|
+
* <p>Contains information about a data catalog in an Amazon Web Services account.</p>
|
|
1961
|
+
* <note>
|
|
1962
|
+
* <p>In the Athena console, data catalogs are listed as "data sources" on
|
|
1963
|
+
* the <b>Data sources</b> page under the <b>Data source name</b> column.</p>
|
|
1964
|
+
* </note>
|
|
1965
|
+
* @public
|
|
1966
|
+
*/
|
|
1967
|
+
export interface DataCatalog {
|
|
1968
|
+
/**
|
|
1969
|
+
* <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,
|
|
1970
|
+
* or hyphen characters. The remainder of the length constraint of 256 is reserved for use
|
|
1971
|
+
* by Athena.</p>
|
|
1972
|
+
* @public
|
|
1973
|
+
*/
|
|
1974
|
+
Name: string | undefined;
|
|
1975
|
+
/**
|
|
1976
|
+
* <p>An optional description of the data catalog.</p>
|
|
1977
|
+
* @public
|
|
1978
|
+
*/
|
|
1979
|
+
Description?: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* <p>The type of data catalog to create: <code>LAMBDA</code> for a federated catalog,
|
|
1982
|
+
* <code>HIVE</code> for an external hive metastore, or <code>GLUE</code> for an
|
|
1983
|
+
* Glue Data Catalog.</p>
|
|
1984
|
+
* @public
|
|
1985
|
+
*/
|
|
1986
|
+
Type: DataCatalogType | undefined;
|
|
1987
|
+
/**
|
|
1988
|
+
* <p>Specifies the Lambda function or functions to use for the data catalog.
|
|
1989
|
+
* This is a mapping whose values depend on the catalog type. </p>
|
|
1990
|
+
* <ul>
|
|
1991
|
+
* <li>
|
|
1992
|
+
* <p>For the <code>HIVE</code> data catalog type, use the following syntax. The
|
|
1993
|
+
* <code>metadata-function</code> parameter is required. <code>The
|
|
1994
|
+
* sdk-version</code> parameter is optional and defaults to the currently
|
|
1995
|
+
* supported version.</p>
|
|
1996
|
+
* <p>
|
|
1997
|
+
* <code>metadata-function=<i>lambda_arn</i>,
|
|
1998
|
+
* sdk-version=<i>version_number</i>
|
|
1999
|
+
* </code>
|
|
2000
|
+
* </p>
|
|
2001
|
+
* </li>
|
|
2002
|
+
* <li>
|
|
2003
|
+
* <p>For the <code>LAMBDA</code> data catalog type, use one of the following sets
|
|
2004
|
+
* of required parameters, but not both.</p>
|
|
2005
|
+
* <ul>
|
|
2006
|
+
* <li>
|
|
2007
|
+
* <p>If you have one Lambda function that processes metadata
|
|
2008
|
+
* and another for reading the actual data, use the following syntax. Both
|
|
2009
|
+
* parameters are required.</p>
|
|
2010
|
+
* <p>
|
|
2011
|
+
* <code>metadata-function=<i>lambda_arn</i>,
|
|
2012
|
+
* record-function=<i>lambda_arn</i>
|
|
2013
|
+
* </code>
|
|
2014
|
+
* </p>
|
|
2015
|
+
* </li>
|
|
2016
|
+
* <li>
|
|
2017
|
+
* <p> If you have a composite Lambda function that processes
|
|
2018
|
+
* both metadata and data, use the following syntax to specify your Lambda function.</p>
|
|
2019
|
+
* <p>
|
|
2020
|
+
* <code>function=<i>lambda_arn</i>
|
|
2021
|
+
* </code>
|
|
2022
|
+
* </p>
|
|
2023
|
+
* </li>
|
|
2024
|
+
* </ul>
|
|
2025
|
+
* </li>
|
|
2026
|
+
* <li>
|
|
2027
|
+
* <p>The <code>GLUE</code> type takes a catalog ID parameter and is required. The
|
|
2028
|
+
* <code>
|
|
2029
|
+
* <i>catalog_id</i>
|
|
2030
|
+
* </code> is the account ID of the
|
|
2031
|
+
* Amazon Web Services account to which the Glue catalog
|
|
2032
|
+
* belongs.</p>
|
|
2033
|
+
* <p>
|
|
2034
|
+
* <code>catalog-id=<i>catalog_id</i>
|
|
2035
|
+
* </code>
|
|
2036
|
+
* </p>
|
|
2037
|
+
* <ul>
|
|
2038
|
+
* <li>
|
|
2039
|
+
* <p>The <code>GLUE</code> data catalog type also applies to the default
|
|
2040
|
+
* <code>AwsDataCatalog</code> that already exists in your account, of
|
|
2041
|
+
* which you can have only one and cannot modify.</p>
|
|
2042
|
+
* </li>
|
|
2043
|
+
* </ul>
|
|
2044
|
+
* </li>
|
|
2045
|
+
* </ul>
|
|
2046
|
+
* @public
|
|
2047
|
+
*/
|
|
2048
|
+
Parameters?: Record<string, string>;
|
|
2049
|
+
}
|
|
2267
2050
|
/**
|
|
2268
2051
|
* @public
|
|
2269
2052
|
*/
|
|
@@ -2510,8 +2293,8 @@ export interface ResultSet {
|
|
|
2510
2293
|
*/
|
|
2511
2294
|
export interface GetQueryResultsOutput {
|
|
2512
2295
|
/**
|
|
2513
|
-
* <p>The number of rows inserted with a <code>CREATE TABLE AS SELECT</code>
|
|
2514
|
-
*
|
|
2296
|
+
* <p>The number of rows inserted with a <code>CREATE TABLE AS SELECT</code>, <code>INSERT
|
|
2297
|
+
* INTO</code>, or <code>UPDATE</code> statement. </p>
|
|
2515
2298
|
* @public
|
|
2516
2299
|
*/
|
|
2517
2300
|
UpdateCount?: number;
|
|
@@ -3340,82 +3123,6 @@ export interface DataCatalogSummary {
|
|
|
3340
3123
|
* @public
|
|
3341
3124
|
*/
|
|
3342
3125
|
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;
|
|
3419
3126
|
}
|
|
3420
3127
|
/**
|
|
3421
3128
|
* @public
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
|
-
defaultUserAgentProvider: (config
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
defaultUserAgentProvider: (config
|
|
23
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
24
24
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -40,7 +40,7 @@ export declare class CreateDataCatalogCommand extends CreateDataCatalogCommand_b
|
|
|
40
40
|
protected static __types: {
|
|
41
41
|
api: {
|
|
42
42
|
input: CreateDataCatalogInput;
|
|
43
|
-
output:
|
|
43
|
+
output: {};
|
|
44
44
|
};
|
|
45
45
|
sdk: {
|
|
46
46
|
input: CreateDataCatalogCommandInput;
|
|
@@ -40,7 +40,7 @@ export declare class DeleteDataCatalogCommand extends DeleteDataCatalogCommand_b
|
|
|
40
40
|
protected static __types: {
|
|
41
41
|
api: {
|
|
42
42
|
input: DeleteDataCatalogInput;
|
|
43
|
-
output:
|
|
43
|
+
output: {};
|
|
44
44
|
};
|
|
45
45
|
sdk: {
|
|
46
46
|
input: DeleteDataCatalogCommandInput;
|
|
@@ -190,7 +190,6 @@ export interface CreateCapacityReservationInput {
|
|
|
190
190
|
}
|
|
191
191
|
export interface CreateCapacityReservationOutput {}
|
|
192
192
|
export declare const DataCatalogType: {
|
|
193
|
-
readonly FEDERATED: "FEDERATED";
|
|
194
193
|
readonly GLUE: "GLUE";
|
|
195
194
|
readonly HIVE: "HIVE";
|
|
196
195
|
readonly LAMBDA: "LAMBDA";
|
|
@@ -204,65 +203,7 @@ export interface CreateDataCatalogInput {
|
|
|
204
203
|
Parameters?: Record<string, string>;
|
|
205
204
|
Tags?: Tag[];
|
|
206
205
|
}
|
|
207
|
-
export
|
|
208
|
-
readonly BIGQUERY: "BIGQUERY";
|
|
209
|
-
readonly CLOUDERAHIVE: "CLOUDERAHIVE";
|
|
210
|
-
readonly CLOUDERAIMPALA: "CLOUDERAIMPALA";
|
|
211
|
-
readonly CLOUDWATCH: "CLOUDWATCH";
|
|
212
|
-
readonly CLOUDWATCHMETRICS: "CLOUDWATCHMETRICS";
|
|
213
|
-
readonly CMDB: "CMDB";
|
|
214
|
-
readonly DATALAKEGEN2: "DATALAKEGEN2";
|
|
215
|
-
readonly DB2: "DB2";
|
|
216
|
-
readonly DB2AS400: "DB2AS400";
|
|
217
|
-
readonly DOCUMENTDB: "DOCUMENTDB";
|
|
218
|
-
readonly DYNAMODB: "DYNAMODB";
|
|
219
|
-
readonly GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE";
|
|
220
|
-
readonly HBASE: "HBASE";
|
|
221
|
-
readonly HORTONWORKSHIVE: "HORTONWORKSHIVE";
|
|
222
|
-
readonly MSK: "MSK";
|
|
223
|
-
readonly MYSQL: "MYSQL";
|
|
224
|
-
readonly NEPTUNE: "NEPTUNE";
|
|
225
|
-
readonly OPENSEARCH: "OPENSEARCH";
|
|
226
|
-
readonly ORACLE: "ORACLE";
|
|
227
|
-
readonly POSTGRESQL: "POSTGRESQL";
|
|
228
|
-
readonly REDIS: "REDIS";
|
|
229
|
-
readonly REDSHIFT: "REDSHIFT";
|
|
230
|
-
readonly SAPHANA: "SAPHANA";
|
|
231
|
-
readonly SNOWFLAKE: "SNOWFLAKE";
|
|
232
|
-
readonly SQLSERVER: "SQLSERVER";
|
|
233
|
-
readonly SYNAPSE: "SYNAPSE";
|
|
234
|
-
readonly TERADATA: "TERADATA";
|
|
235
|
-
readonly TIMESTREAM: "TIMESTREAM";
|
|
236
|
-
readonly TPCDS: "TPCDS";
|
|
237
|
-
readonly VERTICA: "VERTICA";
|
|
238
|
-
};
|
|
239
|
-
export type ConnectionType =
|
|
240
|
-
(typeof ConnectionType)[keyof typeof ConnectionType];
|
|
241
|
-
export declare const DataCatalogStatus: {
|
|
242
|
-
readonly CREATE_COMPLETE: "CREATE_COMPLETE";
|
|
243
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
244
|
-
readonly CREATE_FAILED_CLEANUP_COMPLETE: "CREATE_FAILED_CLEANUP_COMPLETE";
|
|
245
|
-
readonly CREATE_FAILED_CLEANUP_FAILED: "CREATE_FAILED_CLEANUP_FAILED";
|
|
246
|
-
readonly CREATE_FAILED_CLEANUP_IN_PROGRESS: "CREATE_FAILED_CLEANUP_IN_PROGRESS";
|
|
247
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
248
|
-
readonly DELETE_COMPLETE: "DELETE_COMPLETE";
|
|
249
|
-
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
250
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
251
|
-
};
|
|
252
|
-
export type DataCatalogStatus =
|
|
253
|
-
(typeof DataCatalogStatus)[keyof typeof DataCatalogStatus];
|
|
254
|
-
export interface DataCatalog {
|
|
255
|
-
Name: string | undefined;
|
|
256
|
-
Description?: string;
|
|
257
|
-
Type: DataCatalogType | undefined;
|
|
258
|
-
Parameters?: Record<string, string>;
|
|
259
|
-
Status?: DataCatalogStatus;
|
|
260
|
-
ConnectionType?: ConnectionType;
|
|
261
|
-
Error?: string;
|
|
262
|
-
}
|
|
263
|
-
export interface CreateDataCatalogOutput {
|
|
264
|
-
DataCatalog?: DataCatalog;
|
|
265
|
-
}
|
|
206
|
+
export interface CreateDataCatalogOutput {}
|
|
266
207
|
export interface CreateNamedQueryInput {
|
|
267
208
|
Name: string | undefined;
|
|
268
209
|
Description?: string;
|
|
@@ -355,9 +296,7 @@ export interface DeleteCapacityReservationOutput {}
|
|
|
355
296
|
export interface DeleteDataCatalogInput {
|
|
356
297
|
Name: string | undefined;
|
|
357
298
|
}
|
|
358
|
-
export interface DeleteDataCatalogOutput {
|
|
359
|
-
DataCatalog?: DataCatalog;
|
|
360
|
-
}
|
|
299
|
+
export interface DeleteDataCatalogOutput {}
|
|
361
300
|
export interface DeleteNamedQueryInput {
|
|
362
301
|
NamedQueryId?: string;
|
|
363
302
|
}
|
|
@@ -522,6 +461,12 @@ export interface GetDataCatalogInput {
|
|
|
522
461
|
Name: string | undefined;
|
|
523
462
|
WorkGroup?: string;
|
|
524
463
|
}
|
|
464
|
+
export interface DataCatalog {
|
|
465
|
+
Name: string | undefined;
|
|
466
|
+
Description?: string;
|
|
467
|
+
Type: DataCatalogType | undefined;
|
|
468
|
+
Parameters?: Record<string, string>;
|
|
469
|
+
}
|
|
525
470
|
export interface GetDataCatalogOutput {
|
|
526
471
|
DataCatalog?: DataCatalog;
|
|
527
472
|
}
|
|
@@ -772,9 +717,6 @@ export interface ListDataCatalogsInput {
|
|
|
772
717
|
export interface DataCatalogSummary {
|
|
773
718
|
CatalogName?: string;
|
|
774
719
|
Type?: DataCatalogType;
|
|
775
|
-
Status?: DataCatalogStatus;
|
|
776
|
-
ConnectionType?: ConnectionType;
|
|
777
|
-
Error?: string;
|
|
778
720
|
}
|
|
779
721
|
export interface ListDataCatalogsOutput {
|
|
780
722
|
DataCatalogsSummary?: DataCatalogSummary[];
|
|
@@ -10,7 +10,9 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
|
|
|
10
10
|
input: any
|
|
11
11
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
12
|
defaultUserAgentProvider: (
|
|
13
|
-
config
|
|
13
|
+
config?:
|
|
14
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
15
|
+
| undefined
|
|
14
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -23,7 +23,9 @@ export declare const getRuntimeConfig: (config: AthenaClientConfig) => {
|
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
25
|
defaultUserAgentProvider: (
|
|
26
|
-
config
|
|
26
|
+
config?:
|
|
27
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
28
|
+
| undefined
|
|
27
29
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
28
30
|
credentialDefaultProvider: (
|
|
29
31
|
input: any
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-athena",
|
|
3
3
|
"description": "AWS SDK for JavaScript Athena Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.675.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-athena",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.675.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.675.0",
|
|
25
25
|
"@aws-sdk/core": "3.667.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.675.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.667.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.667.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.667.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.667.0",
|
|
32
32
|
"@aws-sdk/types": "3.667.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.667.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.675.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.669.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.8",
|