@aws-sdk/client-glue 3.450.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 +88 -0
- package/dist-cjs/Glue.js +22 -0
- package/dist-cjs/commands/BatchGetTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/CreateTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/DeleteTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/GetColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/GetColumnStatisticsTaskRunsCommand.js +51 -0
- package/dist-cjs/commands/GetTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/ListColumnStatisticsTaskRunsCommand.js +51 -0
- package/dist-cjs/commands/ListTableOptimizerRunsCommand.js +51 -0
- package/dist-cjs/commands/StartColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/StopColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/UpdateTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/models/models_0.js +10 -16
- package/dist-cjs/models/models_1.js +23 -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/ListTableOptimizerRunsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +4 -1
- package/dist-cjs/protocols/Aws_json1_1.js +676 -16
- package/dist-es/Glue.js +22 -0
- package/dist-es/commands/BatchGetTableOptimizerCommand.js +47 -0
- package/dist-es/commands/CreateTableOptimizerCommand.js +47 -0
- package/dist-es/commands/DeleteTableOptimizerCommand.js +47 -0
- package/dist-es/commands/GetColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/GetColumnStatisticsTaskRunsCommand.js +47 -0
- package/dist-es/commands/GetTableOptimizerCommand.js +47 -0
- package/dist-es/commands/ListColumnStatisticsTaskRunsCommand.js +47 -0
- package/dist-es/commands/ListTableOptimizerRunsCommand.js +47 -0
- package/dist-es/commands/StartColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/StopColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/UpdateTableOptimizerCommand.js +47 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +9 -14
- package/dist-es/models/models_1.js +21 -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/ListTableOptimizerRunsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -1
- package/dist-es/protocols/Aws_json1_1.js +646 -8
- package/dist-types/Glue.d.ts +77 -0
- package/dist-types/GlueClient.d.ts +13 -2
- package/dist-types/commands/BatchGetTableOptimizerCommand.d.ts +120 -0
- package/dist-types/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateTableOptimizerCommand.d.ts +93 -0
- package/dist-types/commands/DeleteTableOptimizerCommand.d.ts +86 -0
- 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 -1
- package/dist-types/commands/GetTableOptimizerCommand.d.ts +109 -0
- package/dist-types/commands/GetTableVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetTableVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetTablesCommand.d.ts +1 -1
- package/dist-types/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/commands/GetTriggerCommand.d.ts +1 -1
- package/dist-types/commands/GetTriggersCommand.d.ts +1 -2
- package/dist-types/commands/ListColumnStatisticsTaskRunsCommand.d.ts +80 -0
- package/dist-types/commands/ListTableOptimizerRunsCommand.d.ts +107 -0
- package/dist-types/commands/StartColumnStatisticsTaskRunCommand.d.ts +99 -0
- package/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +1 -0
- package/dist-types/commands/StopColumnStatisticsTaskRunCommand.d.ts +84 -0
- package/dist-types/commands/UpdateTableOptimizerCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +227 -222
- package/dist-types/models/models_1.d.ts +482 -564
- package/dist-types/models/models_2.d.ts +843 -2
- package/dist-types/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTableOptimizerRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +99 -0
- package/dist-types/ts3.4/Glue.d.ts +187 -0
- package/dist-types/ts3.4/GlueClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/BatchGetTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteTableOptimizerCommand.d.ts +42 -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 -1
- package/dist-types/ts3.4/commands/GetTableOptimizerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetTableVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTableVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTriggerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTriggersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListColumnStatisticsTaskRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTableOptimizerRunsCommand.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/UpdateTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -59
- package/dist-types/ts3.4/models/models_1.d.ts +122 -130
- package/dist-types/ts3.4/models/models_2.d.ts +227 -4
- 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/ListTableOptimizerRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +132 -0
- package/package.json +35 -35
|
@@ -0,0 +1,107 @@
|
|
|
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 { ListTableOptimizerRunsRequest, ListTableOptimizerRunsResponse } from "../models/models_2";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTableOptimizerRunsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTableOptimizerRunsCommandInput extends ListTableOptimizerRunsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTableOptimizerRunsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTableOptimizerRunsCommandOutput extends ListTableOptimizerRunsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the history of previous optimizer runs for a specific 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, ListTableOptimizerRunsCommand } from "@aws-sdk/client-glue"; // ES Modules import
|
|
31
|
+
* // const { GlueClient, ListTableOptimizerRunsCommand } = require("@aws-sdk/client-glue"); // CommonJS import
|
|
32
|
+
* const client = new GlueClient(config);
|
|
33
|
+
* const input = { // ListTableOptimizerRunsRequest
|
|
34
|
+
* CatalogId: "STRING_VALUE", // required
|
|
35
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
36
|
+
* TableName: "STRING_VALUE", // required
|
|
37
|
+
* Type: "compaction", // required
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListTableOptimizerRunsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListTableOptimizerRunsResponse
|
|
44
|
+
* // CatalogId: "STRING_VALUE",
|
|
45
|
+
* // DatabaseName: "STRING_VALUE",
|
|
46
|
+
* // TableName: "STRING_VALUE",
|
|
47
|
+
* // NextToken: "STRING_VALUE",
|
|
48
|
+
* // TableOptimizerRuns: [ // TableOptimizerRuns
|
|
49
|
+
* // { // TableOptimizerRun
|
|
50
|
+
* // eventType: "starting" || "completed" || "failed" || "in_progress",
|
|
51
|
+
* // startTimestamp: new Date("TIMESTAMP"),
|
|
52
|
+
* // endTimestamp: new Date("TIMESTAMP"),
|
|
53
|
+
* // metrics: { // RunMetrics
|
|
54
|
+
* // NumberOfBytesCompacted: "STRING_VALUE",
|
|
55
|
+
* // NumberOfFilesCompacted: "STRING_VALUE",
|
|
56
|
+
* // NumberOfDpus: "STRING_VALUE",
|
|
57
|
+
* // JobDurationInHour: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // error: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param ListTableOptimizerRunsCommandInput - {@link ListTableOptimizerRunsCommandInput}
|
|
67
|
+
* @returns {@link ListTableOptimizerRunsCommandOutput}
|
|
68
|
+
* @see {@link ListTableOptimizerRunsCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link ListTableOptimizerRunsCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>Access to a resource was denied.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link EntityNotFoundException} (client fault)
|
|
76
|
+
* <p>A specified entity does not exist</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
79
|
+
* <p>An internal service error occurred.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
82
|
+
* <p>The input provided was not valid.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link GlueServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Glue service.</p>
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListTableOptimizerRunsCommand extends $Command<ListTableOptimizerRunsCommandInput, ListTableOptimizerRunsCommandOutput, GlueClientResolvedConfig> {
|
|
89
|
+
readonly input: ListTableOptimizerRunsCommandInput;
|
|
90
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
constructor(input: ListTableOptimizerRunsCommandInput);
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTableOptimizerRunsCommandInput, ListTableOptimizerRunsCommandOutput>;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private serialize;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
private deserialize;
|
|
107
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -24,6 +24,7 @@ export interface StartDataQualityRuleRecommendationRunCommandOutput extends Star
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking.</p>
|
|
27
|
+
* <p>Recommendation runs are automatically deleted after 90 days.</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
30
|
* ```javascript
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { UpdateTableOptimizerRequest, UpdateTableOptimizerResponse } from "../models/models_2";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateTableOptimizerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateTableOptimizerCommandInput extends UpdateTableOptimizerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateTableOptimizerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTableOptimizerCommandOutput extends UpdateTableOptimizerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates the configuration for an existing table optimizer.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { GlueClient, UpdateTableOptimizerCommand } from "@aws-sdk/client-glue"; // ES Modules import
|
|
31
|
+
* // const { GlueClient, UpdateTableOptimizerCommand } = require("@aws-sdk/client-glue"); // CommonJS import
|
|
32
|
+
* const client = new GlueClient(config);
|
|
33
|
+
* const input = { // UpdateTableOptimizerRequest
|
|
34
|
+
* CatalogId: "STRING_VALUE", // required
|
|
35
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
36
|
+
* TableName: "STRING_VALUE", // required
|
|
37
|
+
* Type: "compaction", // required
|
|
38
|
+
* TableOptimizerConfiguration: { // TableOptimizerConfiguration
|
|
39
|
+
* roleArn: "STRING_VALUE",
|
|
40
|
+
* enabled: true || false,
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateTableOptimizerCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UpdateTableOptimizerCommandInput - {@link UpdateTableOptimizerCommandInput}
|
|
50
|
+
* @returns {@link UpdateTableOptimizerCommandOutput}
|
|
51
|
+
* @see {@link UpdateTableOptimizerCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UpdateTableOptimizerCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>Access to a resource was denied.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link EntityNotFoundException} (client fault)
|
|
59
|
+
* <p>A specified entity does not exist</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
62
|
+
* <p>An internal service error occurred.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
65
|
+
* <p>The input provided was not valid.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link GlueServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from Glue service.</p>
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
export declare class UpdateTableOptimizerCommand extends $Command<UpdateTableOptimizerCommandInput, UpdateTableOptimizerCommandOutput, GlueClientResolvedConfig> {
|
|
72
|
+
readonly input: UpdateTableOptimizerCommandInput;
|
|
73
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
constructor(input: UpdateTableOptimizerCommandInput);
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTableOptimizerCommandInput, UpdateTableOptimizerCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private deserialize;
|
|
90
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./BatchGetDataQualityResultCommand";
|
|
|
10
10
|
export * from "./BatchGetDevEndpointsCommand";
|
|
11
11
|
export * from "./BatchGetJobsCommand";
|
|
12
12
|
export * from "./BatchGetPartitionCommand";
|
|
13
|
+
export * from "./BatchGetTableOptimizerCommand";
|
|
13
14
|
export * from "./BatchGetTriggersCommand";
|
|
14
15
|
export * from "./BatchGetWorkflowsCommand";
|
|
15
16
|
export * from "./BatchStopJobRunCommand";
|
|
@@ -37,6 +38,7 @@ export * from "./CreateScriptCommand";
|
|
|
37
38
|
export * from "./CreateSecurityConfigurationCommand";
|
|
38
39
|
export * from "./CreateSessionCommand";
|
|
39
40
|
export * from "./CreateTableCommand";
|
|
41
|
+
export * from "./CreateTableOptimizerCommand";
|
|
40
42
|
export * from "./CreateTriggerCommand";
|
|
41
43
|
export * from "./CreateUserDefinedFunctionCommand";
|
|
42
44
|
export * from "./CreateWorkflowCommand";
|
|
@@ -61,6 +63,7 @@ export * from "./DeleteSchemaVersionsCommand";
|
|
|
61
63
|
export * from "./DeleteSecurityConfigurationCommand";
|
|
62
64
|
export * from "./DeleteSessionCommand";
|
|
63
65
|
export * from "./DeleteTableCommand";
|
|
66
|
+
export * from "./DeleteTableOptimizerCommand";
|
|
64
67
|
export * from "./DeleteTableVersionCommand";
|
|
65
68
|
export * from "./DeleteTriggerCommand";
|
|
66
69
|
export * from "./DeleteUserDefinedFunctionCommand";
|
|
@@ -73,6 +76,8 @@ export * from "./GetClassifierCommand";
|
|
|
73
76
|
export * from "./GetClassifiersCommand";
|
|
74
77
|
export * from "./GetColumnStatisticsForPartitionCommand";
|
|
75
78
|
export * from "./GetColumnStatisticsForTableCommand";
|
|
79
|
+
export * from "./GetColumnStatisticsTaskRunCommand";
|
|
80
|
+
export * from "./GetColumnStatisticsTaskRunsCommand";
|
|
76
81
|
export * from "./GetConnectionCommand";
|
|
77
82
|
export * from "./GetConnectionsCommand";
|
|
78
83
|
export * from "./GetCrawlerCommand";
|
|
@@ -115,6 +120,7 @@ export * from "./GetSecurityConfigurationsCommand";
|
|
|
115
120
|
export * from "./GetSessionCommand";
|
|
116
121
|
export * from "./GetStatementCommand";
|
|
117
122
|
export * from "./GetTableCommand";
|
|
123
|
+
export * from "./GetTableOptimizerCommand";
|
|
118
124
|
export * from "./GetTableVersionCommand";
|
|
119
125
|
export * from "./GetTableVersionsCommand";
|
|
120
126
|
export * from "./GetTablesCommand";
|
|
@@ -132,6 +138,7 @@ export * from "./GetWorkflowRunPropertiesCommand";
|
|
|
132
138
|
export * from "./GetWorkflowRunsCommand";
|
|
133
139
|
export * from "./ImportCatalogToGlueCommand";
|
|
134
140
|
export * from "./ListBlueprintsCommand";
|
|
141
|
+
export * from "./ListColumnStatisticsTaskRunsCommand";
|
|
135
142
|
export * from "./ListCrawlersCommand";
|
|
136
143
|
export * from "./ListCrawlsCommand";
|
|
137
144
|
export * from "./ListCustomEntityTypesCommand";
|
|
@@ -147,6 +154,7 @@ export * from "./ListSchemaVersionsCommand";
|
|
|
147
154
|
export * from "./ListSchemasCommand";
|
|
148
155
|
export * from "./ListSessionsCommand";
|
|
149
156
|
export * from "./ListStatementsCommand";
|
|
157
|
+
export * from "./ListTableOptimizerRunsCommand";
|
|
150
158
|
export * from "./ListTriggersCommand";
|
|
151
159
|
export * from "./ListWorkflowsCommand";
|
|
152
160
|
export * from "./PutDataCatalogEncryptionSettingsCommand";
|
|
@@ -161,6 +169,7 @@ export * from "./ResumeWorkflowRunCommand";
|
|
|
161
169
|
export * from "./RunStatementCommand";
|
|
162
170
|
export * from "./SearchTablesCommand";
|
|
163
171
|
export * from "./StartBlueprintRunCommand";
|
|
172
|
+
export * from "./StartColumnStatisticsTaskRunCommand";
|
|
164
173
|
export * from "./StartCrawlerCommand";
|
|
165
174
|
export * from "./StartCrawlerScheduleCommand";
|
|
166
175
|
export * from "./StartDataQualityRuleRecommendationRunCommand";
|
|
@@ -172,6 +181,7 @@ export * from "./StartMLEvaluationTaskRunCommand";
|
|
|
172
181
|
export * from "./StartMLLabelingSetGenerationTaskRunCommand";
|
|
173
182
|
export * from "./StartTriggerCommand";
|
|
174
183
|
export * from "./StartWorkflowRunCommand";
|
|
184
|
+
export * from "./StopColumnStatisticsTaskRunCommand";
|
|
175
185
|
export * from "./StopCrawlerCommand";
|
|
176
186
|
export * from "./StopCrawlerScheduleCommand";
|
|
177
187
|
export * from "./StopSessionCommand";
|
|
@@ -197,6 +207,7 @@ export * from "./UpdateRegistryCommand";
|
|
|
197
207
|
export * from "./UpdateSchemaCommand";
|
|
198
208
|
export * from "./UpdateSourceControlFromJobCommand";
|
|
199
209
|
export * from "./UpdateTableCommand";
|
|
210
|
+
export * from "./UpdateTableOptimizerCommand";
|
|
200
211
|
export * from "./UpdateTriggerCommand";
|
|
201
212
|
export * from "./UpdateUserDefinedFunctionCommand";
|
|
202
213
|
export * from "./UpdateWorkflowCommand";
|