@aws-sdk/client-mediaconnect 3.185.0 → 3.188.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 (49) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/MediaConnect.js +122 -129
  3. package/dist-es/MediaConnectClient.js +22 -28
  4. package/dist-es/commands/AddFlowMediaStreamsCommand.js +21 -28
  5. package/dist-es/commands/AddFlowOutputsCommand.js +21 -28
  6. package/dist-es/commands/AddFlowSourcesCommand.js +21 -28
  7. package/dist-es/commands/AddFlowVpcInterfacesCommand.js +21 -28
  8. package/dist-es/commands/CreateFlowCommand.js +21 -28
  9. package/dist-es/commands/DeleteFlowCommand.js +21 -28
  10. package/dist-es/commands/DescribeFlowCommand.js +21 -28
  11. package/dist-es/commands/DescribeOfferingCommand.js +21 -28
  12. package/dist-es/commands/DescribeReservationCommand.js +21 -28
  13. package/dist-es/commands/GrantFlowEntitlementsCommand.js +21 -28
  14. package/dist-es/commands/ListEntitlementsCommand.js +21 -28
  15. package/dist-es/commands/ListFlowsCommand.js +21 -28
  16. package/dist-es/commands/ListOfferingsCommand.js +21 -28
  17. package/dist-es/commands/ListReservationsCommand.js +21 -28
  18. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  19. package/dist-es/commands/PurchaseOfferingCommand.js +21 -28
  20. package/dist-es/commands/RemoveFlowMediaStreamCommand.js +21 -28
  21. package/dist-es/commands/RemoveFlowOutputCommand.js +21 -28
  22. package/dist-es/commands/RemoveFlowSourceCommand.js +21 -28
  23. package/dist-es/commands/RemoveFlowVpcInterfaceCommand.js +21 -28
  24. package/dist-es/commands/RevokeFlowEntitlementCommand.js +21 -28
  25. package/dist-es/commands/StartFlowCommand.js +21 -28
  26. package/dist-es/commands/StopFlowCommand.js +21 -28
  27. package/dist-es/commands/TagResourceCommand.js +22 -29
  28. package/dist-es/commands/UntagResourceCommand.js +22 -29
  29. package/dist-es/commands/UpdateFlowCommand.js +21 -28
  30. package/dist-es/commands/UpdateFlowEntitlementCommand.js +21 -28
  31. package/dist-es/commands/UpdateFlowMediaStreamCommand.js +21 -28
  32. package/dist-es/commands/UpdateFlowOutputCommand.js +21 -28
  33. package/dist-es/commands/UpdateFlowSourceCommand.js +21 -28
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/MediaConnectServiceException.js +5 -10
  36. package/dist-es/models/models_0.js +411 -210
  37. package/dist-es/pagination/ListEntitlementsPaginator.js +25 -68
  38. package/dist-es/pagination/ListFlowsPaginator.js +25 -68
  39. package/dist-es/pagination/ListOfferingsPaginator.js +25 -68
  40. package/dist-es/pagination/ListReservationsPaginator.js +25 -68
  41. package/dist-es/protocols/Aws_restJson1.js +2553 -3366
  42. package/dist-es/runtimeConfig.browser.js +26 -12
  43. package/dist-es/runtimeConfig.js +30 -12
  44. package/dist-es/runtimeConfig.native.js +8 -5
  45. package/dist-es/runtimeConfig.shared.js +8 -11
  46. package/dist-es/waiters/waitForFlowActive.js +60 -80
  47. package/dist-es/waiters/waitForFlowDeleted.js +45 -65
  48. package/dist-es/waiters/waitForFlowStandby.js +51 -71
  49. package/package.json +34 -34
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListEntitlementsRequestFilterSensitiveLog, ListEntitlementsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListEntitlementsCommand, serializeAws_restJson1ListEntitlementsCommand, } from "../protocols/Aws_restJson1";
6
- var ListEntitlementsCommand = (function (_super) {
7
- __extends(ListEntitlementsCommand, _super);
8
- function ListEntitlementsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListEntitlementsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListEntitlementsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "ListEntitlementsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "ListEntitlementsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListEntitlementsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListEntitlementsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListEntitlementsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListEntitlementsCommand(input, context);
33
- };
34
- ListEntitlementsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListEntitlementsCommand(output, context);
36
- };
37
- return ListEntitlementsCommand;
38
- }($Command));
39
- export { ListEntitlementsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListFlowsRequestFilterSensitiveLog, ListFlowsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListFlowsCommand, serializeAws_restJson1ListFlowsCommand, } from "../protocols/Aws_restJson1";
6
- var ListFlowsCommand = (function (_super) {
7
- __extends(ListFlowsCommand, _super);
8
- function ListFlowsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListFlowsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListFlowsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "ListFlowsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "ListFlowsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListFlowsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListFlowsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListFlowsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListFlowsCommand(input, context);
33
- };
34
- ListFlowsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListFlowsCommand(output, context);
36
- };
37
- return ListFlowsCommand;
38
- }($Command));
39
- export { ListFlowsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListOfferingsRequestFilterSensitiveLog, ListOfferingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListOfferingsCommand, serializeAws_restJson1ListOfferingsCommand, } from "../protocols/Aws_restJson1";
6
- var ListOfferingsCommand = (function (_super) {
7
- __extends(ListOfferingsCommand, _super);
8
- function ListOfferingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListOfferingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListOfferingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "ListOfferingsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "ListOfferingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListOfferingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListOfferingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListOfferingsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListOfferingsCommand(input, context);
33
- };
34
- ListOfferingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListOfferingsCommand(output, context);
36
- };
37
- return ListOfferingsCommand;
38
- }($Command));
39
- export { ListOfferingsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListReservationsRequestFilterSensitiveLog, ListReservationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListReservationsCommand, serializeAws_restJson1ListReservationsCommand, } from "../protocols/Aws_restJson1";
6
- var ListReservationsCommand = (function (_super) {
7
- __extends(ListReservationsCommand, _super);
8
- function ListReservationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListReservationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListReservationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "ListReservationsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "ListReservationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListReservationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListReservationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListReservationsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListReservationsCommand(input, context);
33
- };
34
- ListReservationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListReservationsCommand(output, context);
36
- };
37
- return ListReservationsCommand;
38
- }($Command));
39
- export { ListReservationsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PurchaseOfferingRequestFilterSensitiveLog, PurchaseOfferingResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PurchaseOfferingCommand, serializeAws_restJson1PurchaseOfferingCommand, } from "../protocols/Aws_restJson1";
6
- var PurchaseOfferingCommand = (function (_super) {
7
- __extends(PurchaseOfferingCommand, _super);
8
- function PurchaseOfferingCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PurchaseOfferingCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PurchaseOfferingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "PurchaseOfferingCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "PurchaseOfferingCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PurchaseOfferingRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PurchaseOfferingResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PurchaseOfferingCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PurchaseOfferingCommand(input, context);
33
- };
34
- PurchaseOfferingCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PurchaseOfferingCommand(output, context);
36
- };
37
- return PurchaseOfferingCommand;
38
- }($Command));
39
- export { PurchaseOfferingCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RemoveFlowMediaStreamRequestFilterSensitiveLog, RemoveFlowMediaStreamResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1RemoveFlowMediaStreamCommand, serializeAws_restJson1RemoveFlowMediaStreamCommand, } from "../protocols/Aws_restJson1";
6
- var RemoveFlowMediaStreamCommand = (function (_super) {
7
- __extends(RemoveFlowMediaStreamCommand, _super);
8
- function RemoveFlowMediaStreamCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveFlowMediaStreamCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveFlowMediaStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "RemoveFlowMediaStreamCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "RemoveFlowMediaStreamCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveFlowMediaStreamRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveFlowMediaStreamResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveFlowMediaStreamCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1RemoveFlowMediaStreamCommand(input, context);
33
- };
34
- RemoveFlowMediaStreamCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1RemoveFlowMediaStreamCommand(output, context);
36
- };
37
- return RemoveFlowMediaStreamCommand;
38
- }($Command));
39
- export { RemoveFlowMediaStreamCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RemoveFlowOutputRequestFilterSensitiveLog, RemoveFlowOutputResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1RemoveFlowOutputCommand, serializeAws_restJson1RemoveFlowOutputCommand, } from "../protocols/Aws_restJson1";
6
- var RemoveFlowOutputCommand = (function (_super) {
7
- __extends(RemoveFlowOutputCommand, _super);
8
- function RemoveFlowOutputCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveFlowOutputCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveFlowOutputCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "RemoveFlowOutputCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "RemoveFlowOutputCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveFlowOutputRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveFlowOutputResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveFlowOutputCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1RemoveFlowOutputCommand(input, context);
33
- };
34
- RemoveFlowOutputCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1RemoveFlowOutputCommand(output, context);
36
- };
37
- return RemoveFlowOutputCommand;
38
- }($Command));
39
- export { RemoveFlowOutputCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RemoveFlowSourceRequestFilterSensitiveLog, RemoveFlowSourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1RemoveFlowSourceCommand, serializeAws_restJson1RemoveFlowSourceCommand, } from "../protocols/Aws_restJson1";
6
- var RemoveFlowSourceCommand = (function (_super) {
7
- __extends(RemoveFlowSourceCommand, _super);
8
- function RemoveFlowSourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveFlowSourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveFlowSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "RemoveFlowSourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "RemoveFlowSourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveFlowSourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveFlowSourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveFlowSourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1RemoveFlowSourceCommand(input, context);
33
- };
34
- RemoveFlowSourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1RemoveFlowSourceCommand(output, context);
36
- };
37
- return RemoveFlowSourceCommand;
38
- }($Command));
39
- export { RemoveFlowSourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RemoveFlowVpcInterfaceRequestFilterSensitiveLog, RemoveFlowVpcInterfaceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1RemoveFlowVpcInterfaceCommand, serializeAws_restJson1RemoveFlowVpcInterfaceCommand, } from "../protocols/Aws_restJson1";
6
- var RemoveFlowVpcInterfaceCommand = (function (_super) {
7
- __extends(RemoveFlowVpcInterfaceCommand, _super);
8
- function RemoveFlowVpcInterfaceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveFlowVpcInterfaceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveFlowVpcInterfaceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MediaConnectClient";
18
- var commandName = "RemoveFlowVpcInterfaceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MediaConnectClient";
15
+ const commandName = "RemoveFlowVpcInterfaceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveFlowVpcInterfaceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveFlowVpcInterfaceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveFlowVpcInterfaceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1RemoveFlowVpcInterfaceCommand(input, context);
33
- };
34
- RemoveFlowVpcInterfaceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1RemoveFlowVpcInterfaceCommand(output, context);
36
- };
37
- return RemoveFlowVpcInterfaceCommand;
38
- }($Command));
39
- export { RemoveFlowVpcInterfaceCommand };
31
+ }
32
+ }