@aws-sdk/client-ivs 3.185.0 → 3.188.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/Ivs.js +114 -121
  3. package/dist-es/IvsClient.js +22 -28
  4. package/dist-es/commands/BatchGetChannelCommand.js +21 -28
  5. package/dist-es/commands/BatchGetStreamKeyCommand.js +21 -28
  6. package/dist-es/commands/CreateChannelCommand.js +21 -28
  7. package/dist-es/commands/CreateRecordingConfigurationCommand.js +21 -28
  8. package/dist-es/commands/CreateStreamKeyCommand.js +21 -28
  9. package/dist-es/commands/DeleteChannelCommand.js +22 -29
  10. package/dist-es/commands/DeletePlaybackKeyPairCommand.js +21 -28
  11. package/dist-es/commands/DeleteRecordingConfigurationCommand.js +22 -29
  12. package/dist-es/commands/DeleteStreamKeyCommand.js +22 -29
  13. package/dist-es/commands/GetChannelCommand.js +21 -28
  14. package/dist-es/commands/GetPlaybackKeyPairCommand.js +21 -28
  15. package/dist-es/commands/GetRecordingConfigurationCommand.js +21 -28
  16. package/dist-es/commands/GetStreamCommand.js +21 -28
  17. package/dist-es/commands/GetStreamKeyCommand.js +21 -28
  18. package/dist-es/commands/GetStreamSessionCommand.js +21 -28
  19. package/dist-es/commands/ImportPlaybackKeyPairCommand.js +21 -28
  20. package/dist-es/commands/ListChannelsCommand.js +21 -28
  21. package/dist-es/commands/ListPlaybackKeyPairsCommand.js +21 -28
  22. package/dist-es/commands/ListRecordingConfigurationsCommand.js +21 -28
  23. package/dist-es/commands/ListStreamKeysCommand.js +21 -28
  24. package/dist-es/commands/ListStreamSessionsCommand.js +21 -28
  25. package/dist-es/commands/ListStreamsCommand.js +21 -28
  26. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  27. package/dist-es/commands/PutMetadataCommand.js +22 -29
  28. package/dist-es/commands/StopStreamCommand.js +21 -28
  29. package/dist-es/commands/TagResourceCommand.js +21 -28
  30. package/dist-es/commands/UntagResourceCommand.js +21 -28
  31. package/dist-es/commands/UpdateChannelCommand.js +21 -28
  32. package/dist-es/endpoints.js +8 -8
  33. package/dist-es/models/IvsServiceException.js +5 -10
  34. package/dist-es/models/models_0.js +345 -194
  35. package/dist-es/pagination/ListChannelsPaginator.js +25 -68
  36. package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js +25 -68
  37. package/dist-es/pagination/ListRecordingConfigurationsPaginator.js +25 -68
  38. package/dist-es/pagination/ListStreamKeysPaginator.js +25 -68
  39. package/dist-es/pagination/ListStreamSessionsPaginator.js +25 -68
  40. package/dist-es/pagination/ListStreamsPaginator.js +25 -68
  41. package/dist-es/protocols/Aws_restJson1.js +1905 -2692
  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/package.json +33 -33
@@ -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 { GetPlaybackKeyPairRequestFilterSensitiveLog, GetPlaybackKeyPairResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetPlaybackKeyPairCommand, serializeAws_restJson1GetPlaybackKeyPairCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetPlaybackKeyPairCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetPlaybackKeyPairCommand.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 = "IvsClient";
18
- var commandName = "GetPlaybackKeyPairCommand";
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 = "IvsClient";
15
+ const commandName = "GetPlaybackKeyPairCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetPlaybackKeyPairRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetPlaybackKeyPairResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetPlaybackKeyPairCommand(input, context);
33
- };
34
- GetPlaybackKeyPairCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetPlaybackKeyPairCommand(output, context);
36
- };
37
- return GetPlaybackKeyPairCommand;
38
- }($Command));
39
- export { GetPlaybackKeyPairCommand };
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 { GetRecordingConfigurationRequestFilterSensitiveLog, GetRecordingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetRecordingConfigurationCommand, serializeAws_restJson1GetRecordingConfigurationCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetRecordingConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetRecordingConfigurationCommand.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 = "IvsClient";
18
- var commandName = "GetRecordingConfigurationCommand";
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 = "IvsClient";
15
+ const commandName = "GetRecordingConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetRecordingConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetRecordingConfigurationResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetRecordingConfigurationCommand(input, context);
33
- };
34
- GetRecordingConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetRecordingConfigurationCommand(output, context);
36
- };
37
- return GetRecordingConfigurationCommand;
38
- }($Command));
39
- export { GetRecordingConfigurationCommand };
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 { GetStreamRequestFilterSensitiveLog, GetStreamResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetStreamCommand, serializeAws_restJson1GetStreamCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetStreamCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetStreamCommand.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 = "IvsClient";
18
- var commandName = "GetStreamCommand";
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 = "IvsClient";
15
+ const commandName = "GetStreamCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetStreamRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetStreamResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetStreamCommand(input, context);
33
- };
34
- GetStreamCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetStreamCommand(output, context);
36
- };
37
- return GetStreamCommand;
38
- }($Command));
39
- export { GetStreamCommand };
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 { GetStreamKeyRequestFilterSensitiveLog, GetStreamKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetStreamKeyCommand, serializeAws_restJson1GetStreamKeyCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetStreamKeyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetStreamKeyCommand.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 = "IvsClient";
18
- var commandName = "GetStreamKeyCommand";
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 = "IvsClient";
15
+ const commandName = "GetStreamKeyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetStreamKeyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetStreamKeyResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetStreamKeyCommand(input, context);
33
- };
34
- GetStreamKeyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetStreamKeyCommand(output, context);
36
- };
37
- return GetStreamKeyCommand;
38
- }($Command));
39
- export { GetStreamKeyCommand };
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 { GetStreamSessionRequestFilterSensitiveLog, GetStreamSessionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetStreamSessionCommand, serializeAws_restJson1GetStreamSessionCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetStreamSessionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetStreamSessionCommand.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 = "IvsClient";
18
- var commandName = "GetStreamSessionCommand";
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 = "IvsClient";
15
+ const commandName = "GetStreamSessionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetStreamSessionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetStreamSessionResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetStreamSessionCommand(input, context);
33
- };
34
- GetStreamSessionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetStreamSessionCommand(output, context);
36
- };
37
- return GetStreamSessionCommand;
38
- }($Command));
39
- export { GetStreamSessionCommand };
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 { ImportPlaybackKeyPairRequestFilterSensitiveLog, ImportPlaybackKeyPairResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ImportPlaybackKeyPairCommand, serializeAws_restJson1ImportPlaybackKeyPairCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ImportPlaybackKeyPairCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ImportPlaybackKeyPairCommand.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 = "IvsClient";
18
- var commandName = "ImportPlaybackKeyPairCommand";
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 = "IvsClient";
15
+ const commandName = "ImportPlaybackKeyPairCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ImportPlaybackKeyPairRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ImportPlaybackKeyPairResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ImportPlaybackKeyPairCommand(input, context);
33
- };
34
- ImportPlaybackKeyPairCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ImportPlaybackKeyPairCommand(output, context);
36
- };
37
- return ImportPlaybackKeyPairCommand;
38
- }($Command));
39
- export { ImportPlaybackKeyPairCommand };
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 { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListChannelsCommand, serializeAws_restJson1ListChannelsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListChannelsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListChannelsCommand.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 = "IvsClient";
18
- var commandName = "ListChannelsCommand";
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 = "IvsClient";
15
+ const commandName = "ListChannelsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListChannelsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListChannelsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListChannelsCommand(input, context);
33
- };
34
- ListChannelsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListChannelsCommand(output, context);
36
- };
37
- return ListChannelsCommand;
38
- }($Command));
39
- export { ListChannelsCommand };
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 { ListPlaybackKeyPairsRequestFilterSensitiveLog, ListPlaybackKeyPairsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListPlaybackKeyPairsCommand, serializeAws_restJson1ListPlaybackKeyPairsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListPlaybackKeyPairsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListPlaybackKeyPairsCommand.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 = "IvsClient";
18
- var commandName = "ListPlaybackKeyPairsCommand";
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 = "IvsClient";
15
+ const commandName = "ListPlaybackKeyPairsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListPlaybackKeyPairsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListPlaybackKeyPairsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListPlaybackKeyPairsCommand(input, context);
33
- };
34
- ListPlaybackKeyPairsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListPlaybackKeyPairsCommand(output, context);
36
- };
37
- return ListPlaybackKeyPairsCommand;
38
- }($Command));
39
- export { ListPlaybackKeyPairsCommand };
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 { ListRecordingConfigurationsRequestFilterSensitiveLog, ListRecordingConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListRecordingConfigurationsCommand, serializeAws_restJson1ListRecordingConfigurationsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListRecordingConfigurationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListRecordingConfigurationsCommand.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 = "IvsClient";
18
- var commandName = "ListRecordingConfigurationsCommand";
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 = "IvsClient";
15
+ const commandName = "ListRecordingConfigurationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListRecordingConfigurationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListRecordingConfigurationsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListRecordingConfigurationsCommand(input, context);
33
- };
34
- ListRecordingConfigurationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListRecordingConfigurationsCommand(output, context);
36
- };
37
- return ListRecordingConfigurationsCommand;
38
- }($Command));
39
- export { ListRecordingConfigurationsCommand };
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 { ListStreamKeysRequestFilterSensitiveLog, ListStreamKeysResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListStreamKeysCommand, serializeAws_restJson1ListStreamKeysCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListStreamKeysCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListStreamKeysCommand.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 = "IvsClient";
18
- var commandName = "ListStreamKeysCommand";
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 = "IvsClient";
15
+ const commandName = "ListStreamKeysCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListStreamKeysRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListStreamKeysResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListStreamKeysCommand(input, context);
33
- };
34
- ListStreamKeysCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListStreamKeysCommand(output, context);
36
- };
37
- return ListStreamKeysCommand;
38
- }($Command));
39
- export { ListStreamKeysCommand };
31
+ }
32
+ }