@aws-sdk/client-mwaa-serverless 3.933.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/LICENSE +201 -0
- package/README.md +325 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1324 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +41 -0
- package/dist-es/MWAAServerless.js +37 -0
- package/dist-es/MWAAServerlessClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateWorkflowCommand.js +16 -0
- package/dist-es/commands/DeleteWorkflowCommand.js +16 -0
- package/dist-es/commands/GetTaskInstanceCommand.js +16 -0
- package/dist-es/commands/GetWorkflowCommand.js +16 -0
- package/dist-es/commands/GetWorkflowRunCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/ListTaskInstancesCommand.js +16 -0
- package/dist-es/commands/ListWorkflowRunsCommand.js +16 -0
- package/dist-es/commands/ListWorkflowVersionsCommand.js +16 -0
- package/dist-es/commands/ListWorkflowsCommand.js +16 -0
- package/dist-es/commands/StartWorkflowRunCommand.js +16 -0
- package/dist-es/commands/StopWorkflowRunCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateWorkflowCommand.js +16 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/MWAAServerlessServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +193 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListTaskInstancesPaginator.js +4 -0
- package/dist-es/pagination/ListWorkflowRunsPaginator.js +4 -0
- package/dist-es/pagination/ListWorkflowVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListWorkflowsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +37 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +771 -0
- package/dist-types/MWAAServerless.d.ts +116 -0
- package/dist-types/MWAAServerlessClient.d.ts +211 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateWorkflowCommand.d.ts +131 -0
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +94 -0
- package/dist-types/commands/GetTaskInstanceCommand.d.ts +110 -0
- package/dist-types/commands/GetWorkflowCommand.d.ts +126 -0
- package/dist-types/commands/GetWorkflowRunCommand.d.ts +115 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
- package/dist-types/commands/ListTaskInstancesCommand.d.ts +103 -0
- package/dist-types/commands/ListWorkflowRunsCommand.d.ts +106 -0
- package/dist-types/commands/ListWorkflowVersionsCommand.d.ts +109 -0
- package/dist-types/commands/ListWorkflowsCommand.d.ts +102 -0
- package/dist-types/commands/StartWorkflowRunCommand.d.ts +105 -0
- package/dist-types/commands/StopWorkflowRunCommand.d.ts +96 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UpdateWorkflowCommand.d.ts +123 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/MWAAServerlessServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1363 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListTaskInstancesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +51 -0
- package/dist-types/runtimeConfig.d.ts +51 -0
- package/dist-types/runtimeConfig.native.d.ts +50 -0
- package/dist-types/runtimeConfig.shared.d.ts +22 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +81 -0
- package/dist-types/ts3.4/MWAAServerless.d.ts +263 -0
- package/dist-types/ts3.4/MWAAServerlessClient.d.ts +214 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTaskInstanceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTaskInstancesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListWorkflowVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StopWorkflowRunCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/MWAAServerlessServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +396 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListTaskInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +25 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +87 -0
- package/package.json +99 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
3
|
+
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
4
|
+
import { GetTaskInstanceCommandInput, GetTaskInstanceCommandOutput } from "./commands/GetTaskInstanceCommand";
|
|
5
|
+
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
|
|
6
|
+
import { GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput } from "./commands/GetWorkflowRunCommand";
|
|
7
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
8
|
+
import { ListTaskInstancesCommandInput, ListTaskInstancesCommandOutput } from "./commands/ListTaskInstancesCommand";
|
|
9
|
+
import { ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput } from "./commands/ListWorkflowRunsCommand";
|
|
10
|
+
import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
|
|
11
|
+
import { ListWorkflowVersionsCommandInput, ListWorkflowVersionsCommandOutput } from "./commands/ListWorkflowVersionsCommand";
|
|
12
|
+
import { StartWorkflowRunCommandInput, StartWorkflowRunCommandOutput } from "./commands/StartWorkflowRunCommand";
|
|
13
|
+
import { StopWorkflowRunCommandInput, StopWorkflowRunCommandOutput } from "./commands/StopWorkflowRunCommand";
|
|
14
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
15
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
16
|
+
import { UpdateWorkflowCommandInput, UpdateWorkflowCommandOutput } from "./commands/UpdateWorkflowCommand";
|
|
17
|
+
import { MWAAServerlessClient } from "./MWAAServerlessClient";
|
|
18
|
+
export interface MWAAServerless {
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link CreateWorkflowCommand}
|
|
21
|
+
*/
|
|
22
|
+
createWorkflow(args: CreateWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkflowCommandOutput>;
|
|
23
|
+
createWorkflow(args: CreateWorkflowCommandInput, cb: (err: any, data?: CreateWorkflowCommandOutput) => void): void;
|
|
24
|
+
createWorkflow(args: CreateWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkflowCommandOutput) => void): void;
|
|
25
|
+
/**
|
|
26
|
+
* @see {@link DeleteWorkflowCommand}
|
|
27
|
+
*/
|
|
28
|
+
deleteWorkflow(args: DeleteWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkflowCommandOutput>;
|
|
29
|
+
deleteWorkflow(args: DeleteWorkflowCommandInput, cb: (err: any, data?: DeleteWorkflowCommandOutput) => void): void;
|
|
30
|
+
deleteWorkflow(args: DeleteWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkflowCommandOutput) => void): void;
|
|
31
|
+
/**
|
|
32
|
+
* @see {@link GetTaskInstanceCommand}
|
|
33
|
+
*/
|
|
34
|
+
getTaskInstance(args: GetTaskInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetTaskInstanceCommandOutput>;
|
|
35
|
+
getTaskInstance(args: GetTaskInstanceCommandInput, cb: (err: any, data?: GetTaskInstanceCommandOutput) => void): void;
|
|
36
|
+
getTaskInstance(args: GetTaskInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTaskInstanceCommandOutput) => void): void;
|
|
37
|
+
/**
|
|
38
|
+
* @see {@link GetWorkflowCommand}
|
|
39
|
+
*/
|
|
40
|
+
getWorkflow(args: GetWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowCommandOutput>;
|
|
41
|
+
getWorkflow(args: GetWorkflowCommandInput, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
|
|
42
|
+
getWorkflow(args: GetWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
|
|
43
|
+
/**
|
|
44
|
+
* @see {@link GetWorkflowRunCommand}
|
|
45
|
+
*/
|
|
46
|
+
getWorkflowRun(args: GetWorkflowRunCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowRunCommandOutput>;
|
|
47
|
+
getWorkflowRun(args: GetWorkflowRunCommandInput, cb: (err: any, data?: GetWorkflowRunCommandOutput) => void): void;
|
|
48
|
+
getWorkflowRun(args: GetWorkflowRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowRunCommandOutput) => void): void;
|
|
49
|
+
/**
|
|
50
|
+
* @see {@link ListTagsForResourceCommand}
|
|
51
|
+
*/
|
|
52
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
53
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
54
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
55
|
+
/**
|
|
56
|
+
* @see {@link ListTaskInstancesCommand}
|
|
57
|
+
*/
|
|
58
|
+
listTaskInstances(args: ListTaskInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListTaskInstancesCommandOutput>;
|
|
59
|
+
listTaskInstances(args: ListTaskInstancesCommandInput, cb: (err: any, data?: ListTaskInstancesCommandOutput) => void): void;
|
|
60
|
+
listTaskInstances(args: ListTaskInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTaskInstancesCommandOutput) => void): void;
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link ListWorkflowRunsCommand}
|
|
63
|
+
*/
|
|
64
|
+
listWorkflowRuns(args: ListWorkflowRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowRunsCommandOutput>;
|
|
65
|
+
listWorkflowRuns(args: ListWorkflowRunsCommandInput, cb: (err: any, data?: ListWorkflowRunsCommandOutput) => void): void;
|
|
66
|
+
listWorkflowRuns(args: ListWorkflowRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowRunsCommandOutput) => void): void;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link ListWorkflowsCommand}
|
|
69
|
+
*/
|
|
70
|
+
listWorkflows(): Promise<ListWorkflowsCommandOutput>;
|
|
71
|
+
listWorkflows(args: ListWorkflowsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowsCommandOutput>;
|
|
72
|
+
listWorkflows(args: ListWorkflowsCommandInput, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
|
|
73
|
+
listWorkflows(args: ListWorkflowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
|
|
74
|
+
/**
|
|
75
|
+
* @see {@link ListWorkflowVersionsCommand}
|
|
76
|
+
*/
|
|
77
|
+
listWorkflowVersions(args: ListWorkflowVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowVersionsCommandOutput>;
|
|
78
|
+
listWorkflowVersions(args: ListWorkflowVersionsCommandInput, cb: (err: any, data?: ListWorkflowVersionsCommandOutput) => void): void;
|
|
79
|
+
listWorkflowVersions(args: ListWorkflowVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowVersionsCommandOutput) => void): void;
|
|
80
|
+
/**
|
|
81
|
+
* @see {@link StartWorkflowRunCommand}
|
|
82
|
+
*/
|
|
83
|
+
startWorkflowRun(args: StartWorkflowRunCommandInput, options?: __HttpHandlerOptions): Promise<StartWorkflowRunCommandOutput>;
|
|
84
|
+
startWorkflowRun(args: StartWorkflowRunCommandInput, cb: (err: any, data?: StartWorkflowRunCommandOutput) => void): void;
|
|
85
|
+
startWorkflowRun(args: StartWorkflowRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartWorkflowRunCommandOutput) => void): void;
|
|
86
|
+
/**
|
|
87
|
+
* @see {@link StopWorkflowRunCommand}
|
|
88
|
+
*/
|
|
89
|
+
stopWorkflowRun(args: StopWorkflowRunCommandInput, options?: __HttpHandlerOptions): Promise<StopWorkflowRunCommandOutput>;
|
|
90
|
+
stopWorkflowRun(args: StopWorkflowRunCommandInput, cb: (err: any, data?: StopWorkflowRunCommandOutput) => void): void;
|
|
91
|
+
stopWorkflowRun(args: StopWorkflowRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopWorkflowRunCommandOutput) => void): void;
|
|
92
|
+
/**
|
|
93
|
+
* @see {@link TagResourceCommand}
|
|
94
|
+
*/
|
|
95
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
96
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
97
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
98
|
+
/**
|
|
99
|
+
* @see {@link UntagResourceCommand}
|
|
100
|
+
*/
|
|
101
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
102
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
103
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
104
|
+
/**
|
|
105
|
+
* @see {@link UpdateWorkflowCommand}
|
|
106
|
+
*/
|
|
107
|
+
updateWorkflow(args: UpdateWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowCommandOutput>;
|
|
108
|
+
updateWorkflow(args: UpdateWorkflowCommandInput, cb: (err: any, data?: UpdateWorkflowCommandOutput) => void): void;
|
|
109
|
+
updateWorkflow(args: UpdateWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowCommandOutput) => void): void;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* <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>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class MWAAServerless extends MWAAServerlessClient implements MWAAServerless {
|
|
116
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
11
|
+
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
12
|
+
import { GetTaskInstanceCommandInput, GetTaskInstanceCommandOutput } from "./commands/GetTaskInstanceCommand";
|
|
13
|
+
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
|
|
14
|
+
import { GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput } from "./commands/GetWorkflowRunCommand";
|
|
15
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
16
|
+
import { ListTaskInstancesCommandInput, ListTaskInstancesCommandOutput } from "./commands/ListTaskInstancesCommand";
|
|
17
|
+
import { ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput } from "./commands/ListWorkflowRunsCommand";
|
|
18
|
+
import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
|
|
19
|
+
import { ListWorkflowVersionsCommandInput, ListWorkflowVersionsCommandOutput } from "./commands/ListWorkflowVersionsCommand";
|
|
20
|
+
import { StartWorkflowRunCommandInput, StartWorkflowRunCommandOutput } from "./commands/StartWorkflowRunCommand";
|
|
21
|
+
import { StopWorkflowRunCommandInput, StopWorkflowRunCommandOutput } from "./commands/StopWorkflowRunCommand";
|
|
22
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
23
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
|
+
import { UpdateWorkflowCommandInput, UpdateWorkflowCommandOutput } from "./commands/UpdateWorkflowCommand";
|
|
25
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
26
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
27
|
+
export { __Client };
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type ServiceInputTypes = CreateWorkflowCommandInput | DeleteWorkflowCommandInput | GetTaskInstanceCommandInput | GetWorkflowCommandInput | GetWorkflowRunCommandInput | ListTagsForResourceCommandInput | ListTaskInstancesCommandInput | ListWorkflowRunsCommandInput | ListWorkflowVersionsCommandInput | ListWorkflowsCommandInput | StartWorkflowRunCommandInput | StopWorkflowRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWorkflowCommandInput;
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type ServiceOutputTypes = CreateWorkflowCommandOutput | DeleteWorkflowCommandOutput | GetTaskInstanceCommandOutput | GetWorkflowCommandOutput | GetWorkflowRunCommandOutput | ListTagsForResourceCommandOutput | ListTaskInstancesCommandOutput | ListWorkflowRunsCommandOutput | ListWorkflowVersionsCommandOutput | ListWorkflowsCommandOutput | StartWorkflowRunCommandOutput | StopWorkflowRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWorkflowCommandOutput;
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
40
|
+
/**
|
|
41
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
42
|
+
*/
|
|
43
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
44
|
+
/**
|
|
45
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
46
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
50
|
+
/**
|
|
51
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
urlParser?: __UrlParser;
|
|
55
|
+
/**
|
|
56
|
+
* A function that can calculate the length of a request body.
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
60
|
+
/**
|
|
61
|
+
* A function that converts a stream into an array of bytes.
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
streamCollector?: __StreamCollector;
|
|
65
|
+
/**
|
|
66
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
base64Decoder?: __Decoder;
|
|
70
|
+
/**
|
|
71
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
base64Encoder?: __Encoder;
|
|
75
|
+
/**
|
|
76
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
utf8Decoder?: __Decoder;
|
|
80
|
+
/**
|
|
81
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
utf8Encoder?: __Encoder;
|
|
85
|
+
/**
|
|
86
|
+
* The runtime environment.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
runtime?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
92
|
+
* trait of an operation.
|
|
93
|
+
*/
|
|
94
|
+
disableHostPrefix?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Unique service identifier.
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
serviceId?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
102
|
+
*/
|
|
103
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* Enables FIPS compatible endpoints.
|
|
106
|
+
*/
|
|
107
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* The AWS region to which this client will send requests
|
|
110
|
+
*/
|
|
111
|
+
region?: string | __Provider<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Setting a client profile is similar to setting a value for the
|
|
114
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
115
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
116
|
+
*
|
|
117
|
+
* When set, and only for environments where an AWS configuration
|
|
118
|
+
* file exists, fields configurable by this file will be retrieved
|
|
119
|
+
* from the specified profile within that file.
|
|
120
|
+
* Conflicting code configuration and environment variables will
|
|
121
|
+
* still have higher priority.
|
|
122
|
+
*
|
|
123
|
+
* For client credential resolution that involves checking the AWS
|
|
124
|
+
* configuration file, the client's profile (this value) will be
|
|
125
|
+
* used unless a different profile is set in the credential
|
|
126
|
+
* provider options.
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
profile?: string;
|
|
130
|
+
/**
|
|
131
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
135
|
+
/**
|
|
136
|
+
* Default credentials provider; Not available in browser runtime.
|
|
137
|
+
* @deprecated
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
141
|
+
/**
|
|
142
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
143
|
+
*/
|
|
144
|
+
maxAttempts?: number | __Provider<number>;
|
|
145
|
+
/**
|
|
146
|
+
* Specifies which retry algorithm to use.
|
|
147
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
148
|
+
*
|
|
149
|
+
*/
|
|
150
|
+
retryMode?: string | __Provider<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Optional logger for logging debug/info/warn/error.
|
|
153
|
+
*/
|
|
154
|
+
logger?: __Logger;
|
|
155
|
+
/**
|
|
156
|
+
* Optional extensions
|
|
157
|
+
*/
|
|
158
|
+
extensions?: RuntimeExtension[];
|
|
159
|
+
/**
|
|
160
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
161
|
+
* may be overridden. A default will always be set by the client.
|
|
162
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
163
|
+
* the client.
|
|
164
|
+
* @alpha
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
168
|
+
/**
|
|
169
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
170
|
+
*/
|
|
171
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export type MWAAServerlessClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
*
|
|
180
|
+
* The configuration interface of MWAAServerlessClient class constructor that set the region, credentials and other options.
|
|
181
|
+
*/
|
|
182
|
+
export interface MWAAServerlessClientConfig extends MWAAServerlessClientConfigType {
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export type MWAAServerlessClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*
|
|
191
|
+
* The resolved configuration interface of MWAAServerlessClient class. This is resolved and normalized from the {@link MWAAServerlessClientConfig | constructor configuration interface}.
|
|
192
|
+
*/
|
|
193
|
+
export interface MWAAServerlessClientResolvedConfig extends MWAAServerlessClientResolvedConfigType {
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* <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>
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
export declare class MWAAServerlessClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MWAAServerlessClientResolvedConfig> {
|
|
200
|
+
/**
|
|
201
|
+
* The resolved configuration of MWAAServerlessClient class. This is resolved and normalized from the {@link MWAAServerlessClientConfig | constructor configuration interface}.
|
|
202
|
+
*/
|
|
203
|
+
readonly config: MWAAServerlessClientResolvedConfig;
|
|
204
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<MWAAServerlessClientConfig>);
|
|
205
|
+
/**
|
|
206
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
207
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
208
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
209
|
+
*/
|
|
210
|
+
destroy(): void;
|
|
211
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { MWAAServerlessHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: MWAAServerlessHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): MWAAServerlessHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: MWAAServerlessHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { MWAAServerlessClientResolvedConfig } from "../MWAAServerlessClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface MWAAServerlessHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface MWAAServerlessHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<MWAAServerlessClientResolvedConfig, HandlerExecutionContext, MWAAServerlessHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultMWAAServerlessHttpAuthSchemeParametersProvider: (config: MWAAServerlessClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<MWAAServerlessHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface MWAAServerlessHttpAuthSchemeProvider extends HttpAuthSchemeProvider<MWAAServerlessHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultMWAAServerlessHttpAuthSchemeProvider: MWAAServerlessHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: MWAAServerlessHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: MWAAServerlessHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateWorkflowRequest, CreateWorkflowResponse } from "../models/models_0";
|
|
4
|
+
import { MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAServerlessClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateWorkflowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateWorkflowCommandInput extends CreateWorkflowRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateWorkflowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateWorkflowCommandOutput extends CreateWorkflowResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateWorkflowCommand_base: {
|
|
25
|
+
new (input: CreateWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkflowCommandInput, CreateWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkflowCommandInput, CreateWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new workflow in Amazon Managed Workflows for Apache Airflow Serverless. This operation initializes a workflow with the specified configuration including the workflow definition, execution role, and optional settings for encryption, logging, and networking. You must provide the workflow definition as a YAML file stored in Amazon S3 that defines the DAG structure using supported Amazon Web Services operators. Amazon Managed Workflows for Apache Airflow Serverless automatically creates the first version of the workflow and sets up the necessary execution environment with multi-tenant isolation and security controls.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, CreateWorkflowCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, CreateWorkflowCommand } = require("@aws-sdk/client-mwaa-serverless"); // CommonJS import
|
|
36
|
+
* // import type { MWAAServerlessClientConfig } from "@aws-sdk/client-mwaa-serverless";
|
|
37
|
+
* const config = {}; // type is MWAAServerlessClientConfig
|
|
38
|
+
* const client = new MWAAServerlessClient(config);
|
|
39
|
+
* const input = { // CreateWorkflowRequest
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* ClientToken: "STRING_VALUE",
|
|
42
|
+
* DefinitionS3Location: { // DefinitionS3Location
|
|
43
|
+
* Bucket: "STRING_VALUE", // required
|
|
44
|
+
* ObjectKey: "STRING_VALUE", // required
|
|
45
|
+
* VersionId: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* RoleArn: "STRING_VALUE", // required
|
|
48
|
+
* Description: "STRING_VALUE",
|
|
49
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
50
|
+
* Type: "AWS_MANAGED_KEY" || "CUSTOMER_MANAGED_KEY", // required
|
|
51
|
+
* KmsKeyId: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* LoggingConfiguration: { // LoggingConfiguration
|
|
54
|
+
* LogGroupName: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* EngineVersion: 1,
|
|
57
|
+
* NetworkConfiguration: { // NetworkConfiguration
|
|
58
|
+
* SecurityGroupIds: [ // SecurityGroupIds
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* SubnetIds: [ // SubnetIds
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* Tags: { // Tags
|
|
66
|
+
* "<keys>": "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* TriggerMode: "STRING_VALUE",
|
|
69
|
+
* };
|
|
70
|
+
* const command = new CreateWorkflowCommand(input);
|
|
71
|
+
* const response = await client.send(command);
|
|
72
|
+
* // { // CreateWorkflowResponse
|
|
73
|
+
* // WorkflowArn: "STRING_VALUE", // required
|
|
74
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
75
|
+
* // RevisionId: "STRING_VALUE",
|
|
76
|
+
* // WorkflowStatus: "READY" || "DELETING",
|
|
77
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
78
|
+
* // IsLatestVersion: true || false,
|
|
79
|
+
* // Warnings: [ // WarningMessages
|
|
80
|
+
* // "STRING_VALUE",
|
|
81
|
+
* // ],
|
|
82
|
+
* // };
|
|
83
|
+
*
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param CreateWorkflowCommandInput - {@link CreateWorkflowCommandInput}
|
|
87
|
+
* @returns {@link CreateWorkflowCommandOutput}
|
|
88
|
+
* @see {@link CreateWorkflowCommandInput} for command's `input` shape.
|
|
89
|
+
* @see {@link CreateWorkflowCommandOutput} for command's `response` shape.
|
|
90
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
93
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ConflictException} (client fault)
|
|
96
|
+
* <p>You cannot create a resource that already exists, or the resource is in a state that prevents the requested operation.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InternalServerException} (server fault)
|
|
99
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
102
|
+
* <p>The operation timed out.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
105
|
+
* <p>The request exceeds the service quota for Amazon Managed Workflows for Apache Airflow Serverless resources. This can occur when you attempt to create more workflows than allowed, exceed concurrent workflow run limits, or surpass task execution limits. Amazon Managed Workflows for Apache Airflow Serverless implements admission control using DynamoDB-based counters to manage resource utilization across the multi-tenant environment. Contact Amazon Web Services Support to request quota increases if you need higher limits for your use case.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
108
|
+
* <p>The request was denied because too many requests were made in a short period, exceeding the service rate limits. Amazon Managed Workflows for Apache Airflow Serverless implements throttling controls to ensure fair resource allocation across all customers in the multi-tenant environment. This helps maintain service stability and performance. If you encounter throttling, implement exponential backoff and retry logic in your applications, or consider distributing your API calls over a longer time period.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ValidationException} (client fault)
|
|
111
|
+
* <p>The specified request parameters are invalid, missing, or inconsistent with Amazon Managed Workflows for Apache Airflow Serverless service requirements. This can occur when workflow definitions contain unsupported operators, when required IAM permissions are missing, when S3 locations are inaccessible, or when network configurations are invalid. The service validates workflow definitions, execution roles, and resource configurations to ensure compatibility with the managed Airflow environment and security requirements.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
115
|
+
*
|
|
116
|
+
*
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class CreateWorkflowCommand extends CreateWorkflowCommand_base {
|
|
120
|
+
/** @internal type navigation helper, not in runtime. */
|
|
121
|
+
protected static __types: {
|
|
122
|
+
api: {
|
|
123
|
+
input: CreateWorkflowRequest;
|
|
124
|
+
output: CreateWorkflowResponse;
|
|
125
|
+
};
|
|
126
|
+
sdk: {
|
|
127
|
+
input: CreateWorkflowCommandInput;
|
|
128
|
+
output: CreateWorkflowCommandOutput;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
}
|