@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
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteBridgeCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteBridgeCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaConnectClient";
29
- const commandName = "DeleteBridgeCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaConnect",
38
- operation: "DeleteBridge",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteBridgeCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteBridgeCommand)(output, context);
49
- }
10
+ class DeleteBridgeCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DeleteBridge", {})
22
+ .n("MediaConnectClient", "DeleteBridgeCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteBridgeCommand)
25
+ .de(Aws_restJson1_1.de_DeleteBridgeCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteBridgeCommand = DeleteBridgeCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteFlowCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteFlowCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaConnectClient";
29
- const commandName = "DeleteFlowCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaConnect",
38
- operation: "DeleteFlow",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteFlowCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteFlowCommand)(output, context);
49
- }
10
+ class DeleteFlowCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DeleteFlow", {})
22
+ .n("MediaConnectClient", "DeleteFlowCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteFlowCommand)
25
+ .de(Aws_restJson1_1.de_DeleteFlowCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteFlowCommand = DeleteFlowCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteGatewayCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteGatewayCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaConnectClient";
29
- const commandName = "DeleteGatewayCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaConnect",
38
- operation: "DeleteGateway",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteGatewayCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteGatewayCommand)(output, context);
49
- }
10
+ class DeleteGatewayCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DeleteGateway", {})
22
+ .n("MediaConnectClient", "DeleteGatewayCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteGatewayCommand)
25
+ .de(Aws_restJson1_1.de_DeleteGatewayCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteGatewayCommand = DeleteGatewayCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeregisterGatewayInstanceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeregisterGatewayInstanceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaConnectClient";
29
- const commandName = "DeregisterGatewayInstanceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaConnect",
38
- operation: "DeregisterGatewayInstance",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeregisterGatewayInstanceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeregisterGatewayInstanceCommand)(output, context);
49
- }
10
+ class DeregisterGatewayInstanceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DeregisterGatewayInstance", {})
22
+ .n("MediaConnectClient", "DeregisterGatewayInstanceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeregisterGatewayInstanceCommand)
25
+ .de(Aws_restJson1_1.de_DeregisterGatewayInstanceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeregisterGatewayInstanceCommand = DeregisterGatewayInstanceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeBridgeCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeBridgeCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaConnectClient";
29
- const commandName = "DescribeBridgeCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaConnect",
38
- operation: "DescribeBridge",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeBridgeCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeBridgeCommand)(output, context);
49
- }
10
+ class DescribeBridgeCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DescribeBridge", {})
22
+ .n("MediaConnectClient", "DescribeBridgeCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeBridgeCommand)
25
+ .de(Aws_restJson1_1.de_DescribeBridgeCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeBridgeCommand = DescribeBridgeCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeFlowCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeFlowCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaConnectClient";
29
- const commandName = "DescribeFlowCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaConnect",
38
- operation: "DescribeFlow",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeFlowCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeFlowCommand)(output, context);
49
- }
10
+ class DescribeFlowCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DescribeFlow", {})
22
+ .n("MediaConnectClient", "DescribeFlowCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeFlowCommand)
25
+ .de(Aws_restJson1_1.de_DescribeFlowCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeFlowCommand = DescribeFlowCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeFlowSourceMetadataCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DescribeFlowSourceMetadataCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DescribeFlowSourceMetadata", {})
22
+ .n("MediaConnectClient", "DescribeFlowSourceMetadataCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeFlowSourceMetadataCommand)
25
+ .de(Aws_restJson1_1.de_DescribeFlowSourceMetadataCommand)
26
+ .build() {
27
+ }
28
+ exports.DescribeFlowSourceMetadataCommand = DescribeFlowSourceMetadataCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeGatewayCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeGatewayCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaConnectClient";
29
- const commandName = "DescribeGatewayCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaConnect",
38
- operation: "DescribeGateway",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeGatewayCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeGatewayCommand)(output, context);
49
- }
10
+ class DescribeGatewayCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DescribeGateway", {})
22
+ .n("MediaConnectClient", "DescribeGatewayCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeGatewayCommand)
25
+ .de(Aws_restJson1_1.de_DescribeGatewayCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeGatewayCommand = DescribeGatewayCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeGatewayInstanceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeGatewayInstanceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaConnectClient";
29
- const commandName = "DescribeGatewayInstanceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaConnect",
38
- operation: "DescribeGatewayInstance",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeGatewayInstanceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeGatewayInstanceCommand)(output, context);
49
- }
10
+ class DescribeGatewayInstanceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DescribeGatewayInstance", {})
22
+ .n("MediaConnectClient", "DescribeGatewayInstanceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeGatewayInstanceCommand)
25
+ .de(Aws_restJson1_1.de_DescribeGatewayInstanceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeGatewayInstanceCommand = DescribeGatewayInstanceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeOfferingCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeOfferingCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaConnectClient";
29
- const commandName = "DescribeOfferingCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaConnect",
38
- operation: "DescribeOffering",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeOfferingCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeOfferingCommand)(output, context);
49
- }
10
+ class DescribeOfferingCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaConnect", "DescribeOffering", {})
22
+ .n("MediaConnectClient", "DescribeOfferingCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeOfferingCommand)
25
+ .de(Aws_restJson1_1.de_DescribeOfferingCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeOfferingCommand = DescribeOfferingCommand;