@aws-sdk/client-mwaa-serverless 3.975.0 → 3.980.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +15 -9
- package/dist-es/MWAAServerless.js +11 -1
- package/dist-types/MWAAServerless.d.ts +29 -1
- package/dist-types/ts3.4/MWAAServerless.d.ts +33 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -910,6 +910,14 @@ class UpdateWorkflowCommand extends smithyClient.Command
|
|
|
910
910
|
.build() {
|
|
911
911
|
}
|
|
912
912
|
|
|
913
|
+
const paginateListTaskInstances = core.createPaginator(MWAAServerlessClient, ListTaskInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
914
|
+
|
|
915
|
+
const paginateListWorkflowRuns = core.createPaginator(MWAAServerlessClient, ListWorkflowRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
916
|
+
|
|
917
|
+
const paginateListWorkflows = core.createPaginator(MWAAServerlessClient, ListWorkflowsCommand, "NextToken", "NextToken", "MaxResults");
|
|
918
|
+
|
|
919
|
+
const paginateListWorkflowVersions = core.createPaginator(MWAAServerlessClient, ListWorkflowVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
920
|
+
|
|
913
921
|
const commands = {
|
|
914
922
|
CreateWorkflowCommand,
|
|
915
923
|
DeleteWorkflowCommand,
|
|
@@ -927,17 +935,15 @@ const commands = {
|
|
|
927
935
|
UntagResourceCommand,
|
|
928
936
|
UpdateWorkflowCommand,
|
|
929
937
|
};
|
|
938
|
+
const paginators = {
|
|
939
|
+
paginateListTaskInstances,
|
|
940
|
+
paginateListWorkflowRuns,
|
|
941
|
+
paginateListWorkflows,
|
|
942
|
+
paginateListWorkflowVersions,
|
|
943
|
+
};
|
|
930
944
|
class MWAAServerless extends MWAAServerlessClient {
|
|
931
945
|
}
|
|
932
|
-
smithyClient.createAggregatedClient(commands, MWAAServerless);
|
|
933
|
-
|
|
934
|
-
const paginateListTaskInstances = core.createPaginator(MWAAServerlessClient, ListTaskInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
935
|
-
|
|
936
|
-
const paginateListWorkflowRuns = core.createPaginator(MWAAServerlessClient, ListWorkflowRunsCommand, "NextToken", "NextToken", "MaxResults");
|
|
937
|
-
|
|
938
|
-
const paginateListWorkflows = core.createPaginator(MWAAServerlessClient, ListWorkflowsCommand, "NextToken", "NextToken", "MaxResults");
|
|
939
|
-
|
|
940
|
-
const paginateListWorkflowVersions = core.createPaginator(MWAAServerlessClient, ListWorkflowVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
946
|
+
smithyClient.createAggregatedClient(commands, MWAAServerless, { paginators });
|
|
941
947
|
|
|
942
948
|
const ValidationExceptionReason = {
|
|
943
949
|
CANNOT_PARSE: "cannotParse",
|
|
@@ -15,6 +15,10 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
15
15
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
16
16
|
import { UpdateWorkflowCommand, } from "./commands/UpdateWorkflowCommand";
|
|
17
17
|
import { MWAAServerlessClient } from "./MWAAServerlessClient";
|
|
18
|
+
import { paginateListTaskInstances } from "./pagination/ListTaskInstancesPaginator";
|
|
19
|
+
import { paginateListWorkflowRuns } from "./pagination/ListWorkflowRunsPaginator";
|
|
20
|
+
import { paginateListWorkflows } from "./pagination/ListWorkflowsPaginator";
|
|
21
|
+
import { paginateListWorkflowVersions } from "./pagination/ListWorkflowVersionsPaginator";
|
|
18
22
|
const commands = {
|
|
19
23
|
CreateWorkflowCommand,
|
|
20
24
|
DeleteWorkflowCommand,
|
|
@@ -32,6 +36,12 @@ const commands = {
|
|
|
32
36
|
UntagResourceCommand,
|
|
33
37
|
UpdateWorkflowCommand,
|
|
34
38
|
};
|
|
39
|
+
const paginators = {
|
|
40
|
+
paginateListTaskInstances,
|
|
41
|
+
paginateListWorkflowRuns,
|
|
42
|
+
paginateListWorkflows,
|
|
43
|
+
paginateListWorkflowVersions,
|
|
44
|
+
};
|
|
35
45
|
export class MWAAServerless extends MWAAServerlessClient {
|
|
36
46
|
}
|
|
37
|
-
createAggregatedClient(commands, MWAAServerless);
|
|
47
|
+
createAggregatedClient(commands, MWAAServerless, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
3
3
|
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
4
4
|
import { GetTaskInstanceCommandInput, GetTaskInstanceCommandOutput } from "./commands/GetTaskInstanceCommand";
|
|
@@ -107,6 +107,34 @@ export interface MWAAServerless {
|
|
|
107
107
|
updateWorkflow(args: UpdateWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowCommandOutput>;
|
|
108
108
|
updateWorkflow(args: UpdateWorkflowCommandInput, cb: (err: any, data?: UpdateWorkflowCommandOutput) => void): void;
|
|
109
109
|
updateWorkflow(args: UpdateWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowCommandOutput) => void): void;
|
|
110
|
+
/**
|
|
111
|
+
* @see {@link ListTaskInstancesCommand}
|
|
112
|
+
* @param args - command input.
|
|
113
|
+
* @param paginationConfig - optional pagination config.
|
|
114
|
+
* @returns AsyncIterable of {@link ListTaskInstancesCommandOutput}.
|
|
115
|
+
*/
|
|
116
|
+
paginateListTaskInstances(args: ListTaskInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTaskInstancesCommandOutput>;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link ListWorkflowRunsCommand}
|
|
119
|
+
* @param args - command input.
|
|
120
|
+
* @param paginationConfig - optional pagination config.
|
|
121
|
+
* @returns AsyncIterable of {@link ListWorkflowRunsCommandOutput}.
|
|
122
|
+
*/
|
|
123
|
+
paginateListWorkflowRuns(args: ListWorkflowRunsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkflowRunsCommandOutput>;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link ListWorkflowsCommand}
|
|
126
|
+
* @param args - command input.
|
|
127
|
+
* @param paginationConfig - optional pagination config.
|
|
128
|
+
* @returns AsyncIterable of {@link ListWorkflowsCommandOutput}.
|
|
129
|
+
*/
|
|
130
|
+
paginateListWorkflows(args?: ListWorkflowsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkflowsCommandOutput>;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link ListWorkflowVersionsCommand}
|
|
133
|
+
* @param args - command input.
|
|
134
|
+
* @param paginationConfig - optional pagination config.
|
|
135
|
+
* @returns AsyncIterable of {@link ListWorkflowVersionsCommandOutput}.
|
|
136
|
+
*/
|
|
137
|
+
paginateListWorkflowVersions(args: ListWorkflowVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkflowVersionsCommandOutput>;
|
|
110
138
|
}
|
|
111
139
|
/**
|
|
112
140
|
* <p>Amazon Managed Workflows for Apache Airflow Serverless provides a managed workflow orchestration platform for running Apache Airflow workflows in a serverless environment. You can use Amazon Managed Workflows for Apache Airflow Serverless to create, manage, and run data processing workflows without managing the underlying infrastructure, Airflow clusters, metadata databases, or scheduling overhead. The service provides secure multi-tenant run environments with automatic scaling, comprehensive logging, and integration with multiple Amazon Web Services services for orchestrating complex analytics workloads.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateWorkflowCommandInput,
|
|
4
8
|
CreateWorkflowCommandOutput,
|
|
@@ -257,6 +261,34 @@ export interface MWAAServerless {
|
|
|
257
261
|
options: __HttpHandlerOptions,
|
|
258
262
|
cb: (err: any, data?: UpdateWorkflowCommandOutput) => void
|
|
259
263
|
): void;
|
|
264
|
+
paginateListTaskInstances(
|
|
265
|
+
args: ListTaskInstancesCommandInput,
|
|
266
|
+
paginationConfig?: Pick<
|
|
267
|
+
PaginationConfiguration,
|
|
268
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
269
|
+
>
|
|
270
|
+
): Paginator<ListTaskInstancesCommandOutput>;
|
|
271
|
+
paginateListWorkflowRuns(
|
|
272
|
+
args: ListWorkflowRunsCommandInput,
|
|
273
|
+
paginationConfig?: Pick<
|
|
274
|
+
PaginationConfiguration,
|
|
275
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
276
|
+
>
|
|
277
|
+
): Paginator<ListWorkflowRunsCommandOutput>;
|
|
278
|
+
paginateListWorkflows(
|
|
279
|
+
args?: ListWorkflowsCommandInput,
|
|
280
|
+
paginationConfig?: Pick<
|
|
281
|
+
PaginationConfiguration,
|
|
282
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
283
|
+
>
|
|
284
|
+
): Paginator<ListWorkflowsCommandOutput>;
|
|
285
|
+
paginateListWorkflowVersions(
|
|
286
|
+
args: ListWorkflowVersionsCommandInput,
|
|
287
|
+
paginationConfig?: Pick<
|
|
288
|
+
PaginationConfiguration,
|
|
289
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
290
|
+
>
|
|
291
|
+
): Paginator<ListWorkflowVersionsCommandOutput>;
|
|
260
292
|
}
|
|
261
293
|
export declare class MWAAServerless
|
|
262
294
|
extends MWAAServerlessClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mwaa-serverless",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mwaa Serverless Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mwaa-serverless",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|