@aws-sdk/client-ivs 3.181.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +8 -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 { BatchGetChannelRequestFilterSensitiveLog, BatchGetChannelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1BatchGetChannelCommand, serializeAws_restJson1BatchGetChannelCommand, } from "../protocols/Aws_restJson1";
6
- var BatchGetChannelCommand = (function (_super) {
7
- __extends(BatchGetChannelCommand, _super);
8
- function BatchGetChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetChannelCommand.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 = "BatchGetChannelCommand";
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 = "BatchGetChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetChannelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetChannelCommand.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_restJson1BatchGetChannelCommand(input, context);
33
- };
34
- BatchGetChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchGetChannelCommand(output, context);
36
- };
37
- return BatchGetChannelCommand;
38
- }($Command));
39
- export { BatchGetChannelCommand };
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 { BatchGetStreamKeyRequestFilterSensitiveLog, BatchGetStreamKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1BatchGetStreamKeyCommand, serializeAws_restJson1BatchGetStreamKeyCommand, } from "../protocols/Aws_restJson1";
6
- var BatchGetStreamKeyCommand = (function (_super) {
7
- __extends(BatchGetStreamKeyCommand, _super);
8
- function BatchGetStreamKeyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetStreamKeyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetStreamKeyCommand.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 = "BatchGetStreamKeyCommand";
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 = "BatchGetStreamKeyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetStreamKeyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetStreamKeyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetStreamKeyCommand.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_restJson1BatchGetStreamKeyCommand(input, context);
33
- };
34
- BatchGetStreamKeyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchGetStreamKeyCommand(output, context);
36
- };
37
- return BatchGetStreamKeyCommand;
38
- }($Command));
39
- export { BatchGetStreamKeyCommand };
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 { CreateChannelRequestFilterSensitiveLog, CreateChannelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/Aws_restJson1";
6
- var CreateChannelCommand = (function (_super) {
7
- __extends(CreateChannelCommand, _super);
8
- function CreateChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateChannelCommand.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 = "CreateChannelCommand";
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 = "CreateChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateChannelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateChannelCommand.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_restJson1CreateChannelCommand(input, context);
33
- };
34
- CreateChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateChannelCommand(output, context);
36
- };
37
- return CreateChannelCommand;
38
- }($Command));
39
- export { CreateChannelCommand };
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 { CreateRecordingConfigurationRequestFilterSensitiveLog, CreateRecordingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateRecordingConfigurationCommand, serializeAws_restJson1CreateRecordingConfigurationCommand, } from "../protocols/Aws_restJson1";
6
- var CreateRecordingConfigurationCommand = (function (_super) {
7
- __extends(CreateRecordingConfigurationCommand, _super);
8
- function CreateRecordingConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateRecordingConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateRecordingConfigurationCommand.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 = "CreateRecordingConfigurationCommand";
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 = "CreateRecordingConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateRecordingConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateRecordingConfigurationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateRecordingConfigurationCommand.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_restJson1CreateRecordingConfigurationCommand(input, context);
33
- };
34
- CreateRecordingConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateRecordingConfigurationCommand(output, context);
36
- };
37
- return CreateRecordingConfigurationCommand;
38
- }($Command));
39
- export { CreateRecordingConfigurationCommand };
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 { CreateStreamKeyRequestFilterSensitiveLog, CreateStreamKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateStreamKeyCommand, serializeAws_restJson1CreateStreamKeyCommand, } from "../protocols/Aws_restJson1";
6
- var CreateStreamKeyCommand = (function (_super) {
7
- __extends(CreateStreamKeyCommand, _super);
8
- function CreateStreamKeyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateStreamKeyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateStreamKeyCommand.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 = "CreateStreamKeyCommand";
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 = "CreateStreamKeyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateStreamKeyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateStreamKeyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateStreamKeyCommand.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_restJson1CreateStreamKeyCommand(input, context);
33
- };
34
- CreateStreamKeyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateStreamKeyCommand(output, context);
36
- };
37
- return CreateStreamKeyCommand;
38
- }($Command));
39
- export { CreateStreamKeyCommand };
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 { DeleteChannelRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteChannelCommand = (function (_super) {
7
- __extends(DeleteChannelCommand, _super);
8
- function DeleteChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteChannelCommand.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 = "DeleteChannelCommand";
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 = "DeleteChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteChannelRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteChannelCommand.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_restJson1DeleteChannelCommand(input, context);
33
- };
34
- DeleteChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteChannelCommand(output, context);
36
- };
37
- return DeleteChannelCommand;
38
- }($Command));
39
- export { DeleteChannelCommand };
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 { DeletePlaybackKeyPairRequestFilterSensitiveLog, DeletePlaybackKeyPairResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeletePlaybackKeyPairCommand, serializeAws_restJson1DeletePlaybackKeyPairCommand, } from "../protocols/Aws_restJson1";
6
- var DeletePlaybackKeyPairCommand = (function (_super) {
7
- __extends(DeletePlaybackKeyPairCommand, _super);
8
- function DeletePlaybackKeyPairCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeletePlaybackKeyPairCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePlaybackKeyPairCommand.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 = "DeletePlaybackKeyPairCommand";
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 = "DeletePlaybackKeyPairCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePlaybackKeyPairRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeletePlaybackKeyPairResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeletePlaybackKeyPairCommand.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_restJson1DeletePlaybackKeyPairCommand(input, context);
33
- };
34
- DeletePlaybackKeyPairCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeletePlaybackKeyPairCommand(output, context);
36
- };
37
- return DeletePlaybackKeyPairCommand;
38
- }($Command));
39
- export { DeletePlaybackKeyPairCommand };
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 { DeleteRecordingConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteRecordingConfigurationCommand, serializeAws_restJson1DeleteRecordingConfigurationCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteRecordingConfigurationCommand = (function (_super) {
7
- __extends(DeleteRecordingConfigurationCommand, _super);
8
- function DeleteRecordingConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteRecordingConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteRecordingConfigurationCommand.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 = "DeleteRecordingConfigurationCommand";
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 = "DeleteRecordingConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteRecordingConfigurationRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteRecordingConfigurationCommand.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_restJson1DeleteRecordingConfigurationCommand(input, context);
33
- };
34
- DeleteRecordingConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteRecordingConfigurationCommand(output, context);
36
- };
37
- return DeleteRecordingConfigurationCommand;
38
- }($Command));
39
- export { DeleteRecordingConfigurationCommand };
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 { DeleteStreamKeyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteStreamKeyCommand, serializeAws_restJson1DeleteStreamKeyCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteStreamKeyCommand = (function (_super) {
7
- __extends(DeleteStreamKeyCommand, _super);
8
- function DeleteStreamKeyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteStreamKeyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteStreamKeyCommand.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 = "DeleteStreamKeyCommand";
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 = "DeleteStreamKeyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteStreamKeyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteStreamKeyCommand.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_restJson1DeleteStreamKeyCommand(input, context);
33
- };
34
- DeleteStreamKeyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteStreamKeyCommand(output, context);
36
- };
37
- return DeleteStreamKeyCommand;
38
- }($Command));
39
- export { DeleteStreamKeyCommand };
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 { GetChannelRequestFilterSensitiveLog, GetChannelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetChannelCommand, serializeAws_restJson1GetChannelCommand, } from "../protocols/Aws_restJson1";
6
- var GetChannelCommand = (function (_super) {
7
- __extends(GetChannelCommand, _super);
8
- function GetChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetChannelCommand.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 = "GetChannelCommand";
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 = "GetChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetChannelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetChannelCommand.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_restJson1GetChannelCommand(input, context);
33
- };
34
- GetChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetChannelCommand(output, context);
36
- };
37
- return GetChannelCommand;
38
- }($Command));
39
- export { GetChannelCommand };
31
+ }
32
+ }