@aws-sdk/client-mediaconnect 3.193.0 → 3.196.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 (152) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/MediaConnectClient.js +11 -8
  3. package/dist-cjs/commands/AddFlowMediaStreamsCommand.js +10 -0
  4. package/dist-cjs/commands/AddFlowOutputsCommand.js +10 -0
  5. package/dist-cjs/commands/AddFlowSourcesCommand.js +10 -0
  6. package/dist-cjs/commands/AddFlowVpcInterfacesCommand.js +10 -0
  7. package/dist-cjs/commands/CreateFlowCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteFlowCommand.js +10 -0
  9. package/dist-cjs/commands/DescribeFlowCommand.js +10 -0
  10. package/dist-cjs/commands/DescribeOfferingCommand.js +10 -0
  11. package/dist-cjs/commands/DescribeReservationCommand.js +10 -0
  12. package/dist-cjs/commands/GrantFlowEntitlementsCommand.js +10 -0
  13. package/dist-cjs/commands/ListEntitlementsCommand.js +10 -0
  14. package/dist-cjs/commands/ListFlowsCommand.js +10 -0
  15. package/dist-cjs/commands/ListOfferingsCommand.js +10 -0
  16. package/dist-cjs/commands/ListReservationsCommand.js +10 -0
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  18. package/dist-cjs/commands/PurchaseOfferingCommand.js +10 -0
  19. package/dist-cjs/commands/RemoveFlowMediaStreamCommand.js +10 -0
  20. package/dist-cjs/commands/RemoveFlowOutputCommand.js +10 -0
  21. package/dist-cjs/commands/RemoveFlowSourceCommand.js +10 -0
  22. package/dist-cjs/commands/RemoveFlowVpcInterfaceCommand.js +10 -0
  23. package/dist-cjs/commands/RevokeFlowEntitlementCommand.js +10 -0
  24. package/dist-cjs/commands/StartFlowCommand.js +10 -0
  25. package/dist-cjs/commands/StopFlowCommand.js +10 -0
  26. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  27. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  28. package/dist-cjs/commands/UpdateFlowCommand.js +10 -0
  29. package/dist-cjs/commands/UpdateFlowEntitlementCommand.js +10 -0
  30. package/dist-cjs/commands/UpdateFlowMediaStreamCommand.js +10 -0
  31. package/dist-cjs/commands/UpdateFlowOutputCommand.js +10 -0
  32. package/dist-cjs/commands/UpdateFlowSourceCommand.js +10 -0
  33. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  34. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  35. package/dist-cjs/endpoint/ruleset.js +318 -0
  36. package/dist-cjs/runtimeConfig.shared.js +3 -3
  37. package/dist-es/MediaConnectClient.js +12 -9
  38. package/dist-es/commands/AddFlowMediaStreamsCommand.js +10 -0
  39. package/dist-es/commands/AddFlowOutputsCommand.js +10 -0
  40. package/dist-es/commands/AddFlowSourcesCommand.js +10 -0
  41. package/dist-es/commands/AddFlowVpcInterfacesCommand.js +10 -0
  42. package/dist-es/commands/CreateFlowCommand.js +10 -0
  43. package/dist-es/commands/DeleteFlowCommand.js +10 -0
  44. package/dist-es/commands/DescribeFlowCommand.js +10 -0
  45. package/dist-es/commands/DescribeOfferingCommand.js +10 -0
  46. package/dist-es/commands/DescribeReservationCommand.js +10 -0
  47. package/dist-es/commands/GrantFlowEntitlementsCommand.js +10 -0
  48. package/dist-es/commands/ListEntitlementsCommand.js +10 -0
  49. package/dist-es/commands/ListFlowsCommand.js +10 -0
  50. package/dist-es/commands/ListOfferingsCommand.js +10 -0
  51. package/dist-es/commands/ListReservationsCommand.js +10 -0
  52. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  53. package/dist-es/commands/PurchaseOfferingCommand.js +10 -0
  54. package/dist-es/commands/RemoveFlowMediaStreamCommand.js +10 -0
  55. package/dist-es/commands/RemoveFlowOutputCommand.js +10 -0
  56. package/dist-es/commands/RemoveFlowSourceCommand.js +10 -0
  57. package/dist-es/commands/RemoveFlowVpcInterfaceCommand.js +10 -0
  58. package/dist-es/commands/RevokeFlowEntitlementCommand.js +10 -0
  59. package/dist-es/commands/StartFlowCommand.js +10 -0
  60. package/dist-es/commands/StopFlowCommand.js +10 -0
  61. package/dist-es/commands/TagResourceCommand.js +10 -0
  62. package/dist-es/commands/UntagResourceCommand.js +10 -0
  63. package/dist-es/commands/UpdateFlowCommand.js +10 -0
  64. package/dist-es/commands/UpdateFlowEntitlementCommand.js +10 -0
  65. package/dist-es/commands/UpdateFlowMediaStreamCommand.js +10 -0
  66. package/dist-es/commands/UpdateFlowOutputCommand.js +10 -0
  67. package/dist-es/commands/UpdateFlowSourceCommand.js +10 -0
  68. package/dist-es/endpoint/EndpointParameters.js +8 -0
  69. package/dist-es/endpoint/endpointResolver.js +8 -0
  70. package/dist-es/endpoint/ruleset.js +315 -0
  71. package/dist-es/runtimeConfig.shared.js +2 -2
  72. package/dist-types/MediaConnectClient.d.ts +6 -9
  73. package/dist-types/commands/AddFlowMediaStreamsCommand.d.ts +2 -0
  74. package/dist-types/commands/AddFlowOutputsCommand.d.ts +2 -0
  75. package/dist-types/commands/AddFlowSourcesCommand.d.ts +2 -0
  76. package/dist-types/commands/AddFlowVpcInterfacesCommand.d.ts +2 -0
  77. package/dist-types/commands/CreateFlowCommand.d.ts +2 -0
  78. package/dist-types/commands/DeleteFlowCommand.d.ts +2 -0
  79. package/dist-types/commands/DescribeFlowCommand.d.ts +2 -0
  80. package/dist-types/commands/DescribeOfferingCommand.d.ts +2 -0
  81. package/dist-types/commands/DescribeReservationCommand.d.ts +2 -0
  82. package/dist-types/commands/GrantFlowEntitlementsCommand.d.ts +2 -0
  83. package/dist-types/commands/ListEntitlementsCommand.d.ts +2 -0
  84. package/dist-types/commands/ListFlowsCommand.d.ts +2 -0
  85. package/dist-types/commands/ListOfferingsCommand.d.ts +2 -0
  86. package/dist-types/commands/ListReservationsCommand.d.ts +2 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  88. package/dist-types/commands/PurchaseOfferingCommand.d.ts +2 -0
  89. package/dist-types/commands/RemoveFlowMediaStreamCommand.d.ts +2 -0
  90. package/dist-types/commands/RemoveFlowOutputCommand.d.ts +2 -0
  91. package/dist-types/commands/RemoveFlowSourceCommand.d.ts +2 -0
  92. package/dist-types/commands/RemoveFlowVpcInterfaceCommand.d.ts +2 -0
  93. package/dist-types/commands/RevokeFlowEntitlementCommand.d.ts +2 -0
  94. package/dist-types/commands/StartFlowCommand.d.ts +2 -0
  95. package/dist-types/commands/StopFlowCommand.d.ts +2 -0
  96. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  97. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  98. package/dist-types/commands/UpdateFlowCommand.d.ts +2 -0
  99. package/dist-types/commands/UpdateFlowEntitlementCommand.d.ts +2 -0
  100. package/dist-types/commands/UpdateFlowMediaStreamCommand.d.ts +2 -0
  101. package/dist-types/commands/UpdateFlowOutputCommand.d.ts +2 -0
  102. package/dist-types/commands/UpdateFlowSourceCommand.d.ts +2 -0
  103. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  104. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  105. package/dist-types/endpoint/ruleset.d.ts +2 -0
  106. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  107. package/dist-types/runtimeConfig.d.ts +4 -2
  108. package/dist-types/runtimeConfig.native.d.ts +4 -2
  109. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  110. package/dist-types/ts3.4/MediaConnectClient.d.ts +15 -8
  111. package/dist-types/ts3.4/commands/AddFlowMediaStreamsCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/AddFlowOutputsCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/commands/AddFlowSourcesCommand.d.ts +2 -0
  114. package/dist-types/ts3.4/commands/AddFlowVpcInterfacesCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/DescribeFlowCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/DescribeOfferingCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/DescribeReservationCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/commands/GrantFlowEntitlementsCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/commands/ListEntitlementsCommand.d.ts +2 -0
  122. package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +2 -0
  123. package/dist-types/ts3.4/commands/ListOfferingsCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/commands/ListReservationsCommand.d.ts +2 -0
  125. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  126. package/dist-types/ts3.4/commands/PurchaseOfferingCommand.d.ts +2 -0
  127. package/dist-types/ts3.4/commands/RemoveFlowMediaStreamCommand.d.ts +2 -0
  128. package/dist-types/ts3.4/commands/RemoveFlowOutputCommand.d.ts +2 -0
  129. package/dist-types/ts3.4/commands/RemoveFlowSourceCommand.d.ts +2 -0
  130. package/dist-types/ts3.4/commands/RemoveFlowVpcInterfaceCommand.d.ts +2 -0
  131. package/dist-types/ts3.4/commands/RevokeFlowEntitlementCommand.d.ts +2 -0
  132. package/dist-types/ts3.4/commands/StartFlowCommand.d.ts +2 -0
  133. package/dist-types/ts3.4/commands/StopFlowCommand.d.ts +2 -0
  134. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  135. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  136. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +2 -0
  137. package/dist-types/ts3.4/commands/UpdateFlowEntitlementCommand.d.ts +2 -0
  138. package/dist-types/ts3.4/commands/UpdateFlowMediaStreamCommand.d.ts +2 -0
  139. package/dist-types/ts3.4/commands/UpdateFlowOutputCommand.d.ts +2 -0
  140. package/dist-types/ts3.4/commands/UpdateFlowSourceCommand.d.ts +2 -0
  141. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  142. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  143. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  144. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  145. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  146. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  147. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  148. package/package.json +5 -3
  149. package/dist-cjs/endpoints.js +0 -132
  150. package/dist-es/endpoints.js +0 -128
  151. package/dist-types/endpoints.d.ts +0 -2
  152. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddFlowOutputsRequestFilterSensitiveLog, AddFlowOutputsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AddFlowOutputsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AddFlowOutputsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddFlowSourcesRequestFilterSensitiveLog, AddFlowSourcesResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AddFlowSourcesCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AddFlowSourcesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddFlowVpcInterfacesRequestFilterSensitiveLog, AddFlowVpcInterfacesResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AddFlowVpcInterfacesCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AddFlowVpcInterfacesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateFlowRequestFilterSensitiveLog, CreateFlowResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteFlowRequestFilterSensitiveLog, DeleteFlowResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeFlowRequestFilterSensitiveLog, DescribeFlowResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeOfferingRequestFilterSensitiveLog, DescribeOfferingResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeOfferingCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeOfferingCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeReservationRequestFilterSensitiveLog, DescribeReservationResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeReservationCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeReservationCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GrantFlowEntitlementsRequestFilterSensitiveLog, GrantFlowEntitlementsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class GrantFlowEntitlementsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GrantFlowEntitlementsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListEntitlementsRequestFilterSensitiveLog, ListEntitlementsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListEntitlementsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListEntitlementsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListFlowsRequestFilterSensitiveLog, ListFlowsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListFlowsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListFlowsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListOfferingsRequestFilterSensitiveLog, ListOfferingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListOfferingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListOfferingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListReservationsRequestFilterSensitiveLog, ListReservationsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListReservationsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListReservationsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PurchaseOfferingRequestFilterSensitiveLog, PurchaseOfferingResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class PurchaseOfferingCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, PurchaseOfferingCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RemoveFlowMediaStreamRequestFilterSensitiveLog, RemoveFlowMediaStreamResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class RemoveFlowMediaStreamCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, RemoveFlowMediaStreamCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RemoveFlowOutputRequestFilterSensitiveLog, RemoveFlowOutputResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class RemoveFlowOutputCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, RemoveFlowOutputCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RemoveFlowSourceRequestFilterSensitiveLog, RemoveFlowSourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class RemoveFlowSourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, RemoveFlowSourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RemoveFlowVpcInterfaceRequestFilterSensitiveLog, RemoveFlowVpcInterfaceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class RemoveFlowVpcInterfaceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, RemoveFlowVpcInterfaceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RevokeFlowEntitlementRequestFilterSensitiveLog, RevokeFlowEntitlementResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class RevokeFlowEntitlementCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, RevokeFlowEntitlementCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartFlowRequestFilterSensitiveLog, StartFlowResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class StartFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StopFlowRequestFilterSensitiveLog, StopFlowResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class StopFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StopFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFlowRequestFilterSensitiveLog, UpdateFlowResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFlowEntitlementRequestFilterSensitiveLog, UpdateFlowEntitlementResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateFlowEntitlementCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFlowEntitlementCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFlowMediaStreamRequestFilterSensitiveLog, UpdateFlowMediaStreamResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateFlowMediaStreamCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFlowMediaStreamCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "MediaConnectClient";