@aws-sdk/client-mediaconnect 3.478.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 (226) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/MediaConnect.js +2 -0
  3. package/dist-cjs/commands/AddBridgeOutputsCommand.js +18 -41
  4. package/dist-cjs/commands/AddBridgeSourcesCommand.js +18 -41
  5. package/dist-cjs/commands/AddFlowMediaStreamsCommand.js +18 -41
  6. package/dist-cjs/commands/AddFlowOutputsCommand.js +18 -41
  7. package/dist-cjs/commands/AddFlowSourcesCommand.js +18 -41
  8. package/dist-cjs/commands/AddFlowVpcInterfacesCommand.js +18 -41
  9. package/dist-cjs/commands/CreateBridgeCommand.js +18 -41
  10. package/dist-cjs/commands/CreateFlowCommand.js +18 -41
  11. package/dist-cjs/commands/CreateGatewayCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteBridgeCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteFlowCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteGatewayCommand.js +18 -41
  15. package/dist-cjs/commands/DeregisterGatewayInstanceCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeBridgeCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeFlowCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeFlowSourceMetadataCommand.js +28 -0
  19. package/dist-cjs/commands/DescribeGatewayCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeGatewayInstanceCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeOfferingCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeReservationCommand.js +18 -41
  23. package/dist-cjs/commands/GrantFlowEntitlementsCommand.js +18 -41
  24. package/dist-cjs/commands/ListBridgesCommand.js +18 -41
  25. package/dist-cjs/commands/ListEntitlementsCommand.js +18 -41
  26. package/dist-cjs/commands/ListFlowsCommand.js +18 -41
  27. package/dist-cjs/commands/ListGatewayInstancesCommand.js +18 -41
  28. package/dist-cjs/commands/ListGatewaysCommand.js +18 -41
  29. package/dist-cjs/commands/ListOfferingsCommand.js +18 -41
  30. package/dist-cjs/commands/ListReservationsCommand.js +18 -41
  31. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  32. package/dist-cjs/commands/PurchaseOfferingCommand.js +18 -41
  33. package/dist-cjs/commands/RemoveBridgeOutputCommand.js +18 -41
  34. package/dist-cjs/commands/RemoveBridgeSourceCommand.js +18 -41
  35. package/dist-cjs/commands/RemoveFlowMediaStreamCommand.js +18 -41
  36. package/dist-cjs/commands/RemoveFlowOutputCommand.js +18 -41
  37. package/dist-cjs/commands/RemoveFlowSourceCommand.js +18 -41
  38. package/dist-cjs/commands/RemoveFlowVpcInterfaceCommand.js +18 -41
  39. package/dist-cjs/commands/RevokeFlowEntitlementCommand.js +18 -41
  40. package/dist-cjs/commands/StartFlowCommand.js +18 -41
  41. package/dist-cjs/commands/StopFlowCommand.js +18 -41
  42. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  43. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  44. package/dist-cjs/commands/UpdateBridgeCommand.js +18 -41
  45. package/dist-cjs/commands/UpdateBridgeOutputCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateBridgeSourceCommand.js +18 -41
  47. package/dist-cjs/commands/UpdateBridgeStateCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateFlowCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateFlowEntitlementCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateFlowMediaStreamCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateFlowOutputCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateFlowSourceCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateGatewayInstanceCommand.js +18 -41
  54. package/dist-cjs/commands/index.js +1 -0
  55. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  56. package/dist-cjs/protocols/Aws_restJson1.js +113 -2
  57. package/dist-es/MediaConnect.js +2 -0
  58. package/dist-es/commands/AddBridgeOutputsCommand.js +18 -41
  59. package/dist-es/commands/AddBridgeSourcesCommand.js +18 -41
  60. package/dist-es/commands/AddFlowMediaStreamsCommand.js +18 -41
  61. package/dist-es/commands/AddFlowOutputsCommand.js +18 -41
  62. package/dist-es/commands/AddFlowSourcesCommand.js +18 -41
  63. package/dist-es/commands/AddFlowVpcInterfacesCommand.js +18 -41
  64. package/dist-es/commands/CreateBridgeCommand.js +18 -41
  65. package/dist-es/commands/CreateFlowCommand.js +18 -41
  66. package/dist-es/commands/CreateGatewayCommand.js +18 -41
  67. package/dist-es/commands/DeleteBridgeCommand.js +18 -41
  68. package/dist-es/commands/DeleteFlowCommand.js +18 -41
  69. package/dist-es/commands/DeleteGatewayCommand.js +18 -41
  70. package/dist-es/commands/DeregisterGatewayInstanceCommand.js +18 -41
  71. package/dist-es/commands/DescribeBridgeCommand.js +18 -41
  72. package/dist-es/commands/DescribeFlowCommand.js +18 -41
  73. package/dist-es/commands/DescribeFlowSourceMetadataCommand.js +24 -0
  74. package/dist-es/commands/DescribeGatewayCommand.js +18 -41
  75. package/dist-es/commands/DescribeGatewayInstanceCommand.js +18 -41
  76. package/dist-es/commands/DescribeOfferingCommand.js +18 -41
  77. package/dist-es/commands/DescribeReservationCommand.js +18 -41
  78. package/dist-es/commands/GrantFlowEntitlementsCommand.js +18 -41
  79. package/dist-es/commands/ListBridgesCommand.js +18 -41
  80. package/dist-es/commands/ListEntitlementsCommand.js +18 -41
  81. package/dist-es/commands/ListFlowsCommand.js +18 -41
  82. package/dist-es/commands/ListGatewayInstancesCommand.js +18 -41
  83. package/dist-es/commands/ListGatewaysCommand.js +18 -41
  84. package/dist-es/commands/ListOfferingsCommand.js +18 -41
  85. package/dist-es/commands/ListReservationsCommand.js +18 -41
  86. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  87. package/dist-es/commands/PurchaseOfferingCommand.js +18 -41
  88. package/dist-es/commands/RemoveBridgeOutputCommand.js +18 -41
  89. package/dist-es/commands/RemoveBridgeSourceCommand.js +18 -41
  90. package/dist-es/commands/RemoveFlowMediaStreamCommand.js +18 -41
  91. package/dist-es/commands/RemoveFlowOutputCommand.js +18 -41
  92. package/dist-es/commands/RemoveFlowSourceCommand.js +18 -41
  93. package/dist-es/commands/RemoveFlowVpcInterfaceCommand.js +18 -41
  94. package/dist-es/commands/RevokeFlowEntitlementCommand.js +18 -41
  95. package/dist-es/commands/StartFlowCommand.js +18 -41
  96. package/dist-es/commands/StopFlowCommand.js +18 -41
  97. package/dist-es/commands/TagResourceCommand.js +18 -41
  98. package/dist-es/commands/UntagResourceCommand.js +18 -41
  99. package/dist-es/commands/UpdateBridgeCommand.js +18 -41
  100. package/dist-es/commands/UpdateBridgeOutputCommand.js +18 -41
  101. package/dist-es/commands/UpdateBridgeSourceCommand.js +18 -41
  102. package/dist-es/commands/UpdateBridgeStateCommand.js +18 -41
  103. package/dist-es/commands/UpdateFlowCommand.js +18 -41
  104. package/dist-es/commands/UpdateFlowEntitlementCommand.js +18 -41
  105. package/dist-es/commands/UpdateFlowMediaStreamCommand.js +18 -41
  106. package/dist-es/commands/UpdateFlowOutputCommand.js +18 -41
  107. package/dist-es/commands/UpdateFlowSourceCommand.js +18 -41
  108. package/dist-es/commands/UpdateGatewayInstanceCommand.js +18 -41
  109. package/dist-es/commands/index.js +1 -0
  110. package/dist-es/endpoint/EndpointParameters.js +6 -0
  111. package/dist-es/protocols/Aws_restJson1.js +109 -1
  112. package/dist-types/MediaConnect.d.ts +7 -0
  113. package/dist-types/MediaConnectClient.d.ts +3 -2
  114. package/dist-types/commands/AddBridgeOutputsCommand.d.ts +6 -21
  115. package/dist-types/commands/AddBridgeSourcesCommand.d.ts +6 -21
  116. package/dist-types/commands/AddFlowMediaStreamsCommand.d.ts +6 -21
  117. package/dist-types/commands/AddFlowOutputsCommand.d.ts +6 -21
  118. package/dist-types/commands/AddFlowSourcesCommand.d.ts +6 -21
  119. package/dist-types/commands/AddFlowVpcInterfacesCommand.d.ts +6 -21
  120. package/dist-types/commands/CreateBridgeCommand.d.ts +6 -21
  121. package/dist-types/commands/CreateFlowCommand.d.ts +6 -21
  122. package/dist-types/commands/CreateGatewayCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteBridgeCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteFlowCommand.d.ts +6 -21
  125. package/dist-types/commands/DeleteGatewayCommand.d.ts +6 -21
  126. package/dist-types/commands/DeregisterGatewayInstanceCommand.d.ts +6 -21
  127. package/dist-types/commands/DescribeBridgeCommand.d.ts +6 -21
  128. package/dist-types/commands/DescribeFlowCommand.d.ts +6 -21
  129. package/dist-types/commands/DescribeFlowSourceMetadataCommand.d.ts +109 -0
  130. package/dist-types/commands/DescribeGatewayCommand.d.ts +6 -21
  131. package/dist-types/commands/DescribeGatewayInstanceCommand.d.ts +6 -21
  132. package/dist-types/commands/DescribeOfferingCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeReservationCommand.d.ts +6 -21
  134. package/dist-types/commands/GrantFlowEntitlementsCommand.d.ts +6 -21
  135. package/dist-types/commands/ListBridgesCommand.d.ts +6 -21
  136. package/dist-types/commands/ListEntitlementsCommand.d.ts +6 -21
  137. package/dist-types/commands/ListFlowsCommand.d.ts +6 -21
  138. package/dist-types/commands/ListGatewayInstancesCommand.d.ts +6 -21
  139. package/dist-types/commands/ListGatewaysCommand.d.ts +6 -21
  140. package/dist-types/commands/ListOfferingsCommand.d.ts +6 -21
  141. package/dist-types/commands/ListReservationsCommand.d.ts +6 -21
  142. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  143. package/dist-types/commands/PurchaseOfferingCommand.d.ts +6 -21
  144. package/dist-types/commands/RemoveBridgeOutputCommand.d.ts +6 -21
  145. package/dist-types/commands/RemoveBridgeSourceCommand.d.ts +6 -21
  146. package/dist-types/commands/RemoveFlowMediaStreamCommand.d.ts +6 -21
  147. package/dist-types/commands/RemoveFlowOutputCommand.d.ts +6 -21
  148. package/dist-types/commands/RemoveFlowSourceCommand.d.ts +6 -21
  149. package/dist-types/commands/RemoveFlowVpcInterfaceCommand.d.ts +6 -21
  150. package/dist-types/commands/RevokeFlowEntitlementCommand.d.ts +6 -21
  151. package/dist-types/commands/StartFlowCommand.d.ts +6 -21
  152. package/dist-types/commands/StopFlowCommand.d.ts +6 -21
  153. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  154. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  155. package/dist-types/commands/UpdateBridgeCommand.d.ts +6 -21
  156. package/dist-types/commands/UpdateBridgeOutputCommand.d.ts +6 -21
  157. package/dist-types/commands/UpdateBridgeSourceCommand.d.ts +6 -21
  158. package/dist-types/commands/UpdateBridgeStateCommand.d.ts +6 -21
  159. package/dist-types/commands/UpdateFlowCommand.d.ts +6 -21
  160. package/dist-types/commands/UpdateFlowEntitlementCommand.d.ts +6 -21
  161. package/dist-types/commands/UpdateFlowMediaStreamCommand.d.ts +6 -21
  162. package/dist-types/commands/UpdateFlowOutputCommand.d.ts +6 -21
  163. package/dist-types/commands/UpdateFlowSourceCommand.d.ts +6 -21
  164. package/dist-types/commands/UpdateGatewayInstanceCommand.d.ts +6 -21
  165. package/dist-types/commands/index.d.ts +1 -0
  166. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  167. package/dist-types/models/models_0.d.ts +139 -0
  168. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  169. package/dist-types/ts3.4/MediaConnect.d.ts +17 -0
  170. package/dist-types/ts3.4/MediaConnectClient.d.ts +6 -0
  171. package/dist-types/ts3.4/commands/AddBridgeOutputsCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/AddBridgeSourcesCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/AddFlowMediaStreamsCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/AddFlowOutputsCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/AddFlowSourcesCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/AddFlowVpcInterfacesCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/CreateBridgeCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/DeleteBridgeCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/DeregisterGatewayInstanceCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/DescribeBridgeCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/DescribeFlowCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/DescribeFlowSourceMetadataCommand.d.ts +30 -0
  187. package/dist-types/ts3.4/commands/DescribeGatewayCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/DescribeGatewayInstanceCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/DescribeOfferingCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/DescribeReservationCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/GrantFlowEntitlementsCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/ListBridgesCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/ListEntitlementsCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/ListGatewayInstancesCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/ListOfferingsCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/ListReservationsCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/PurchaseOfferingCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/RemoveBridgeOutputCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/RemoveBridgeSourceCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/RemoveFlowMediaStreamCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/RemoveFlowOutputCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/RemoveFlowSourceCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/RemoveFlowVpcInterfaceCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/RevokeFlowEntitlementCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/StartFlowCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/StopFlowCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/UpdateBridgeCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/UpdateBridgeOutputCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/UpdateBridgeSourceCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/UpdateBridgeStateCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/UpdateFlowEntitlementCommand.d.ts +12 -24
  218. package/dist-types/ts3.4/commands/UpdateFlowMediaStreamCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/UpdateFlowOutputCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/commands/UpdateFlowSourceCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/UpdateGatewayInstanceCommand.d.ts +12 -24
  222. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  223. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  224. package/dist-types/ts3.4/models/models_0.d.ts +33 -0
  225. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  226. package/package.json +9 -9
@@ -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_DeleteFlowCommand, se_DeleteFlowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteFlowCommand 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, DeleteFlowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaConnectClient";
26
- const commandName = "DeleteFlowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaConnect",
35
- operation: "DeleteFlow",
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_DeleteFlowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteFlowCommand(output, context);
46
- }
7
+ export class DeleteFlowCommand 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("MediaConnect", "DeleteFlow", {})
19
+ .n("MediaConnectClient", "DeleteFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteFlowCommand)
22
+ .de(de_DeleteFlowCommand)
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_DeleteGatewayCommand, se_DeleteGatewayCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteGatewayCommand 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, DeleteGatewayCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaConnectClient";
26
- const commandName = "DeleteGatewayCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaConnect",
35
- operation: "DeleteGateway",
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_DeleteGatewayCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteGatewayCommand(output, context);
46
- }
7
+ export class DeleteGatewayCommand 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("MediaConnect", "DeleteGateway", {})
19
+ .n("MediaConnectClient", "DeleteGatewayCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteGatewayCommand)
22
+ .de(de_DeleteGatewayCommand)
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_DeregisterGatewayInstanceCommand, se_DeregisterGatewayInstanceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeregisterGatewayInstanceCommand 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, DeregisterGatewayInstanceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaConnectClient";
26
- const commandName = "DeregisterGatewayInstanceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaConnect",
35
- operation: "DeregisterGatewayInstance",
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_DeregisterGatewayInstanceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeregisterGatewayInstanceCommand(output, context);
46
- }
7
+ export class DeregisterGatewayInstanceCommand 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("MediaConnect", "DeregisterGatewayInstance", {})
19
+ .n("MediaConnectClient", "DeregisterGatewayInstanceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeregisterGatewayInstanceCommand)
22
+ .de(de_DeregisterGatewayInstanceCommand)
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_DescribeBridgeCommand, se_DescribeBridgeCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeBridgeCommand 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, DescribeBridgeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaConnectClient";
26
- const commandName = "DescribeBridgeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaConnect",
35
- operation: "DescribeBridge",
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_DescribeBridgeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeBridgeCommand(output, context);
46
- }
7
+ export class DescribeBridgeCommand 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("MediaConnect", "DescribeBridge", {})
19
+ .n("MediaConnectClient", "DescribeBridgeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeBridgeCommand)
22
+ .de(de_DescribeBridgeCommand)
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_DescribeFlowCommand, se_DescribeFlowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeFlowCommand 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, DescribeFlowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaConnectClient";
26
- const commandName = "DescribeFlowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaConnect",
35
- operation: "DescribeFlow",
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_DescribeFlowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeFlowCommand(output, context);
46
- }
7
+ export class DescribeFlowCommand 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("MediaConnect", "DescribeFlow", {})
19
+ .n("MediaConnectClient", "DescribeFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeFlowCommand)
22
+ .de(de_DescribeFlowCommand)
23
+ .build() {
47
24
  }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeFlowSourceMetadataCommand, se_DescribeFlowSourceMetadataCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeFlowSourceMetadataCommand 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("MediaConnect", "DescribeFlowSourceMetadata", {})
19
+ .n("MediaConnectClient", "DescribeFlowSourceMetadataCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeFlowSourceMetadataCommand)
22
+ .de(de_DescribeFlowSourceMetadataCommand)
23
+ .build() {
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_DescribeGatewayCommand, se_DescribeGatewayCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeGatewayCommand 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, DescribeGatewayCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaConnectClient";
26
- const commandName = "DescribeGatewayCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaConnect",
35
- operation: "DescribeGateway",
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_DescribeGatewayCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeGatewayCommand(output, context);
46
- }
7
+ export class DescribeGatewayCommand 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("MediaConnect", "DescribeGateway", {})
19
+ .n("MediaConnectClient", "DescribeGatewayCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeGatewayCommand)
22
+ .de(de_DescribeGatewayCommand)
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_DescribeGatewayInstanceCommand, se_DescribeGatewayInstanceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeGatewayInstanceCommand 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, DescribeGatewayInstanceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaConnectClient";
26
- const commandName = "DescribeGatewayInstanceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaConnect",
35
- operation: "DescribeGatewayInstance",
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_DescribeGatewayInstanceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeGatewayInstanceCommand(output, context);
46
- }
7
+ export class DescribeGatewayInstanceCommand 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("MediaConnect", "DescribeGatewayInstance", {})
19
+ .n("MediaConnectClient", "DescribeGatewayInstanceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeGatewayInstanceCommand)
22
+ .de(de_DescribeGatewayInstanceCommand)
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_DescribeOfferingCommand, se_DescribeOfferingCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeOfferingCommand 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, DescribeOfferingCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaConnectClient";
26
- const commandName = "DescribeOfferingCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaConnect",
35
- operation: "DescribeOffering",
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_DescribeOfferingCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeOfferingCommand(output, context);
46
- }
7
+ export class DescribeOfferingCommand 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("MediaConnect", "DescribeOffering", {})
19
+ .n("MediaConnectClient", "DescribeOfferingCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeOfferingCommand)
22
+ .de(de_DescribeOfferingCommand)
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_DescribeReservationCommand, se_DescribeReservationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeReservationCommand 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, DescribeReservationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaConnectClient";
26
- const commandName = "DescribeReservationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaConnect",
35
- operation: "DescribeReservation",
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_DescribeReservationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeReservationCommand(output, context);
46
- }
7
+ export class DescribeReservationCommand 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("MediaConnect", "DescribeReservation", {})
19
+ .n("MediaConnectClient", "DescribeReservationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeReservationCommand)
22
+ .de(de_DescribeReservationCommand)
23
+ .build() {
47
24
  }