@aws-sdk/client-mediaconnect 3.181.0 → 3.183.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 +8 -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 { AddFlowMediaStreamsRequestFilterSensitiveLog, AddFlowMediaStreamsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AddFlowMediaStreamsCommand, serializeAws_restJson1AddFlowMediaStreamsCommand, } from "../protocols/Aws_restJson1";
6
- var AddFlowMediaStreamsCommand = (function (_super) {
7
- __extends(AddFlowMediaStreamsCommand, _super);
8
- function AddFlowMediaStreamsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AddFlowMediaStreamsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AddFlowMediaStreamsCommand.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 = "AddFlowMediaStreamsCommand";
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 = "AddFlowMediaStreamsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddFlowMediaStreamsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AddFlowMediaStreamsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AddFlowMediaStreamsCommand.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_restJson1AddFlowMediaStreamsCommand(input, context);
33
- };
34
- AddFlowMediaStreamsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AddFlowMediaStreamsCommand(output, context);
36
- };
37
- return AddFlowMediaStreamsCommand;
38
- }($Command));
39
- export { AddFlowMediaStreamsCommand };
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 { AddFlowOutputsRequestFilterSensitiveLog, AddFlowOutputsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AddFlowOutputsCommand, serializeAws_restJson1AddFlowOutputsCommand, } from "../protocols/Aws_restJson1";
6
- var AddFlowOutputsCommand = (function (_super) {
7
- __extends(AddFlowOutputsCommand, _super);
8
- function AddFlowOutputsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AddFlowOutputsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AddFlowOutputsCommand.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 = "AddFlowOutputsCommand";
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 = "AddFlowOutputsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddFlowOutputsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AddFlowOutputsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AddFlowOutputsCommand.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_restJson1AddFlowOutputsCommand(input, context);
33
- };
34
- AddFlowOutputsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AddFlowOutputsCommand(output, context);
36
- };
37
- return AddFlowOutputsCommand;
38
- }($Command));
39
- export { AddFlowOutputsCommand };
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 { AddFlowSourcesRequestFilterSensitiveLog, AddFlowSourcesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AddFlowSourcesCommand, serializeAws_restJson1AddFlowSourcesCommand, } from "../protocols/Aws_restJson1";
6
- var AddFlowSourcesCommand = (function (_super) {
7
- __extends(AddFlowSourcesCommand, _super);
8
- function AddFlowSourcesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AddFlowSourcesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AddFlowSourcesCommand.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 = "AddFlowSourcesCommand";
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 = "AddFlowSourcesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddFlowSourcesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AddFlowSourcesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AddFlowSourcesCommand.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_restJson1AddFlowSourcesCommand(input, context);
33
- };
34
- AddFlowSourcesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AddFlowSourcesCommand(output, context);
36
- };
37
- return AddFlowSourcesCommand;
38
- }($Command));
39
- export { AddFlowSourcesCommand };
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 { AddFlowVpcInterfacesRequestFilterSensitiveLog, AddFlowVpcInterfacesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AddFlowVpcInterfacesCommand, serializeAws_restJson1AddFlowVpcInterfacesCommand, } from "../protocols/Aws_restJson1";
6
- var AddFlowVpcInterfacesCommand = (function (_super) {
7
- __extends(AddFlowVpcInterfacesCommand, _super);
8
- function AddFlowVpcInterfacesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AddFlowVpcInterfacesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AddFlowVpcInterfacesCommand.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 = "AddFlowVpcInterfacesCommand";
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 = "AddFlowVpcInterfacesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddFlowVpcInterfacesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AddFlowVpcInterfacesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AddFlowVpcInterfacesCommand.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_restJson1AddFlowVpcInterfacesCommand(input, context);
33
- };
34
- AddFlowVpcInterfacesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AddFlowVpcInterfacesCommand(output, context);
36
- };
37
- return AddFlowVpcInterfacesCommand;
38
- }($Command));
39
- export { AddFlowVpcInterfacesCommand };
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 { CreateFlowRequestFilterSensitiveLog, CreateFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateFlowCommand, serializeAws_restJson1CreateFlowCommand, } from "../protocols/Aws_restJson1";
6
- var CreateFlowCommand = (function (_super) {
7
- __extends(CreateFlowCommand, _super);
8
- function CreateFlowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFlowCommand.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 = "CreateFlowCommand";
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 = "CreateFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFlowRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateFlowResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateFlowCommand.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_restJson1CreateFlowCommand(input, context);
33
- };
34
- CreateFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateFlowCommand(output, context);
36
- };
37
- return CreateFlowCommand;
38
- }($Command));
39
- export { CreateFlowCommand };
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 { DeleteFlowRequestFilterSensitiveLog, DeleteFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteFlowCommand, serializeAws_restJson1DeleteFlowCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteFlowCommand = (function (_super) {
7
- __extends(DeleteFlowCommand, _super);
8
- function DeleteFlowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFlowCommand.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 = "DeleteFlowCommand";
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 = "DeleteFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFlowRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFlowResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFlowCommand.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_restJson1DeleteFlowCommand(input, context);
33
- };
34
- DeleteFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteFlowCommand(output, context);
36
- };
37
- return DeleteFlowCommand;
38
- }($Command));
39
- export { DeleteFlowCommand };
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 { DescribeFlowRequestFilterSensitiveLog, DescribeFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeFlowCommand, serializeAws_restJson1DescribeFlowCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeFlowCommand = (function (_super) {
7
- __extends(DescribeFlowCommand, _super);
8
- function DescribeFlowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeFlowCommand.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 = "DescribeFlowCommand";
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 = "DescribeFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeFlowRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeFlowResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeFlowCommand.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_restJson1DescribeFlowCommand(input, context);
33
- };
34
- DescribeFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeFlowCommand(output, context);
36
- };
37
- return DescribeFlowCommand;
38
- }($Command));
39
- export { DescribeFlowCommand };
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 { DescribeOfferingRequestFilterSensitiveLog, DescribeOfferingResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeOfferingCommand, serializeAws_restJson1DescribeOfferingCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeOfferingCommand = (function (_super) {
7
- __extends(DescribeOfferingCommand, _super);
8
- function DescribeOfferingCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeOfferingCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeOfferingCommand.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 = "DescribeOfferingCommand";
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 = "DescribeOfferingCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeOfferingRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeOfferingResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeOfferingCommand.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_restJson1DescribeOfferingCommand(input, context);
33
- };
34
- DescribeOfferingCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeOfferingCommand(output, context);
36
- };
37
- return DescribeOfferingCommand;
38
- }($Command));
39
- export { DescribeOfferingCommand };
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 { DescribeReservationRequestFilterSensitiveLog, DescribeReservationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeReservationCommand, serializeAws_restJson1DescribeReservationCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeReservationCommand = (function (_super) {
7
- __extends(DescribeReservationCommand, _super);
8
- function DescribeReservationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeReservationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeReservationCommand.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 = "DescribeReservationCommand";
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 = "DescribeReservationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeReservationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeReservationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeReservationCommand.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_restJson1DescribeReservationCommand(input, context);
33
- };
34
- DescribeReservationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeReservationCommand(output, context);
36
- };
37
- return DescribeReservationCommand;
38
- }($Command));
39
- export { DescribeReservationCommand };
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 { GrantFlowEntitlementsRequestFilterSensitiveLog, GrantFlowEntitlementsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GrantFlowEntitlementsCommand, serializeAws_restJson1GrantFlowEntitlementsCommand, } from "../protocols/Aws_restJson1";
6
- var GrantFlowEntitlementsCommand = (function (_super) {
7
- __extends(GrantFlowEntitlementsCommand, _super);
8
- function GrantFlowEntitlementsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GrantFlowEntitlementsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GrantFlowEntitlementsCommand.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 = "GrantFlowEntitlementsCommand";
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 = "GrantFlowEntitlementsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GrantFlowEntitlementsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GrantFlowEntitlementsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GrantFlowEntitlementsCommand.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_restJson1GrantFlowEntitlementsCommand(input, context);
33
- };
34
- GrantFlowEntitlementsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GrantFlowEntitlementsCommand(output, context);
36
- };
37
- return GrantFlowEntitlementsCommand;
38
- }($Command));
39
- export { GrantFlowEntitlementsCommand };
31
+ }
32
+ }