@aws-sdk/client-glue 3.965.0 → 3.967.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +233 -0
  3. package/dist-es/Glue.js +8 -0
  4. package/dist-es/commands/GetMaterializedViewRefreshTaskRunCommand.js +16 -0
  5. package/dist-es/commands/ListMaterializedViewRefreshTaskRunsCommand.js +16 -0
  6. package/dist-es/commands/StartMaterializedViewRefreshTaskRunCommand.js +16 -0
  7. package/dist-es/commands/StopMaterializedViewRefreshTaskRunCommand.js +16 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/enums.js +11 -0
  10. package/dist-es/models/errors.js +42 -0
  11. package/dist-es/pagination/ListMaterializedViewRefreshTaskRunsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +101 -1
  14. package/dist-types/Glue.d.ts +28 -0
  15. package/dist-types/GlueClient.d.ts +6 -2
  16. package/dist-types/commands/GetMLTransformCommand.d.ts +2 -1
  17. package/dist-types/commands/GetMaterializedViewRefreshTaskRunCommand.d.ts +103 -0
  18. package/dist-types/commands/ListMaterializedViewRefreshTaskRunsCommand.d.ts +106 -0
  19. package/dist-types/commands/StartMaterializedViewRefreshTaskRunCommand.d.ts +95 -0
  20. package/dist-types/commands/StopMaterializedViewRefreshTaskRunCommand.d.ts +89 -0
  21. package/dist-types/commands/UpdateTableCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateTableOptimizerCommand.d.ts +1 -1
  23. package/dist-types/commands/UpdateTriggerCommand.d.ts +1 -2
  24. package/dist-types/commands/index.d.ts +4 -0
  25. package/dist-types/models/enums.d.ts +27 -0
  26. package/dist-types/models/errors.d.ts +39 -0
  27. package/dist-types/models/models_1.d.ts +107 -152
  28. package/dist-types/models/models_2.d.ts +259 -202
  29. package/dist-types/models/models_3.d.ts +203 -4
  30. package/dist-types/pagination/ListMaterializedViewRefreshTaskRunsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/schemas/schemas_0.d.ts +16 -0
  33. package/dist-types/ts3.4/Glue.d.ts +92 -0
  34. package/dist-types/ts3.4/GlueClient.d.ts +24 -0
  35. package/dist-types/ts3.4/commands/GetMLTransformCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/GetMaterializedViewRefreshTaskRunCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/ListMaterializedViewRefreshTaskRunsCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/StartMaterializedViewRefreshTaskRunCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/StopMaterializedViewRefreshTaskRunCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/UpdateTableOptimizerCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/UpdateTriggerCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  44. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  45. package/dist-types/ts3.4/models/errors.d.ts +33 -0
  46. package/dist-types/ts3.4/models/models_1.d.ts +26 -30
  47. package/dist-types/ts3.4/models/models_2.d.ts +59 -50
  48. package/dist-types/ts3.4/models/models_3.d.ts +50 -0
  49. package/dist-types/ts3.4/pagination/ListMaterializedViewRefreshTaskRunsPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  52. package/package.json +11 -11
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
+ import type { GetMaterializedViewRefreshTaskRunRequest, GetMaterializedViewRefreshTaskRunResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetMaterializedViewRefreshTaskRunCommand}.
14
+ */
15
+ export interface GetMaterializedViewRefreshTaskRunCommandInput extends GetMaterializedViewRefreshTaskRunRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetMaterializedViewRefreshTaskRunCommand}.
21
+ */
22
+ export interface GetMaterializedViewRefreshTaskRunCommandOutput extends GetMaterializedViewRefreshTaskRunResponse, __MetadataBearer {
23
+ }
24
+ declare const GetMaterializedViewRefreshTaskRunCommand_base: {
25
+ new (input: GetMaterializedViewRefreshTaskRunCommandInput): import("@smithy/smithy-client").CommandImpl<GetMaterializedViewRefreshTaskRunCommandInput, GetMaterializedViewRefreshTaskRunCommandOutput, GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetMaterializedViewRefreshTaskRunCommandInput): import("@smithy/smithy-client").CommandImpl<GetMaterializedViewRefreshTaskRunCommandInput, GetMaterializedViewRefreshTaskRunCommandOutput, GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Get the associated metadata/information for a task run, given a task run ID.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { GlueClient, GetMaterializedViewRefreshTaskRunCommand } from "@aws-sdk/client-glue"; // ES Modules import
35
+ * // const { GlueClient, GetMaterializedViewRefreshTaskRunCommand } = require("@aws-sdk/client-glue"); // CommonJS import
36
+ * // import type { GlueClientConfig } from "@aws-sdk/client-glue";
37
+ * const config = {}; // type is GlueClientConfig
38
+ * const client = new GlueClient(config);
39
+ * const input = { // GetMaterializedViewRefreshTaskRunRequest
40
+ * CatalogId: "STRING_VALUE", // required
41
+ * MaterializedViewRefreshTaskRunId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new GetMaterializedViewRefreshTaskRunCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetMaterializedViewRefreshTaskRunResponse
46
+ * // MaterializedViewRefreshTaskRun: { // MaterializedViewRefreshTaskRun
47
+ * // CustomerId: "STRING_VALUE",
48
+ * // MaterializedViewRefreshTaskRunId: "STRING_VALUE",
49
+ * // DatabaseName: "STRING_VALUE",
50
+ * // TableName: "STRING_VALUE",
51
+ * // CatalogId: "STRING_VALUE",
52
+ * // Role: "STRING_VALUE",
53
+ * // Status: "STARTING" || "RUNNING" || "SUCCEEDED" || "FAILED" || "STOPPED",
54
+ * // CreationTime: new Date("TIMESTAMP"),
55
+ * // LastUpdated: new Date("TIMESTAMP"),
56
+ * // StartTime: new Date("TIMESTAMP"),
57
+ * // EndTime: new Date("TIMESTAMP"),
58
+ * // ErrorMessage: "STRING_VALUE",
59
+ * // DPUSeconds: Number("double"),
60
+ * // RefreshType: "FULL" || "INCREMENTAL",
61
+ * // ProcessedBytes: Number("long"),
62
+ * // },
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param GetMaterializedViewRefreshTaskRunCommandInput - {@link GetMaterializedViewRefreshTaskRunCommandInput}
68
+ * @returns {@link GetMaterializedViewRefreshTaskRunCommandOutput}
69
+ * @see {@link GetMaterializedViewRefreshTaskRunCommandInput} for command's `input` shape.
70
+ * @see {@link GetMaterializedViewRefreshTaskRunCommandOutput} for command's `response` shape.
71
+ * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>Access to a resource was denied.</p>
75
+ *
76
+ * @throws {@link EntityNotFoundException} (client fault)
77
+ * <p>A specified entity does not exist</p>
78
+ *
79
+ * @throws {@link InvalidInputException} (client fault)
80
+ * <p>The input provided was not valid.</p>
81
+ *
82
+ * @throws {@link OperationTimeoutException} (client fault)
83
+ * <p>The operation timed out.</p>
84
+ *
85
+ * @throws {@link GlueServiceException}
86
+ * <p>Base exception class for all service exceptions from Glue service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class GetMaterializedViewRefreshTaskRunCommand extends GetMaterializedViewRefreshTaskRunCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: GetMaterializedViewRefreshTaskRunRequest;
96
+ output: GetMaterializedViewRefreshTaskRunResponse;
97
+ };
98
+ sdk: {
99
+ input: GetMaterializedViewRefreshTaskRunCommandInput;
100
+ output: GetMaterializedViewRefreshTaskRunCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
+ import type { ListMaterializedViewRefreshTaskRunsRequest, ListMaterializedViewRefreshTaskRunsResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListMaterializedViewRefreshTaskRunsCommand}.
14
+ */
15
+ export interface ListMaterializedViewRefreshTaskRunsCommandInput extends ListMaterializedViewRefreshTaskRunsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListMaterializedViewRefreshTaskRunsCommand}.
21
+ */
22
+ export interface ListMaterializedViewRefreshTaskRunsCommandOutput extends ListMaterializedViewRefreshTaskRunsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListMaterializedViewRefreshTaskRunsCommand_base: {
25
+ new (input: ListMaterializedViewRefreshTaskRunsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMaterializedViewRefreshTaskRunsCommandInput, ListMaterializedViewRefreshTaskRunsCommandOutput, GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListMaterializedViewRefreshTaskRunsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMaterializedViewRefreshTaskRunsCommandInput, ListMaterializedViewRefreshTaskRunsCommandOutput, GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List all task runs for a particular account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { GlueClient, ListMaterializedViewRefreshTaskRunsCommand } from "@aws-sdk/client-glue"; // ES Modules import
35
+ * // const { GlueClient, ListMaterializedViewRefreshTaskRunsCommand } = require("@aws-sdk/client-glue"); // CommonJS import
36
+ * // import type { GlueClientConfig } from "@aws-sdk/client-glue";
37
+ * const config = {}; // type is GlueClientConfig
38
+ * const client = new GlueClient(config);
39
+ * const input = { // ListMaterializedViewRefreshTaskRunsRequest
40
+ * CatalogId: "STRING_VALUE", // required
41
+ * DatabaseName: "STRING_VALUE",
42
+ * TableName: "STRING_VALUE",
43
+ * MaxResults: Number("int"),
44
+ * NextToken: "STRING_VALUE",
45
+ * };
46
+ * const command = new ListMaterializedViewRefreshTaskRunsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListMaterializedViewRefreshTaskRunsResponse
49
+ * // MaterializedViewRefreshTaskRuns: [ // MaterializedViewRefreshTaskRunsList
50
+ * // { // MaterializedViewRefreshTaskRun
51
+ * // CustomerId: "STRING_VALUE",
52
+ * // MaterializedViewRefreshTaskRunId: "STRING_VALUE",
53
+ * // DatabaseName: "STRING_VALUE",
54
+ * // TableName: "STRING_VALUE",
55
+ * // CatalogId: "STRING_VALUE",
56
+ * // Role: "STRING_VALUE",
57
+ * // Status: "STARTING" || "RUNNING" || "SUCCEEDED" || "FAILED" || "STOPPED",
58
+ * // CreationTime: new Date("TIMESTAMP"),
59
+ * // LastUpdated: new Date("TIMESTAMP"),
60
+ * // StartTime: new Date("TIMESTAMP"),
61
+ * // EndTime: new Date("TIMESTAMP"),
62
+ * // ErrorMessage: "STRING_VALUE",
63
+ * // DPUSeconds: Number("double"),
64
+ * // RefreshType: "FULL" || "INCREMENTAL",
65
+ * // ProcessedBytes: Number("long"),
66
+ * // },
67
+ * // ],
68
+ * // NextToken: "STRING_VALUE",
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param ListMaterializedViewRefreshTaskRunsCommandInput - {@link ListMaterializedViewRefreshTaskRunsCommandInput}
74
+ * @returns {@link ListMaterializedViewRefreshTaskRunsCommandOutput}
75
+ * @see {@link ListMaterializedViewRefreshTaskRunsCommandInput} for command's `input` shape.
76
+ * @see {@link ListMaterializedViewRefreshTaskRunsCommandOutput} for command's `response` shape.
77
+ * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
78
+ *
79
+ * @throws {@link AccessDeniedException} (client fault)
80
+ * <p>Access to a resource was denied.</p>
81
+ *
82
+ * @throws {@link InvalidInputException} (client fault)
83
+ * <p>The input provided was not valid.</p>
84
+ *
85
+ * @throws {@link OperationTimeoutException} (client fault)
86
+ * <p>The operation timed out.</p>
87
+ *
88
+ * @throws {@link GlueServiceException}
89
+ * <p>Base exception class for all service exceptions from Glue service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListMaterializedViewRefreshTaskRunsCommand extends ListMaterializedViewRefreshTaskRunsCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListMaterializedViewRefreshTaskRunsRequest;
99
+ output: ListMaterializedViewRefreshTaskRunsResponse;
100
+ };
101
+ sdk: {
102
+ input: ListMaterializedViewRefreshTaskRunsCommandInput;
103
+ output: ListMaterializedViewRefreshTaskRunsCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
+ import type { StartMaterializedViewRefreshTaskRunRequest, StartMaterializedViewRefreshTaskRunResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartMaterializedViewRefreshTaskRunCommand}.
14
+ */
15
+ export interface StartMaterializedViewRefreshTaskRunCommandInput extends StartMaterializedViewRefreshTaskRunRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartMaterializedViewRefreshTaskRunCommand}.
21
+ */
22
+ export interface StartMaterializedViewRefreshTaskRunCommandOutput extends StartMaterializedViewRefreshTaskRunResponse, __MetadataBearer {
23
+ }
24
+ declare const StartMaterializedViewRefreshTaskRunCommand_base: {
25
+ new (input: StartMaterializedViewRefreshTaskRunCommandInput): import("@smithy/smithy-client").CommandImpl<StartMaterializedViewRefreshTaskRunCommandInput, StartMaterializedViewRefreshTaskRunCommandOutput, GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartMaterializedViewRefreshTaskRunCommandInput): import("@smithy/smithy-client").CommandImpl<StartMaterializedViewRefreshTaskRunCommandInput, StartMaterializedViewRefreshTaskRunCommandOutput, GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a materialized view refresh task run, for a specified table and columns.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { GlueClient, StartMaterializedViewRefreshTaskRunCommand } from "@aws-sdk/client-glue"; // ES Modules import
35
+ * // const { GlueClient, StartMaterializedViewRefreshTaskRunCommand } = require("@aws-sdk/client-glue"); // CommonJS import
36
+ * // import type { GlueClientConfig } from "@aws-sdk/client-glue";
37
+ * const config = {}; // type is GlueClientConfig
38
+ * const client = new GlueClient(config);
39
+ * const input = { // StartMaterializedViewRefreshTaskRunRequest
40
+ * CatalogId: "STRING_VALUE", // required
41
+ * DatabaseName: "STRING_VALUE", // required
42
+ * TableName: "STRING_VALUE", // required
43
+ * FullRefresh: true || false,
44
+ * };
45
+ * const command = new StartMaterializedViewRefreshTaskRunCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartMaterializedViewRefreshTaskRunResponse
48
+ * // MaterializedViewRefreshTaskRunId: "STRING_VALUE",
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param StartMaterializedViewRefreshTaskRunCommandInput - {@link StartMaterializedViewRefreshTaskRunCommandInput}
54
+ * @returns {@link StartMaterializedViewRefreshTaskRunCommandOutput}
55
+ * @see {@link StartMaterializedViewRefreshTaskRunCommandInput} for command's `input` shape.
56
+ * @see {@link StartMaterializedViewRefreshTaskRunCommandOutput} for command's `response` shape.
57
+ * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>Access to a resource was denied.</p>
61
+ *
62
+ * @throws {@link EntityNotFoundException} (client fault)
63
+ * <p>A specified entity does not exist</p>
64
+ *
65
+ * @throws {@link InvalidInputException} (client fault)
66
+ * <p>The input provided was not valid.</p>
67
+ *
68
+ * @throws {@link MaterializedViewRefreshTaskRunningException} (client fault)
69
+ * <p>Exception thrown when a task is already in running state.</p>
70
+ *
71
+ * @throws {@link OperationTimeoutException} (client fault)
72
+ * <p>The operation timed out.</p>
73
+ *
74
+ * @throws {@link ResourceNumberLimitExceededException} (client fault)
75
+ * <p>A resource numerical limit was exceeded.</p>
76
+ *
77
+ * @throws {@link GlueServiceException}
78
+ * <p>Base exception class for all service exceptions from Glue service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class StartMaterializedViewRefreshTaskRunCommand extends StartMaterializedViewRefreshTaskRunCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: StartMaterializedViewRefreshTaskRunRequest;
88
+ output: StartMaterializedViewRefreshTaskRunResponse;
89
+ };
90
+ sdk: {
91
+ input: StartMaterializedViewRefreshTaskRunCommandInput;
92
+ output: StartMaterializedViewRefreshTaskRunCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
+ import type { StopMaterializedViewRefreshTaskRunRequest, StopMaterializedViewRefreshTaskRunResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopMaterializedViewRefreshTaskRunCommand}.
14
+ */
15
+ export interface StopMaterializedViewRefreshTaskRunCommandInput extends StopMaterializedViewRefreshTaskRunRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopMaterializedViewRefreshTaskRunCommand}.
21
+ */
22
+ export interface StopMaterializedViewRefreshTaskRunCommandOutput extends StopMaterializedViewRefreshTaskRunResponse, __MetadataBearer {
23
+ }
24
+ declare const StopMaterializedViewRefreshTaskRunCommand_base: {
25
+ new (input: StopMaterializedViewRefreshTaskRunCommandInput): import("@smithy/smithy-client").CommandImpl<StopMaterializedViewRefreshTaskRunCommandInput, StopMaterializedViewRefreshTaskRunCommandOutput, GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopMaterializedViewRefreshTaskRunCommandInput): import("@smithy/smithy-client").CommandImpl<StopMaterializedViewRefreshTaskRunCommandInput, StopMaterializedViewRefreshTaskRunCommandOutput, GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Stops a materialized view refresh task run, for a specified table and columns.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { GlueClient, StopMaterializedViewRefreshTaskRunCommand } from "@aws-sdk/client-glue"; // ES Modules import
35
+ * // const { GlueClient, StopMaterializedViewRefreshTaskRunCommand } = require("@aws-sdk/client-glue"); // CommonJS import
36
+ * // import type { GlueClientConfig } from "@aws-sdk/client-glue";
37
+ * const config = {}; // type is GlueClientConfig
38
+ * const client = new GlueClient(config);
39
+ * const input = { // StopMaterializedViewRefreshTaskRunRequest
40
+ * CatalogId: "STRING_VALUE", // required
41
+ * DatabaseName: "STRING_VALUE", // required
42
+ * TableName: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new StopMaterializedViewRefreshTaskRunCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param StopMaterializedViewRefreshTaskRunCommandInput - {@link StopMaterializedViewRefreshTaskRunCommandInput}
51
+ * @returns {@link StopMaterializedViewRefreshTaskRunCommandOutput}
52
+ * @see {@link StopMaterializedViewRefreshTaskRunCommandInput} for command's `input` shape.
53
+ * @see {@link StopMaterializedViewRefreshTaskRunCommandOutput} for command's `response` shape.
54
+ * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>Access to a resource was denied.</p>
58
+ *
59
+ * @throws {@link InvalidInputException} (client fault)
60
+ * <p>The input provided was not valid.</p>
61
+ *
62
+ * @throws {@link MaterializedViewRefreshTaskNotRunningException} (client fault)
63
+ * <p>Exception thrown when stopping a task that is not in running state.</p>
64
+ *
65
+ * @throws {@link MaterializedViewRefreshTaskStoppingException} (client fault)
66
+ * <p>Exception thrown when a task is already in stopping state.</p>
67
+ *
68
+ * @throws {@link OperationTimeoutException} (client fault)
69
+ * <p>The operation timed out.</p>
70
+ *
71
+ * @throws {@link GlueServiceException}
72
+ * <p>Base exception class for all service exceptions from Glue service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class StopMaterializedViewRefreshTaskRunCommand extends StopMaterializedViewRefreshTaskRunCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: StopMaterializedViewRefreshTaskRunRequest;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: StopMaterializedViewRefreshTaskRunCommandInput;
86
+ output: StopMaterializedViewRefreshTaskRunCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
- import type { UpdateTableRequest, UpdateTableResponse } from "../models/models_2";
4
+ import type { UpdateTableRequest, UpdateTableResponse } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
- import type { UpdateTableOptimizerRequest, UpdateTableOptimizerResponse } from "../models/models_2";
4
+ import type { UpdateTableOptimizerRequest, UpdateTableOptimizerResponse } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
- import type { UpdateTriggerRequest } from "../models/models_2";
5
- import type { UpdateTriggerResponse } from "../models/models_3";
4
+ import type { UpdateTriggerRequest, UpdateTriggerResponse } from "../models/models_3";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -132,6 +132,7 @@ export * from "./GetMLTaskRunsCommand";
132
132
  export * from "./GetMLTransformCommand";
133
133
  export * from "./GetMLTransformsCommand";
134
134
  export * from "./GetMappingCommand";
135
+ export * from "./GetMaterializedViewRefreshTaskRunCommand";
135
136
  export * from "./GetPartitionCommand";
136
137
  export * from "./GetPartitionIndexesCommand";
137
138
  export * from "./GetPartitionsCommand";
@@ -183,6 +184,7 @@ export * from "./ListEntitiesCommand";
183
184
  export * from "./ListIntegrationResourcePropertiesCommand";
184
185
  export * from "./ListJobsCommand";
185
186
  export * from "./ListMLTransformsCommand";
187
+ export * from "./ListMaterializedViewRefreshTaskRunsCommand";
186
188
  export * from "./ListRegistriesCommand";
187
189
  export * from "./ListSchemaVersionsCommand";
188
190
  export * from "./ListSchemasCommand";
@@ -217,12 +219,14 @@ export * from "./StartImportLabelsTaskRunCommand";
217
219
  export * from "./StartJobRunCommand";
218
220
  export * from "./StartMLEvaluationTaskRunCommand";
219
221
  export * from "./StartMLLabelingSetGenerationTaskRunCommand";
222
+ export * from "./StartMaterializedViewRefreshTaskRunCommand";
220
223
  export * from "./StartTriggerCommand";
221
224
  export * from "./StartWorkflowRunCommand";
222
225
  export * from "./StopColumnStatisticsTaskRunCommand";
223
226
  export * from "./StopColumnStatisticsTaskRunScheduleCommand";
224
227
  export * from "./StopCrawlerCommand";
225
228
  export * from "./StopCrawlerScheduleCommand";
229
+ export * from "./StopMaterializedViewRefreshTaskRunCommand";
226
230
  export * from "./StopSessionCommand";
227
231
  export * from "./StopTriggerCommand";
228
232
  export * from "./StopWorkflowRunCommand";
@@ -1640,6 +1640,33 @@ export declare const DQCompositeRuleEvaluationMethod: {
1640
1640
  * @public
1641
1641
  */
1642
1642
  export type DQCompositeRuleEvaluationMethod = (typeof DQCompositeRuleEvaluationMethod)[keyof typeof DQCompositeRuleEvaluationMethod];
1643
+ /**
1644
+ * @public
1645
+ * @enum
1646
+ */
1647
+ export declare const MaterializedViewRefreshType: {
1648
+ readonly FULL: "FULL";
1649
+ readonly INCREMENTAL: "INCREMENTAL";
1650
+ };
1651
+ /**
1652
+ * @public
1653
+ */
1654
+ export type MaterializedViewRefreshType = (typeof MaterializedViewRefreshType)[keyof typeof MaterializedViewRefreshType];
1655
+ /**
1656
+ * @public
1657
+ * @enum
1658
+ */
1659
+ export declare const MaterializedViewRefreshState: {
1660
+ readonly FAILED: "FAILED";
1661
+ readonly RUNNING: "RUNNING";
1662
+ readonly STARTING: "STARTING";
1663
+ readonly STOPPED: "STOPPED";
1664
+ readonly SUCCEEDED: "SUCCEEDED";
1665
+ };
1666
+ /**
1667
+ * @public
1668
+ */
1669
+ export type MaterializedViewRefreshState = (typeof MaterializedViewRefreshState)[keyof typeof MaterializedViewRefreshState];
1643
1670
  /**
1644
1671
  * @public
1645
1672
  * @enum
@@ -668,6 +668,19 @@ export declare class SchedulerRunningException extends __BaseException {
668
668
  */
669
669
  constructor(opts: __ExceptionOptionType<SchedulerRunningException, __BaseException>);
670
670
  }
671
+ /**
672
+ * <p>Exception thrown when a task is already in running state.</p>
673
+ * @public
674
+ */
675
+ export declare class MaterializedViewRefreshTaskRunningException extends __BaseException {
676
+ readonly name: "MaterializedViewRefreshTaskRunningException";
677
+ readonly $fault: "client";
678
+ Message?: string | undefined;
679
+ /**
680
+ * @internal
681
+ */
682
+ constructor(opts: __ExceptionOptionType<MaterializedViewRefreshTaskRunningException, __BaseException>);
683
+ }
671
684
  /**
672
685
  * <p>The machine learning transform is not ready to run.</p>
673
686
  * @public
@@ -770,6 +783,32 @@ export declare class SchedulerNotRunningException extends __BaseException {
770
783
  */
771
784
  constructor(opts: __ExceptionOptionType<SchedulerNotRunningException, __BaseException>);
772
785
  }
786
+ /**
787
+ * <p>Exception thrown when stopping a task that is not in running state.</p>
788
+ * @public
789
+ */
790
+ export declare class MaterializedViewRefreshTaskNotRunningException extends __BaseException {
791
+ readonly name: "MaterializedViewRefreshTaskNotRunningException";
792
+ readonly $fault: "client";
793
+ Message?: string | undefined;
794
+ /**
795
+ * @internal
796
+ */
797
+ constructor(opts: __ExceptionOptionType<MaterializedViewRefreshTaskNotRunningException, __BaseException>);
798
+ }
799
+ /**
800
+ * <p>Exception thrown when a task is already in stopping state.</p>
801
+ * @public
802
+ */
803
+ export declare class MaterializedViewRefreshTaskStoppingException extends __BaseException {
804
+ readonly name: "MaterializedViewRefreshTaskStoppingException";
805
+ readonly $fault: "client";
806
+ Message?: string | undefined;
807
+ /**
808
+ * @internal
809
+ */
810
+ constructor(opts: __ExceptionOptionType<MaterializedViewRefreshTaskStoppingException, __BaseException>);
811
+ }
773
812
  /**
774
813
  * <p>There was a version conflict.</p>
775
814
  * @public