@aws-sdk/client-mediaconnect 3.183.0 → 3.186.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 (50) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MediaConnect.js +129 -122
  4. package/dist-es/MediaConnectClient.js +28 -22
  5. package/dist-es/commands/AddFlowMediaStreamsCommand.js +28 -21
  6. package/dist-es/commands/AddFlowOutputsCommand.js +28 -21
  7. package/dist-es/commands/AddFlowSourcesCommand.js +28 -21
  8. package/dist-es/commands/AddFlowVpcInterfacesCommand.js +28 -21
  9. package/dist-es/commands/CreateFlowCommand.js +28 -21
  10. package/dist-es/commands/DeleteFlowCommand.js +28 -21
  11. package/dist-es/commands/DescribeFlowCommand.js +28 -21
  12. package/dist-es/commands/DescribeOfferingCommand.js +28 -21
  13. package/dist-es/commands/DescribeReservationCommand.js +28 -21
  14. package/dist-es/commands/GrantFlowEntitlementsCommand.js +28 -21
  15. package/dist-es/commands/ListEntitlementsCommand.js +28 -21
  16. package/dist-es/commands/ListFlowsCommand.js +28 -21
  17. package/dist-es/commands/ListOfferingsCommand.js +28 -21
  18. package/dist-es/commands/ListReservationsCommand.js +28 -21
  19. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  20. package/dist-es/commands/PurchaseOfferingCommand.js +28 -21
  21. package/dist-es/commands/RemoveFlowMediaStreamCommand.js +28 -21
  22. package/dist-es/commands/RemoveFlowOutputCommand.js +28 -21
  23. package/dist-es/commands/RemoveFlowSourceCommand.js +28 -21
  24. package/dist-es/commands/RemoveFlowVpcInterfaceCommand.js +28 -21
  25. package/dist-es/commands/RevokeFlowEntitlementCommand.js +28 -21
  26. package/dist-es/commands/StartFlowCommand.js +28 -21
  27. package/dist-es/commands/StopFlowCommand.js +28 -21
  28. package/dist-es/commands/TagResourceCommand.js +29 -22
  29. package/dist-es/commands/UntagResourceCommand.js +29 -22
  30. package/dist-es/commands/UpdateFlowCommand.js +28 -21
  31. package/dist-es/commands/UpdateFlowEntitlementCommand.js +28 -21
  32. package/dist-es/commands/UpdateFlowMediaStreamCommand.js +28 -21
  33. package/dist-es/commands/UpdateFlowOutputCommand.js +28 -21
  34. package/dist-es/commands/UpdateFlowSourceCommand.js +28 -21
  35. package/dist-es/endpoints.js +8 -8
  36. package/dist-es/models/MediaConnectServiceException.js +10 -5
  37. package/dist-es/models/models_0.js +210 -411
  38. package/dist-es/pagination/ListEntitlementsPaginator.js +68 -25
  39. package/dist-es/pagination/ListFlowsPaginator.js +68 -25
  40. package/dist-es/pagination/ListOfferingsPaginator.js +68 -25
  41. package/dist-es/pagination/ListReservationsPaginator.js +68 -25
  42. package/dist-es/protocols/Aws_restJson1.js +3366 -2553
  43. package/dist-es/runtimeConfig.browser.js +12 -26
  44. package/dist-es/runtimeConfig.js +12 -30
  45. package/dist-es/runtimeConfig.native.js +5 -8
  46. package/dist-es/runtimeConfig.shared.js +11 -8
  47. package/dist-es/waiters/waitForFlowActive.js +80 -60
  48. package/dist-es/waiters/waitForFlowDeleted.js +65 -45
  49. package/dist-es/waiters/waitForFlowStandby.js +71 -51
  50. package/package.json +34 -34
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class MediaConnectClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var MediaConnectClient = (function (_super) {
13
+ __extends(MediaConnectClient, _super);
14
+ function MediaConnectClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ MediaConnectClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return MediaConnectClient;
38
+ }(__Client));
39
+ export { MediaConnectClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddFlowMediaStreamsRequestFilterSensitiveLog, AddFlowMediaStreamsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AddFlowMediaStreamsCommand, serializeAws_restJson1AddFlowMediaStreamsCommand, } from "../protocols/Aws_restJson1";
5
- export class AddFlowMediaStreamsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddFlowMediaStreamsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: AddFlowMediaStreamsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddFlowMediaStreamsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1AddFlowMediaStreamsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddFlowMediaStreamsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AddFlowMediaStreamsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddFlowMediaStreamsCommand;
38
+ }($Command));
39
+ export { AddFlowMediaStreamsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
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";
4
5
  import { deserializeAws_restJson1AddFlowOutputsCommand, serializeAws_restJson1AddFlowOutputsCommand, } from "../protocols/Aws_restJson1";
5
- export class AddFlowOutputsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddFlowOutputsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: AddFlowOutputsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddFlowOutputsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1AddFlowOutputsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddFlowOutputsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AddFlowOutputsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddFlowOutputsCommand;
38
+ }($Command));
39
+ export { AddFlowOutputsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
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";
4
5
  import { deserializeAws_restJson1AddFlowSourcesCommand, serializeAws_restJson1AddFlowSourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class AddFlowSourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddFlowSourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: AddFlowSourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddFlowSourcesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1AddFlowSourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddFlowSourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AddFlowSourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddFlowSourcesCommand;
38
+ }($Command));
39
+ export { AddFlowSourcesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
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";
4
5
  import { deserializeAws_restJson1AddFlowVpcInterfacesCommand, serializeAws_restJson1AddFlowVpcInterfacesCommand, } from "../protocols/Aws_restJson1";
5
- export class AddFlowVpcInterfacesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddFlowVpcInterfacesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: AddFlowVpcInterfacesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddFlowVpcInterfacesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1AddFlowVpcInterfacesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddFlowVpcInterfacesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AddFlowVpcInterfacesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddFlowVpcInterfacesCommand;
38
+ }($Command));
39
+ export { AddFlowVpcInterfacesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
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";
4
5
  import { deserializeAws_restJson1CreateFlowCommand, serializeAws_restJson1CreateFlowCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateFlowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFlowResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1CreateFlowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFlowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateFlowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFlowCommand;
38
+ }($Command));
39
+ export { CreateFlowCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
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";
4
5
  import { deserializeAws_restJson1DeleteFlowCommand, serializeAws_restJson1DeleteFlowCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteFlowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteFlowResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteFlowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteFlowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteFlowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteFlowCommand;
38
+ }($Command));
39
+ export { DeleteFlowCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
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";
4
5
  import { deserializeAws_restJson1DescribeFlowCommand, serializeAws_restJson1DescribeFlowCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DescribeFlowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeFlowResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DescribeFlowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeFlowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeFlowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeFlowCommand;
38
+ }($Command));
39
+ export { DescribeFlowCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
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";
4
5
  import { deserializeAws_restJson1DescribeOfferingCommand, serializeAws_restJson1DescribeOfferingCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeOfferingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeOfferingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DescribeOfferingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeOfferingResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DescribeOfferingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeOfferingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeOfferingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeOfferingCommand;
38
+ }($Command));
39
+ export { DescribeOfferingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
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";
4
5
  import { deserializeAws_restJson1DescribeReservationCommand, serializeAws_restJson1DescribeReservationCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeReservationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeReservationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DescribeReservationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeReservationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DescribeReservationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeReservationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeReservationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeReservationCommand;
38
+ }($Command));
39
+ export { DescribeReservationCommand };