@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,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteWorkflowRequest, DeleteWorkflowResponse } 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 DeleteWorkflowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteWorkflowCommandInput extends DeleteWorkflowRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteWorkflowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteWorkflowCommandOutput extends DeleteWorkflowResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteWorkflowCommand_base: {
|
|
25
|
+
new (input: DeleteWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a workflow and all its versions. This operation permanently removes the workflow and cannot be undone. Amazon Managed Workflows for Apache Airflow Serverless ensures that all associated resources are properly cleaned up, including stopping any running executions, removing scheduled triggers, and cleaning up execution history. The deletion process respects the multi-tenant isolation boundaries and ensures that no residual data or configurations remain that could affect other customers or workflows.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, DeleteWorkflowCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, DeleteWorkflowCommand } = 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 = { // DeleteWorkflowRequest
|
|
40
|
+
* WorkflowArn: "STRING_VALUE", // required
|
|
41
|
+
* WorkflowVersion: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteWorkflowCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeleteWorkflowResponse
|
|
46
|
+
* // WorkflowArn: "STRING_VALUE", // required
|
|
47
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteWorkflowCommandInput - {@link DeleteWorkflowCommandInput}
|
|
53
|
+
* @returns {@link DeleteWorkflowCommandOutput}
|
|
54
|
+
* @see {@link DeleteWorkflowCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteWorkflowCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
65
|
+
* <p>The operation timed out.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <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>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class DeleteWorkflowCommand extends DeleteWorkflowCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: DeleteWorkflowRequest;
|
|
87
|
+
output: DeleteWorkflowResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: DeleteWorkflowCommandInput;
|
|
91
|
+
output: DeleteWorkflowCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetTaskInstanceRequest, GetTaskInstanceResponse } 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 GetTaskInstanceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTaskInstanceCommandInput extends GetTaskInstanceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTaskInstanceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTaskInstanceCommandOutput extends GetTaskInstanceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTaskInstanceCommand_base: {
|
|
25
|
+
new (input: GetTaskInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<GetTaskInstanceCommandInput, GetTaskInstanceCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTaskInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<GetTaskInstanceCommandInput, GetTaskInstanceCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific task instance within a workflow run. Task instances represent individual tasks that are executed as part of a workflow in the Amazon Managed Workflows for Apache Airflow Serverless environment. Each task instance runs in an isolated ECS container with dedicated resources and security boundaries. The service tracks task execution state, retry attempts, and provides detailed timing and error information for troubleshooting and monitoring purposes.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, GetTaskInstanceCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, GetTaskInstanceCommand } = 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 = { // GetTaskInstanceRequest
|
|
40
|
+
* WorkflowArn: "STRING_VALUE", // required
|
|
41
|
+
* TaskInstanceId: "STRING_VALUE", // required
|
|
42
|
+
* RunId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetTaskInstanceCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetTaskInstanceResponse
|
|
47
|
+
* // WorkflowArn: "STRING_VALUE", // required
|
|
48
|
+
* // RunId: "STRING_VALUE", // required
|
|
49
|
+
* // TaskInstanceId: "STRING_VALUE", // required
|
|
50
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
51
|
+
* // Status: "QUEUED" || "FAILED" || "SCHEDULED" || "RUNNING" || "SUCCESS" || "UP_FOR_RESCHEDULE" || "UP_FOR_RETRY" || "UPSTREAM_FAILED" || "REMOVED" || "RESTARTING" || "DEFERRED" || "NONE" || "CANCELLED" || "TIMEOUT",
|
|
52
|
+
* // DurationInSeconds: Number("int"),
|
|
53
|
+
* // OperatorName: "STRING_VALUE",
|
|
54
|
+
* // ModifiedAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // AttemptNumber: Number("int"),
|
|
58
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
59
|
+
* // TaskId: "STRING_VALUE",
|
|
60
|
+
* // LogStream: "STRING_VALUE",
|
|
61
|
+
* // Xcom: { // GenericMap
|
|
62
|
+
* // "<keys>": "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param GetTaskInstanceCommandInput - {@link GetTaskInstanceCommandInput}
|
|
69
|
+
* @returns {@link GetTaskInstanceCommandOutput}
|
|
70
|
+
* @see {@link GetTaskInstanceCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link GetTaskInstanceCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
81
|
+
* <p>The operation timed out.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <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>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <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>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class GetTaskInstanceCommand extends GetTaskInstanceCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: GetTaskInstanceRequest;
|
|
103
|
+
output: GetTaskInstanceResponse;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: GetTaskInstanceCommandInput;
|
|
107
|
+
output: GetTaskInstanceCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetWorkflowRequest, GetWorkflowResponse } 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 GetWorkflowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetWorkflowCommandInput extends GetWorkflowRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetWorkflowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetWorkflowCommand_base: {
|
|
25
|
+
new (input: GetWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkflowCommandInput, GetWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkflowCommandInput, GetWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a workflow, including its configuration, status, and metadata.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, GetWorkflowCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, GetWorkflowCommand } = 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 = { // GetWorkflowRequest
|
|
40
|
+
* WorkflowArn: "STRING_VALUE", // required
|
|
41
|
+
* WorkflowVersion: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetWorkflowCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetWorkflowResponse
|
|
46
|
+
* // WorkflowArn: "STRING_VALUE", // required
|
|
47
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
48
|
+
* // Name: "STRING_VALUE",
|
|
49
|
+
* // Description: "STRING_VALUE",
|
|
50
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
51
|
+
* // ModifiedAt: new Date("TIMESTAMP"),
|
|
52
|
+
* // EncryptionConfiguration: { // EncryptionConfiguration
|
|
53
|
+
* // Type: "AWS_MANAGED_KEY" || "CUSTOMER_MANAGED_KEY", // required
|
|
54
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // LoggingConfiguration: { // LoggingConfiguration
|
|
57
|
+
* // LogGroupName: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // EngineVersion: 1,
|
|
60
|
+
* // WorkflowStatus: "READY" || "DELETING",
|
|
61
|
+
* // DefinitionS3Location: { // DefinitionS3Location
|
|
62
|
+
* // Bucket: "STRING_VALUE", // required
|
|
63
|
+
* // ObjectKey: "STRING_VALUE", // required
|
|
64
|
+
* // VersionId: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ScheduleConfiguration: { // ScheduleConfiguration
|
|
67
|
+
* // CronExpression: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // RoleArn: "STRING_VALUE",
|
|
70
|
+
* // NetworkConfiguration: { // NetworkConfiguration
|
|
71
|
+
* // SecurityGroupIds: [ // SecurityGroupIds
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // SubnetIds: [ // SubnetIds
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // TriggerMode: "STRING_VALUE",
|
|
79
|
+
* // WorkflowDefinition: "STRING_VALUE",
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param GetWorkflowCommandInput - {@link GetWorkflowCommandInput}
|
|
85
|
+
* @returns {@link GetWorkflowCommandOutput}
|
|
86
|
+
* @see {@link GetWorkflowCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link GetWorkflowCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InternalServerException} (server fault)
|
|
94
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
97
|
+
* <p>The operation timed out.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
100
|
+
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
103
|
+
* <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>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ValidationException} (client fault)
|
|
106
|
+
* <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>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
110
|
+
*
|
|
111
|
+
*
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class GetWorkflowCommand extends GetWorkflowCommand_base {
|
|
115
|
+
/** @internal type navigation helper, not in runtime. */
|
|
116
|
+
protected static __types: {
|
|
117
|
+
api: {
|
|
118
|
+
input: GetWorkflowRequest;
|
|
119
|
+
output: GetWorkflowResponse;
|
|
120
|
+
};
|
|
121
|
+
sdk: {
|
|
122
|
+
input: GetWorkflowCommandInput;
|
|
123
|
+
output: GetWorkflowCommandOutput;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetWorkflowRunRequest, GetWorkflowRunResponse } 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 GetWorkflowRunCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetWorkflowRunCommandInput extends GetWorkflowRunRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetWorkflowRunCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetWorkflowRunCommandOutput extends GetWorkflowRunResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetWorkflowRunCommand_base: {
|
|
25
|
+
new (input: GetWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific workflow run, including its status, execution details, and task instances.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, GetWorkflowRunCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, GetWorkflowRunCommand } = 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 = { // GetWorkflowRunRequest
|
|
40
|
+
* WorkflowArn: "STRING_VALUE", // required
|
|
41
|
+
* RunId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetWorkflowRunCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetWorkflowRunResponse
|
|
46
|
+
* // WorkflowArn: "STRING_VALUE",
|
|
47
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
48
|
+
* // RunId: "STRING_VALUE",
|
|
49
|
+
* // RunType: "ON_DEMAND" || "SCHEDULED",
|
|
50
|
+
* // OverrideParameters: { // ObjectMap
|
|
51
|
+
* // "<keys>": "DOCUMENT_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // RunDetail: { // WorkflowRunDetail
|
|
54
|
+
* // WorkflowArn: "STRING_VALUE",
|
|
55
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
56
|
+
* // RunId: "STRING_VALUE",
|
|
57
|
+
* // RunType: "ON_DEMAND" || "SCHEDULED",
|
|
58
|
+
* // StartedOn: new Date("TIMESTAMP"),
|
|
59
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // CompletedOn: new Date("TIMESTAMP"),
|
|
61
|
+
* // ModifiedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // Duration: Number("int"),
|
|
63
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
64
|
+
* // TaskInstances: [ // TaskInstanceIds
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // RunState: "STARTING" || "QUEUED" || "RUNNING" || "SUCCESS" || "FAILED" || "TIMEOUT" || "STOPPING" || "STOPPED",
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param GetWorkflowRunCommandInput - {@link GetWorkflowRunCommandInput}
|
|
74
|
+
* @returns {@link GetWorkflowRunCommandOutput}
|
|
75
|
+
* @see {@link GetWorkflowRunCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link GetWorkflowRunCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
86
|
+
* <p>The operation timed out.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <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>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <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>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class GetWorkflowRunCommand extends GetWorkflowRunCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: GetWorkflowRunRequest;
|
|
108
|
+
output: GetWorkflowRunResponse;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: GetWorkflowRunCommandInput;
|
|
112
|
+
output: GetWorkflowRunCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } 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 ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all tags that are associated with a specified Amazon Managed Workflows for Apache Airflow Serverless resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MWAAServerlessClient, ListTagsForResourceCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, ListTagsForResourceCommand } = 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 = { // ListTagsForResourceRequest
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListTagsForResourceResponse
|
|
45
|
+
* // Tags: { // Tags
|
|
46
|
+
* // "<keys>": "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
53
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
54
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
65
|
+
* <p>The operation timed out.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <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>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: ListTagsForResourceRequest;
|
|
87
|
+
output: ListTagsForResourceResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: ListTagsForResourceCommandInput;
|
|
91
|
+
output: ListTagsForResourceCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTaskInstancesRequest, ListTaskInstancesResponse } 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 ListTaskInstancesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTaskInstancesCommandInput extends ListTaskInstancesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTaskInstancesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTaskInstancesCommandOutput extends ListTaskInstancesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTaskInstancesCommand_base: {
|
|
25
|
+
new (input: ListTaskInstancesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTaskInstancesCommandInput, ListTaskInstancesCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTaskInstancesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTaskInstancesCommandInput, ListTaskInstancesCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all task instances for a specific workflow run, 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, ListTaskInstancesCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
35
|
+
* // const { MWAAServerlessClient, ListTaskInstancesCommand } = 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 = { // ListTaskInstancesRequest
|
|
40
|
+
* WorkflowArn: "STRING_VALUE", // required
|
|
41
|
+
* RunId: "STRING_VALUE", // required
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* NextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListTaskInstancesCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListTaskInstancesResponse
|
|
48
|
+
* // TaskInstances: [ // TaskInstanceSummaries
|
|
49
|
+
* // { // TaskInstanceSummary
|
|
50
|
+
* // WorkflowArn: "STRING_VALUE",
|
|
51
|
+
* // WorkflowVersion: "STRING_VALUE",
|
|
52
|
+
* // RunId: "STRING_VALUE",
|
|
53
|
+
* // TaskInstanceId: "STRING_VALUE",
|
|
54
|
+
* // Status: "QUEUED" || "FAILED" || "SCHEDULED" || "RUNNING" || "SUCCESS" || "UP_FOR_RESCHEDULE" || "UP_FOR_RETRY" || "UPSTREAM_FAILED" || "REMOVED" || "RESTARTING" || "DEFERRED" || "NONE" || "CANCELLED" || "TIMEOUT",
|
|
55
|
+
* // DurationInSeconds: Number("int"),
|
|
56
|
+
* // OperatorName: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // NextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListTaskInstancesCommandInput - {@link ListTaskInstancesCommandInput}
|
|
65
|
+
* @returns {@link ListTaskInstancesCommandOutput}
|
|
66
|
+
* @see {@link ListTaskInstancesCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListTaskInstancesCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
77
|
+
* <p>The operation timed out.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <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>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <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>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListTaskInstancesCommand extends ListTaskInstancesCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListTaskInstancesRequest;
|
|
96
|
+
output: ListTaskInstancesResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListTaskInstancesCommandInput;
|
|
100
|
+
output: ListTaskInstancesCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|