@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,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListWorkflowRunsRequest, ListWorkflowRunsResponse } 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 ListWorkflowRunsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListWorkflowRunsCommandInput extends ListWorkflowRunsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListWorkflowRunsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListWorkflowRunsCommandOutput extends ListWorkflowRunsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListWorkflowRunsCommand_base: {
|
|
25
|
+
new (input: ListWorkflowRunsCommandInput): import("@smithy/smithy-client").CommandImpl<ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListWorkflowRunsCommandInput): import("@smithy/smithy-client").CommandImpl<ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all runs for a specified workflow, with optional pagination and filtering support.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, ListWorkflowRunsCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, ListWorkflowRunsCommand } = 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 = { // ListWorkflowRunsRequest
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* WorkflowArn: "STRING_VALUE", // required
|
|
43
|
+
* WorkflowVersion: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListWorkflowRunsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListWorkflowRunsResponse
|
|
48
|
+
* // WorkflowRuns: [ // WorkflowRunSummaries
|
|
49
|
+
* // { // WorkflowRunSummary
|
|
50
|
+
* // RunId: "STRING_VALUE",
|
|
51
|
+
* // WorkflowArn: "STRING_VALUE",
|
|
52
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
53
|
+
* // RunType: "ON_DEMAND" || "SCHEDULED",
|
|
54
|
+
* // RunDetailSummary: { // RunDetailSummary
|
|
55
|
+
* // Status: "STARTING" || "QUEUED" || "RUNNING" || "SUCCESS" || "FAILED" || "TIMEOUT" || "STOPPING" || "STOPPED",
|
|
56
|
+
* // CreatedOn: new Date("TIMESTAMP"),
|
|
57
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListWorkflowRunsCommandInput - {@link ListWorkflowRunsCommandInput}
|
|
68
|
+
* @returns {@link ListWorkflowRunsCommandOutput}
|
|
69
|
+
* @see {@link ListWorkflowRunsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListWorkflowRunsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerException} (server fault)
|
|
77
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
80
|
+
* <p>The operation timed out.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <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>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <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>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ListWorkflowRunsCommand extends ListWorkflowRunsCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: ListWorkflowRunsRequest;
|
|
99
|
+
output: ListWorkflowRunsResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: ListWorkflowRunsCommandInput;
|
|
103
|
+
output: ListWorkflowRunsCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListWorkflowVersionsRequest, ListWorkflowVersionsResponse } 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 ListWorkflowVersionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListWorkflowVersionsCommandInput extends ListWorkflowVersionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListWorkflowVersionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListWorkflowVersionsCommandOutput extends ListWorkflowVersionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListWorkflowVersionsCommand_base: {
|
|
25
|
+
new (input: ListWorkflowVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListWorkflowVersionsCommandInput, ListWorkflowVersionsCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListWorkflowVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListWorkflowVersionsCommandInput, ListWorkflowVersionsCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all versions of a specified workflow, with optional pagination support.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, ListWorkflowVersionsCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, ListWorkflowVersionsCommand } = 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 = { // ListWorkflowVersionsRequest
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* WorkflowArn: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListWorkflowVersionsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListWorkflowVersionsResponse
|
|
47
|
+
* // WorkflowVersions: [ // WorkflowVersionSummaries
|
|
48
|
+
* // { // WorkflowVersionSummary
|
|
49
|
+
* // WorkflowVersion: "STRING_VALUE", // required
|
|
50
|
+
* // WorkflowArn: "STRING_VALUE", // required
|
|
51
|
+
* // IsLatestVersion: true || false,
|
|
52
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // ModifiedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // DefinitionS3Location: { // DefinitionS3Location
|
|
55
|
+
* // Bucket: "STRING_VALUE", // required
|
|
56
|
+
* // ObjectKey: "STRING_VALUE", // required
|
|
57
|
+
* // VersionId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ScheduleConfiguration: { // ScheduleConfiguration
|
|
60
|
+
* // CronExpression: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // TriggerMode: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // NextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListWorkflowVersionsCommandInput - {@link ListWorkflowVersionsCommandInput}
|
|
71
|
+
* @returns {@link ListWorkflowVersionsCommandOutput}
|
|
72
|
+
* @see {@link ListWorkflowVersionsCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListWorkflowVersionsCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
83
|
+
* <p>The operation timed out.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <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>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ValidationException} (client fault)
|
|
89
|
+
* <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>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class ListWorkflowVersionsCommand extends ListWorkflowVersionsCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: ListWorkflowVersionsRequest;
|
|
102
|
+
output: ListWorkflowVersionsResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: ListWorkflowVersionsCommandInput;
|
|
106
|
+
output: ListWorkflowVersionsCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListWorkflowsRequest, ListWorkflowsResponse } 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 ListWorkflowsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListWorkflowsCommandInput extends ListWorkflowsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListWorkflowsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListWorkflowsCommandOutput extends ListWorkflowsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListWorkflowsCommand_base: {
|
|
25
|
+
new (input: ListWorkflowsCommandInput): import("@smithy/smithy-client").CommandImpl<ListWorkflowsCommandInput, ListWorkflowsCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListWorkflowsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListWorkflowsCommandInput, ListWorkflowsCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all workflows in your account, with optional pagination support. This operation returns summary information for workflows, showing only the most recently created version of each workflow. Amazon Managed Workflows for Apache Airflow Serverless maintains workflow metadata in a highly available, distributed storage system that enables efficient querying and filtering. The service implements proper access controls to ensure you can only view workflows that you have permissions to access, supporting both individual and team-based workflow management scenarios.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, ListWorkflowsCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, ListWorkflowsCommand } = 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 = { // ListWorkflowsRequest
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListWorkflowsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListWorkflowsResponse
|
|
46
|
+
* // Workflows: [ // WorkflowSummaries // required
|
|
47
|
+
* // { // WorkflowSummary
|
|
48
|
+
* // WorkflowArn: "STRING_VALUE", // required
|
|
49
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
50
|
+
* // Name: "STRING_VALUE",
|
|
51
|
+
* // Description: "STRING_VALUE",
|
|
52
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // ModifiedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // WorkflowStatus: "READY" || "DELETING",
|
|
55
|
+
* // TriggerMode: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // NextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListWorkflowsCommandInput - {@link ListWorkflowsCommandInput}
|
|
64
|
+
* @returns {@link ListWorkflowsCommandOutput}
|
|
65
|
+
* @see {@link ListWorkflowsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListWorkflowsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
76
|
+
* <p>The operation timed out.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <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>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <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>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ListWorkflowsCommand extends ListWorkflowsCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: ListWorkflowsRequest;
|
|
95
|
+
output: ListWorkflowsResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: ListWorkflowsCommandInput;
|
|
99
|
+
output: ListWorkflowsCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartWorkflowRunRequest, StartWorkflowRunResponse } 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 StartWorkflowRunCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartWorkflowRunCommandInput extends StartWorkflowRunRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartWorkflowRunCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartWorkflowRunCommandOutput extends StartWorkflowRunResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartWorkflowRunCommand_base: {
|
|
25
|
+
new (input: StartWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<StartWorkflowRunCommandInput, StartWorkflowRunCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<StartWorkflowRunCommandInput, StartWorkflowRunCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Starts a new execution of a workflow. This operation creates a workflow run that executes the tasks that are defined in the workflow. Amazon Managed Workflows for Apache Airflow Serverless schedules the workflow execution across its managed Airflow environment, automatically scaling ECS worker tasks based on the workload. The service handles task isolation, dependency resolution, and provides comprehensive monitoring and logging throughout the execution lifecycle.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, StartWorkflowRunCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, StartWorkflowRunCommand } = 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 = { // StartWorkflowRunRequest
|
|
40
|
+
* WorkflowArn: "STRING_VALUE", // required
|
|
41
|
+
* ClientToken: "STRING_VALUE",
|
|
42
|
+
* OverrideParameters: { // ObjectMap
|
|
43
|
+
* "<keys>": "DOCUMENT_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* WorkflowVersion: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new StartWorkflowRunCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // StartWorkflowRunResponse
|
|
50
|
+
* // RunId: "STRING_VALUE",
|
|
51
|
+
* // Status: "STARTING" || "QUEUED" || "RUNNING" || "SUCCESS" || "FAILED" || "TIMEOUT" || "STOPPING" || "STOPPED",
|
|
52
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param StartWorkflowRunCommandInput - {@link StartWorkflowRunCommandInput}
|
|
58
|
+
* @returns {@link StartWorkflowRunCommandOutput}
|
|
59
|
+
* @see {@link StartWorkflowRunCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link StartWorkflowRunCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConflictException} (client fault)
|
|
67
|
+
* <p>You cannot create a resource that already exists, or the resource is in a state that prevents the requested operation.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
73
|
+
* <p>The operation timed out.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
79
|
+
* <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>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <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>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <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>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class StartWorkflowRunCommand extends StartWorkflowRunCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: StartWorkflowRunRequest;
|
|
98
|
+
output: StartWorkflowRunResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: StartWorkflowRunCommandInput;
|
|
102
|
+
output: StartWorkflowRunCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StopWorkflowRunRequest, StopWorkflowRunResponse } 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 StopWorkflowRunCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopWorkflowRunCommandInput extends StopWorkflowRunRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopWorkflowRunCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopWorkflowRunCommandOutput extends StopWorkflowRunResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopWorkflowRunCommand_base: {
|
|
25
|
+
new (input: StopWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<StopWorkflowRunCommandInput, StopWorkflowRunCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StopWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<StopWorkflowRunCommandInput, StopWorkflowRunCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Stops a running workflow execution. This operation terminates all running tasks and prevents new tasks from starting. Amazon Managed Workflows for Apache Airflow Serverless gracefully shuts down the workflow execution by stopping task scheduling and terminating active ECS worker containers. The operation transitions the workflow run to a <code>STOPPING</code> state and then to <code>STOPPED</code> once all cleanup is complete. In-flight tasks may complete or be terminated depending on their current execution state.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, StopWorkflowRunCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, StopWorkflowRunCommand } = 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 = { // StopWorkflowRunRequest
|
|
40
|
+
* WorkflowArn: "STRING_VALUE", // required
|
|
41
|
+
* RunId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new StopWorkflowRunCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // StopWorkflowRunResponse
|
|
46
|
+
* // WorkflowArn: "STRING_VALUE",
|
|
47
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
48
|
+
* // RunId: "STRING_VALUE",
|
|
49
|
+
* // Status: "STARTING" || "QUEUED" || "RUNNING" || "SUCCESS" || "FAILED" || "TIMEOUT" || "STOPPING" || "STOPPED",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param StopWorkflowRunCommandInput - {@link StopWorkflowRunCommandInput}
|
|
55
|
+
* @returns {@link StopWorkflowRunCommandOutput}
|
|
56
|
+
* @see {@link StopWorkflowRunCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link StopWorkflowRunCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
67
|
+
* <p>The operation timed out.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <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>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <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>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class StopWorkflowRunCommand extends StopWorkflowRunCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: StopWorkflowRunRequest;
|
|
89
|
+
output: StopWorkflowRunResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: StopWorkflowRunCommandInput;
|
|
93
|
+
output: StopWorkflowRunCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { TagResourceRequest, TagResourceResponse } 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 TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds tags to an Amazon Managed Workflows for Apache Airflow Serverless resource. Tags are key-value pairs that help you organize and categorize your resources.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, TagResourceCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, TagResourceCommand } = 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 = { // TagResourceRequest
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* Tags: { // Tags // required
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new TagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
52
|
+
* @returns {@link TagResourceCommandOutput}
|
|
53
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
64
|
+
* <p>The operation timed out.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <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>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <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>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: TagResourceRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: TagResourceCommandInput;
|
|
90
|
+
output: TagResourceCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|