@aws-sdk/client-mwaa 3.477.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist-cjs/commands/CreateCliTokenCommand.js +18 -41
  2. package/dist-cjs/commands/CreateEnvironmentCommand.js +18 -41
  3. package/dist-cjs/commands/CreateWebLoginTokenCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteEnvironmentCommand.js +18 -41
  5. package/dist-cjs/commands/GetEnvironmentCommand.js +18 -41
  6. package/dist-cjs/commands/ListEnvironmentsCommand.js +18 -41
  7. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  8. package/dist-cjs/commands/PublishMetricsCommand.js +18 -41
  9. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  10. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  11. package/dist-cjs/commands/UpdateEnvironmentCommand.js +18 -41
  12. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  13. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +2 -24
  14. package/dist-es/commands/CreateCliTokenCommand.js +18 -41
  15. package/dist-es/commands/CreateEnvironmentCommand.js +18 -41
  16. package/dist-es/commands/CreateWebLoginTokenCommand.js +18 -41
  17. package/dist-es/commands/DeleteEnvironmentCommand.js +18 -41
  18. package/dist-es/commands/GetEnvironmentCommand.js +18 -41
  19. package/dist-es/commands/ListEnvironmentsCommand.js +18 -41
  20. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  21. package/dist-es/commands/PublishMetricsCommand.js +18 -41
  22. package/dist-es/commands/TagResourceCommand.js +18 -41
  23. package/dist-es/commands/UntagResourceCommand.js +18 -41
  24. package/dist-es/commands/UpdateEnvironmentCommand.js +18 -41
  25. package/dist-es/endpoint/EndpointParameters.js +6 -0
  26. package/dist-es/pagination/ListEnvironmentsPaginator.js +2 -23
  27. package/dist-types/commands/CreateCliTokenCommand.d.ts +6 -21
  28. package/dist-types/commands/CreateEnvironmentCommand.d.ts +6 -21
  29. package/dist-types/commands/CreateWebLoginTokenCommand.d.ts +6 -21
  30. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +6 -21
  31. package/dist-types/commands/GetEnvironmentCommand.d.ts +6 -21
  32. package/dist-types/commands/ListEnvironmentsCommand.d.ts +6 -21
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  34. package/dist-types/commands/PublishMetricsCommand.d.ts +6 -21
  35. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  36. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  37. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +6 -21
  38. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  39. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/CreateCliTokenCommand.d.ts +14 -23
  41. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +14 -23
  42. package/dist-types/ts3.4/commands/CreateWebLoginTokenCommand.d.ts +14 -23
  43. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +14 -23
  44. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +14 -23
  45. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +14 -23
  46. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  47. package/dist-types/ts3.4/commands/PublishMetricsCommand.d.ts +14 -23
  48. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  49. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  50. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +14 -23
  51. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  52. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +3 -3
  53. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MWAAClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonMWAA",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonMWAA", "ListTagsForResource", {})
19
+ .n("MWAAClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PublishMetricsCommand, se_PublishMetricsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class PublishMetricsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PublishMetricsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MWAAClient";
26
- const commandName = "PublishMetricsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonMWAA",
35
- operation: "PublishMetrics",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PublishMetricsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PublishMetricsCommand(output, context);
46
- }
7
+ export class PublishMetricsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonMWAA", "PublishMetrics", {})
19
+ .n("MWAAClient", "PublishMetricsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PublishMetricsCommand)
22
+ .de(de_PublishMetricsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MWAAClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonMWAA",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonMWAA", "TagResource", {})
19
+ .n("MWAAClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MWAAClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonMWAA",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonMWAA", "UntagResource", {})
19
+ .n("MWAAClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { UpdateEnvironmentInputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateEnvironmentCommand, se_UpdateEnvironmentCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UpdateEnvironmentCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEnvironmentCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "MWAAClient";
27
- const commandName = "UpdateEnvironmentCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateEnvironmentInputFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonMWAA",
36
- operation: "UpdateEnvironment",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_UpdateEnvironmentCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateEnvironmentCommand(output, context);
47
- }
8
+ export class UpdateEnvironmentCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonMWAA", "UpdateEnvironment", {})
20
+ .n("MWAAClient", "UpdateEnvironmentCommand")
21
+ .f(UpdateEnvironmentInputFilterSensitiveLog, void 0)
22
+ .ser(se_UpdateEnvironmentCommand)
23
+ .de(de_UpdateEnvironmentCommand)
24
+ .build() {
48
25
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "airflow",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListEnvironmentsCommand, } from "../commands/ListEnvironmentsCommand";
2
3
  import { MWAAClient } from "../MWAAClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListEnvironmentsCommand(input), ...args);
5
- };
6
- export async function* paginateListEnvironments(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MWAAClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MWAA | MWAAClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListEnvironments = createPaginator(MWAAClient, ListEnvironmentsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateCliTokenRequest, CreateCliTokenResponse } from "../models/models_0";
5
4
  import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateCliTokenCommandInput extends CreateCliTokenRequest {
21
20
  */
22
21
  export interface CreateCliTokenCommandOutput extends CreateCliTokenResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateCliTokenCommand_base: {
24
+ new (input: CreateCliTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCliTokenCommandInput, CreateCliTokenCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a CLI token for the Airflow CLI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-cli.html">Creating an Apache Airflow CLI token</a>.</p>
@@ -55,23 +58,5 @@ export interface CreateCliTokenCommandOutput extends CreateCliTokenResponse, __M
55
58
  * <p>Base exception class for all service exceptions from MWAA service.</p>
56
59
  *
57
60
  */
58
- export declare class CreateCliTokenCommand extends $Command<CreateCliTokenCommandInput, CreateCliTokenCommandOutput, MWAAClientResolvedConfig> {
59
- readonly input: CreateCliTokenCommandInput;
60
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
61
- /**
62
- * @public
63
- */
64
- constructor(input: CreateCliTokenCommandInput);
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MWAAClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCliTokenCommandInput, CreateCliTokenCommandOutput>;
69
- /**
70
- * @internal
71
- */
72
- private serialize;
73
- /**
74
- * @internal
75
- */
76
- private deserialize;
61
+ export declare class CreateCliTokenCommand extends CreateCliTokenCommand_base {
77
62
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateEnvironmentInput, CreateEnvironmentOutput } from "../models/models_0";
5
4
  import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateEnvironmentCommandInput extends CreateEnvironmentInput {
21
20
  */
22
21
  export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateEnvironmentCommand_base: {
24
+ new (input: CreateEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
@@ -111,23 +114,5 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput,
111
114
  * <p>Base exception class for all service exceptions from MWAA service.</p>
112
115
  *
113
116
  */
114
- export declare class CreateEnvironmentCommand extends $Command<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, MWAAClientResolvedConfig> {
115
- readonly input: CreateEnvironmentCommandInput;
116
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
117
- /**
118
- * @public
119
- */
120
- constructor(input: CreateEnvironmentCommandInput);
121
- /**
122
- * @internal
123
- */
124
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MWAAClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput>;
125
- /**
126
- * @internal
127
- */
128
- private serialize;
129
- /**
130
- * @internal
131
- */
132
- private deserialize;
117
+ export declare class CreateEnvironmentCommand extends CreateEnvironmentCommand_base {
133
118
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateWebLoginTokenRequest, CreateWebLoginTokenResponse } from "../models/models_0";
5
4
  import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateWebLoginTokenCommandInput extends CreateWebLoginTokenRequ
21
20
  */
22
21
  export interface CreateWebLoginTokenCommandOutput extends CreateWebLoginTokenResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateWebLoginTokenCommand_base: {
24
+ new (input: CreateWebLoginTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a web login token for the Airflow Web UI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-web.html">Creating an Apache Airflow web login token</a>.</p>
@@ -64,23 +67,5 @@ export interface CreateWebLoginTokenCommandOutput extends CreateWebLoginTokenRes
64
67
  * <p>Base exception class for all service exceptions from MWAA service.</p>
65
68
  *
66
69
  */
67
- export declare class CreateWebLoginTokenCommand extends $Command<CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput, MWAAClientResolvedConfig> {
68
- readonly input: CreateWebLoginTokenCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: CreateWebLoginTokenCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MWAAClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class CreateWebLoginTokenCommand extends CreateWebLoginTokenCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteEnvironmentInput, DeleteEnvironmentOutput } from "../models/models_0";
5
4
  import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteEnvironmentCommandInput extends DeleteEnvironmentInput {
21
20
  */
22
21
  export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteEnvironmentCommand_base: {
24
+ new (input: DeleteEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
@@ -58,23 +61,5 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentOutput,
58
61
  * <p>Base exception class for all service exceptions from MWAA service.</p>
59
62
  *
60
63
  */
61
- export declare class DeleteEnvironmentCommand extends $Command<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, MWAAClientResolvedConfig> {
62
- readonly input: DeleteEnvironmentCommandInput;
63
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
- /**
65
- * @public
66
- */
67
- constructor(input: DeleteEnvironmentCommandInput);
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MWAAClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput>;
72
- /**
73
- * @internal
74
- */
75
- private serialize;
76
- /**
77
- * @internal
78
- */
79
- private deserialize;
64
+ export declare class DeleteEnvironmentCommand extends DeleteEnvironmentCommand_base {
80
65
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetEnvironmentInput, GetEnvironmentOutput } from "../models/models_0";
5
4
  import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetEnvironmentCommandInput extends GetEnvironmentInput {
21
20
  */
22
21
  export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetEnvironmentCommand_base: {
24
+ new (input: GetEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
@@ -138,23 +141,5 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __Met
138
141
  * <p>Base exception class for all service exceptions from MWAA service.</p>
139
142
  *
140
143
  */
141
- export declare class GetEnvironmentCommand extends $Command<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, MWAAClientResolvedConfig> {
142
- readonly input: GetEnvironmentCommandInput;
143
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
144
- /**
145
- * @public
146
- */
147
- constructor(input: GetEnvironmentCommandInput);
148
- /**
149
- * @internal
150
- */
151
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MWAAClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEnvironmentCommandInput, GetEnvironmentCommandOutput>;
152
- /**
153
- * @internal
154
- */
155
- private serialize;
156
- /**
157
- * @internal
158
- */
159
- private deserialize;
144
+ export declare class GetEnvironmentCommand extends GetEnvironmentCommand_base {
160
145
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListEnvironmentsInput, ListEnvironmentsOutput } from "../models/models_0";
5
4
  import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListEnvironmentsCommandInput extends ListEnvironmentsInput {
21
20
  */
22
21
  export interface ListEnvironmentsCommandOutput extends ListEnvironmentsOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListEnvironmentsCommand_base: {
24
+ new (input: ListEnvironmentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.</p>
@@ -61,23 +64,5 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsOutput, _
61
64
  * <p>Base exception class for all service exceptions from MWAA service.</p>
62
65
  *
63
66
  */
64
- export declare class ListEnvironmentsCommand extends $Command<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, MWAAClientResolvedConfig> {
65
- readonly input: ListEnvironmentsCommandInput;
66
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
- /**
68
- * @public
69
- */
70
- constructor(input: ListEnvironmentsCommandInput);
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MWAAClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput>;
75
- /**
76
- * @internal
77
- */
78
- private serialize;
79
- /**
80
- * @internal
81
- */
82
- private deserialize;
67
+ export declare class ListEnvironmentsCommand extends ListEnvironmentsCommand_base {
83
68
  }