@aws-sdk/client-glue 3.451.0 → 3.453.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/README.md +40 -0
- package/dist-cjs/Glue.js +10 -0
- package/dist-cjs/commands/GetColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/GetColumnStatisticsTaskRunsCommand.js +51 -0
- package/dist-cjs/commands/ListColumnStatisticsTaskRunsCommand.js +51 -0
- package/dist-cjs/commands/StartColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/StopColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_1.js +8 -9
- package/dist-cjs/models/models_2.js +51 -1
- package/dist-cjs/pagination/GetColumnStatisticsTaskRunsPaginator.js +29 -0
- package/dist-cjs/pagination/ListColumnStatisticsTaskRunsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -1
- package/dist-cjs/protocols/Aws_json1_1.js +317 -8
- package/dist-es/Glue.js +10 -0
- package/dist-es/commands/GetColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/GetColumnStatisticsTaskRunsCommand.js +47 -0
- package/dist-es/commands/ListColumnStatisticsTaskRunsCommand.js +47 -0
- package/dist-es/commands/StartColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/StopColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_1.js +7 -8
- package/dist-es/models/models_2.js +47 -0
- package/dist-es/pagination/GetColumnStatisticsTaskRunsPaginator.js +25 -0
- package/dist-es/pagination/ListColumnStatisticsTaskRunsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_json1_1.js +300 -1
- package/dist-types/Glue.d.ts +35 -0
- package/dist-types/GlueClient.d.ts +7 -2
- package/dist-types/commands/GetColumnStatisticsTaskRunCommand.d.ts +103 -0
- package/dist-types/commands/GetColumnStatisticsTaskRunsCommand.d.ts +103 -0
- package/dist-types/commands/GetStatementCommand.d.ts +2 -1
- package/dist-types/commands/GetTableCommand.d.ts +1 -2
- package/dist-types/commands/ListColumnStatisticsTaskRunsCommand.d.ts +80 -0
- package/dist-types/commands/StartColumnStatisticsTaskRunCommand.d.ts +99 -0
- package/dist-types/commands/StopColumnStatisticsTaskRunCommand.d.ts +84 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +171 -147
- package/dist-types/models/models_2.d.ts +299 -1
- package/dist-types/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/Glue.d.ts +85 -0
- package/dist-types/ts3.4/GlueClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetColumnStatisticsTaskRunCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetColumnStatisticsTaskRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetStatementCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListColumnStatisticsTaskRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartColumnStatisticsTaskRunCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopColumnStatisticsTaskRunCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_1.d.ts +45 -40
- package/dist-types/ts3.4/models/models_2.d.ts +98 -1
- package/dist-types/ts3.4/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
5
|
+
import { GetColumnStatisticsTaskRunRequest, GetColumnStatisticsTaskRunResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetColumnStatisticsTaskRunCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetColumnStatisticsTaskRunCommandInput extends GetColumnStatisticsTaskRunRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetColumnStatisticsTaskRunCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetColumnStatisticsTaskRunCommandOutput extends GetColumnStatisticsTaskRunResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Get the associated metadata/information for a task run, given a task run ID.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { GlueClient, GetColumnStatisticsTaskRunCommand } from "@aws-sdk/client-glue"; // ES Modules import
|
|
31
|
+
* // const { GlueClient, GetColumnStatisticsTaskRunCommand } = require("@aws-sdk/client-glue"); // CommonJS import
|
|
32
|
+
* const client = new GlueClient(config);
|
|
33
|
+
* const input = { // GetColumnStatisticsTaskRunRequest
|
|
34
|
+
* ColumnStatisticsTaskRunId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new GetColumnStatisticsTaskRunCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // GetColumnStatisticsTaskRunResponse
|
|
39
|
+
* // ColumnStatisticsTaskRun: { // ColumnStatisticsTaskRun
|
|
40
|
+
* // CustomerId: "STRING_VALUE",
|
|
41
|
+
* // ColumnStatisticsTaskRunId: "STRING_VALUE",
|
|
42
|
+
* // DatabaseName: "STRING_VALUE",
|
|
43
|
+
* // TableName: "STRING_VALUE",
|
|
44
|
+
* // ColumnNameList: [ // ColumnNameList
|
|
45
|
+
* // "STRING_VALUE",
|
|
46
|
+
* // ],
|
|
47
|
+
* // CatalogID: "STRING_VALUE",
|
|
48
|
+
* // Role: "STRING_VALUE",
|
|
49
|
+
* // SampleSize: Number("double"),
|
|
50
|
+
* // SecurityConfiguration: "STRING_VALUE",
|
|
51
|
+
* // NumberOfWorkers: Number("int"),
|
|
52
|
+
* // WorkerType: "STRING_VALUE",
|
|
53
|
+
* // Status: "STARTING" || "RUNNING" || "SUCCEEDED" || "FAILED" || "STOPPED",
|
|
54
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // LastUpdated: new Date("TIMESTAMP"),
|
|
56
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
58
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
59
|
+
* // DPUSeconds: Number("double"),
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetColumnStatisticsTaskRunCommandInput - {@link GetColumnStatisticsTaskRunCommandInput}
|
|
66
|
+
* @returns {@link GetColumnStatisticsTaskRunCommandOutput}
|
|
67
|
+
* @see {@link GetColumnStatisticsTaskRunCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetColumnStatisticsTaskRunCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link EntityNotFoundException} (client fault)
|
|
72
|
+
* <p>A specified entity does not exist</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
75
|
+
* <p>The input provided was not valid.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link OperationTimeoutException} (client fault)
|
|
78
|
+
* <p>The operation timed out.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link GlueServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Glue service.</p>
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export declare class GetColumnStatisticsTaskRunCommand extends $Command<GetColumnStatisticsTaskRunCommandInput, GetColumnStatisticsTaskRunCommandOutput, GlueClientResolvedConfig> {
|
|
85
|
+
readonly input: GetColumnStatisticsTaskRunCommandInput;
|
|
86
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
constructor(input: GetColumnStatisticsTaskRunCommandInput);
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetColumnStatisticsTaskRunCommandInput, GetColumnStatisticsTaskRunCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private serialize;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private deserialize;
|
|
103
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
5
|
+
import { GetColumnStatisticsTaskRunsRequest, GetColumnStatisticsTaskRunsResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetColumnStatisticsTaskRunsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetColumnStatisticsTaskRunsCommandInput extends GetColumnStatisticsTaskRunsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetColumnStatisticsTaskRunsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetColumnStatisticsTaskRunsCommandOutput extends GetColumnStatisticsTaskRunsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves information about all runs associated with the specified table.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { GlueClient, GetColumnStatisticsTaskRunsCommand } from "@aws-sdk/client-glue"; // ES Modules import
|
|
31
|
+
* // const { GlueClient, GetColumnStatisticsTaskRunsCommand } = require("@aws-sdk/client-glue"); // CommonJS import
|
|
32
|
+
* const client = new GlueClient(config);
|
|
33
|
+
* const input = { // GetColumnStatisticsTaskRunsRequest
|
|
34
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
35
|
+
* TableName: "STRING_VALUE", // required
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetColumnStatisticsTaskRunsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetColumnStatisticsTaskRunsResponse
|
|
42
|
+
* // ColumnStatisticsTaskRuns: [ // ColumnStatisticsTaskRunsList
|
|
43
|
+
* // { // ColumnStatisticsTaskRun
|
|
44
|
+
* // CustomerId: "STRING_VALUE",
|
|
45
|
+
* // ColumnStatisticsTaskRunId: "STRING_VALUE",
|
|
46
|
+
* // DatabaseName: "STRING_VALUE",
|
|
47
|
+
* // TableName: "STRING_VALUE",
|
|
48
|
+
* // ColumnNameList: [ // ColumnNameList
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // CatalogID: "STRING_VALUE",
|
|
52
|
+
* // Role: "STRING_VALUE",
|
|
53
|
+
* // SampleSize: Number("double"),
|
|
54
|
+
* // SecurityConfiguration: "STRING_VALUE",
|
|
55
|
+
* // NumberOfWorkers: Number("int"),
|
|
56
|
+
* // WorkerType: "STRING_VALUE",
|
|
57
|
+
* // Status: "STARTING" || "RUNNING" || "SUCCEEDED" || "FAILED" || "STOPPED",
|
|
58
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
59
|
+
* // LastUpdated: new Date("TIMESTAMP"),
|
|
60
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
61
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
63
|
+
* // DPUSeconds: Number("double"),
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // NextToken: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param GetColumnStatisticsTaskRunsCommandInput - {@link GetColumnStatisticsTaskRunsCommandInput}
|
|
72
|
+
* @returns {@link GetColumnStatisticsTaskRunsCommandOutput}
|
|
73
|
+
* @see {@link GetColumnStatisticsTaskRunsCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link GetColumnStatisticsTaskRunsCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link OperationTimeoutException} (client fault)
|
|
78
|
+
* <p>The operation timed out.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link GlueServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Glue service.</p>
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export declare class GetColumnStatisticsTaskRunsCommand extends $Command<GetColumnStatisticsTaskRunsCommandInput, GetColumnStatisticsTaskRunsCommandOutput, GlueClientResolvedConfig> {
|
|
85
|
+
readonly input: GetColumnStatisticsTaskRunsCommandInput;
|
|
86
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
constructor(input: GetColumnStatisticsTaskRunsCommandInput);
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetColumnStatisticsTaskRunsCommandInput, GetColumnStatisticsTaskRunsCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private serialize;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private deserialize;
|
|
103
|
+
}
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
5
|
-
import { GetStatementRequest
|
|
5
|
+
import { GetStatementRequest } from "../models/models_1";
|
|
6
|
+
import { GetStatementResponse } from "../models/models_2";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
5
|
-
import { GetTableRequest } from "../models/
|
|
6
|
-
import { GetTableResponse } from "../models/models_2";
|
|
5
|
+
import { GetTableRequest, GetTableResponse } from "../models/models_2";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
5
|
+
import { ListColumnStatisticsTaskRunsRequest, ListColumnStatisticsTaskRunsResponse } from "../models/models_2";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListColumnStatisticsTaskRunsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListColumnStatisticsTaskRunsCommandInput extends ListColumnStatisticsTaskRunsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListColumnStatisticsTaskRunsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListColumnStatisticsTaskRunsCommandOutput extends ListColumnStatisticsTaskRunsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>List all task runs for a particular account.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { GlueClient, ListColumnStatisticsTaskRunsCommand } from "@aws-sdk/client-glue"; // ES Modules import
|
|
31
|
+
* // const { GlueClient, ListColumnStatisticsTaskRunsCommand } = require("@aws-sdk/client-glue"); // CommonJS import
|
|
32
|
+
* const client = new GlueClient(config);
|
|
33
|
+
* const input = { // ListColumnStatisticsTaskRunsRequest
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListColumnStatisticsTaskRunsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListColumnStatisticsTaskRunsResponse
|
|
40
|
+
* // ColumnStatisticsTaskRunIds: [ // ColumnStatisticsTaskRunIdList
|
|
41
|
+
* // "STRING_VALUE",
|
|
42
|
+
* // ],
|
|
43
|
+
* // NextToken: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param ListColumnStatisticsTaskRunsCommandInput - {@link ListColumnStatisticsTaskRunsCommandInput}
|
|
49
|
+
* @returns {@link ListColumnStatisticsTaskRunsCommandOutput}
|
|
50
|
+
* @see {@link ListColumnStatisticsTaskRunsCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link ListColumnStatisticsTaskRunsCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link OperationTimeoutException} (client fault)
|
|
55
|
+
* <p>The operation timed out.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link GlueServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from Glue service.</p>
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare class ListColumnStatisticsTaskRunsCommand extends $Command<ListColumnStatisticsTaskRunsCommandInput, ListColumnStatisticsTaskRunsCommandOutput, GlueClientResolvedConfig> {
|
|
62
|
+
readonly input: ListColumnStatisticsTaskRunsCommandInput;
|
|
63
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
constructor(input: ListColumnStatisticsTaskRunsCommandInput);
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListColumnStatisticsTaskRunsCommandInput, ListColumnStatisticsTaskRunsCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private deserialize;
|
|
80
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
5
|
+
import { StartColumnStatisticsTaskRunRequest, StartColumnStatisticsTaskRunResponse } from "../models/models_2";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartColumnStatisticsTaskRunCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartColumnStatisticsTaskRunCommandInput extends StartColumnStatisticsTaskRunRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartColumnStatisticsTaskRunCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartColumnStatisticsTaskRunCommandOutput extends StartColumnStatisticsTaskRunResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Starts a column statistics task run, for a specified table and columns.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { GlueClient, StartColumnStatisticsTaskRunCommand } from "@aws-sdk/client-glue"; // ES Modules import
|
|
31
|
+
* // const { GlueClient, StartColumnStatisticsTaskRunCommand } = require("@aws-sdk/client-glue"); // CommonJS import
|
|
32
|
+
* const client = new GlueClient(config);
|
|
33
|
+
* const input = { // StartColumnStatisticsTaskRunRequest
|
|
34
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
35
|
+
* TableName: "STRING_VALUE", // required
|
|
36
|
+
* ColumnNameList: [ // ColumnNameList
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* Role: "STRING_VALUE", // required
|
|
40
|
+
* SampleSize: Number("double"),
|
|
41
|
+
* CatalogID: "STRING_VALUE",
|
|
42
|
+
* SecurityConfiguration: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new StartColumnStatisticsTaskRunCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // StartColumnStatisticsTaskRunResponse
|
|
47
|
+
* // ColumnStatisticsTaskRunId: "STRING_VALUE",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param StartColumnStatisticsTaskRunCommandInput - {@link StartColumnStatisticsTaskRunCommandInput}
|
|
53
|
+
* @returns {@link StartColumnStatisticsTaskRunCommandOutput}
|
|
54
|
+
* @see {@link StartColumnStatisticsTaskRunCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link StartColumnStatisticsTaskRunCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>Access to a resource was denied.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ColumnStatisticsTaskRunningException} (client fault)
|
|
62
|
+
* <p>An exception thrown when you try to start another job while running a column stats generation job.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link EntityNotFoundException} (client fault)
|
|
65
|
+
* <p>A specified entity does not exist</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
68
|
+
* <p>The input provided was not valid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link OperationTimeoutException} (client fault)
|
|
71
|
+
* <p>The operation timed out.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNumberLimitExceededException} (client fault)
|
|
74
|
+
* <p>A resource numerical limit was exceeded.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link GlueServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Glue service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class StartColumnStatisticsTaskRunCommand extends $Command<StartColumnStatisticsTaskRunCommandInput, StartColumnStatisticsTaskRunCommandOutput, GlueClientResolvedConfig> {
|
|
81
|
+
readonly input: StartColumnStatisticsTaskRunCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: StartColumnStatisticsTaskRunCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartColumnStatisticsTaskRunCommandInput, StartColumnStatisticsTaskRunCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
5
|
+
import { StopColumnStatisticsTaskRunRequest, StopColumnStatisticsTaskRunResponse } from "../models/models_2";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StopColumnStatisticsTaskRunCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopColumnStatisticsTaskRunCommandInput extends StopColumnStatisticsTaskRunRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopColumnStatisticsTaskRunCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopColumnStatisticsTaskRunCommandOutput extends StopColumnStatisticsTaskRunResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Stops a task run for the specified table.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { GlueClient, StopColumnStatisticsTaskRunCommand } from "@aws-sdk/client-glue"; // ES Modules import
|
|
31
|
+
* // const { GlueClient, StopColumnStatisticsTaskRunCommand } = require("@aws-sdk/client-glue"); // CommonJS import
|
|
32
|
+
* const client = new GlueClient(config);
|
|
33
|
+
* const input = { // StopColumnStatisticsTaskRunRequest
|
|
34
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
35
|
+
* TableName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new StopColumnStatisticsTaskRunCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param StopColumnStatisticsTaskRunCommandInput - {@link StopColumnStatisticsTaskRunCommandInput}
|
|
44
|
+
* @returns {@link StopColumnStatisticsTaskRunCommandOutput}
|
|
45
|
+
* @see {@link StopColumnStatisticsTaskRunCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link StopColumnStatisticsTaskRunCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ColumnStatisticsTaskNotRunningException} (client fault)
|
|
50
|
+
* <p>An exception thrown when you try to stop a task run when there is no task running.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ColumnStatisticsTaskStoppingException} (client fault)
|
|
53
|
+
* <p>An exception thrown when you try to stop a task run.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link EntityNotFoundException} (client fault)
|
|
56
|
+
* <p>A specified entity does not exist</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link OperationTimeoutException} (client fault)
|
|
59
|
+
* <p>The operation timed out.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link GlueServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from Glue service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class StopColumnStatisticsTaskRunCommand extends $Command<StopColumnStatisticsTaskRunCommandInput, StopColumnStatisticsTaskRunCommandOutput, GlueClientResolvedConfig> {
|
|
66
|
+
readonly input: StopColumnStatisticsTaskRunCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: StopColumnStatisticsTaskRunCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopColumnStatisticsTaskRunCommandInput, StopColumnStatisticsTaskRunCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|
|
@@ -76,6 +76,8 @@ export * from "./GetClassifierCommand";
|
|
|
76
76
|
export * from "./GetClassifiersCommand";
|
|
77
77
|
export * from "./GetColumnStatisticsForPartitionCommand";
|
|
78
78
|
export * from "./GetColumnStatisticsForTableCommand";
|
|
79
|
+
export * from "./GetColumnStatisticsTaskRunCommand";
|
|
80
|
+
export * from "./GetColumnStatisticsTaskRunsCommand";
|
|
79
81
|
export * from "./GetConnectionCommand";
|
|
80
82
|
export * from "./GetConnectionsCommand";
|
|
81
83
|
export * from "./GetCrawlerCommand";
|
|
@@ -136,6 +138,7 @@ export * from "./GetWorkflowRunPropertiesCommand";
|
|
|
136
138
|
export * from "./GetWorkflowRunsCommand";
|
|
137
139
|
export * from "./ImportCatalogToGlueCommand";
|
|
138
140
|
export * from "./ListBlueprintsCommand";
|
|
141
|
+
export * from "./ListColumnStatisticsTaskRunsCommand";
|
|
139
142
|
export * from "./ListCrawlersCommand";
|
|
140
143
|
export * from "./ListCrawlsCommand";
|
|
141
144
|
export * from "./ListCustomEntityTypesCommand";
|
|
@@ -166,6 +169,7 @@ export * from "./ResumeWorkflowRunCommand";
|
|
|
166
169
|
export * from "./RunStatementCommand";
|
|
167
170
|
export * from "./SearchTablesCommand";
|
|
168
171
|
export * from "./StartBlueprintRunCommand";
|
|
172
|
+
export * from "./StartColumnStatisticsTaskRunCommand";
|
|
169
173
|
export * from "./StartCrawlerCommand";
|
|
170
174
|
export * from "./StartCrawlerScheduleCommand";
|
|
171
175
|
export * from "./StartDataQualityRuleRecommendationRunCommand";
|
|
@@ -177,6 +181,7 @@ export * from "./StartMLEvaluationTaskRunCommand";
|
|
|
177
181
|
export * from "./StartMLLabelingSetGenerationTaskRunCommand";
|
|
178
182
|
export * from "./StartTriggerCommand";
|
|
179
183
|
export * from "./StartWorkflowRunCommand";
|
|
184
|
+
export * from "./StopColumnStatisticsTaskRunCommand";
|
|
180
185
|
export * from "./StopCrawlerCommand";
|
|
181
186
|
export * from "./StopCrawlerScheduleCommand";
|
|
182
187
|
export * from "./StopSessionCommand";
|