@aws-sdk/client-ivs 3.183.0 → 3.185.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 (47) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Ivs.js +121 -114
  4. package/dist-es/IvsClient.js +28 -22
  5. package/dist-es/commands/BatchGetChannelCommand.js +28 -21
  6. package/dist-es/commands/BatchGetStreamKeyCommand.js +28 -21
  7. package/dist-es/commands/CreateChannelCommand.js +28 -21
  8. package/dist-es/commands/CreateRecordingConfigurationCommand.js +28 -21
  9. package/dist-es/commands/CreateStreamKeyCommand.js +28 -21
  10. package/dist-es/commands/DeleteChannelCommand.js +29 -22
  11. package/dist-es/commands/DeletePlaybackKeyPairCommand.js +28 -21
  12. package/dist-es/commands/DeleteRecordingConfigurationCommand.js +29 -22
  13. package/dist-es/commands/DeleteStreamKeyCommand.js +29 -22
  14. package/dist-es/commands/GetChannelCommand.js +28 -21
  15. package/dist-es/commands/GetPlaybackKeyPairCommand.js +28 -21
  16. package/dist-es/commands/GetRecordingConfigurationCommand.js +28 -21
  17. package/dist-es/commands/GetStreamCommand.js +28 -21
  18. package/dist-es/commands/GetStreamKeyCommand.js +28 -21
  19. package/dist-es/commands/GetStreamSessionCommand.js +28 -21
  20. package/dist-es/commands/ImportPlaybackKeyPairCommand.js +28 -21
  21. package/dist-es/commands/ListChannelsCommand.js +28 -21
  22. package/dist-es/commands/ListPlaybackKeyPairsCommand.js +28 -21
  23. package/dist-es/commands/ListRecordingConfigurationsCommand.js +28 -21
  24. package/dist-es/commands/ListStreamKeysCommand.js +28 -21
  25. package/dist-es/commands/ListStreamSessionsCommand.js +28 -21
  26. package/dist-es/commands/ListStreamsCommand.js +28 -21
  27. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  28. package/dist-es/commands/PutMetadataCommand.js +29 -22
  29. package/dist-es/commands/StopStreamCommand.js +28 -21
  30. package/dist-es/commands/TagResourceCommand.js +28 -21
  31. package/dist-es/commands/UntagResourceCommand.js +28 -21
  32. package/dist-es/commands/UpdateChannelCommand.js +28 -21
  33. package/dist-es/endpoints.js +8 -8
  34. package/dist-es/models/IvsServiceException.js +10 -5
  35. package/dist-es/models/models_0.js +194 -345
  36. package/dist-es/pagination/ListChannelsPaginator.js +68 -25
  37. package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js +68 -25
  38. package/dist-es/pagination/ListRecordingConfigurationsPaginator.js +68 -25
  39. package/dist-es/pagination/ListStreamKeysPaginator.js +68 -25
  40. package/dist-es/pagination/ListStreamSessionsPaginator.js +68 -25
  41. package/dist-es/pagination/ListStreamsPaginator.js +68 -25
  42. package/dist-es/protocols/Aws_restJson1.js +2692 -1905
  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/package.json +5 -5
@@ -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 { GetPlaybackKeyPairRequestFilterSensitiveLog, GetPlaybackKeyPairResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPlaybackKeyPairCommand, serializeAws_restJson1GetPlaybackKeyPairCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPlaybackKeyPairCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPlaybackKeyPairCommand = (function (_super) {
7
+ __extends(GetPlaybackKeyPairCommand, _super);
8
+ function GetPlaybackKeyPairCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPlaybackKeyPairCommand.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 = "IvsClient";
15
- const commandName = "GetPlaybackKeyPairCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "GetPlaybackKeyPairCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPlaybackKeyPairRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPlaybackKeyPairResponseFilterSensitiveLog,
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
+ GetPlaybackKeyPairCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPlaybackKeyPairCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPlaybackKeyPairCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPlaybackKeyPairCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPlaybackKeyPairCommand;
38
+ }($Command));
39
+ export { GetPlaybackKeyPairCommand };
@@ -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 { GetRecordingConfigurationRequestFilterSensitiveLog, GetRecordingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetRecordingConfigurationCommand, serializeAws_restJson1GetRecordingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetRecordingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRecordingConfigurationCommand = (function (_super) {
7
+ __extends(GetRecordingConfigurationCommand, _super);
8
+ function GetRecordingConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRecordingConfigurationCommand.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 = "IvsClient";
15
- const commandName = "GetRecordingConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "GetRecordingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRecordingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRecordingConfigurationResponseFilterSensitiveLog,
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
+ GetRecordingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetRecordingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRecordingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetRecordingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRecordingConfigurationCommand;
38
+ }($Command));
39
+ export { GetRecordingConfigurationCommand };
@@ -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 { GetStreamRequestFilterSensitiveLog, GetStreamResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetStreamCommand, serializeAws_restJson1GetStreamCommand, } from "../protocols/Aws_restJson1";
5
- export class GetStreamCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetStreamCommand = (function (_super) {
7
+ __extends(GetStreamCommand, _super);
8
+ function GetStreamCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetStreamCommand.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 = "IvsClient";
15
- const commandName = "GetStreamCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "GetStreamCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetStreamRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetStreamResponseFilterSensitiveLog,
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
+ GetStreamCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetStreamCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetStreamCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetStreamCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetStreamCommand;
38
+ }($Command));
39
+ export { GetStreamCommand };
@@ -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 { GetStreamKeyRequestFilterSensitiveLog, GetStreamKeyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetStreamKeyCommand, serializeAws_restJson1GetStreamKeyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetStreamKeyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetStreamKeyCommand = (function (_super) {
7
+ __extends(GetStreamKeyCommand, _super);
8
+ function GetStreamKeyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetStreamKeyCommand.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 = "IvsClient";
15
- const commandName = "GetStreamKeyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "GetStreamKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetStreamKeyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetStreamKeyResponseFilterSensitiveLog,
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
+ GetStreamKeyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetStreamKeyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetStreamKeyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetStreamKeyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetStreamKeyCommand;
38
+ }($Command));
39
+ export { GetStreamKeyCommand };
@@ -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 { GetStreamSessionRequestFilterSensitiveLog, GetStreamSessionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetStreamSessionCommand, serializeAws_restJson1GetStreamSessionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetStreamSessionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetStreamSessionCommand = (function (_super) {
7
+ __extends(GetStreamSessionCommand, _super);
8
+ function GetStreamSessionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetStreamSessionCommand.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 = "IvsClient";
15
- const commandName = "GetStreamSessionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "GetStreamSessionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetStreamSessionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetStreamSessionResponseFilterSensitiveLog,
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
+ GetStreamSessionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetStreamSessionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetStreamSessionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetStreamSessionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetStreamSessionCommand;
38
+ }($Command));
39
+ export { GetStreamSessionCommand };
@@ -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 { ImportPlaybackKeyPairRequestFilterSensitiveLog, ImportPlaybackKeyPairResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ImportPlaybackKeyPairCommand, serializeAws_restJson1ImportPlaybackKeyPairCommand, } from "../protocols/Aws_restJson1";
5
- export class ImportPlaybackKeyPairCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ImportPlaybackKeyPairCommand = (function (_super) {
7
+ __extends(ImportPlaybackKeyPairCommand, _super);
8
+ function ImportPlaybackKeyPairCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ImportPlaybackKeyPairCommand.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 = "IvsClient";
15
- const commandName = "ImportPlaybackKeyPairCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "ImportPlaybackKeyPairCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ImportPlaybackKeyPairRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ImportPlaybackKeyPairResponseFilterSensitiveLog,
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
+ ImportPlaybackKeyPairCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ImportPlaybackKeyPairCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ImportPlaybackKeyPairCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ImportPlaybackKeyPairCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ImportPlaybackKeyPairCommand;
38
+ }($Command));
39
+ export { ImportPlaybackKeyPairCommand };
@@ -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 { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListChannelsCommand, serializeAws_restJson1ListChannelsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListChannelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChannelsCommand = (function (_super) {
7
+ __extends(ListChannelsCommand, _super);
8
+ function ListChannelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChannelsCommand.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 = "IvsClient";
15
- const commandName = "ListChannelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "ListChannelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChannelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChannelsResponseFilterSensitiveLog,
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
+ ListChannelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListChannelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChannelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListChannelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChannelsCommand;
38
+ }($Command));
39
+ export { ListChannelsCommand };
@@ -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 { ListPlaybackKeyPairsRequestFilterSensitiveLog, ListPlaybackKeyPairsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPlaybackKeyPairsCommand, serializeAws_restJson1ListPlaybackKeyPairsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPlaybackKeyPairsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPlaybackKeyPairsCommand = (function (_super) {
7
+ __extends(ListPlaybackKeyPairsCommand, _super);
8
+ function ListPlaybackKeyPairsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPlaybackKeyPairsCommand.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 = "IvsClient";
15
- const commandName = "ListPlaybackKeyPairsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "ListPlaybackKeyPairsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPlaybackKeyPairsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPlaybackKeyPairsResponseFilterSensitiveLog,
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
+ ListPlaybackKeyPairsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPlaybackKeyPairsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPlaybackKeyPairsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPlaybackKeyPairsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPlaybackKeyPairsCommand;
38
+ }($Command));
39
+ export { ListPlaybackKeyPairsCommand };
@@ -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 { ListRecordingConfigurationsRequestFilterSensitiveLog, ListRecordingConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListRecordingConfigurationsCommand, serializeAws_restJson1ListRecordingConfigurationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListRecordingConfigurationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRecordingConfigurationsCommand = (function (_super) {
7
+ __extends(ListRecordingConfigurationsCommand, _super);
8
+ function ListRecordingConfigurationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRecordingConfigurationsCommand.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 = "IvsClient";
15
- const commandName = "ListRecordingConfigurationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "ListRecordingConfigurationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRecordingConfigurationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRecordingConfigurationsResponseFilterSensitiveLog,
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
+ ListRecordingConfigurationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListRecordingConfigurationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRecordingConfigurationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListRecordingConfigurationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRecordingConfigurationsCommand;
38
+ }($Command));
39
+ export { ListRecordingConfigurationsCommand };
@@ -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 { ListStreamKeysRequestFilterSensitiveLog, ListStreamKeysResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListStreamKeysCommand, serializeAws_restJson1ListStreamKeysCommand, } from "../protocols/Aws_restJson1";
5
- export class ListStreamKeysCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListStreamKeysCommand = (function (_super) {
7
+ __extends(ListStreamKeysCommand, _super);
8
+ function ListStreamKeysCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListStreamKeysCommand.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 = "IvsClient";
15
- const commandName = "ListStreamKeysCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IvsClient";
18
+ var commandName = "ListStreamKeysCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListStreamKeysRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListStreamKeysResponseFilterSensitiveLog,
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
+ ListStreamKeysCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListStreamKeysCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListStreamKeysCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListStreamKeysCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListStreamKeysCommand;
38
+ }($Command));
39
+ export { ListStreamKeysCommand };