From 8a12fe47ec0c04f891b1aa7899de8827f093d193 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 31 Oct 2024 18:23:41 +0000 Subject: [PATCH] feat(client-glue): Add schedule support for AWS Glue column statistics --- clients/client-glue/README.md | 50 +- clients/client-glue/src/Glue.ts | 138 +++ clients/client-glue/src/GlueClient.ts | 36 + ...eateColumnStatisticsTaskSettingsCommand.ts | 131 +++ ...leteColumnStatisticsTaskSettingsCommand.ts | 108 +++ .../GetColumnStatisticsTaskRunCommand.ts | 1 + .../GetColumnStatisticsTaskRunsCommand.ts | 1 + .../GetColumnStatisticsTaskSettingsCommand.ts | 121 +++ .../src/commands/GetMLTaskRunCommand.ts | 3 +- .../src/commands/GetMLTaskRunsCommand.ts | 2 +- ...tColumnStatisticsTaskRunScheduleCommand.ts | 111 +++ ...pColumnStatisticsTaskRunScheduleCommand.ts | 108 +++ ...dateColumnStatisticsTaskSettingsCommand.ts | 122 +++ .../src/commands/UpdateDevEndpointCommand.ts | 2 +- .../src/commands/UpdateJobCommand.ts | 3 +- .../UpdateJobFromSourceControlCommand.ts | 2 +- .../src/commands/UpdateMLTransformCommand.ts | 2 +- .../src/commands/UpdatePartitionCommand.ts | 2 +- .../src/commands/UpdateRegistryCommand.ts | 2 +- .../src/commands/UpdateSchemaCommand.ts | 2 +- .../UpdateSourceControlFromJobCommand.ts | 3 +- clients/client-glue/src/commands/index.ts | 6 + clients/client-glue/src/models/models_1.ts | 515 +++++----- clients/client-glue/src/models/models_2.ts | 908 ++++++++---------- clients/client-glue/src/models/models_3.ts | 474 ++++++++- .../client-glue/src/protocols/Aws_json1_1.ts | 350 ++++++- codegen/sdk-codegen/aws-models/glue.json | 519 ++++++++++ 27 files changed, 2897 insertions(+), 825 deletions(-) create mode 100644 clients/client-glue/src/commands/CreateColumnStatisticsTaskSettingsCommand.ts create mode 100644 clients/client-glue/src/commands/DeleteColumnStatisticsTaskSettingsCommand.ts create mode 100644 clients/client-glue/src/commands/GetColumnStatisticsTaskSettingsCommand.ts create mode 100644 clients/client-glue/src/commands/StartColumnStatisticsTaskRunScheduleCommand.ts create mode 100644 clients/client-glue/src/commands/StopColumnStatisticsTaskRunScheduleCommand.ts create mode 100644 clients/client-glue/src/commands/UpdateColumnStatisticsTaskSettingsCommand.ts diff --git a/clients/client-glue/README.md b/clients/client-glue/README.md index 1295b5edf26d..383baa4cbede 100644 --- a/clients/client-glue/README.md +++ b/clients/client-glue/README.md @@ -12,7 +12,7 @@ AWS SDK for JavaScript Glue Client for Node.js, Browser and React Native. ## Installing -To install the this package, simply type add or install @aws-sdk/client-glue +To install this package, simply type add or install @aws-sdk/client-glue using your favorite package manager: - `npm install @aws-sdk/client-glue` @@ -404,6 +404,14 @@ CreateClassifier [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/CreateClassifierCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/CreateClassifierCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/CreateClassifierCommandOutput/) + +
+ +CreateColumnStatisticsTaskSettings + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/CreateColumnStatisticsTaskSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/CreateColumnStatisticsTaskSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/CreateColumnStatisticsTaskSettingsCommandOutput/) +
@@ -604,6 +612,14 @@ DeleteColumnStatisticsForTable [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/DeleteColumnStatisticsForTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/DeleteColumnStatisticsForTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/DeleteColumnStatisticsForTableCommandOutput/) +
+
+ +DeleteColumnStatisticsTaskSettings + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/DeleteColumnStatisticsTaskSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/DeleteColumnStatisticsTaskSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/DeleteColumnStatisticsTaskSettingsCommandOutput/) +
@@ -868,6 +884,14 @@ GetColumnStatisticsTaskRuns [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/GetColumnStatisticsTaskRunsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetColumnStatisticsTaskRunsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetColumnStatisticsTaskRunsCommandOutput/) +
+
+ +GetColumnStatisticsTaskSettings + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/GetColumnStatisticsTaskSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetColumnStatisticsTaskSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetColumnStatisticsTaskSettingsCommandOutput/) +
@@ -1660,6 +1684,14 @@ StartColumnStatisticsTaskRun [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/StartColumnStatisticsTaskRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/StartColumnStatisticsTaskRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/StartColumnStatisticsTaskRunCommandOutput/) +
+
+ +StartColumnStatisticsTaskRunSchedule + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/StartColumnStatisticsTaskRunScheduleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/StartColumnStatisticsTaskRunScheduleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/StartColumnStatisticsTaskRunScheduleCommandOutput/) +
@@ -1756,6 +1788,14 @@ StopColumnStatisticsTaskRun [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/StopColumnStatisticsTaskRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/StopColumnStatisticsTaskRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/StopColumnStatisticsTaskRunCommandOutput/) +
+
+ +StopColumnStatisticsTaskRunSchedule + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/StopColumnStatisticsTaskRunScheduleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/StopColumnStatisticsTaskRunScheduleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/StopColumnStatisticsTaskRunScheduleCommandOutput/) +
@@ -1852,6 +1892,14 @@ UpdateColumnStatisticsForTable [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/UpdateColumnStatisticsForTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/UpdateColumnStatisticsForTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/UpdateColumnStatisticsForTableCommandOutput/) +
+
+ +UpdateColumnStatisticsTaskSettings + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/UpdateColumnStatisticsTaskSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/UpdateColumnStatisticsTaskSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/UpdateColumnStatisticsTaskSettingsCommandOutput/) +
diff --git a/clients/client-glue/src/Glue.ts b/clients/client-glue/src/Glue.ts index e647992a2d8a..9ed7de860492 100644 --- a/clients/client-glue/src/Glue.ts +++ b/clients/client-glue/src/Glue.ts @@ -127,6 +127,11 @@ import { CreateClassifierCommandInput, CreateClassifierCommandOutput, } from "./commands/CreateClassifierCommand"; +import { + CreateColumnStatisticsTaskSettingsCommand, + CreateColumnStatisticsTaskSettingsCommandInput, + CreateColumnStatisticsTaskSettingsCommandOutput, +} from "./commands/CreateColumnStatisticsTaskSettingsCommand"; import { CreateConnectionCommand, CreateConnectionCommandInput, @@ -244,6 +249,11 @@ import { DeleteColumnStatisticsForTableCommandInput, DeleteColumnStatisticsForTableCommandOutput, } from "./commands/DeleteColumnStatisticsForTableCommand"; +import { + DeleteColumnStatisticsTaskSettingsCommand, + DeleteColumnStatisticsTaskSettingsCommandInput, + DeleteColumnStatisticsTaskSettingsCommandOutput, +} from "./commands/DeleteColumnStatisticsTaskSettingsCommand"; import { DeleteConnectionCommand, DeleteConnectionCommandInput, @@ -401,6 +411,11 @@ import { GetColumnStatisticsTaskRunsCommandInput, GetColumnStatisticsTaskRunsCommandOutput, } from "./commands/GetColumnStatisticsTaskRunsCommand"; +import { + GetColumnStatisticsTaskSettingsCommand, + GetColumnStatisticsTaskSettingsCommandInput, + GetColumnStatisticsTaskSettingsCommandOutput, +} from "./commands/GetColumnStatisticsTaskSettingsCommand"; import { GetConnectionCommand, GetConnectionCommandInput, @@ -812,6 +827,11 @@ import { StartColumnStatisticsTaskRunCommandInput, StartColumnStatisticsTaskRunCommandOutput, } from "./commands/StartColumnStatisticsTaskRunCommand"; +import { + StartColumnStatisticsTaskRunScheduleCommand, + StartColumnStatisticsTaskRunScheduleCommandInput, + StartColumnStatisticsTaskRunScheduleCommandOutput, +} from "./commands/StartColumnStatisticsTaskRunScheduleCommand"; import { StartCrawlerCommand, StartCrawlerCommandInput, @@ -868,6 +888,11 @@ import { StopColumnStatisticsTaskRunCommandInput, StopColumnStatisticsTaskRunCommandOutput, } from "./commands/StopColumnStatisticsTaskRunCommand"; +import { + StopColumnStatisticsTaskRunScheduleCommand, + StopColumnStatisticsTaskRunScheduleCommandInput, + StopColumnStatisticsTaskRunScheduleCommandOutput, +} from "./commands/StopColumnStatisticsTaskRunScheduleCommand"; import { StopCrawlerCommand, StopCrawlerCommandInput, StopCrawlerCommandOutput } from "./commands/StopCrawlerCommand"; import { StopCrawlerScheduleCommand, @@ -912,6 +937,11 @@ import { UpdateColumnStatisticsForTableCommandInput, UpdateColumnStatisticsForTableCommandOutput, } from "./commands/UpdateColumnStatisticsForTableCommand"; +import { + UpdateColumnStatisticsTaskSettingsCommand, + UpdateColumnStatisticsTaskSettingsCommandInput, + UpdateColumnStatisticsTaskSettingsCommandOutput, +} from "./commands/UpdateColumnStatisticsTaskSettingsCommand"; import { UpdateConnectionCommand, UpdateConnectionCommandInput, @@ -1027,6 +1057,7 @@ const commands = { CheckSchemaVersionValidityCommand, CreateBlueprintCommand, CreateClassifierCommand, + CreateColumnStatisticsTaskSettingsCommand, CreateConnectionCommand, CreateCrawlerCommand, CreateCustomEntityTypeCommand, @@ -1052,6 +1083,7 @@ const commands = { DeleteClassifierCommand, DeleteColumnStatisticsForPartitionCommand, DeleteColumnStatisticsForTableCommand, + DeleteColumnStatisticsTaskSettingsCommand, DeleteConnectionCommand, DeleteCrawlerCommand, DeleteCustomEntityTypeCommand, @@ -1085,6 +1117,7 @@ const commands = { GetColumnStatisticsForTableCommand, GetColumnStatisticsTaskRunCommand, GetColumnStatisticsTaskRunsCommand, + GetColumnStatisticsTaskSettingsCommand, GetConnectionCommand, GetConnectionsCommand, GetCrawlerCommand, @@ -1184,6 +1217,7 @@ const commands = { SearchTablesCommand, StartBlueprintRunCommand, StartColumnStatisticsTaskRunCommand, + StartColumnStatisticsTaskRunScheduleCommand, StartCrawlerCommand, StartCrawlerScheduleCommand, StartDataQualityRuleRecommendationRunCommand, @@ -1196,6 +1230,7 @@ const commands = { StartTriggerCommand, StartWorkflowRunCommand, StopColumnStatisticsTaskRunCommand, + StopColumnStatisticsTaskRunScheduleCommand, StopCrawlerCommand, StopCrawlerScheduleCommand, StopSessionCommand, @@ -1208,6 +1243,7 @@ const commands = { UpdateClassifierCommand, UpdateColumnStatisticsForPartitionCommand, UpdateColumnStatisticsForTableCommand, + UpdateColumnStatisticsTaskSettingsCommand, UpdateConnectionCommand, UpdateCrawlerCommand, UpdateCrawlerScheduleCommand, @@ -1638,6 +1674,23 @@ export interface Glue { cb: (err: any, data?: CreateClassifierCommandOutput) => void ): void; + /** + * @see {@link CreateColumnStatisticsTaskSettingsCommand} + */ + createColumnStatisticsTaskSettings( + args: CreateColumnStatisticsTaskSettingsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createColumnStatisticsTaskSettings( + args: CreateColumnStatisticsTaskSettingsCommandInput, + cb: (err: any, data?: CreateColumnStatisticsTaskSettingsCommandOutput) => void + ): void; + createColumnStatisticsTaskSettings( + args: CreateColumnStatisticsTaskSettingsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateColumnStatisticsTaskSettingsCommandOutput) => void + ): void; + /** * @see {@link CreateConnectionCommand} */ @@ -2007,6 +2060,23 @@ export interface Glue { cb: (err: any, data?: DeleteColumnStatisticsForTableCommandOutput) => void ): void; + /** + * @see {@link DeleteColumnStatisticsTaskSettingsCommand} + */ + deleteColumnStatisticsTaskSettings( + args: DeleteColumnStatisticsTaskSettingsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteColumnStatisticsTaskSettings( + args: DeleteColumnStatisticsTaskSettingsCommandInput, + cb: (err: any, data?: DeleteColumnStatisticsTaskSettingsCommandOutput) => void + ): void; + deleteColumnStatisticsTaskSettings( + args: DeleteColumnStatisticsTaskSettingsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteColumnStatisticsTaskSettingsCommandOutput) => void + ): void; + /** * @see {@link DeleteConnectionCommand} */ @@ -2505,6 +2575,23 @@ export interface Glue { cb: (err: any, data?: GetColumnStatisticsTaskRunsCommandOutput) => void ): void; + /** + * @see {@link GetColumnStatisticsTaskSettingsCommand} + */ + getColumnStatisticsTaskSettings( + args: GetColumnStatisticsTaskSettingsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getColumnStatisticsTaskSettings( + args: GetColumnStatisticsTaskSettingsCommandInput, + cb: (err: any, data?: GetColumnStatisticsTaskSettingsCommandOutput) => void + ): void; + getColumnStatisticsTaskSettings( + args: GetColumnStatisticsTaskSettingsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetColumnStatisticsTaskSettingsCommandOutput) => void + ): void; + /** * @see {@link GetConnectionCommand} */ @@ -3981,6 +4068,23 @@ export interface Glue { cb: (err: any, data?: StartColumnStatisticsTaskRunCommandOutput) => void ): void; + /** + * @see {@link StartColumnStatisticsTaskRunScheduleCommand} + */ + startColumnStatisticsTaskRunSchedule( + args: StartColumnStatisticsTaskRunScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + startColumnStatisticsTaskRunSchedule( + args: StartColumnStatisticsTaskRunScheduleCommandInput, + cb: (err: any, data?: StartColumnStatisticsTaskRunScheduleCommandOutput) => void + ): void; + startColumnStatisticsTaskRunSchedule( + args: StartColumnStatisticsTaskRunScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartColumnStatisticsTaskRunScheduleCommandOutput) => void + ): void; + /** * @see {@link StartCrawlerCommand} */ @@ -4167,6 +4271,23 @@ export interface Glue { cb: (err: any, data?: StopColumnStatisticsTaskRunCommandOutput) => void ): void; + /** + * @see {@link StopColumnStatisticsTaskRunScheduleCommand} + */ + stopColumnStatisticsTaskRunSchedule( + args: StopColumnStatisticsTaskRunScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + stopColumnStatisticsTaskRunSchedule( + args: StopColumnStatisticsTaskRunScheduleCommandInput, + cb: (err: any, data?: StopColumnStatisticsTaskRunScheduleCommandOutput) => void + ): void; + stopColumnStatisticsTaskRunSchedule( + args: StopColumnStatisticsTaskRunScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StopColumnStatisticsTaskRunScheduleCommandOutput) => void + ): void; + /** * @see {@link StopCrawlerCommand} */ @@ -4334,6 +4455,23 @@ export interface Glue { cb: (err: any, data?: UpdateColumnStatisticsForTableCommandOutput) => void ): void; + /** + * @see {@link UpdateColumnStatisticsTaskSettingsCommand} + */ + updateColumnStatisticsTaskSettings( + args: UpdateColumnStatisticsTaskSettingsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateColumnStatisticsTaskSettings( + args: UpdateColumnStatisticsTaskSettingsCommandInput, + cb: (err: any, data?: UpdateColumnStatisticsTaskSettingsCommandOutput) => void + ): void; + updateColumnStatisticsTaskSettings( + args: UpdateColumnStatisticsTaskSettingsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateColumnStatisticsTaskSettingsCommandOutput) => void + ): void; + /** * @see {@link UpdateConnectionCommand} */ diff --git a/clients/client-glue/src/GlueClient.ts b/clients/client-glue/src/GlueClient.ts index 4f2e6d485acb..28d4ca0be8ad 100644 --- a/clients/client-glue/src/GlueClient.ts +++ b/clients/client-glue/src/GlueClient.ts @@ -117,6 +117,10 @@ import { } from "./commands/CheckSchemaVersionValidityCommand"; import { CreateBlueprintCommandInput, CreateBlueprintCommandOutput } from "./commands/CreateBlueprintCommand"; import { CreateClassifierCommandInput, CreateClassifierCommandOutput } from "./commands/CreateClassifierCommand"; +import { + CreateColumnStatisticsTaskSettingsCommandInput, + CreateColumnStatisticsTaskSettingsCommandOutput, +} from "./commands/CreateColumnStatisticsTaskSettingsCommand"; import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand"; import { CreateCrawlerCommandInput, CreateCrawlerCommandOutput } from "./commands/CreateCrawlerCommand"; import { @@ -166,6 +170,10 @@ import { DeleteColumnStatisticsForTableCommandInput, DeleteColumnStatisticsForTableCommandOutput, } from "./commands/DeleteColumnStatisticsForTableCommand"; +import { + DeleteColumnStatisticsTaskSettingsCommandInput, + DeleteColumnStatisticsTaskSettingsCommandOutput, +} from "./commands/DeleteColumnStatisticsTaskSettingsCommand"; import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand"; import { DeleteCrawlerCommandInput, DeleteCrawlerCommandOutput } from "./commands/DeleteCrawlerCommand"; import { @@ -238,6 +246,10 @@ import { GetColumnStatisticsTaskRunsCommandInput, GetColumnStatisticsTaskRunsCommandOutput, } from "./commands/GetColumnStatisticsTaskRunsCommand"; +import { + GetColumnStatisticsTaskSettingsCommandInput, + GetColumnStatisticsTaskSettingsCommandOutput, +} from "./commands/GetColumnStatisticsTaskSettingsCommand"; import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand"; import { GetConnectionsCommandInput, GetConnectionsCommandOutput } from "./commands/GetConnectionsCommand"; import { GetCrawlerCommandInput, GetCrawlerCommandOutput } from "./commands/GetCrawlerCommand"; @@ -451,6 +463,10 @@ import { StartColumnStatisticsTaskRunCommandInput, StartColumnStatisticsTaskRunCommandOutput, } from "./commands/StartColumnStatisticsTaskRunCommand"; +import { + StartColumnStatisticsTaskRunScheduleCommandInput, + StartColumnStatisticsTaskRunScheduleCommandOutput, +} from "./commands/StartColumnStatisticsTaskRunScheduleCommand"; import { StartCrawlerCommandInput, StartCrawlerCommandOutput } from "./commands/StartCrawlerCommand"; import { StartCrawlerScheduleCommandInput, @@ -487,6 +503,10 @@ import { StopColumnStatisticsTaskRunCommandInput, StopColumnStatisticsTaskRunCommandOutput, } from "./commands/StopColumnStatisticsTaskRunCommand"; +import { + StopColumnStatisticsTaskRunScheduleCommandInput, + StopColumnStatisticsTaskRunScheduleCommandOutput, +} from "./commands/StopColumnStatisticsTaskRunScheduleCommand"; import { StopCrawlerCommandInput, StopCrawlerCommandOutput } from "./commands/StopCrawlerCommand"; import { StopCrawlerScheduleCommandInput, @@ -508,6 +528,10 @@ import { UpdateColumnStatisticsForTableCommandInput, UpdateColumnStatisticsForTableCommandOutput, } from "./commands/UpdateColumnStatisticsForTableCommand"; +import { + UpdateColumnStatisticsTaskSettingsCommandInput, + UpdateColumnStatisticsTaskSettingsCommandOutput, +} from "./commands/UpdateColumnStatisticsTaskSettingsCommand"; import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand"; import { UpdateCrawlerCommandInput, UpdateCrawlerCommandOutput } from "./commands/UpdateCrawlerCommand"; import { @@ -585,6 +609,7 @@ export type ServiceInputTypes = | CheckSchemaVersionValidityCommandInput | CreateBlueprintCommandInput | CreateClassifierCommandInput + | CreateColumnStatisticsTaskSettingsCommandInput | CreateConnectionCommandInput | CreateCrawlerCommandInput | CreateCustomEntityTypeCommandInput @@ -610,6 +635,7 @@ export type ServiceInputTypes = | DeleteClassifierCommandInput | DeleteColumnStatisticsForPartitionCommandInput | DeleteColumnStatisticsForTableCommandInput + | DeleteColumnStatisticsTaskSettingsCommandInput | DeleteConnectionCommandInput | DeleteCrawlerCommandInput | DeleteCustomEntityTypeCommandInput @@ -643,6 +669,7 @@ export type ServiceInputTypes = | GetColumnStatisticsForTableCommandInput | GetColumnStatisticsTaskRunCommandInput | GetColumnStatisticsTaskRunsCommandInput + | GetColumnStatisticsTaskSettingsCommandInput | GetConnectionCommandInput | GetConnectionsCommandInput | GetCrawlerCommandInput @@ -742,6 +769,7 @@ export type ServiceInputTypes = | SearchTablesCommandInput | StartBlueprintRunCommandInput | StartColumnStatisticsTaskRunCommandInput + | StartColumnStatisticsTaskRunScheduleCommandInput | StartCrawlerCommandInput | StartCrawlerScheduleCommandInput | StartDataQualityRuleRecommendationRunCommandInput @@ -754,6 +782,7 @@ export type ServiceInputTypes = | StartTriggerCommandInput | StartWorkflowRunCommandInput | StopColumnStatisticsTaskRunCommandInput + | StopColumnStatisticsTaskRunScheduleCommandInput | StopCrawlerCommandInput | StopCrawlerScheduleCommandInput | StopSessionCommandInput @@ -766,6 +795,7 @@ export type ServiceInputTypes = | UpdateClassifierCommandInput | UpdateColumnStatisticsForPartitionCommandInput | UpdateColumnStatisticsForTableCommandInput + | UpdateColumnStatisticsTaskSettingsCommandInput | UpdateConnectionCommandInput | UpdateCrawlerCommandInput | UpdateCrawlerScheduleCommandInput @@ -815,6 +845,7 @@ export type ServiceOutputTypes = | CheckSchemaVersionValidityCommandOutput | CreateBlueprintCommandOutput | CreateClassifierCommandOutput + | CreateColumnStatisticsTaskSettingsCommandOutput | CreateConnectionCommandOutput | CreateCrawlerCommandOutput | CreateCustomEntityTypeCommandOutput @@ -840,6 +871,7 @@ export type ServiceOutputTypes = | DeleteClassifierCommandOutput | DeleteColumnStatisticsForPartitionCommandOutput | DeleteColumnStatisticsForTableCommandOutput + | DeleteColumnStatisticsTaskSettingsCommandOutput | DeleteConnectionCommandOutput | DeleteCrawlerCommandOutput | DeleteCustomEntityTypeCommandOutput @@ -873,6 +905,7 @@ export type ServiceOutputTypes = | GetColumnStatisticsForTableCommandOutput | GetColumnStatisticsTaskRunCommandOutput | GetColumnStatisticsTaskRunsCommandOutput + | GetColumnStatisticsTaskSettingsCommandOutput | GetConnectionCommandOutput | GetConnectionsCommandOutput | GetCrawlerCommandOutput @@ -972,6 +1005,7 @@ export type ServiceOutputTypes = | SearchTablesCommandOutput | StartBlueprintRunCommandOutput | StartColumnStatisticsTaskRunCommandOutput + | StartColumnStatisticsTaskRunScheduleCommandOutput | StartCrawlerCommandOutput | StartCrawlerScheduleCommandOutput | StartDataQualityRuleRecommendationRunCommandOutput @@ -984,6 +1018,7 @@ export type ServiceOutputTypes = | StartTriggerCommandOutput | StartWorkflowRunCommandOutput | StopColumnStatisticsTaskRunCommandOutput + | StopColumnStatisticsTaskRunScheduleCommandOutput | StopCrawlerCommandOutput | StopCrawlerScheduleCommandOutput | StopSessionCommandOutput @@ -996,6 +1031,7 @@ export type ServiceOutputTypes = | UpdateClassifierCommandOutput | UpdateColumnStatisticsForPartitionCommandOutput | UpdateColumnStatisticsForTableCommandOutput + | UpdateColumnStatisticsTaskSettingsCommandOutput | UpdateConnectionCommandOutput | UpdateCrawlerCommandOutput | UpdateCrawlerScheduleCommandOutput diff --git a/clients/client-glue/src/commands/CreateColumnStatisticsTaskSettingsCommand.ts b/clients/client-glue/src/commands/CreateColumnStatisticsTaskSettingsCommand.ts new file mode 100644 index 000000000000..2c40078fced5 --- /dev/null +++ b/clients/client-glue/src/commands/CreateColumnStatisticsTaskSettingsCommand.ts @@ -0,0 +1,131 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; +import { + CreateColumnStatisticsTaskSettingsRequest, + CreateColumnStatisticsTaskSettingsResponse, +} from "../models/models_1"; +import { + de_CreateColumnStatisticsTaskSettingsCommand, + se_CreateColumnStatisticsTaskSettingsCommand, +} from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateColumnStatisticsTaskSettingsCommand}. + */ +export interface CreateColumnStatisticsTaskSettingsCommandInput extends CreateColumnStatisticsTaskSettingsRequest {} +/** + * @public + * + * The output of {@link CreateColumnStatisticsTaskSettingsCommand}. + */ +export interface CreateColumnStatisticsTaskSettingsCommandOutput + extends CreateColumnStatisticsTaskSettingsResponse, + __MetadataBearer {} + +/** + *

Creates settings for a column statistics task.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { GlueClient, CreateColumnStatisticsTaskSettingsCommand } from "@aws-sdk/client-glue"; // ES Modules import + * // const { GlueClient, CreateColumnStatisticsTaskSettingsCommand } = require("@aws-sdk/client-glue"); // CommonJS import + * const client = new GlueClient(config); + * const input = { // CreateColumnStatisticsTaskSettingsRequest + * DatabaseName: "STRING_VALUE", // required + * TableName: "STRING_VALUE", // required + * Role: "STRING_VALUE", // required + * Schedule: "STRING_VALUE", + * ColumnNameList: [ // ColumnNameList + * "STRING_VALUE", + * ], + * SampleSize: Number("double"), + * CatalogID: "STRING_VALUE", + * SecurityConfiguration: "STRING_VALUE", + * Tags: { // TagsMap + * "": "STRING_VALUE", + * }, + * }; + * const command = new CreateColumnStatisticsTaskSettingsCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param CreateColumnStatisticsTaskSettingsCommandInput - {@link CreateColumnStatisticsTaskSettingsCommandInput} + * @returns {@link CreateColumnStatisticsTaskSettingsCommandOutput} + * @see {@link CreateColumnStatisticsTaskSettingsCommandInput} for command's `input` shape. + * @see {@link CreateColumnStatisticsTaskSettingsCommandOutput} for command's `response` shape. + * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *

Access to a resource was denied.

+ * + * @throws {@link AlreadyExistsException} (client fault) + *

A resource to be created or added already exists.

+ * + * @throws {@link ColumnStatisticsTaskRunningException} (client fault) + *

An exception thrown when you try to start another job while running a column stats generation job.

+ * + * @throws {@link EntityNotFoundException} (client fault) + *

A specified entity does not exist

+ * + * @throws {@link InvalidInputException} (client fault) + *

The input provided was not valid.

+ * + * @throws {@link OperationTimeoutException} (client fault) + *

The operation timed out.

+ * + * @throws {@link ResourceNumberLimitExceededException} (client fault) + *

A resource numerical limit was exceeded.

+ * + * @throws {@link GlueServiceException} + *

Base exception class for all service exceptions from Glue service.

+ * + * @public + */ +export class CreateColumnStatisticsTaskSettingsCommand extends $Command + .classBuilder< + CreateColumnStatisticsTaskSettingsCommandInput, + CreateColumnStatisticsTaskSettingsCommandOutput, + GlueClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: GlueClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("AWSGlue", "CreateColumnStatisticsTaskSettings", {}) + .n("GlueClient", "CreateColumnStatisticsTaskSettingsCommand") + .f(void 0, void 0) + .ser(se_CreateColumnStatisticsTaskSettingsCommand) + .de(de_CreateColumnStatisticsTaskSettingsCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: CreateColumnStatisticsTaskSettingsRequest; + output: {}; + }; + sdk: { + input: CreateColumnStatisticsTaskSettingsCommandInput; + output: CreateColumnStatisticsTaskSettingsCommandOutput; + }; + }; +} diff --git a/clients/client-glue/src/commands/DeleteColumnStatisticsTaskSettingsCommand.ts b/clients/client-glue/src/commands/DeleteColumnStatisticsTaskSettingsCommand.ts new file mode 100644 index 000000000000..d59ca4bcdb2a --- /dev/null +++ b/clients/client-glue/src/commands/DeleteColumnStatisticsTaskSettingsCommand.ts @@ -0,0 +1,108 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; +import { + DeleteColumnStatisticsTaskSettingsRequest, + DeleteColumnStatisticsTaskSettingsResponse, +} from "../models/models_1"; +import { + de_DeleteColumnStatisticsTaskSettingsCommand, + se_DeleteColumnStatisticsTaskSettingsCommand, +} from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteColumnStatisticsTaskSettingsCommand}. + */ +export interface DeleteColumnStatisticsTaskSettingsCommandInput extends DeleteColumnStatisticsTaskSettingsRequest {} +/** + * @public + * + * The output of {@link DeleteColumnStatisticsTaskSettingsCommand}. + */ +export interface DeleteColumnStatisticsTaskSettingsCommandOutput + extends DeleteColumnStatisticsTaskSettingsResponse, + __MetadataBearer {} + +/** + *

Deletes settings for a column statistics task.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { GlueClient, DeleteColumnStatisticsTaskSettingsCommand } from "@aws-sdk/client-glue"; // ES Modules import + * // const { GlueClient, DeleteColumnStatisticsTaskSettingsCommand } = require("@aws-sdk/client-glue"); // CommonJS import + * const client = new GlueClient(config); + * const input = { // DeleteColumnStatisticsTaskSettingsRequest + * DatabaseName: "STRING_VALUE", // required + * TableName: "STRING_VALUE", // required + * }; + * const command = new DeleteColumnStatisticsTaskSettingsCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteColumnStatisticsTaskSettingsCommandInput - {@link DeleteColumnStatisticsTaskSettingsCommandInput} + * @returns {@link DeleteColumnStatisticsTaskSettingsCommandOutput} + * @see {@link DeleteColumnStatisticsTaskSettingsCommandInput} for command's `input` shape. + * @see {@link DeleteColumnStatisticsTaskSettingsCommandOutput} for command's `response` shape. + * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. + * + * @throws {@link EntityNotFoundException} (client fault) + *

A specified entity does not exist

+ * + * @throws {@link InvalidInputException} (client fault) + *

The input provided was not valid.

+ * + * @throws {@link OperationTimeoutException} (client fault) + *

The operation timed out.

+ * + * @throws {@link GlueServiceException} + *

Base exception class for all service exceptions from Glue service.

+ * + * @public + */ +export class DeleteColumnStatisticsTaskSettingsCommand extends $Command + .classBuilder< + DeleteColumnStatisticsTaskSettingsCommandInput, + DeleteColumnStatisticsTaskSettingsCommandOutput, + GlueClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: GlueClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("AWSGlue", "DeleteColumnStatisticsTaskSettings", {}) + .n("GlueClient", "DeleteColumnStatisticsTaskSettingsCommand") + .f(void 0, void 0) + .ser(se_DeleteColumnStatisticsTaskSettingsCommand) + .de(de_DeleteColumnStatisticsTaskSettingsCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: DeleteColumnStatisticsTaskSettingsRequest; + output: {}; + }; + sdk: { + input: DeleteColumnStatisticsTaskSettingsCommandInput; + output: DeleteColumnStatisticsTaskSettingsCommandOutput; + }; + }; +} diff --git a/clients/client-glue/src/commands/GetColumnStatisticsTaskRunCommand.ts b/clients/client-glue/src/commands/GetColumnStatisticsTaskRunCommand.ts index 84f011394c97..4d61f25ab598 100644 --- a/clients/client-glue/src/commands/GetColumnStatisticsTaskRunCommand.ts +++ b/clients/client-glue/src/commands/GetColumnStatisticsTaskRunCommand.ts @@ -55,6 +55,7 @@ export interface GetColumnStatisticsTaskRunCommandOutput extends GetColumnStatis * // SecurityConfiguration: "STRING_VALUE", * // NumberOfWorkers: Number("int"), * // WorkerType: "STRING_VALUE", + * // ComputationType: "FULL" || "INCREMENTAL", * // Status: "STARTING" || "RUNNING" || "SUCCEEDED" || "FAILED" || "STOPPED", * // CreationTime: new Date("TIMESTAMP"), * // LastUpdated: new Date("TIMESTAMP"), diff --git a/clients/client-glue/src/commands/GetColumnStatisticsTaskRunsCommand.ts b/clients/client-glue/src/commands/GetColumnStatisticsTaskRunsCommand.ts index 59d2699bf921..4d9ed28563ee 100644 --- a/clients/client-glue/src/commands/GetColumnStatisticsTaskRunsCommand.ts +++ b/clients/client-glue/src/commands/GetColumnStatisticsTaskRunsCommand.ts @@ -61,6 +61,7 @@ export interface GetColumnStatisticsTaskRunsCommandOutput * // SecurityConfiguration: "STRING_VALUE", * // NumberOfWorkers: Number("int"), * // WorkerType: "STRING_VALUE", + * // ComputationType: "FULL" || "INCREMENTAL", * // Status: "STARTING" || "RUNNING" || "SUCCEEDED" || "FAILED" || "STOPPED", * // CreationTime: new Date("TIMESTAMP"), * // LastUpdated: new Date("TIMESTAMP"), diff --git a/clients/client-glue/src/commands/GetColumnStatisticsTaskSettingsCommand.ts b/clients/client-glue/src/commands/GetColumnStatisticsTaskSettingsCommand.ts new file mode 100644 index 000000000000..3c215b7ae49c --- /dev/null +++ b/clients/client-glue/src/commands/GetColumnStatisticsTaskSettingsCommand.ts @@ -0,0 +1,121 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; +import { GetColumnStatisticsTaskSettingsRequest, GetColumnStatisticsTaskSettingsResponse } from "../models/models_1"; +import { + de_GetColumnStatisticsTaskSettingsCommand, + se_GetColumnStatisticsTaskSettingsCommand, +} from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetColumnStatisticsTaskSettingsCommand}. + */ +export interface GetColumnStatisticsTaskSettingsCommandInput extends GetColumnStatisticsTaskSettingsRequest {} +/** + * @public + * + * The output of {@link GetColumnStatisticsTaskSettingsCommand}. + */ +export interface GetColumnStatisticsTaskSettingsCommandOutput + extends GetColumnStatisticsTaskSettingsResponse, + __MetadataBearer {} + +/** + *

Gets settings for a column statistics task.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { GlueClient, GetColumnStatisticsTaskSettingsCommand } from "@aws-sdk/client-glue"; // ES Modules import + * // const { GlueClient, GetColumnStatisticsTaskSettingsCommand } = require("@aws-sdk/client-glue"); // CommonJS import + * const client = new GlueClient(config); + * const input = { // GetColumnStatisticsTaskSettingsRequest + * DatabaseName: "STRING_VALUE", // required + * TableName: "STRING_VALUE", // required + * }; + * const command = new GetColumnStatisticsTaskSettingsCommand(input); + * const response = await client.send(command); + * // { // GetColumnStatisticsTaskSettingsResponse + * // ColumnStatisticsTaskSettings: { // ColumnStatisticsTaskSettings + * // DatabaseName: "STRING_VALUE", + * // TableName: "STRING_VALUE", + * // Schedule: { // Schedule + * // ScheduleExpression: "STRING_VALUE", + * // State: "SCHEDULED" || "NOT_SCHEDULED" || "TRANSITIONING", + * // }, + * // ColumnNameList: [ // ColumnNameList + * // "STRING_VALUE", + * // ], + * // CatalogID: "STRING_VALUE", + * // Role: "STRING_VALUE", + * // SampleSize: Number("double"), + * // SecurityConfiguration: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param GetColumnStatisticsTaskSettingsCommandInput - {@link GetColumnStatisticsTaskSettingsCommandInput} + * @returns {@link GetColumnStatisticsTaskSettingsCommandOutput} + * @see {@link GetColumnStatisticsTaskSettingsCommandInput} for command's `input` shape. + * @see {@link GetColumnStatisticsTaskSettingsCommandOutput} for command's `response` shape. + * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. + * + * @throws {@link EntityNotFoundException} (client fault) + *

A specified entity does not exist

+ * + * @throws {@link InvalidInputException} (client fault) + *

The input provided was not valid.

+ * + * @throws {@link OperationTimeoutException} (client fault) + *

The operation timed out.

+ * + * @throws {@link GlueServiceException} + *

Base exception class for all service exceptions from Glue service.

+ * + * @public + */ +export class GetColumnStatisticsTaskSettingsCommand extends $Command + .classBuilder< + GetColumnStatisticsTaskSettingsCommandInput, + GetColumnStatisticsTaskSettingsCommandOutput, + GlueClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: GlueClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("AWSGlue", "GetColumnStatisticsTaskSettings", {}) + .n("GlueClient", "GetColumnStatisticsTaskSettingsCommand") + .f(void 0, void 0) + .ser(se_GetColumnStatisticsTaskSettingsCommand) + .de(de_GetColumnStatisticsTaskSettingsCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: GetColumnStatisticsTaskSettingsRequest; + output: GetColumnStatisticsTaskSettingsResponse; + }; + sdk: { + input: GetColumnStatisticsTaskSettingsCommandInput; + output: GetColumnStatisticsTaskSettingsCommandOutput; + }; + }; +} diff --git a/clients/client-glue/src/commands/GetMLTaskRunCommand.ts b/clients/client-glue/src/commands/GetMLTaskRunCommand.ts index e2f7a04d9f8c..2fcdfe0e2093 100644 --- a/clients/client-glue/src/commands/GetMLTaskRunCommand.ts +++ b/clients/client-glue/src/commands/GetMLTaskRunCommand.ts @@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { GetMLTaskRunRequest, GetMLTaskRunResponse } from "../models/models_1"; +import { GetMLTaskRunRequest } from "../models/models_1"; +import { GetMLTaskRunResponse } from "../models/models_2"; import { de_GetMLTaskRunCommand, se_GetMLTaskRunCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/GetMLTaskRunsCommand.ts b/clients/client-glue/src/commands/GetMLTaskRunsCommand.ts index 80b543219d44..1385a9917ffb 100644 --- a/clients/client-glue/src/commands/GetMLTaskRunsCommand.ts +++ b/clients/client-glue/src/commands/GetMLTaskRunsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { GetMLTaskRunsRequest, GetMLTaskRunsResponse } from "../models/models_1"; +import { GetMLTaskRunsRequest, GetMLTaskRunsResponse } from "../models/models_2"; import { de_GetMLTaskRunsCommand, se_GetMLTaskRunsCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/StartColumnStatisticsTaskRunScheduleCommand.ts b/clients/client-glue/src/commands/StartColumnStatisticsTaskRunScheduleCommand.ts new file mode 100644 index 000000000000..9d22d3db04bc --- /dev/null +++ b/clients/client-glue/src/commands/StartColumnStatisticsTaskRunScheduleCommand.ts @@ -0,0 +1,111 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; +import { + StartColumnStatisticsTaskRunScheduleRequest, + StartColumnStatisticsTaskRunScheduleResponse, +} from "../models/models_2"; +import { + de_StartColumnStatisticsTaskRunScheduleCommand, + se_StartColumnStatisticsTaskRunScheduleCommand, +} from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link StartColumnStatisticsTaskRunScheduleCommand}. + */ +export interface StartColumnStatisticsTaskRunScheduleCommandInput extends StartColumnStatisticsTaskRunScheduleRequest {} +/** + * @public + * + * The output of {@link StartColumnStatisticsTaskRunScheduleCommand}. + */ +export interface StartColumnStatisticsTaskRunScheduleCommandOutput + extends StartColumnStatisticsTaskRunScheduleResponse, + __MetadataBearer {} + +/** + *

Starts a column statistics task run schedule.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { GlueClient, StartColumnStatisticsTaskRunScheduleCommand } from "@aws-sdk/client-glue"; // ES Modules import + * // const { GlueClient, StartColumnStatisticsTaskRunScheduleCommand } = require("@aws-sdk/client-glue"); // CommonJS import + * const client = new GlueClient(config); + * const input = { // StartColumnStatisticsTaskRunScheduleRequest + * DatabaseName: "STRING_VALUE", // required + * TableName: "STRING_VALUE", // required + * }; + * const command = new StartColumnStatisticsTaskRunScheduleCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param StartColumnStatisticsTaskRunScheduleCommandInput - {@link StartColumnStatisticsTaskRunScheduleCommandInput} + * @returns {@link StartColumnStatisticsTaskRunScheduleCommandOutput} + * @see {@link StartColumnStatisticsTaskRunScheduleCommandInput} for command's `input` shape. + * @see {@link StartColumnStatisticsTaskRunScheduleCommandOutput} for command's `response` shape. + * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *

Access to a resource was denied.

+ * + * @throws {@link EntityNotFoundException} (client fault) + *

A specified entity does not exist

+ * + * @throws {@link InvalidInputException} (client fault) + *

The input provided was not valid.

+ * + * @throws {@link OperationTimeoutException} (client fault) + *

The operation timed out.

+ * + * @throws {@link GlueServiceException} + *

Base exception class for all service exceptions from Glue service.

+ * + * @public + */ +export class StartColumnStatisticsTaskRunScheduleCommand extends $Command + .classBuilder< + StartColumnStatisticsTaskRunScheduleCommandInput, + StartColumnStatisticsTaskRunScheduleCommandOutput, + GlueClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: GlueClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("AWSGlue", "StartColumnStatisticsTaskRunSchedule", {}) + .n("GlueClient", "StartColumnStatisticsTaskRunScheduleCommand") + .f(void 0, void 0) + .ser(se_StartColumnStatisticsTaskRunScheduleCommand) + .de(de_StartColumnStatisticsTaskRunScheduleCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: StartColumnStatisticsTaskRunScheduleRequest; + output: {}; + }; + sdk: { + input: StartColumnStatisticsTaskRunScheduleCommandInput; + output: StartColumnStatisticsTaskRunScheduleCommandOutput; + }; + }; +} diff --git a/clients/client-glue/src/commands/StopColumnStatisticsTaskRunScheduleCommand.ts b/clients/client-glue/src/commands/StopColumnStatisticsTaskRunScheduleCommand.ts new file mode 100644 index 000000000000..e7ead9372834 --- /dev/null +++ b/clients/client-glue/src/commands/StopColumnStatisticsTaskRunScheduleCommand.ts @@ -0,0 +1,108 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; +import { + StopColumnStatisticsTaskRunScheduleRequest, + StopColumnStatisticsTaskRunScheduleResponse, +} from "../models/models_2"; +import { + de_StopColumnStatisticsTaskRunScheduleCommand, + se_StopColumnStatisticsTaskRunScheduleCommand, +} from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link StopColumnStatisticsTaskRunScheduleCommand}. + */ +export interface StopColumnStatisticsTaskRunScheduleCommandInput extends StopColumnStatisticsTaskRunScheduleRequest {} +/** + * @public + * + * The output of {@link StopColumnStatisticsTaskRunScheduleCommand}. + */ +export interface StopColumnStatisticsTaskRunScheduleCommandOutput + extends StopColumnStatisticsTaskRunScheduleResponse, + __MetadataBearer {} + +/** + *

Stops a column statistics task run schedule.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { GlueClient, StopColumnStatisticsTaskRunScheduleCommand } from "@aws-sdk/client-glue"; // ES Modules import + * // const { GlueClient, StopColumnStatisticsTaskRunScheduleCommand } = require("@aws-sdk/client-glue"); // CommonJS import + * const client = new GlueClient(config); + * const input = { // StopColumnStatisticsTaskRunScheduleRequest + * DatabaseName: "STRING_VALUE", // required + * TableName: "STRING_VALUE", // required + * }; + * const command = new StopColumnStatisticsTaskRunScheduleCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param StopColumnStatisticsTaskRunScheduleCommandInput - {@link StopColumnStatisticsTaskRunScheduleCommandInput} + * @returns {@link StopColumnStatisticsTaskRunScheduleCommandOutput} + * @see {@link StopColumnStatisticsTaskRunScheduleCommandInput} for command's `input` shape. + * @see {@link StopColumnStatisticsTaskRunScheduleCommandOutput} for command's `response` shape. + * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. + * + * @throws {@link EntityNotFoundException} (client fault) + *

A specified entity does not exist

+ * + * @throws {@link InvalidInputException} (client fault) + *

The input provided was not valid.

+ * + * @throws {@link OperationTimeoutException} (client fault) + *

The operation timed out.

+ * + * @throws {@link GlueServiceException} + *

Base exception class for all service exceptions from Glue service.

+ * + * @public + */ +export class StopColumnStatisticsTaskRunScheduleCommand extends $Command + .classBuilder< + StopColumnStatisticsTaskRunScheduleCommandInput, + StopColumnStatisticsTaskRunScheduleCommandOutput, + GlueClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: GlueClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("AWSGlue", "StopColumnStatisticsTaskRunSchedule", {}) + .n("GlueClient", "StopColumnStatisticsTaskRunScheduleCommand") + .f(void 0, void 0) + .ser(se_StopColumnStatisticsTaskRunScheduleCommand) + .de(de_StopColumnStatisticsTaskRunScheduleCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: StopColumnStatisticsTaskRunScheduleRequest; + output: {}; + }; + sdk: { + input: StopColumnStatisticsTaskRunScheduleCommandInput; + output: StopColumnStatisticsTaskRunScheduleCommandOutput; + }; + }; +} diff --git a/clients/client-glue/src/commands/UpdateColumnStatisticsTaskSettingsCommand.ts b/clients/client-glue/src/commands/UpdateColumnStatisticsTaskSettingsCommand.ts new file mode 100644 index 000000000000..ce7e0e6c6ad1 --- /dev/null +++ b/clients/client-glue/src/commands/UpdateColumnStatisticsTaskSettingsCommand.ts @@ -0,0 +1,122 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; +import { + UpdateColumnStatisticsTaskSettingsRequest, + UpdateColumnStatisticsTaskSettingsResponse, +} from "../models/models_2"; +import { + de_UpdateColumnStatisticsTaskSettingsCommand, + se_UpdateColumnStatisticsTaskSettingsCommand, +} from "../protocols/Aws_json1_1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link UpdateColumnStatisticsTaskSettingsCommand}. + */ +export interface UpdateColumnStatisticsTaskSettingsCommandInput extends UpdateColumnStatisticsTaskSettingsRequest {} +/** + * @public + * + * The output of {@link UpdateColumnStatisticsTaskSettingsCommand}. + */ +export interface UpdateColumnStatisticsTaskSettingsCommandOutput + extends UpdateColumnStatisticsTaskSettingsResponse, + __MetadataBearer {} + +/** + *

Updates settings for a column statistics task.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { GlueClient, UpdateColumnStatisticsTaskSettingsCommand } from "@aws-sdk/client-glue"; // ES Modules import + * // const { GlueClient, UpdateColumnStatisticsTaskSettingsCommand } = require("@aws-sdk/client-glue"); // CommonJS import + * const client = new GlueClient(config); + * const input = { // UpdateColumnStatisticsTaskSettingsRequest + * DatabaseName: "STRING_VALUE", // required + * TableName: "STRING_VALUE", // required + * Role: "STRING_VALUE", + * Schedule: "STRING_VALUE", + * ColumnNameList: [ // ColumnNameList + * "STRING_VALUE", + * ], + * SampleSize: Number("double"), + * CatalogID: "STRING_VALUE", + * SecurityConfiguration: "STRING_VALUE", + * }; + * const command = new UpdateColumnStatisticsTaskSettingsCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UpdateColumnStatisticsTaskSettingsCommandInput - {@link UpdateColumnStatisticsTaskSettingsCommandInput} + * @returns {@link UpdateColumnStatisticsTaskSettingsCommandOutput} + * @see {@link UpdateColumnStatisticsTaskSettingsCommandInput} for command's `input` shape. + * @see {@link UpdateColumnStatisticsTaskSettingsCommandOutput} for command's `response` shape. + * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *

Access to a resource was denied.

+ * + * @throws {@link EntityNotFoundException} (client fault) + *

A specified entity does not exist

+ * + * @throws {@link InvalidInputException} (client fault) + *

The input provided was not valid.

+ * + * @throws {@link OperationTimeoutException} (client fault) + *

The operation timed out.

+ * + * @throws {@link VersionMismatchException} (client fault) + *

There was a version conflict.

+ * + * @throws {@link GlueServiceException} + *

Base exception class for all service exceptions from Glue service.

+ * + * @public + */ +export class UpdateColumnStatisticsTaskSettingsCommand extends $Command + .classBuilder< + UpdateColumnStatisticsTaskSettingsCommandInput, + UpdateColumnStatisticsTaskSettingsCommandOutput, + GlueClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: GlueClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("AWSGlue", "UpdateColumnStatisticsTaskSettings", {}) + .n("GlueClient", "UpdateColumnStatisticsTaskSettingsCommand") + .f(void 0, void 0) + .ser(se_UpdateColumnStatisticsTaskSettingsCommand) + .de(de_UpdateColumnStatisticsTaskSettingsCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: UpdateColumnStatisticsTaskSettingsRequest; + output: {}; + }; + sdk: { + input: UpdateColumnStatisticsTaskSettingsCommandInput; + output: UpdateColumnStatisticsTaskSettingsCommandOutput; + }; + }; +} diff --git a/clients/client-glue/src/commands/UpdateDevEndpointCommand.ts b/clients/client-glue/src/commands/UpdateDevEndpointCommand.ts index 54e44df81457..3ee502515bdf 100644 --- a/clients/client-glue/src/commands/UpdateDevEndpointCommand.ts +++ b/clients/client-glue/src/commands/UpdateDevEndpointCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { UpdateDevEndpointRequest, UpdateDevEndpointResponse } from "../models/models_2"; +import { UpdateDevEndpointRequest, UpdateDevEndpointResponse } from "../models/models_3"; import { de_UpdateDevEndpointCommand, se_UpdateDevEndpointCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/UpdateJobCommand.ts b/clients/client-glue/src/commands/UpdateJobCommand.ts index 3163f6677ab5..e8d9f1c84dd8 100644 --- a/clients/client-glue/src/commands/UpdateJobCommand.ts +++ b/clients/client-glue/src/commands/UpdateJobCommand.ts @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { UpdateJobResponse } from "../models/models_2"; -import { UpdateJobRequest, UpdateJobRequestFilterSensitiveLog } from "../models/models_3"; +import { UpdateJobRequest, UpdateJobRequestFilterSensitiveLog, UpdateJobResponse } from "../models/models_3"; import { de_UpdateJobCommand, se_UpdateJobCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/UpdateJobFromSourceControlCommand.ts b/clients/client-glue/src/commands/UpdateJobFromSourceControlCommand.ts index 19fbc9d9167c..bb457ec89223 100644 --- a/clients/client-glue/src/commands/UpdateJobFromSourceControlCommand.ts +++ b/clients/client-glue/src/commands/UpdateJobFromSourceControlCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { UpdateJobFromSourceControlRequest, UpdateJobFromSourceControlResponse } from "../models/models_2"; +import { UpdateJobFromSourceControlRequest, UpdateJobFromSourceControlResponse } from "../models/models_3"; import { de_UpdateJobFromSourceControlCommand, se_UpdateJobFromSourceControlCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/UpdateMLTransformCommand.ts b/clients/client-glue/src/commands/UpdateMLTransformCommand.ts index e646c61cc631..cf38069b7989 100644 --- a/clients/client-glue/src/commands/UpdateMLTransformCommand.ts +++ b/clients/client-glue/src/commands/UpdateMLTransformCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { UpdateMLTransformRequest, UpdateMLTransformResponse } from "../models/models_2"; +import { UpdateMLTransformRequest, UpdateMLTransformResponse } from "../models/models_3"; import { de_UpdateMLTransformCommand, se_UpdateMLTransformCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/UpdatePartitionCommand.ts b/clients/client-glue/src/commands/UpdatePartitionCommand.ts index 5a5984f3616c..3b80c4329a15 100644 --- a/clients/client-glue/src/commands/UpdatePartitionCommand.ts +++ b/clients/client-glue/src/commands/UpdatePartitionCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { UpdatePartitionRequest, UpdatePartitionResponse } from "../models/models_2"; +import { UpdatePartitionRequest, UpdatePartitionResponse } from "../models/models_3"; import { de_UpdatePartitionCommand, se_UpdatePartitionCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/UpdateRegistryCommand.ts b/clients/client-glue/src/commands/UpdateRegistryCommand.ts index df65fd1acfb8..8cec1acfc921 100644 --- a/clients/client-glue/src/commands/UpdateRegistryCommand.ts +++ b/clients/client-glue/src/commands/UpdateRegistryCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { UpdateRegistryInput, UpdateRegistryResponse } from "../models/models_2"; +import { UpdateRegistryInput, UpdateRegistryResponse } from "../models/models_3"; import { de_UpdateRegistryCommand, se_UpdateRegistryCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/UpdateSchemaCommand.ts b/clients/client-glue/src/commands/UpdateSchemaCommand.ts index 0c37ba8f3bee..05aa724af6c6 100644 --- a/clients/client-glue/src/commands/UpdateSchemaCommand.ts +++ b/clients/client-glue/src/commands/UpdateSchemaCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { UpdateSchemaInput, UpdateSchemaResponse } from "../models/models_2"; +import { UpdateSchemaInput, UpdateSchemaResponse } from "../models/models_3"; import { de_UpdateSchemaCommand, se_UpdateSchemaCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/UpdateSourceControlFromJobCommand.ts b/clients/client-glue/src/commands/UpdateSourceControlFromJobCommand.ts index 150c1dbd8532..6f070f868ad6 100644 --- a/clients/client-glue/src/commands/UpdateSourceControlFromJobCommand.ts +++ b/clients/client-glue/src/commands/UpdateSourceControlFromJobCommand.ts @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { UpdateSourceControlFromJobRequest } from "../models/models_2"; -import { UpdateSourceControlFromJobResponse } from "../models/models_3"; +import { UpdateSourceControlFromJobRequest, UpdateSourceControlFromJobResponse } from "../models/models_3"; import { de_UpdateSourceControlFromJobCommand, se_UpdateSourceControlFromJobCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/index.ts b/clients/client-glue/src/commands/index.ts index 2b406d225aa5..1a5bf6aec7e7 100644 --- a/clients/client-glue/src/commands/index.ts +++ b/clients/client-glue/src/commands/index.ts @@ -24,6 +24,7 @@ export * from "./CancelStatementCommand"; export * from "./CheckSchemaVersionValidityCommand"; export * from "./CreateBlueprintCommand"; export * from "./CreateClassifierCommand"; +export * from "./CreateColumnStatisticsTaskSettingsCommand"; export * from "./CreateConnectionCommand"; export * from "./CreateCrawlerCommand"; export * from "./CreateCustomEntityTypeCommand"; @@ -49,6 +50,7 @@ export * from "./DeleteBlueprintCommand"; export * from "./DeleteClassifierCommand"; export * from "./DeleteColumnStatisticsForPartitionCommand"; export * from "./DeleteColumnStatisticsForTableCommand"; +export * from "./DeleteColumnStatisticsTaskSettingsCommand"; export * from "./DeleteConnectionCommand"; export * from "./DeleteCrawlerCommand"; export * from "./DeleteCustomEntityTypeCommand"; @@ -82,6 +84,7 @@ export * from "./GetColumnStatisticsForPartitionCommand"; export * from "./GetColumnStatisticsForTableCommand"; export * from "./GetColumnStatisticsTaskRunCommand"; export * from "./GetColumnStatisticsTaskRunsCommand"; +export * from "./GetColumnStatisticsTaskSettingsCommand"; export * from "./GetConnectionCommand"; export * from "./GetConnectionsCommand"; export * from "./GetCrawlerCommand"; @@ -181,6 +184,7 @@ export * from "./RunStatementCommand"; export * from "./SearchTablesCommand"; export * from "./StartBlueprintRunCommand"; export * from "./StartColumnStatisticsTaskRunCommand"; +export * from "./StartColumnStatisticsTaskRunScheduleCommand"; export * from "./StartCrawlerCommand"; export * from "./StartCrawlerScheduleCommand"; export * from "./StartDataQualityRuleRecommendationRunCommand"; @@ -193,6 +197,7 @@ export * from "./StartMLLabelingSetGenerationTaskRunCommand"; export * from "./StartTriggerCommand"; export * from "./StartWorkflowRunCommand"; export * from "./StopColumnStatisticsTaskRunCommand"; +export * from "./StopColumnStatisticsTaskRunScheduleCommand"; export * from "./StopCrawlerCommand"; export * from "./StopCrawlerScheduleCommand"; export * from "./StopSessionCommand"; @@ -205,6 +210,7 @@ export * from "./UpdateBlueprintCommand"; export * from "./UpdateClassifierCommand"; export * from "./UpdateColumnStatisticsForPartitionCommand"; export * from "./UpdateColumnStatisticsForTableCommand"; +export * from "./UpdateColumnStatisticsTaskSettingsCommand"; export * from "./UpdateConnectionCommand"; export * from "./UpdateCrawlerCommand"; export * from "./UpdateCrawlerScheduleCommand"; diff --git a/clients/client-glue/src/models/models_1.ts b/clients/client-glue/src/models/models_1.ts index 2fd21983ad6e..bb47008fa4dc 100644 --- a/clients/client-glue/src/models/models_1.ts +++ b/clients/client-glue/src/models/models_1.ts @@ -31,6 +31,7 @@ import { PartitionInput, Predicate, RecrawlPolicy, + Schedule, SchemaChangePolicy, SchemaId, StorageDescriptor, @@ -471,6 +472,96 @@ export interface CreateClassifierRequest { */ export interface CreateClassifierResponse {} +/** + *

An exception thrown when you try to start another job while running a column stats generation job.

+ * @public + */ +export class ColumnStatisticsTaskRunningException extends __BaseException { + readonly name: "ColumnStatisticsTaskRunningException" = "ColumnStatisticsTaskRunningException"; + readonly $fault: "client" = "client"; + /** + *

A message describing the problem.

+ * @public + */ + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType) { + super({ + name: "ColumnStatisticsTaskRunningException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ColumnStatisticsTaskRunningException.prototype); + this.Message = opts.Message; + } +} + +/** + * @public + */ +export interface CreateColumnStatisticsTaskSettingsRequest { + /** + *

The name of the database where the table resides.

+ * @public + */ + DatabaseName: string | undefined; + + /** + *

The name of the table for which to generate column statistics.

+ * @public + */ + TableName: string | undefined; + + /** + *

The role used for running the column statistics.

+ * @public + */ + Role: string | undefined; + + /** + *

A schedule for running the column statistics, specified in CRON syntax.

+ * @public + */ + Schedule?: string; + + /** + *

A list of column names for which to run statistics.

+ * @public + */ + ColumnNameList?: string[]; + + /** + *

The percentage of data to sample.

+ * @public + */ + SampleSize?: number; + + /** + *

The ID of the Data Catalog in which the database resides.

+ * @public + */ + CatalogID?: string; + + /** + *

Name of the security configuration that is used to encrypt CloudWatch logs.

+ * @public + */ + SecurityConfiguration?: string; + + /** + *

A map of tags.

+ * @public + */ + Tags?: Record; +} + +/** + * @public + */ +export interface CreateColumnStatisticsTaskSettingsResponse {} + /** * @public * @enum @@ -3674,6 +3765,28 @@ export interface DeleteColumnStatisticsForTableRequest { */ export interface DeleteColumnStatisticsForTableResponse {} +/** + * @public + */ +export interface DeleteColumnStatisticsTaskSettingsRequest { + /** + *

The name of the database where the table resides.

+ * @public + */ + DatabaseName: string | undefined; + + /** + *

The name of the table for which to delete column statistics.

+ * @public + */ + TableName: string | undefined; +} + +/** + * @public + */ +export interface DeleteColumnStatisticsTaskSettingsResponse {} + /** * @public */ @@ -5438,6 +5551,20 @@ export interface GetColumnStatisticsTaskRunRequest { ColumnStatisticsTaskRunId: string | undefined; } +/** + * @public + * @enum + */ +export const ComputationType = { + FULL: "FULL", + INCREMENTAL: "INCREMENTAL", +} as const; + +/** + * @public + */ +export type ComputationType = (typeof ComputationType)[keyof typeof ComputationType]; + /** * @public * @enum @@ -5526,6 +5653,12 @@ export interface ColumnStatisticsTaskRun { */ WorkerType?: string; + /** + *

The type of column statistics computation.

+ * @public + */ + ComputationType?: ComputationType; + /** *

The status of the task run.

* @public @@ -5626,6 +5759,88 @@ export interface GetColumnStatisticsTaskRunsResponse { NextToken?: string; } +/** + * @public + */ +export interface GetColumnStatisticsTaskSettingsRequest { + /** + *

The name of the database where the table resides.

+ * @public + */ + DatabaseName: string | undefined; + + /** + *

The name of the table for which to retrieve column statistics.

+ * @public + */ + TableName: string | undefined; +} + +/** + *

The settings for a column statistics task.

+ * @public + */ +export interface ColumnStatisticsTaskSettings { + /** + *

The name of the database where the table resides.

+ * @public + */ + DatabaseName?: string; + + /** + *

The name of the table for which to generate column statistics.

+ * @public + */ + TableName?: string; + + /** + *

A schedule for running the column statistics, specified in CRON syntax.

+ * @public + */ + Schedule?: Schedule; + + /** + *

A list of column names for which to run statistics.

+ * @public + */ + ColumnNameList?: string[]; + + /** + *

The ID of the Data Catalog in which the database resides.

+ * @public + */ + CatalogID?: string; + + /** + *

The role used for running the column statistics.

+ * @public + */ + Role?: string; + + /** + *

The percentage of data to sample.

+ * @public + */ + SampleSize?: number; + + /** + *

Name of the security configuration that is used to encrypt CloudWatch logs.

+ * @public + */ + SecurityConfiguration?: string; +} + +/** + * @public + */ +export interface GetColumnStatisticsTaskSettingsResponse { + /** + *

A ColumnStatisticsTaskSettings object representing the settings for the column statistics task.

+ * @public + */ + ColumnStatisticsTaskSettings?: ColumnStatisticsTaskSettings; +} + /** * @public */ @@ -7550,306 +7765,6 @@ export const TaskType = { */ export type TaskType = (typeof TaskType)[keyof typeof TaskType]; -/** - *

The configuration properties for the task run.

- * @public - */ -export interface TaskRunProperties { - /** - *

The type of task run.

- * @public - */ - TaskType?: TaskType; - - /** - *

The configuration properties for an importing labels task run.

- * @public - */ - ImportLabelsTaskRunProperties?: ImportLabelsTaskRunProperties; - - /** - *

The configuration properties for an exporting labels task run.

- * @public - */ - ExportLabelsTaskRunProperties?: ExportLabelsTaskRunProperties; - - /** - *

The configuration properties for a labeling set generation task run.

- * @public - */ - LabelingSetGenerationTaskRunProperties?: LabelingSetGenerationTaskRunProperties; - - /** - *

The configuration properties for a find matches task run.

- * @public - */ - FindMatchesTaskRunProperties?: FindMatchesTaskRunProperties; -} - -/** - * @public - */ -export interface GetMLTaskRunResponse { - /** - *

The unique identifier of the task run.

- * @public - */ - TransformId?: string; - - /** - *

The unique run identifier associated with this run.

- * @public - */ - TaskRunId?: string; - - /** - *

The status for this task run.

- * @public - */ - Status?: TaskStatusType; - - /** - *

The names of the log groups that are associated with the task run.

- * @public - */ - LogGroupName?: string; - - /** - *

The list of properties that are associated with the task run.

- * @public - */ - Properties?: TaskRunProperties; - - /** - *

The error strings that are associated with the task run.

- * @public - */ - ErrorString?: string; - - /** - *

The date and time when this task run started.

- * @public - */ - StartedOn?: Date; - - /** - *

The date and time when this task run was last modified.

- * @public - */ - LastModifiedOn?: Date; - - /** - *

The date and time when this task run was completed.

- * @public - */ - CompletedOn?: Date; - - /** - *

The amount of time (in seconds) that the task run consumed resources.

- * @public - */ - ExecutionTime?: number; -} - -/** - *

The criteria that are used to filter the task runs for the machine learning - * transform.

- * @public - */ -export interface TaskRunFilterCriteria { - /** - *

The type of task run.

- * @public - */ - TaskRunType?: TaskType; - - /** - *

The current status of the task run.

- * @public - */ - Status?: TaskStatusType; - - /** - *

Filter on task runs started before this date.

- * @public - */ - StartedBefore?: Date; - - /** - *

Filter on task runs started after this date.

- * @public - */ - StartedAfter?: Date; -} - -/** - * @public - * @enum - */ -export const TaskRunSortColumnType = { - STARTED: "STARTED", - STATUS: "STATUS", - TASK_RUN_TYPE: "TASK_RUN_TYPE", -} as const; - -/** - * @public - */ -export type TaskRunSortColumnType = (typeof TaskRunSortColumnType)[keyof typeof TaskRunSortColumnType]; - -/** - * @public - * @enum - */ -export const SortDirectionType = { - ASCENDING: "ASCENDING", - DESCENDING: "DESCENDING", -} as const; - -/** - * @public - */ -export type SortDirectionType = (typeof SortDirectionType)[keyof typeof SortDirectionType]; - -/** - *

The sorting criteria that are used to sort the list of task runs for the machine learning - * transform.

- * @public - */ -export interface TaskRunSortCriteria { - /** - *

The column to be used to sort the list of task runs for the machine learning - * transform.

- * @public - */ - Column: TaskRunSortColumnType | undefined; - - /** - *

The sort direction to be used to sort the list of task runs for the machine learning - * transform.

- * @public - */ - SortDirection: SortDirectionType | undefined; -} - -/** - * @public - */ -export interface GetMLTaskRunsRequest { - /** - *

The unique identifier of the machine learning transform.

- * @public - */ - TransformId: string | undefined; - - /** - *

A token for pagination of the results. The default is empty.

- * @public - */ - NextToken?: string; - - /** - *

The maximum number of results to return.

- * @public - */ - MaxResults?: number; - - /** - *

The filter criteria, in the TaskRunFilterCriteria structure, for the task run.

- * @public - */ - Filter?: TaskRunFilterCriteria; - - /** - *

The sorting criteria, in the TaskRunSortCriteria structure, for the task run.

- * @public - */ - Sort?: TaskRunSortCriteria; -} - -/** - *

The sampling parameters that are associated with the machine learning transform.

- * @public - */ -export interface TaskRun { - /** - *

The unique identifier for the transform.

- * @public - */ - TransformId?: string; - - /** - *

The unique identifier for this task run.

- * @public - */ - TaskRunId?: string; - - /** - *

The current status of the requested task run.

- * @public - */ - Status?: TaskStatusType; - - /** - *

The names of the log group for secure logging, associated with this task run.

- * @public - */ - LogGroupName?: string; - - /** - *

Specifies configuration properties associated with this task run.

- * @public - */ - Properties?: TaskRunProperties; - - /** - *

The list of error strings associated with this task run.

- * @public - */ - ErrorString?: string; - - /** - *

The date and time that this task run started.

- * @public - */ - StartedOn?: Date; - - /** - *

The last point in time that the requested task run was updated.

- * @public - */ - LastModifiedOn?: Date; - - /** - *

The last point in time that the requested task run was completed.

- * @public - */ - CompletedOn?: Date; - - /** - *

The amount of time (in seconds) that the task run consumed resources.

- * @public - */ - ExecutionTime?: number; -} - -/** - * @public - */ -export interface GetMLTaskRunsResponse { - /** - *

A list of task runs that are associated with the transform.

- * @public - */ - TaskRuns?: TaskRun[]; - - /** - *

A pagination token, if more results are available.

- * @public - */ - NextToken?: string; -} - /** * @internal */ diff --git a/clients/client-glue/src/models/models_2.ts b/clients/client-glue/src/models/models_2.ts index 85e09ebf8b3b..892978917990 100644 --- a/clients/client-glue/src/models/models_2.ts +++ b/clients/client-glue/src/models/models_2.ts @@ -18,13 +18,10 @@ import { LineageConfiguration, NotificationProperty, Partition, - PartitionInput, PartitionValueList, RecrawlPolicy, SchemaChangePolicy, SchemaId, - SourceControlAuthStrategy, - SourceControlProvider, StatisticAnnotation, TableOptimizer, TableOptimizerRun, @@ -52,7 +49,11 @@ import { DataQualityEvaluationRunAdditionalRunOptions, DataQualityTargetTable, EncryptionConfiguration, + ExportLabelsTaskRunProperties, + FindMatchesTaskRunProperties, + ImportLabelsTaskRunProperties, JobBookmarkEntry, + LabelingSetGenerationTaskRunProperties, Language, Location, MappingEntry, @@ -66,14 +67,314 @@ import { SchemaStatus, SchemaVersionStatus, Session, - SortDirectionType, TaskStatusType, + TaskType, TransformEncryption, TransformParameters, TransformType, ViewDialect, } from "./models_1"; +/** + *

The configuration properties for the task run.

+ * @public + */ +export interface TaskRunProperties { + /** + *

The type of task run.

+ * @public + */ + TaskType?: TaskType; + + /** + *

The configuration properties for an importing labels task run.

+ * @public + */ + ImportLabelsTaskRunProperties?: ImportLabelsTaskRunProperties; + + /** + *

The configuration properties for an exporting labels task run.

+ * @public + */ + ExportLabelsTaskRunProperties?: ExportLabelsTaskRunProperties; + + /** + *

The configuration properties for a labeling set generation task run.

+ * @public + */ + LabelingSetGenerationTaskRunProperties?: LabelingSetGenerationTaskRunProperties; + + /** + *

The configuration properties for a find matches task run.

+ * @public + */ + FindMatchesTaskRunProperties?: FindMatchesTaskRunProperties; +} + +/** + * @public + */ +export interface GetMLTaskRunResponse { + /** + *

The unique identifier of the task run.

+ * @public + */ + TransformId?: string; + + /** + *

The unique run identifier associated with this run.

+ * @public + */ + TaskRunId?: string; + + /** + *

The status for this task run.

+ * @public + */ + Status?: TaskStatusType; + + /** + *

The names of the log groups that are associated with the task run.

+ * @public + */ + LogGroupName?: string; + + /** + *

The list of properties that are associated with the task run.

+ * @public + */ + Properties?: TaskRunProperties; + + /** + *

The error strings that are associated with the task run.

+ * @public + */ + ErrorString?: string; + + /** + *

The date and time when this task run started.

+ * @public + */ + StartedOn?: Date; + + /** + *

The date and time when this task run was last modified.

+ * @public + */ + LastModifiedOn?: Date; + + /** + *

The date and time when this task run was completed.

+ * @public + */ + CompletedOn?: Date; + + /** + *

The amount of time (in seconds) that the task run consumed resources.

+ * @public + */ + ExecutionTime?: number; +} + +/** + *

The criteria that are used to filter the task runs for the machine learning + * transform.

+ * @public + */ +export interface TaskRunFilterCriteria { + /** + *

The type of task run.

+ * @public + */ + TaskRunType?: TaskType; + + /** + *

The current status of the task run.

+ * @public + */ + Status?: TaskStatusType; + + /** + *

Filter on task runs started before this date.

+ * @public + */ + StartedBefore?: Date; + + /** + *

Filter on task runs started after this date.

+ * @public + */ + StartedAfter?: Date; +} + +/** + * @public + * @enum + */ +export const TaskRunSortColumnType = { + STARTED: "STARTED", + STATUS: "STATUS", + TASK_RUN_TYPE: "TASK_RUN_TYPE", +} as const; + +/** + * @public + */ +export type TaskRunSortColumnType = (typeof TaskRunSortColumnType)[keyof typeof TaskRunSortColumnType]; + +/** + * @public + * @enum + */ +export const SortDirectionType = { + ASCENDING: "ASCENDING", + DESCENDING: "DESCENDING", +} as const; + +/** + * @public + */ +export type SortDirectionType = (typeof SortDirectionType)[keyof typeof SortDirectionType]; + +/** + *

The sorting criteria that are used to sort the list of task runs for the machine learning + * transform.

+ * @public + */ +export interface TaskRunSortCriteria { + /** + *

The column to be used to sort the list of task runs for the machine learning + * transform.

+ * @public + */ + Column: TaskRunSortColumnType | undefined; + + /** + *

The sort direction to be used to sort the list of task runs for the machine learning + * transform.

+ * @public + */ + SortDirection: SortDirectionType | undefined; +} + +/** + * @public + */ +export interface GetMLTaskRunsRequest { + /** + *

The unique identifier of the machine learning transform.

+ * @public + */ + TransformId: string | undefined; + + /** + *

A token for pagination of the results. The default is empty.

+ * @public + */ + NextToken?: string; + + /** + *

The maximum number of results to return.

+ * @public + */ + MaxResults?: number; + + /** + *

The filter criteria, in the TaskRunFilterCriteria structure, for the task run.

+ * @public + */ + Filter?: TaskRunFilterCriteria; + + /** + *

The sorting criteria, in the TaskRunSortCriteria structure, for the task run.

+ * @public + */ + Sort?: TaskRunSortCriteria; +} + +/** + *

The sampling parameters that are associated with the machine learning transform.

+ * @public + */ +export interface TaskRun { + /** + *

The unique identifier for the transform.

+ * @public + */ + TransformId?: string; + + /** + *

The unique identifier for this task run.

+ * @public + */ + TaskRunId?: string; + + /** + *

The current status of the requested task run.

+ * @public + */ + Status?: TaskStatusType; + + /** + *

The names of the log group for secure logging, associated with this task run.

+ * @public + */ + LogGroupName?: string; + + /** + *

Specifies configuration properties associated with this task run.

+ * @public + */ + Properties?: TaskRunProperties; + + /** + *

The list of error strings associated with this task run.

+ * @public + */ + ErrorString?: string; + + /** + *

The date and time that this task run started.

+ * @public + */ + StartedOn?: Date; + + /** + *

The last point in time that the requested task run was updated.

+ * @public + */ + LastModifiedOn?: Date; + + /** + *

The last point in time that the requested task run was completed.

+ * @public + */ + CompletedOn?: Date; + + /** + *

The amount of time (in seconds) that the task run consumed resources.

+ * @public + */ + ExecutionTime?: number; +} + +/** + * @public + */ +export interface GetMLTaskRunsResponse { + /** + *

A list of task runs that are associated with the transform.

+ * @public + */ + TaskRuns?: TaskRun[]; + + /** + *

A pagination token, if more results are available.

+ * @public + */ + NextToken?: string; +} + /** * @public */ @@ -5922,32 +6223,6 @@ export interface StartBlueprintRunResponse { RunId?: string; } -/** - *

An exception thrown when you try to start another job while running a column stats generation job.

- * @public - */ -export class ColumnStatisticsTaskRunningException extends __BaseException { - readonly name: "ColumnStatisticsTaskRunningException" = "ColumnStatisticsTaskRunningException"; - readonly $fault: "client" = "client"; - /** - *

A message describing the problem.

- * @public - */ - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ColumnStatisticsTaskRunningException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ColumnStatisticsTaskRunningException.prototype); - this.Message = opts.Message; - } -} - /** * @public */ @@ -6009,25 +6284,47 @@ export interface StartColumnStatisticsTaskRunResponse { /** * @public */ -export interface StartCrawlerRequest { +export interface StartColumnStatisticsTaskRunScheduleRequest { /** - *

Name of the crawler to start.

+ *

The name of the database where the table resides.

* @public */ - Name: string | undefined; + DatabaseName: string | undefined; + + /** + *

The name of the table for which to start a column statistic task run schedule.

+ * @public + */ + TableName: string | undefined; } /** * @public */ -export interface StartCrawlerResponse {} +export interface StartColumnStatisticsTaskRunScheduleResponse {} /** - *

There is no applicable schedule.

* @public */ -export class NoScheduleException extends __BaseException { - readonly name: "NoScheduleException" = "NoScheduleException"; +export interface StartCrawlerRequest { + /** + *

Name of the crawler to start.

+ * @public + */ + Name: string | undefined; +} + +/** + * @public + */ +export interface StartCrawlerResponse {} + +/** + *

There is no applicable schedule.

+ * @public + */ +export class NoScheduleException extends __BaseException { + readonly name: "NoScheduleException" = "NoScheduleException"; readonly $fault: "client" = "client"; /** *

A message describing the problem.

@@ -6631,6 +6928,28 @@ export interface StopColumnStatisticsTaskRunRequest { */ export interface StopColumnStatisticsTaskRunResponse {} +/** + * @public + */ +export interface StopColumnStatisticsTaskRunScheduleRequest { + /** + *

The name of the database where the table resides.

+ * @public + */ + DatabaseName: string | undefined; + + /** + *

The name of the table for which to stop a column statistic task run schedule.

+ * @public + */ + TableName: string | undefined; +} + +/** + * @public + */ +export interface StopColumnStatisticsTaskRunScheduleResponse {} + /** *

The specified crawler is not running.

* @public @@ -7263,6 +7582,64 @@ export interface UpdateColumnStatisticsForTableResponse { Errors?: ColumnStatisticsError[]; } +/** + * @public + */ +export interface UpdateColumnStatisticsTaskSettingsRequest { + /** + *

The name of the database where the table resides.

+ * @public + */ + DatabaseName: string | undefined; + + /** + *

The name of the table for which to generate column statistics.

+ * @public + */ + TableName: string | undefined; + + /** + *

The role used for running the column statistics.

+ * @public + */ + Role?: string; + + /** + *

A schedule for running the column statistics, specified in CRON syntax.

+ * @public + */ + Schedule?: string; + + /** + *

A list of column names for which to run statistics.

+ * @public + */ + ColumnNameList?: string[]; + + /** + *

The percentage of data to sample.

+ * @public + */ + SampleSize?: number; + + /** + *

The ID of the Data Catalog in which the database resides.

+ * @public + */ + CatalogID?: string; + + /** + *

Name of the security configuration that is used to encrypt CloudWatch logs.

+ * @public + */ + SecurityConfiguration?: string; +} + +/** + * @public + */ +export interface UpdateColumnStatisticsTaskSettingsResponse {} + /** * @public */ @@ -7527,463 +7904,6 @@ export interface DevEndpointCustomLibraries { ExtraJarsS3Path?: string; } -/** - * @public - */ -export interface UpdateDevEndpointRequest { - /** - *

The name of the DevEndpoint to be updated.

- * @public - */ - EndpointName: string | undefined; - - /** - *

The public key for the DevEndpoint to use.

- * @public - */ - PublicKey?: string; - - /** - *

The list of public keys for the DevEndpoint to use.

- * @public - */ - AddPublicKeys?: string[]; - - /** - *

The list of public keys to be deleted from the DevEndpoint.

- * @public - */ - DeletePublicKeys?: string[]; - - /** - *

Custom Python or Java libraries to be loaded in the DevEndpoint.

- * @public - */ - CustomLibraries?: DevEndpointCustomLibraries; - - /** - *

- * True if the list of custom libraries to be loaded in the development endpoint - * needs to be updated, or False if otherwise.

- * @public - */ - UpdateEtlLibraries?: boolean; - - /** - *

The list of argument keys to be deleted from the map of arguments used to configure the - * DevEndpoint.

- * @public - */ - DeleteArguments?: string[]; - - /** - *

The map of arguments to add the map of arguments used to configure the - * DevEndpoint.

- *

Valid arguments are:

- *
    - *
  • - *

    - * "--enable-glue-datacatalog": "" - *

    - *
  • - *
- *

You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2.

- * @public - */ - AddArguments?: Record; -} - -/** - * @public - */ -export interface UpdateDevEndpointResponse {} - -/** - * @public - */ -export interface UpdateJobResponse { - /** - *

Returns the name of the updated job definition.

- * @public - */ - JobName?: string; -} - -/** - * @public - */ -export interface UpdateJobFromSourceControlRequest { - /** - *

The name of the Glue job to be synchronized to or from the remote repository.

- * @public - */ - JobName?: string; - - /** - *

- * The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET. - *

- * @public - */ - Provider?: SourceControlProvider; - - /** - *

The name of the remote repository that contains the job artifacts. - * For BitBucket providers, RepositoryName should include WorkspaceName. - * Use the format /. - *

- * @public - */ - RepositoryName?: string; - - /** - *

The owner of the remote repository that contains the job artifacts.

- * @public - */ - RepositoryOwner?: string; - - /** - *

An optional branch in the remote repository.

- * @public - */ - BranchName?: string; - - /** - *

An optional folder in the remote repository.

- * @public - */ - Folder?: string; - - /** - *

A commit ID for a commit in the remote repository.

- * @public - */ - CommitId?: string; - - /** - *

The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

- * @public - */ - AuthStrategy?: SourceControlAuthStrategy; - - /** - *

The value of the authorization token.

- * @public - */ - AuthToken?: string; -} - -/** - * @public - */ -export interface UpdateJobFromSourceControlResponse { - /** - *

The name of the Glue job.

- * @public - */ - JobName?: string; -} - -/** - * @public - */ -export interface UpdateMLTransformRequest { - /** - *

A unique identifier that was generated when the transform was created.

- * @public - */ - TransformId: string | undefined; - - /** - *

The unique name that you gave the transform when you created it.

- * @public - */ - Name?: string; - - /** - *

A description of the transform. The default is an empty string.

- * @public - */ - Description?: string; - - /** - *

The configuration parameters that are specific to the transform type (algorithm) used. - * Conditionally dependent on the transform type.

- * @public - */ - Parameters?: TransformParameters; - - /** - *

The name or Amazon Resource Name (ARN) of the IAM role with the required - * permissions.

- * @public - */ - Role?: string; - - /** - *

This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.

- * @public - */ - GlueVersion?: string; - - /** - *

The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of - * processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more - * information, see the Glue pricing - * page.

- *

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

- * @public - */ - MaxCapacity?: number; - - /** - *

The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X.

- *
    - *
  • - *

    For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.

    - *
  • - *
  • - *

    For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker.

    - *
  • - *
  • - *

    For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker.

    - *
  • - *
- * @public - */ - WorkerType?: WorkerType; - - /** - *

The number of workers of a defined workerType that are allocated when this task runs.

- * @public - */ - NumberOfWorkers?: number; - - /** - *

The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).

- * @public - */ - Timeout?: number; - - /** - *

The maximum number of times to retry a task for this transform after a task run fails.

- * @public - */ - MaxRetries?: number; -} - -/** - * @public - */ -export interface UpdateMLTransformResponse { - /** - *

The unique identifier for the transform that was updated.

- * @public - */ - TransformId?: string; -} - -/** - * @public - */ -export interface UpdatePartitionRequest { - /** - *

The ID of the Data Catalog where the partition to be updated resides. If none is provided, - * the Amazon Web Services account ID is used by default.

- * @public - */ - CatalogId?: string; - - /** - *

The name of the catalog database in which the table in question - * resides.

- * @public - */ - DatabaseName: string | undefined; - - /** - *

The name of the table in which the partition to be updated is located.

- * @public - */ - TableName: string | undefined; - - /** - *

List of partition key values that define the partition to update.

- * @public - */ - PartitionValueList: string[] | undefined; - - /** - *

The new partition object to update the partition to.

- *

The Values property can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.

- * @public - */ - PartitionInput: PartitionInput | undefined; -} - -/** - * @public - */ -export interface UpdatePartitionResponse {} - -/** - * @public - */ -export interface UpdateRegistryInput { - /** - *

This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

- * @public - */ - RegistryId: RegistryId | undefined; - - /** - *

A description of the registry. If description is not provided, this field will not be updated.

- * @public - */ - Description: string | undefined; -} - -/** - * @public - */ -export interface UpdateRegistryResponse { - /** - *

The name of the updated registry.

- * @public - */ - RegistryName?: string; - - /** - *

The Amazon Resource name (ARN) of the updated registry.

- * @public - */ - RegistryArn?: string; -} - -/** - * @public - */ -export interface UpdateSchemaInput { - /** - *

This is a wrapper structure to contain schema identity fields. The structure contains:

- *
    - *
  • - *

    SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

    - *
  • - *
  • - *

    SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName has to be provided.

    - *
  • - *
- * @public - */ - SchemaId: SchemaId | undefined; - - /** - *

Version number required for check pointing. One of VersionNumber or Compatibility has to be provided.

- * @public - */ - SchemaVersionNumber?: SchemaVersionNumber; - - /** - *

The new compatibility setting for the schema.

- * @public - */ - Compatibility?: Compatibility; - - /** - *

The new description for the schema.

- * @public - */ - Description?: string; -} - -/** - * @public - */ -export interface UpdateSchemaResponse { - /** - *

The Amazon Resource Name (ARN) of the schema.

- * @public - */ - SchemaArn?: string; - - /** - *

The name of the schema.

- * @public - */ - SchemaName?: string; - - /** - *

The name of the registry that contains the schema.

- * @public - */ - RegistryName?: string; -} - -/** - * @public - */ -export interface UpdateSourceControlFromJobRequest { - /** - *

The name of the Glue job to be synchronized to or from the remote repository.

- * @public - */ - JobName?: string; - - /** - *

- * The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET. - *

- * @public - */ - Provider?: SourceControlProvider; - - /** - *

The name of the remote repository that contains the job artifacts. - * For BitBucket providers, RepositoryName should include WorkspaceName. - * Use the format /. - *

- * @public - */ - RepositoryName?: string; - - /** - *

The owner of the remote repository that contains the job artifacts.

- * @public - */ - RepositoryOwner?: string; - - /** - *

An optional branch in the remote repository.

- * @public - */ - BranchName?: string; - - /** - *

An optional folder in the remote repository.

- * @public - */ - Folder?: string; - - /** - *

A commit ID for a commit in the remote repository.

- * @public - */ - CommitId?: string; - - /** - *

The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

- * @public - */ - AuthStrategy?: SourceControlAuthStrategy; - - /** - *

The value of the authorization token.

- * @public - */ - AuthToken?: string; -} - /** * @internal */ diff --git a/clients/client-glue/src/models/models_3.ts b/clients/client-glue/src/models/models_3.ts index ce844a69ef3a..38bc5df324c4 100644 --- a/clients/client-glue/src/models/models_3.ts +++ b/clients/client-glue/src/models/models_3.ts @@ -49,6 +49,7 @@ import { NotificationProperty, OracleSQLCatalogSource, OracleSQLCatalogTarget, + PartitionInput, PIIDetection, PostgreSQLCatalogSource, PostgreSQLCatalogTarget, @@ -73,11 +74,14 @@ import { S3HudiSource, S3JsonSource, S3ParquetSource, + SchemaId, SelectFields, SelectFromCollection, SnowflakeSource, SnowflakeTarget, + SourceControlAuthStrategy, SourceControlDetails, + SourceControlProvider, SparkConnectorSource, SparkConnectorTarget, SparkSQL, @@ -91,17 +95,485 @@ import { WorkerType, } from "./models_0"; -import { Permission, ProfileConfiguration, TableIdentifier, TableInput, UserDefinedFunctionInput } from "./models_1"; +import { + Compatibility, + Permission, + ProfileConfiguration, + RegistryId, + TableIdentifier, + TableInput, + TransformParameters, + UserDefinedFunctionInput, +} from "./models_1"; import { ColumnRowFilter, + DevEndpointCustomLibraries, FederatedTable, ResourceAction, ResourceState, + SchemaVersionNumber, ViewDefinition, ViewValidation, } from "./models_2"; +/** + * @public + */ +export interface UpdateDevEndpointRequest { + /** + *

The name of the DevEndpoint to be updated.

+ * @public + */ + EndpointName: string | undefined; + + /** + *

The public key for the DevEndpoint to use.

+ * @public + */ + PublicKey?: string; + + /** + *

The list of public keys for the DevEndpoint to use.

+ * @public + */ + AddPublicKeys?: string[]; + + /** + *

The list of public keys to be deleted from the DevEndpoint.

+ * @public + */ + DeletePublicKeys?: string[]; + + /** + *

Custom Python or Java libraries to be loaded in the DevEndpoint.

+ * @public + */ + CustomLibraries?: DevEndpointCustomLibraries; + + /** + *

+ * True if the list of custom libraries to be loaded in the development endpoint + * needs to be updated, or False if otherwise.

+ * @public + */ + UpdateEtlLibraries?: boolean; + + /** + *

The list of argument keys to be deleted from the map of arguments used to configure the + * DevEndpoint.

+ * @public + */ + DeleteArguments?: string[]; + + /** + *

The map of arguments to add the map of arguments used to configure the + * DevEndpoint.

+ *

Valid arguments are:

+ *
    + *
  • + *

    + * "--enable-glue-datacatalog": "" + *

    + *
  • + *
+ *

You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2.

+ * @public + */ + AddArguments?: Record; +} + +/** + * @public + */ +export interface UpdateDevEndpointResponse {} + +/** + * @public + */ +export interface UpdateJobResponse { + /** + *

Returns the name of the updated job definition.

+ * @public + */ + JobName?: string; +} + +/** + * @public + */ +export interface UpdateJobFromSourceControlRequest { + /** + *

The name of the Glue job to be synchronized to or from the remote repository.

+ * @public + */ + JobName?: string; + + /** + *

+ * The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET. + *

+ * @public + */ + Provider?: SourceControlProvider; + + /** + *

The name of the remote repository that contains the job artifacts. + * For BitBucket providers, RepositoryName should include WorkspaceName. + * Use the format /. + *

+ * @public + */ + RepositoryName?: string; + + /** + *

The owner of the remote repository that contains the job artifacts.

+ * @public + */ + RepositoryOwner?: string; + + /** + *

An optional branch in the remote repository.

+ * @public + */ + BranchName?: string; + + /** + *

An optional folder in the remote repository.

+ * @public + */ + Folder?: string; + + /** + *

A commit ID for a commit in the remote repository.

+ * @public + */ + CommitId?: string; + + /** + *

The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

+ * @public + */ + AuthStrategy?: SourceControlAuthStrategy; + + /** + *

The value of the authorization token.

+ * @public + */ + AuthToken?: string; +} + +/** + * @public + */ +export interface UpdateJobFromSourceControlResponse { + /** + *

The name of the Glue job.

+ * @public + */ + JobName?: string; +} + +/** + * @public + */ +export interface UpdateMLTransformRequest { + /** + *

A unique identifier that was generated when the transform was created.

+ * @public + */ + TransformId: string | undefined; + + /** + *

The unique name that you gave the transform when you created it.

+ * @public + */ + Name?: string; + + /** + *

A description of the transform. The default is an empty string.

+ * @public + */ + Description?: string; + + /** + *

The configuration parameters that are specific to the transform type (algorithm) used. + * Conditionally dependent on the transform type.

+ * @public + */ + Parameters?: TransformParameters; + + /** + *

The name or Amazon Resource Name (ARN) of the IAM role with the required + * permissions.

+ * @public + */ + Role?: string; + + /** + *

This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.

+ * @public + */ + GlueVersion?: string; + + /** + *

The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of + * processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more + * information, see the Glue pricing + * page.

+ *

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

+ * @public + */ + MaxCapacity?: number; + + /** + *

The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X.

+ *
    + *
  • + *

    For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.

    + *
  • + *
  • + *

    For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker.

    + *
  • + *
  • + *

    For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker.

    + *
  • + *
+ * @public + */ + WorkerType?: WorkerType; + + /** + *

The number of workers of a defined workerType that are allocated when this task runs.

+ * @public + */ + NumberOfWorkers?: number; + + /** + *

The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).

+ * @public + */ + Timeout?: number; + + /** + *

The maximum number of times to retry a task for this transform after a task run fails.

+ * @public + */ + MaxRetries?: number; +} + +/** + * @public + */ +export interface UpdateMLTransformResponse { + /** + *

The unique identifier for the transform that was updated.

+ * @public + */ + TransformId?: string; +} + +/** + * @public + */ +export interface UpdatePartitionRequest { + /** + *

The ID of the Data Catalog where the partition to be updated resides. If none is provided, + * the Amazon Web Services account ID is used by default.

+ * @public + */ + CatalogId?: string; + + /** + *

The name of the catalog database in which the table in question + * resides.

+ * @public + */ + DatabaseName: string | undefined; + + /** + *

The name of the table in which the partition to be updated is located.

+ * @public + */ + TableName: string | undefined; + + /** + *

List of partition key values that define the partition to update.

+ * @public + */ + PartitionValueList: string[] | undefined; + + /** + *

The new partition object to update the partition to.

+ *

The Values property can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.

+ * @public + */ + PartitionInput: PartitionInput | undefined; +} + +/** + * @public + */ +export interface UpdatePartitionResponse {} + +/** + * @public + */ +export interface UpdateRegistryInput { + /** + *

This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

+ * @public + */ + RegistryId: RegistryId | undefined; + + /** + *

A description of the registry. If description is not provided, this field will not be updated.

+ * @public + */ + Description: string | undefined; +} + +/** + * @public + */ +export interface UpdateRegistryResponse { + /** + *

The name of the updated registry.

+ * @public + */ + RegistryName?: string; + + /** + *

The Amazon Resource name (ARN) of the updated registry.

+ * @public + */ + RegistryArn?: string; +} + +/** + * @public + */ +export interface UpdateSchemaInput { + /** + *

This is a wrapper structure to contain schema identity fields. The structure contains:

+ *
    + *
  • + *

    SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

    + *
  • + *
  • + *

    SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName has to be provided.

    + *
  • + *
+ * @public + */ + SchemaId: SchemaId | undefined; + + /** + *

Version number required for check pointing. One of VersionNumber or Compatibility has to be provided.

+ * @public + */ + SchemaVersionNumber?: SchemaVersionNumber; + + /** + *

The new compatibility setting for the schema.

+ * @public + */ + Compatibility?: Compatibility; + + /** + *

The new description for the schema.

+ * @public + */ + Description?: string; +} + +/** + * @public + */ +export interface UpdateSchemaResponse { + /** + *

The Amazon Resource Name (ARN) of the schema.

+ * @public + */ + SchemaArn?: string; + + /** + *

The name of the schema.

+ * @public + */ + SchemaName?: string; + + /** + *

The name of the registry that contains the schema.

+ * @public + */ + RegistryName?: string; +} + +/** + * @public + */ +export interface UpdateSourceControlFromJobRequest { + /** + *

The name of the Glue job to be synchronized to or from the remote repository.

+ * @public + */ + JobName?: string; + + /** + *

+ * The provider for the remote repository. Possible values: GITHUB, AWS_CODE_COMMIT, GITLAB, BITBUCKET. + *

+ * @public + */ + Provider?: SourceControlProvider; + + /** + *

The name of the remote repository that contains the job artifacts. + * For BitBucket providers, RepositoryName should include WorkspaceName. + * Use the format /. + *

+ * @public + */ + RepositoryName?: string; + + /** + *

The owner of the remote repository that contains the job artifacts.

+ * @public + */ + RepositoryOwner?: string; + + /** + *

An optional branch in the remote repository.

+ * @public + */ + BranchName?: string; + + /** + *

An optional folder in the remote repository.

+ * @public + */ + Folder?: string; + + /** + *

A commit ID for a commit in the remote repository.

+ * @public + */ + CommitId?: string; + + /** + *

The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

+ * @public + */ + AuthStrategy?: SourceControlAuthStrategy; + + /** + *

The value of the authorization token.

+ * @public + */ + AuthToken?: string; +} + /** * @public */ diff --git a/clients/client-glue/src/protocols/Aws_json1_1.ts b/clients/client-glue/src/protocols/Aws_json1_1.ts index 0afae19e24d6..6a04f771d7d7 100644 --- a/clients/client-glue/src/protocols/Aws_json1_1.ts +++ b/clients/client-glue/src/protocols/Aws_json1_1.ts @@ -90,6 +90,10 @@ import { } from "../commands/CheckSchemaVersionValidityCommand"; import { CreateBlueprintCommandInput, CreateBlueprintCommandOutput } from "../commands/CreateBlueprintCommand"; import { CreateClassifierCommandInput, CreateClassifierCommandOutput } from "../commands/CreateClassifierCommand"; +import { + CreateColumnStatisticsTaskSettingsCommandInput, + CreateColumnStatisticsTaskSettingsCommandOutput, +} from "../commands/CreateColumnStatisticsTaskSettingsCommand"; import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "../commands/CreateConnectionCommand"; import { CreateCrawlerCommandInput, CreateCrawlerCommandOutput } from "../commands/CreateCrawlerCommand"; import { @@ -139,6 +143,10 @@ import { DeleteColumnStatisticsForTableCommandInput, DeleteColumnStatisticsForTableCommandOutput, } from "../commands/DeleteColumnStatisticsForTableCommand"; +import { + DeleteColumnStatisticsTaskSettingsCommandInput, + DeleteColumnStatisticsTaskSettingsCommandOutput, +} from "../commands/DeleteColumnStatisticsTaskSettingsCommand"; import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "../commands/DeleteConnectionCommand"; import { DeleteCrawlerCommandInput, DeleteCrawlerCommandOutput } from "../commands/DeleteCrawlerCommand"; import { @@ -211,6 +219,10 @@ import { GetColumnStatisticsTaskRunsCommandInput, GetColumnStatisticsTaskRunsCommandOutput, } from "../commands/GetColumnStatisticsTaskRunsCommand"; +import { + GetColumnStatisticsTaskSettingsCommandInput, + GetColumnStatisticsTaskSettingsCommandOutput, +} from "../commands/GetColumnStatisticsTaskSettingsCommand"; import { GetConnectionCommandInput, GetConnectionCommandOutput } from "../commands/GetConnectionCommand"; import { GetConnectionsCommandInput, GetConnectionsCommandOutput } from "../commands/GetConnectionsCommand"; import { GetCrawlerCommandInput, GetCrawlerCommandOutput } from "../commands/GetCrawlerCommand"; @@ -424,6 +436,10 @@ import { StartColumnStatisticsTaskRunCommandInput, StartColumnStatisticsTaskRunCommandOutput, } from "../commands/StartColumnStatisticsTaskRunCommand"; +import { + StartColumnStatisticsTaskRunScheduleCommandInput, + StartColumnStatisticsTaskRunScheduleCommandOutput, +} from "../commands/StartColumnStatisticsTaskRunScheduleCommand"; import { StartCrawlerCommandInput, StartCrawlerCommandOutput } from "../commands/StartCrawlerCommand"; import { StartCrawlerScheduleCommandInput, @@ -460,6 +476,10 @@ import { StopColumnStatisticsTaskRunCommandInput, StopColumnStatisticsTaskRunCommandOutput, } from "../commands/StopColumnStatisticsTaskRunCommand"; +import { + StopColumnStatisticsTaskRunScheduleCommandInput, + StopColumnStatisticsTaskRunScheduleCommandOutput, +} from "../commands/StopColumnStatisticsTaskRunScheduleCommand"; import { StopCrawlerCommandInput, StopCrawlerCommandOutput } from "../commands/StopCrawlerCommand"; import { StopCrawlerScheduleCommandInput, @@ -481,6 +501,10 @@ import { UpdateColumnStatisticsForTableCommandInput, UpdateColumnStatisticsForTableCommandOutput, } from "../commands/UpdateColumnStatisticsForTableCommand"; +import { + UpdateColumnStatisticsTaskSettingsCommandInput, + UpdateColumnStatisticsTaskSettingsCommandOutput, +} from "../commands/UpdateColumnStatisticsTaskSettingsCommand"; import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "../commands/UpdateConnectionCommand"; import { UpdateCrawlerCommandInput, UpdateCrawlerCommandOutput } from "../commands/UpdateCrawlerCommand"; import { @@ -759,6 +783,8 @@ import { ColumnStatistics, ColumnStatisticsData, ColumnStatisticsTaskRun, + ColumnStatisticsTaskRunningException, + ColumnStatisticsTaskSettings, ConcurrentModificationException, ConditionCheckFailureException, ConfigurationObject, @@ -771,6 +797,7 @@ import { CrawlerRunningException, CreateBlueprintRequest, CreateClassifierRequest, + CreateColumnStatisticsTaskSettingsRequest, CreateConnectionRequest, CreateCrawlerRequest, CreateCsvClassifierRequest, @@ -814,6 +841,7 @@ import { DeleteClassifierRequest, DeleteColumnStatisticsForPartitionRequest, DeleteColumnStatisticsForTableRequest, + DeleteColumnStatisticsTaskSettingsRequest, DeleteConnectionRequest, DeleteCrawlerRequest, DeleteCustomEntityTypeRequest, @@ -863,6 +891,8 @@ import { GetColumnStatisticsTaskRunResponse, GetColumnStatisticsTaskRunsRequest, GetColumnStatisticsTaskRunsResponse, + GetColumnStatisticsTaskSettingsRequest, + GetColumnStatisticsTaskSettingsResponse, GetConnectionRequest, GetConnectionResponse, GetConnectionsFilter, @@ -906,9 +936,6 @@ import { GetJobsRequest, GetMappingRequest, GetMLTaskRunRequest, - GetMLTaskRunResponse, - GetMLTaskRunsRequest, - GetMLTaskRunsResponse, GrokClassifier, IcebergInput, IdempotentParameterMismatchException, @@ -936,9 +963,6 @@ import { StringColumnStatisticsData, TableIdentifier, TableInput, - TaskRun, - TaskRunFilterCriteria, - TaskRunSortCriteria, TransformEncryption, TransformParameters, UserDefinedFunctionInput, @@ -951,7 +975,6 @@ import { ColumnImportance, ColumnStatisticsError, ColumnStatisticsTaskNotRunningException, - ColumnStatisticsTaskRunningException, ColumnStatisticsTaskStoppingException, ConcurrentRunsExceededException, CrawlerHistory, @@ -969,6 +992,9 @@ import { DevEndpointCustomLibraries, EvaluationMetrics, FindMatchesMetrics, + GetMLTaskRunResponse, + GetMLTaskRunsRequest, + GetMLTaskRunsResponse, GetMLTransformRequest, GetMLTransformResponse, GetMLTransformsRequest, @@ -1090,6 +1116,7 @@ import { SortCriterion, StartBlueprintRunRequest, StartColumnStatisticsTaskRunRequest, + StartColumnStatisticsTaskRunScheduleRequest, StartCrawlerRequest, StartCrawlerScheduleRequest, StartDataQualityRuleRecommendationRunRequest, @@ -1104,6 +1131,7 @@ import { Statement, StatisticSummary, StopColumnStatisticsTaskRunRequest, + StopColumnStatisticsTaskRunScheduleRequest, StopCrawlerRequest, StopCrawlerScheduleRequest, StopSessionRequest, @@ -1112,6 +1140,9 @@ import { SupportedDialect, TableAttributes, TagResourceRequest, + TaskRun, + TaskRunFilterCriteria, + TaskRunSortCriteria, TestConnectionInput, TestConnectionRequest, TimestampFilter, @@ -1125,21 +1156,15 @@ import { UpdateColumnStatisticsForPartitionResponse, UpdateColumnStatisticsForTableRequest, UpdateColumnStatisticsForTableResponse, + UpdateColumnStatisticsTaskSettingsRequest, UpdateConnectionRequest, UpdateCrawlerRequest, UpdateCrawlerScheduleRequest, UpdateCsvClassifierRequest, UpdateDatabaseRequest, UpdateDataQualityRulesetRequest, - UpdateDevEndpointRequest, UpdateGrokClassifierRequest, - UpdateJobFromSourceControlRequest, UpdateJsonClassifierRequest, - UpdateMLTransformRequest, - UpdatePartitionRequest, - UpdateRegistryInput, - UpdateSchemaInput, - UpdateSourceControlFromJobRequest, UpdateXMLClassifierRequest, UsageProfileDefinition, UserDefinedFunction, @@ -1167,7 +1192,14 @@ import { TableStatus, TableVersion, TriggerUpdate, + UpdateDevEndpointRequest, + UpdateJobFromSourceControlRequest, UpdateJobRequest, + UpdateMLTransformRequest, + UpdatePartitionRequest, + UpdateRegistryInput, + UpdateSchemaInput, + UpdateSourceControlFromJobRequest, UpdateTableOptimizerRequest, UpdateTableRequest, UpdateTriggerRequest, @@ -1501,6 +1533,19 @@ export const se_CreateClassifierCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1CreateColumnStatisticsTaskSettingsCommand + */ +export const se_CreateColumnStatisticsTaskSettingsCommand = async ( + input: CreateColumnStatisticsTaskSettingsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("CreateColumnStatisticsTaskSettings"); + let body: any; + body = JSON.stringify(se_CreateColumnStatisticsTaskSettingsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1CreateConnectionCommand */ @@ -1826,6 +1871,19 @@ export const se_DeleteColumnStatisticsForTableCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1DeleteColumnStatisticsTaskSettingsCommand + */ +export const se_DeleteColumnStatisticsTaskSettingsCommand = async ( + input: DeleteColumnStatisticsTaskSettingsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("DeleteColumnStatisticsTaskSettings"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1DeleteConnectionCommand */ @@ -2255,6 +2313,19 @@ export const se_GetColumnStatisticsTaskRunsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1GetColumnStatisticsTaskSettingsCommand + */ +export const se_GetColumnStatisticsTaskSettingsCommand = async ( + input: GetColumnStatisticsTaskSettingsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("GetColumnStatisticsTaskSettings"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1GetConnectionCommand */ @@ -3539,6 +3610,19 @@ export const se_StartColumnStatisticsTaskRunCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1StartColumnStatisticsTaskRunScheduleCommand + */ +export const se_StartColumnStatisticsTaskRunScheduleCommand = async ( + input: StartColumnStatisticsTaskRunScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("StartColumnStatisticsTaskRunSchedule"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1StartCrawlerCommand */ @@ -3695,6 +3779,19 @@ export const se_StopColumnStatisticsTaskRunCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1StopColumnStatisticsTaskRunScheduleCommand + */ +export const se_StopColumnStatisticsTaskRunScheduleCommand = async ( + input: StopColumnStatisticsTaskRunScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("StopColumnStatisticsTaskRunSchedule"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1StopCrawlerCommand */ @@ -3851,6 +3948,19 @@ export const se_UpdateColumnStatisticsForTableCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1UpdateColumnStatisticsTaskSettingsCommand + */ +export const se_UpdateColumnStatisticsTaskSettingsCommand = async ( + input: UpdateColumnStatisticsTaskSettingsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("UpdateColumnStatisticsTaskSettings"); + let body: any; + body = JSON.stringify(se_UpdateColumnStatisticsTaskSettingsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1UpdateConnectionCommand */ @@ -4598,6 +4708,26 @@ export const de_CreateClassifierCommand = async ( return response; }; +/** + * deserializeAws_json1_1CreateColumnStatisticsTaskSettingsCommand + */ +export const de_CreateColumnStatisticsTaskSettingsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = _json(data); + const response: CreateColumnStatisticsTaskSettingsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserializeAws_json1_1CreateConnectionCommand */ @@ -5098,6 +5228,26 @@ export const de_DeleteColumnStatisticsForTableCommand = async ( return response; }; +/** + * deserializeAws_json1_1DeleteColumnStatisticsTaskSettingsCommand + */ +export const de_DeleteColumnStatisticsTaskSettingsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = _json(data); + const response: DeleteColumnStatisticsTaskSettingsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserializeAws_json1_1DeleteConnectionCommand */ @@ -5758,6 +5908,26 @@ export const de_GetColumnStatisticsTaskRunsCommand = async ( return response; }; +/** + * deserializeAws_json1_1GetColumnStatisticsTaskSettingsCommand + */ +export const de_GetColumnStatisticsTaskSettingsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = de_GetColumnStatisticsTaskSettingsResponse(data, context); + const response: GetColumnStatisticsTaskSettingsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserializeAws_json1_1GetConnectionCommand */ @@ -7738,6 +7908,26 @@ export const de_StartColumnStatisticsTaskRunCommand = async ( return response; }; +/** + * deserializeAws_json1_1StartColumnStatisticsTaskRunScheduleCommand + */ +export const de_StartColumnStatisticsTaskRunScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = _json(data); + const response: StartColumnStatisticsTaskRunScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserializeAws_json1_1StartCrawlerCommand */ @@ -7978,6 +8168,26 @@ export const de_StopColumnStatisticsTaskRunCommand = async ( return response; }; +/** + * deserializeAws_json1_1StopColumnStatisticsTaskRunScheduleCommand + */ +export const de_StopColumnStatisticsTaskRunScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = _json(data); + const response: StopColumnStatisticsTaskRunScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserializeAws_json1_1StopCrawlerCommand */ @@ -8218,6 +8428,26 @@ export const de_UpdateColumnStatisticsForTableCommand = async ( return response; }; +/** + * deserializeAws_json1_1UpdateColumnStatisticsTaskSettingsCommand + */ +export const de_UpdateColumnStatisticsTaskSettingsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = _json(data); + const response: UpdateColumnStatisticsTaskSettingsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; + /** * deserializeAws_json1_1UpdateConnectionCommand */ @@ -8650,6 +8880,9 @@ const de_CommandError = async (output: __HttpResponse, context: __SerdeContext): case "IllegalSessionStateException": case "com.amazonaws.glue#IllegalSessionStateException": throw await de_IllegalSessionStateExceptionRes(parsedOutput, context); + case "ColumnStatisticsTaskRunningException": + case "com.amazonaws.glue#ColumnStatisticsTaskRunningException": + throw await de_ColumnStatisticsTaskRunningExceptionRes(parsedOutput, context); case "IdempotentParameterMismatchException": case "com.amazonaws.glue#IdempotentParameterMismatchException": throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput, context); @@ -8689,9 +8922,6 @@ const de_CommandError = async (output: __HttpResponse, context: __SerdeContext): case "IllegalBlueprintStateException": case "com.amazonaws.glue#IllegalBlueprintStateException": throw await de_IllegalBlueprintStateExceptionRes(parsedOutput, context); - case "ColumnStatisticsTaskRunningException": - case "com.amazonaws.glue#ColumnStatisticsTaskRunningException": - throw await de_ColumnStatisticsTaskRunningExceptionRes(parsedOutput, context); case "NoScheduleException": case "com.amazonaws.glue#NoScheduleException": throw await de_NoScheduleExceptionRes(parsedOutput, context); @@ -9726,6 +9956,26 @@ const se_CrawlerTargets = (input: CrawlerTargets, context: __SerdeContext): any // se_CreateClassifierRequest omitted. +/** + * serializeAws_json1_1CreateColumnStatisticsTaskSettingsRequest + */ +const se_CreateColumnStatisticsTaskSettingsRequest = ( + input: CreateColumnStatisticsTaskSettingsRequest, + context: __SerdeContext +): any => { + return take(input, { + CatalogID: [], + ColumnNameList: _json, + DatabaseName: [], + Role: [], + SampleSize: __serializeFloat, + Schedule: [], + SecurityConfiguration: [], + TableName: [], + Tags: _json, + }); +}; + // se_CreateConnectionRequest omitted. /** @@ -10024,6 +10274,8 @@ const se_DecimalNumber = (input: DecimalNumber, context: __SerdeContext): any => // se_DeleteColumnStatisticsForTableRequest omitted. +// se_DeleteColumnStatisticsTaskSettingsRequest omitted. + // se_DeleteConnectionNameList omitted. // se_DeleteConnectionRequest omitted. @@ -10230,6 +10482,8 @@ const se_FindMatchesParameters = (input: FindMatchesParameters, context: __Serde // se_GetColumnStatisticsTaskRunsRequest omitted. +// se_GetColumnStatisticsTaskSettingsRequest omitted. + // se_GetConnectionRequest omitted. // se_GetConnectionsFilter omitted. @@ -11128,6 +11382,8 @@ const se_StartColumnStatisticsTaskRunRequest = ( }); }; +// se_StartColumnStatisticsTaskRunScheduleRequest omitted. + // se_StartCrawlerRequest omitted. // se_StartCrawlerScheduleRequest omitted. @@ -11170,6 +11426,8 @@ const se_StartJobRunRequest = (input: StartJobRunRequest, context: __SerdeContex // se_StopColumnStatisticsTaskRunRequest omitted. +// se_StopColumnStatisticsTaskRunScheduleRequest omitted. + // se_StopCrawlerRequest omitted. // se_StopCrawlerScheduleRequest omitted. @@ -11357,6 +11615,25 @@ const se_UpdateColumnStatisticsList = (input: ColumnStatistics[], context: __Ser }); }; +/** + * serializeAws_json1_1UpdateColumnStatisticsTaskSettingsRequest + */ +const se_UpdateColumnStatisticsTaskSettingsRequest = ( + input: UpdateColumnStatisticsTaskSettingsRequest, + context: __SerdeContext +): any => { + return take(input, { + CatalogID: [], + ColumnNameList: _json, + DatabaseName: [], + Role: [], + SampleSize: __serializeFloat, + Schedule: [], + SecurityConfiguration: [], + TableName: [], + }); +}; + // se_UpdateConnectionRequest omitted. /** @@ -12086,6 +12363,7 @@ const de_ColumnStatisticsTaskRun = (output: any, context: __SerdeContext): Colum CatalogID: __expectString, ColumnNameList: _json, ColumnStatisticsTaskRunId: __expectString, + ComputationType: __expectString, CreationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), CustomerId: __expectString, DPUSeconds: __limitedParseDouble, @@ -12120,6 +12398,22 @@ const de_ColumnStatisticsTaskRunsList = (output: any, context: __SerdeContext): return retVal; }; +/** + * deserializeAws_json1_1ColumnStatisticsTaskSettings + */ +const de_ColumnStatisticsTaskSettings = (output: any, context: __SerdeContext): ColumnStatisticsTaskSettings => { + return take(output, { + CatalogID: __expectString, + ColumnNameList: _json, + DatabaseName: __expectString, + Role: __expectString, + SampleSize: __limitedParseDouble, + Schedule: _json, + SecurityConfiguration: __expectString, + TableName: __expectString, + }) as any; +}; + // de_ColumnStatisticsTaskStoppingException omitted. // de_ColumnValueStringList omitted. @@ -12364,6 +12658,8 @@ const de_CrawlList = (output: any, context: __SerdeContext): Crawl[] => { // de_CreateClassifierResponse omitted. +// de_CreateColumnStatisticsTaskSettingsResponse omitted. + // de_CreateConnectionResponse omitted. // de_CreateCrawlerResponse omitted. @@ -12807,6 +13103,8 @@ const de_DecimalNumber = (output: any, context: __SerdeContext): DecimalNumber = // de_DeleteColumnStatisticsForTableResponse omitted. +// de_DeleteColumnStatisticsTaskSettingsResponse omitted. + // de_DeleteConnectionResponse omitted. // de_DeleteCrawlerResponse omitted. @@ -13203,6 +13501,18 @@ const de_GetColumnStatisticsTaskRunsResponse = ( }) as any; }; +/** + * deserializeAws_json1_1GetColumnStatisticsTaskSettingsResponse + */ +const de_GetColumnStatisticsTaskSettingsResponse = ( + output: any, + context: __SerdeContext +): GetColumnStatisticsTaskSettingsResponse => { + return take(output, { + ColumnStatisticsTaskSettings: (_: any) => de_ColumnStatisticsTaskSettings(_, context), + }) as any; +}; + /** * deserializeAws_json1_1GetConnectionResponse */ @@ -14853,6 +15163,8 @@ const de_Spigot = (output: any, context: __SerdeContext): Spigot => { // de_StartColumnStatisticsTaskRunResponse omitted. +// de_StartColumnStatisticsTaskRunScheduleResponse omitted. + // de_StartCrawlerResponse omitted. // de_StartCrawlerScheduleResponse omitted. @@ -14991,6 +15303,8 @@ const de_StatusDetails = (output: any, context: __SerdeContext): StatusDetails = // de_StopColumnStatisticsTaskRunResponse omitted. +// de_StopColumnStatisticsTaskRunScheduleResponse omitted. + // de_StopCrawlerResponse omitted. // de_StopCrawlerScheduleResponse omitted. @@ -15289,6 +15603,8 @@ const de_UpdateColumnStatisticsForTableResponse = ( }) as any; }; +// de_UpdateColumnStatisticsTaskSettingsResponse omitted. + // de_UpdateConnectionResponse omitted. // de_UpdateCrawlerResponse omitted. diff --git a/codegen/sdk-codegen/aws-models/glue.json b/codegen/sdk-codegen/aws-models/glue.json index 32c8ff979bc2..dec7b4cba75c 100644 --- a/codegen/sdk-codegen/aws-models/glue.json +++ b/codegen/sdk-codegen/aws-models/glue.json @@ -108,6 +108,9 @@ { "target": "com.amazonaws.glue#CreateClassifier" }, + { + "target": "com.amazonaws.glue#CreateColumnStatisticsTaskSettings" + }, { "target": "com.amazonaws.glue#CreateConnection" }, @@ -183,6 +186,9 @@ { "target": "com.amazonaws.glue#DeleteColumnStatisticsForTable" }, + { + "target": "com.amazonaws.glue#DeleteColumnStatisticsTaskSettings" + }, { "target": "com.amazonaws.glue#DeleteConnection" }, @@ -282,6 +288,9 @@ { "target": "com.amazonaws.glue#GetColumnStatisticsTaskRuns" }, + { + "target": "com.amazonaws.glue#GetColumnStatisticsTaskSettings" + }, { "target": "com.amazonaws.glue#GetConnection" }, @@ -579,6 +588,9 @@ { "target": "com.amazonaws.glue#StartColumnStatisticsTaskRun" }, + { + "target": "com.amazonaws.glue#StartColumnStatisticsTaskRunSchedule" + }, { "target": "com.amazonaws.glue#StartCrawler" }, @@ -615,6 +627,9 @@ { "target": "com.amazonaws.glue#StopColumnStatisticsTaskRun" }, + { + "target": "com.amazonaws.glue#StopColumnStatisticsTaskRunSchedule" + }, { "target": "com.amazonaws.glue#StopCrawler" }, @@ -651,6 +666,9 @@ { "target": "com.amazonaws.glue#UpdateColumnStatisticsForTable" }, + { + "target": "com.amazonaws.glue#UpdateColumnStatisticsTaskSettings" + }, { "target": "com.amazonaws.glue#UpdateConnection" }, @@ -6306,6 +6324,12 @@ "smithy.api#documentation": "

The type of workers being used for generating stats. The default is g.1x.

" } }, + "ComputationType": { + "target": "com.amazonaws.glue#ComputationType", + "traits": { + "smithy.api#documentation": "

The type of column statistics computation.

" + } + }, "Status": { "target": "com.amazonaws.glue#ColumnStatisticsState", "traits": { @@ -6387,6 +6411,63 @@ "target": "com.amazonaws.glue#ColumnStatisticsTaskRun" } }, + "com.amazonaws.glue#ColumnStatisticsTaskSettings": { + "type": "structure", + "members": { + "DatabaseName": { + "target": "com.amazonaws.glue#DatabaseName", + "traits": { + "smithy.api#documentation": "

The name of the database where the table resides.

" + } + }, + "TableName": { + "target": "com.amazonaws.glue#TableName", + "traits": { + "smithy.api#documentation": "

The name of the table for which to generate column statistics.

" + } + }, + "Schedule": { + "target": "com.amazonaws.glue#Schedule", + "traits": { + "smithy.api#documentation": "

A schedule for running the column statistics, specified in CRON syntax.

" + } + }, + "ColumnNameList": { + "target": "com.amazonaws.glue#ColumnNameList", + "traits": { + "smithy.api#documentation": "

A list of column names for which to run statistics.

" + } + }, + "CatalogID": { + "target": "com.amazonaws.glue#CatalogIdString", + "traits": { + "smithy.api#documentation": "

The ID of the Data Catalog in which the database resides.

" + } + }, + "Role": { + "target": "com.amazonaws.glue#Role", + "traits": { + "smithy.api#documentation": "

The role used for running the column statistics.

" + } + }, + "SampleSize": { + "target": "com.amazonaws.glue#SampleSizePercentage", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The percentage of data to sample.

" + } + }, + "SecurityConfiguration": { + "target": "com.amazonaws.glue#CrawlerSecurityConfiguration", + "traits": { + "smithy.api#documentation": "

Name of the security configuration that is used to encrypt CloudWatch logs.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The settings for a column statistics task.

" + } + }, "com.amazonaws.glue#ColumnStatisticsTaskStoppingException": { "type": "structure", "members": { @@ -6607,6 +6688,23 @@ } } }, + "com.amazonaws.glue#ComputationType": { + "type": "enum", + "members": { + "FULL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL" + } + }, + "INCREMENTAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCREMENTAL" + } + } + } + }, "com.amazonaws.glue#ConcurrentModificationException": { "type": "structure", "members": { @@ -8283,6 +8381,114 @@ "smithy.api#output": {} } }, + "com.amazonaws.glue#CreateColumnStatisticsTaskSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.glue#CreateColumnStatisticsTaskSettingsRequest" + }, + "output": { + "target": "com.amazonaws.glue#CreateColumnStatisticsTaskSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.glue#AccessDeniedException" + }, + { + "target": "com.amazonaws.glue#AlreadyExistsException" + }, + { + "target": "com.amazonaws.glue#ColumnStatisticsTaskRunningException" + }, + { + "target": "com.amazonaws.glue#EntityNotFoundException" + }, + { + "target": "com.amazonaws.glue#InvalidInputException" + }, + { + "target": "com.amazonaws.glue#OperationTimeoutException" + }, + { + "target": "com.amazonaws.glue#ResourceNumberLimitExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates settings for a column statistics task.

" + } + }, + "com.amazonaws.glue#CreateColumnStatisticsTaskSettingsRequest": { + "type": "structure", + "members": { + "DatabaseName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the database where the table resides.

", + "smithy.api#required": {} + } + }, + "TableName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the table for which to generate column statistics.

", + "smithy.api#required": {} + } + }, + "Role": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The role used for running the column statistics.

", + "smithy.api#required": {} + } + }, + "Schedule": { + "target": "com.amazonaws.glue#CronExpression", + "traits": { + "smithy.api#documentation": "

A schedule for running the column statistics, specified in CRON syntax.

" + } + }, + "ColumnNameList": { + "target": "com.amazonaws.glue#ColumnNameList", + "traits": { + "smithy.api#documentation": "

A list of column names for which to run statistics.

" + } + }, + "SampleSize": { + "target": "com.amazonaws.glue#SampleSizePercentage", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The percentage of data to sample.

" + } + }, + "CatalogID": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The ID of the Data Catalog in which the database resides.

" + } + }, + "SecurityConfiguration": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

Name of the security configuration that is used to encrypt CloudWatch logs.

" + } + }, + "Tags": { + "target": "com.amazonaws.glue#TagsMap", + "traits": { + "smithy.api#documentation": "

A map of tags.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.glue#CreateColumnStatisticsTaskSettingsResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.glue#CreateConnection": { "type": "operation", "input": { @@ -12591,6 +12797,58 @@ "smithy.api#output": {} } }, + "com.amazonaws.glue#DeleteColumnStatisticsTaskSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.glue#DeleteColumnStatisticsTaskSettingsRequest" + }, + "output": { + "target": "com.amazonaws.glue#DeleteColumnStatisticsTaskSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.glue#EntityNotFoundException" + }, + { + "target": "com.amazonaws.glue#InvalidInputException" + }, + { + "target": "com.amazonaws.glue#OperationTimeoutException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes settings for a column statistics task.

" + } + }, + "com.amazonaws.glue#DeleteColumnStatisticsTaskSettingsRequest": { + "type": "structure", + "members": { + "DatabaseName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the database where the table resides.

", + "smithy.api#required": {} + } + }, + "TableName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the table for which to delete column statistics.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.glue#DeleteColumnStatisticsTaskSettingsResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.glue#DeleteConnection": { "type": "operation", "input": { @@ -16428,6 +16686,65 @@ "smithy.api#output": {} } }, + "com.amazonaws.glue#GetColumnStatisticsTaskSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.glue#GetColumnStatisticsTaskSettingsRequest" + }, + "output": { + "target": "com.amazonaws.glue#GetColumnStatisticsTaskSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.glue#EntityNotFoundException" + }, + { + "target": "com.amazonaws.glue#InvalidInputException" + }, + { + "target": "com.amazonaws.glue#OperationTimeoutException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets settings for a column statistics task.

" + } + }, + "com.amazonaws.glue#GetColumnStatisticsTaskSettingsRequest": { + "type": "structure", + "members": { + "DatabaseName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the database where the table resides.

", + "smithy.api#required": {} + } + }, + "TableName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the table for which to retrieve column statistics.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.glue#GetColumnStatisticsTaskSettingsResponse": { + "type": "structure", + "members": { + "ColumnStatisticsTaskSettings": { + "target": "com.amazonaws.glue#ColumnStatisticsTaskSettings", + "traits": { + "smithy.api#documentation": "

A ColumnStatisticsTaskSettings object representing the settings for the column statistics task.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.glue#GetConnection": { "type": "operation", "input": { @@ -33438,6 +33755,61 @@ "smithy.api#output": {} } }, + "com.amazonaws.glue#StartColumnStatisticsTaskRunSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.glue#StartColumnStatisticsTaskRunScheduleRequest" + }, + "output": { + "target": "com.amazonaws.glue#StartColumnStatisticsTaskRunScheduleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.glue#AccessDeniedException" + }, + { + "target": "com.amazonaws.glue#EntityNotFoundException" + }, + { + "target": "com.amazonaws.glue#InvalidInputException" + }, + { + "target": "com.amazonaws.glue#OperationTimeoutException" + } + ], + "traits": { + "smithy.api#documentation": "

Starts a column statistics task run schedule.

" + } + }, + "com.amazonaws.glue#StartColumnStatisticsTaskRunScheduleRequest": { + "type": "structure", + "members": { + "DatabaseName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the database where the table resides.

", + "smithy.api#required": {} + } + }, + "TableName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the table for which to start a column statistic task run schedule.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.glue#StartColumnStatisticsTaskRunScheduleResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.glue#StartCrawler": { "type": "operation", "input": { @@ -34744,6 +35116,58 @@ "smithy.api#output": {} } }, + "com.amazonaws.glue#StopColumnStatisticsTaskRunSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.glue#StopColumnStatisticsTaskRunScheduleRequest" + }, + "output": { + "target": "com.amazonaws.glue#StopColumnStatisticsTaskRunScheduleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.glue#EntityNotFoundException" + }, + { + "target": "com.amazonaws.glue#InvalidInputException" + }, + { + "target": "com.amazonaws.glue#OperationTimeoutException" + } + ], + "traits": { + "smithy.api#documentation": "

Stops a column statistics task run schedule.

" + } + }, + "com.amazonaws.glue#StopColumnStatisticsTaskRunScheduleRequest": { + "type": "structure", + "members": { + "DatabaseName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the database where the table resides.

", + "smithy.api#required": {} + } + }, + "TableName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the table for which to stop a column statistic task run schedule.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.glue#StopColumnStatisticsTaskRunScheduleResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.glue#StopCrawler": { "type": "operation", "input": { @@ -37515,6 +37939,101 @@ } } }, + "com.amazonaws.glue#UpdateColumnStatisticsTaskSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.glue#UpdateColumnStatisticsTaskSettingsRequest" + }, + "output": { + "target": "com.amazonaws.glue#UpdateColumnStatisticsTaskSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.glue#AccessDeniedException" + }, + { + "target": "com.amazonaws.glue#EntityNotFoundException" + }, + { + "target": "com.amazonaws.glue#InvalidInputException" + }, + { + "target": "com.amazonaws.glue#OperationTimeoutException" + }, + { + "target": "com.amazonaws.glue#VersionMismatchException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates settings for a column statistics task.

" + } + }, + "com.amazonaws.glue#UpdateColumnStatisticsTaskSettingsRequest": { + "type": "structure", + "members": { + "DatabaseName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the database where the table resides.

", + "smithy.api#required": {} + } + }, + "TableName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the table for which to generate column statistics.

", + "smithy.api#required": {} + } + }, + "Role": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The role used for running the column statistics.

" + } + }, + "Schedule": { + "target": "com.amazonaws.glue#CronExpression", + "traits": { + "smithy.api#documentation": "

A schedule for running the column statistics, specified in CRON syntax.

" + } + }, + "ColumnNameList": { + "target": "com.amazonaws.glue#ColumnNameList", + "traits": { + "smithy.api#documentation": "

A list of column names for which to run statistics.

" + } + }, + "SampleSize": { + "target": "com.amazonaws.glue#SampleSizePercentage", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The percentage of data to sample.

" + } + }, + "CatalogID": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The ID of the Data Catalog in which the database resides.

" + } + }, + "SecurityConfiguration": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

Name of the security configuration that is used to encrypt CloudWatch logs.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.glue#UpdateColumnStatisticsTaskSettingsResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.glue#UpdateConnection": { "type": "operation", "input": {