@aws-sdk/client-mwaa 3.32.0 → 3.36.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 (176) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/MWAA.js +1 -2
  3. package/{dist/cjs → dist-cjs}/MWAAClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateCliTokenCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateEnvironmentCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateWebLoginTokenCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/DeleteEnvironmentCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/GetEnvironmentCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/ListEnvironmentsCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/PublishMetricsCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/UpdateEnvironmentCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  16. package/{dist/cjs → dist-cjs}/index.js +0 -1
  17. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  18. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  19. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  20. package/{dist/cjs → dist-cjs}/pagination/ListEnvironmentsPaginator.js +1 -2
  21. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -2
  22. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  23. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  24. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  25. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  26. package/{dist/es → dist-es}/MWAA.js +2 -7
  27. package/{dist/es → dist-es}/MWAAClient.js +2 -12
  28. package/{dist/es → dist-es}/commands/CreateCliTokenCommand.js +4 -30
  29. package/{dist/es → dist-es}/commands/CreateEnvironmentCommand.js +4 -30
  30. package/{dist/es → dist-es}/commands/CreateWebLoginTokenCommand.js +4 -30
  31. package/{dist/es → dist-es}/commands/DeleteEnvironmentCommand.js +4 -30
  32. package/{dist/es → dist-es}/commands/GetEnvironmentCommand.js +4 -30
  33. package/{dist/es → dist-es}/commands/ListEnvironmentsCommand.js +4 -30
  34. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  35. package/{dist/es → dist-es}/commands/PublishMetricsCommand.js +4 -30
  36. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  37. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  38. package/{dist/es → dist-es}/commands/UpdateEnvironmentCommand.js +4 -30
  39. package/{dist/es → dist-es}/endpoints.js +1 -2
  40. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  41. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  42. package/{dist/es → dist-es}/models/models_0.js +0 -115
  43. package/dist-es/pagination/Interfaces.js +1 -0
  44. package/{dist/es → dist-es}/pagination/ListEnvironmentsPaginator.js +17 -30
  45. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +219 -225
  46. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  47. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  48. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  49. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  50. package/{dist/types → dist-types}/MWAA.d.ts +2 -2
  51. package/{dist/types → dist-types}/MWAAClient.d.ts +8 -8
  52. package/{dist/types → dist-types}/commands/CreateCliTokenCommand.d.ts +3 -3
  53. package/{dist/types → dist-types}/commands/CreateEnvironmentCommand.d.ts +3 -3
  54. package/{dist/types → dist-types}/commands/CreateWebLoginTokenCommand.d.ts +3 -3
  55. package/{dist/types → dist-types}/commands/DeleteEnvironmentCommand.d.ts +3 -3
  56. package/{dist/types → dist-types}/commands/GetEnvironmentCommand.d.ts +3 -3
  57. package/{dist/types → dist-types}/commands/ListEnvironmentsCommand.d.ts +3 -3
  58. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
  59. package/{dist/types → dist-types}/commands/PublishMetricsCommand.d.ts +3 -3
  60. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  61. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  62. package/{dist/types → dist-types}/commands/UpdateEnvironmentCommand.d.ts +3 -3
  63. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  64. package/{index.ts → dist-types/index.d.ts} +0 -0
  65. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  66. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  67. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  68. package/{dist/types → dist-types}/pagination/ListEnvironmentsPaginator.d.ts +1 -1
  69. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  70. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  71. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  72. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  73. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  74. package/{dist/types → dist-types}/ts3.4/MWAA.d.ts +2 -2
  75. package/{dist/types → dist-types}/ts3.4/MWAAClient.d.ts +8 -8
  76. package/{dist/types → dist-types}/ts3.4/commands/CreateCliTokenCommand.d.ts +3 -3
  77. package/{dist/types → dist-types}/ts3.4/commands/CreateEnvironmentCommand.d.ts +3 -3
  78. package/{dist/types → dist-types}/ts3.4/commands/CreateWebLoginTokenCommand.d.ts +3 -3
  79. package/{dist/types → dist-types}/ts3.4/commands/DeleteEnvironmentCommand.d.ts +3 -3
  80. package/{dist/types → dist-types}/ts3.4/commands/GetEnvironmentCommand.d.ts +3 -3
  81. package/{dist/types → dist-types}/ts3.4/commands/ListEnvironmentsCommand.d.ts +3 -3
  82. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  83. package/{dist/types → dist-types}/ts3.4/commands/PublishMetricsCommand.d.ts +3 -3
  84. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  85. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  86. package/{dist/types → dist-types}/ts3.4/commands/UpdateEnvironmentCommand.d.ts +3 -3
  87. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  88. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  89. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  90. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  91. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  92. package/{dist/types → dist-types}/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +1 -1
  93. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  94. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  95. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  96. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  97. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  98. package/package.json +52 -49
  99. package/MWAA.ts +0 -405
  100. package/MWAAClient.ts +0 -275
  101. package/commands/CreateCliTokenCommand.ts +0 -94
  102. package/commands/CreateEnvironmentCommand.ts +0 -94
  103. package/commands/CreateWebLoginTokenCommand.ts +0 -94
  104. package/commands/DeleteEnvironmentCommand.ts +0 -94
  105. package/commands/GetEnvironmentCommand.ts +0 -94
  106. package/commands/ListEnvironmentsCommand.ts +0 -94
  107. package/commands/ListTagsForResourceCommand.ts +0 -94
  108. package/commands/PublishMetricsCommand.ts +0 -94
  109. package/commands/TagResourceCommand.ts +0 -94
  110. package/commands/UntagResourceCommand.ts +0 -94
  111. package/commands/UpdateEnvironmentCommand.ts +0 -94
  112. package/dist/cjs/MWAA.js.map +0 -1
  113. package/dist/cjs/MWAAClient.js.map +0 -1
  114. package/dist/cjs/commands/CreateCliTokenCommand.js.map +0 -1
  115. package/dist/cjs/commands/CreateEnvironmentCommand.js.map +0 -1
  116. package/dist/cjs/commands/CreateWebLoginTokenCommand.js.map +0 -1
  117. package/dist/cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
  118. package/dist/cjs/commands/GetEnvironmentCommand.js.map +0 -1
  119. package/dist/cjs/commands/ListEnvironmentsCommand.js.map +0 -1
  120. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  121. package/dist/cjs/commands/PublishMetricsCommand.js.map +0 -1
  122. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  123. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  124. package/dist/cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
  125. package/dist/cjs/endpoints.js.map +0 -1
  126. package/dist/cjs/index.js.map +0 -1
  127. package/dist/cjs/models/index.js.map +0 -1
  128. package/dist/cjs/models/models_0.js.map +0 -1
  129. package/dist/cjs/package.json +0 -91
  130. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  131. package/dist/cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
  132. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  133. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  134. package/dist/cjs/runtimeConfig.js.map +0 -1
  135. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  136. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  137. package/dist/es/MWAA.js.map +0 -1
  138. package/dist/es/MWAAClient.js.map +0 -1
  139. package/dist/es/commands/CreateCliTokenCommand.js.map +0 -1
  140. package/dist/es/commands/CreateEnvironmentCommand.js.map +0 -1
  141. package/dist/es/commands/CreateWebLoginTokenCommand.js.map +0 -1
  142. package/dist/es/commands/DeleteEnvironmentCommand.js.map +0 -1
  143. package/dist/es/commands/GetEnvironmentCommand.js.map +0 -1
  144. package/dist/es/commands/ListEnvironmentsCommand.js.map +0 -1
  145. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  146. package/dist/es/commands/PublishMetricsCommand.js.map +0 -1
  147. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  148. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  149. package/dist/es/commands/UpdateEnvironmentCommand.js.map +0 -1
  150. package/dist/es/endpoints.js.map +0 -1
  151. package/dist/es/index.js +0 -17
  152. package/dist/es/index.js.map +0 -1
  153. package/dist/es/models/index.js +0 -2
  154. package/dist/es/models/index.js.map +0 -1
  155. package/dist/es/models/models_0.js.map +0 -1
  156. package/dist/es/package.json +0 -91
  157. package/dist/es/pagination/Interfaces.js +0 -2
  158. package/dist/es/pagination/Interfaces.js.map +0 -1
  159. package/dist/es/pagination/ListEnvironmentsPaginator.js.map +0 -1
  160. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  161. package/dist/es/runtimeConfig.browser.js.map +0 -1
  162. package/dist/es/runtimeConfig.js.map +0 -1
  163. package/dist/es/runtimeConfig.native.js.map +0 -1
  164. package/dist/es/runtimeConfig.shared.js.map +0 -1
  165. package/endpoints.ts +0 -57
  166. package/jest.config.js +0 -4
  167. package/models/models_0.ts +0 -1206
  168. package/pagination/Interfaces.ts +0 -7
  169. package/pagination/ListEnvironmentsPaginator.ts +0 -58
  170. package/protocols/Aws_restJson1.ts +0 -1771
  171. package/runtimeConfig.browser.ts +0 -40
  172. package/runtimeConfig.native.ts +0 -16
  173. package/runtimeConfig.shared.ts +0 -16
  174. package/runtimeConfig.ts +0 -45
  175. package/tsconfig.es.json +0 -12
  176. package/tsconfig.json +0 -32
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateWebLoginTokenRequest, CreateWebLoginTokenResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateWebLoginTokenCommand, serializeAws_restJson1CreateWebLoginTokenCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MWAAClient, CreateWebLoginTokenCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
12
- * // const { MWAAClient, CreateWebLoginTokenCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
13
- * const client = new MWAAClient(config);
14
- * const command = new CreateWebLoginTokenCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateWebLoginTokenCommandInput} for command's `input` shape.
19
- * @see {@link CreateWebLoginTokenCommandOutput} for command's `response` shape.
20
- * @see {@link MWAAClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateWebLoginTokenCommand = /** @class */ (function (_super) {
4
+ import { CreateWebLoginTokenRequest, CreateWebLoginTokenResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateWebLoginTokenCommand, serializeAws_restJson1CreateWebLoginTokenCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateWebLoginTokenCommand = (function (_super) {
24
7
  __extends(CreateWebLoginTokenCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateWebLoginTokenCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateWebLoginTokenCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateWebLoginTokenCommand = /** @class */ (function (_super) {
62
37
  return CreateWebLoginTokenCommand;
63
38
  }($Command));
64
39
  export { CreateWebLoginTokenCommand };
65
- //# sourceMappingURL=CreateWebLoginTokenCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteEnvironmentInput, DeleteEnvironmentOutput } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteEnvironmentCommand, serializeAws_restJson1DeleteEnvironmentCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MWAAClient, DeleteEnvironmentCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
12
- * // const { MWAAClient, DeleteEnvironmentCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
13
- * const client = new MWAAClient(config);
14
- * const command = new DeleteEnvironmentCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteEnvironmentCommandInput} for command's `input` shape.
19
- * @see {@link DeleteEnvironmentCommandOutput} for command's `response` shape.
20
- * @see {@link MWAAClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteEnvironmentCommand = /** @class */ (function (_super) {
4
+ import { DeleteEnvironmentInput, DeleteEnvironmentOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteEnvironmentCommand, serializeAws_restJson1DeleteEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteEnvironmentCommand = (function (_super) {
24
7
  __extends(DeleteEnvironmentCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteEnvironmentCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteEnvironmentCommand = /** @class */ (function (_super) {
62
37
  return DeleteEnvironmentCommand;
63
38
  }($Command));
64
39
  export { DeleteEnvironmentCommand };
65
- //# sourceMappingURL=DeleteEnvironmentCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { GetEnvironmentInput, GetEnvironmentOutput } from "../models/models_0";
3
- import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves the details of an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MWAAClient, GetEnvironmentCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
12
- * // const { MWAAClient, GetEnvironmentCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
13
- * const client = new MWAAClient(config);
14
- * const command = new GetEnvironmentCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link GetEnvironmentCommandInput} for command's `input` shape.
19
- * @see {@link GetEnvironmentCommandOutput} for command's `response` shape.
20
- * @see {@link MWAAClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var GetEnvironmentCommand = /** @class */ (function (_super) {
4
+ import { GetEnvironmentInput, GetEnvironmentOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ var GetEnvironmentCommand = (function (_super) {
24
7
  __extends(GetEnvironmentCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function GetEnvironmentCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  GetEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var GetEnvironmentCommand = /** @class */ (function (_super) {
62
37
  return GetEnvironmentCommand;
63
38
  }($Command));
64
39
  export { GetEnvironmentCommand };
65
- //# sourceMappingURL=GetEnvironmentCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListEnvironmentsInput, ListEnvironmentsOutput } from "../models/models_0";
3
- import { deserializeAws_restJson1ListEnvironmentsCommand, serializeAws_restJson1ListEnvironmentsCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MWAAClient, ListEnvironmentsCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
12
- * // const { MWAAClient, ListEnvironmentsCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
13
- * const client = new MWAAClient(config);
14
- * const command = new ListEnvironmentsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListEnvironmentsCommandInput} for command's `input` shape.
19
- * @see {@link ListEnvironmentsCommandOutput} for command's `response` shape.
20
- * @see {@link MWAAClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListEnvironmentsCommand = /** @class */ (function (_super) {
4
+ import { ListEnvironmentsInput, ListEnvironmentsOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListEnvironmentsCommand, serializeAws_restJson1ListEnvironmentsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListEnvironmentsCommand = (function (_super) {
24
7
  __extends(ListEnvironmentsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListEnvironmentsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ListEnvironmentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var ListEnvironmentsCommand = /** @class */ (function (_super) {
62
37
  return ListEnvironmentsCommand;
63
38
  }($Command));
64
39
  export { ListEnvironmentsCommand };
65
- //# sourceMappingURL=ListEnvironmentsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
3
- import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, <code>"Environment": "Staging"</code>. </p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MWAAClient, ListTagsForResourceCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
12
- * // const { MWAAClient, ListTagsForResourceCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
13
- * const client = new MWAAClient(config);
14
- * const command = new ListTagsForResourceCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
19
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
20
- * @see {@link MWAAClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListTagsForResourceCommand = /** @class */ (function (_super) {
4
+ import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var ListTagsForResourceCommand = (function (_super) {
24
7
  __extends(ListTagsForResourceCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListTagsForResourceCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var ListTagsForResourceCommand = /** @class */ (function (_super) {
62
37
  return ListTagsForResourceCommand;
63
38
  }($Command));
64
39
  export { ListTagsForResourceCommand };
65
- //# sourceMappingURL=ListTagsForResourceCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { PublishMetricsInput, PublishMetricsOutput } from "../models/models_0";
3
- import { deserializeAws_restJson1PublishMetricsCommand, serializeAws_restJson1PublishMetricsCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * An operation for publishing metrics from the customers to the Ops plane.
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MWAAClient, PublishMetricsCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
12
- * // const { MWAAClient, PublishMetricsCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
13
- * const client = new MWAAClient(config);
14
- * const command = new PublishMetricsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link PublishMetricsCommandInput} for command's `input` shape.
19
- * @see {@link PublishMetricsCommandOutput} for command's `response` shape.
20
- * @see {@link MWAAClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var PublishMetricsCommand = /** @class */ (function (_super) {
4
+ import { PublishMetricsInput, PublishMetricsOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1PublishMetricsCommand, serializeAws_restJson1PublishMetricsCommand, } from "../protocols/Aws_restJson1";
6
+ var PublishMetricsCommand = (function (_super) {
24
7
  __extends(PublishMetricsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function PublishMetricsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  PublishMetricsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var PublishMetricsCommand = /** @class */ (function (_super) {
62
37
  return PublishMetricsCommand;
63
38
  }($Command));
64
39
  export { PublishMetricsCommand };
65
- //# sourceMappingURL=PublishMetricsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { TagResourceInput, TagResourceOutput } from "../models/models_0";
3
- import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Associates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment. </p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MWAAClient, TagResourceCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
12
- * // const { MWAAClient, TagResourceCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
13
- * const client = new MWAAClient(config);
14
- * const command = new TagResourceCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link TagResourceCommandInput} for command's `input` shape.
19
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
20
- * @see {@link MWAAClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var TagResourceCommand = /** @class */ (function (_super) {
4
+ import { TagResourceInput, TagResourceOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var TagResourceCommand = (function (_super) {
24
7
  __extends(TagResourceCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function TagResourceCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var TagResourceCommand = /** @class */ (function (_super) {
62
37
  return TagResourceCommand;
63
38
  }($Command));
64
39
  export { TagResourceCommand };
65
- //# sourceMappingURL=TagResourceCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
3
- import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, <code>"Environment": "Staging"</code>.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MWAAClient, UntagResourceCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
12
- * // const { MWAAClient, UntagResourceCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
13
- * const client = new MWAAClient(config);
14
- * const command = new UntagResourceCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
19
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
20
- * @see {@link MWAAClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var UntagResourceCommand = /** @class */ (function (_super) {
4
+ import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var UntagResourceCommand = (function (_super) {
24
7
  __extends(UntagResourceCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function UntagResourceCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var UntagResourceCommand = /** @class */ (function (_super) {
62
37
  return UntagResourceCommand;
63
38
  }($Command));
64
39
  export { UntagResourceCommand };
65
- //# sourceMappingURL=UntagResourceCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { UpdateEnvironmentInput, UpdateEnvironmentOutput } from "../models/models_0";
3
- import { deserializeAws_restJson1UpdateEnvironmentCommand, serializeAws_restJson1UpdateEnvironmentCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Updates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MWAAClient, UpdateEnvironmentCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
12
- * // const { MWAAClient, UpdateEnvironmentCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
13
- * const client = new MWAAClient(config);
14
- * const command = new UpdateEnvironmentCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link UpdateEnvironmentCommandInput} for command's `input` shape.
19
- * @see {@link UpdateEnvironmentCommandOutput} for command's `response` shape.
20
- * @see {@link MWAAClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var UpdateEnvironmentCommand = /** @class */ (function (_super) {
4
+ import { UpdateEnvironmentInput, UpdateEnvironmentOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateEnvironmentCommand, serializeAws_restJson1UpdateEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateEnvironmentCommand = (function (_super) {
24
7
  __extends(UpdateEnvironmentCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function UpdateEnvironmentCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  UpdateEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var UpdateEnvironmentCommand = /** @class */ (function (_super) {
62
37
  return UpdateEnvironmentCommand;
63
38
  }($Command));
64
39
  export { UpdateEnvironmentCommand };
65
- //# sourceMappingURL=UpdateEnvironmentCommand.js.map
@@ -47,7 +47,6 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "airflow", regionHash: regionHash, partitionHash: partitionHash }))];
50
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "airflow", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
File without changes