@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 { BatchGetChannelRequestFilterSensitiveLog, BatchGetChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchGetChannelCommand, serializeAws_restJson1BatchGetChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchGetChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchGetChannelCommand.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 = "BatchGetChannelCommand";
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 = "BatchGetChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchGetChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchGetChannelResponseFilterSensitiveLog,
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
+ BatchGetChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchGetChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchGetChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchGetChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchGetChannelCommand;
38
+ }($Command));
39
+ export { BatchGetChannelCommand };
@@ -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 { BatchGetStreamKeyRequestFilterSensitiveLog, BatchGetStreamKeyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchGetStreamKeyCommand, serializeAws_restJson1BatchGetStreamKeyCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchGetStreamKeyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchGetStreamKeyCommand.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 = "BatchGetStreamKeyCommand";
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 = "BatchGetStreamKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchGetStreamKeyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchGetStreamKeyResponseFilterSensitiveLog,
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
+ BatchGetStreamKeyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchGetStreamKeyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchGetStreamKeyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchGetStreamKeyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchGetStreamKeyCommand;
38
+ }($Command));
39
+ export { BatchGetStreamKeyCommand };
@@ -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 { CreateChannelRequestFilterSensitiveLog, CreateChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateChannelCommand.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 = "CreateChannelCommand";
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 = "CreateChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateChannelResponseFilterSensitiveLog,
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
+ CreateChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateChannelCommand;
38
+ }($Command));
39
+ export { CreateChannelCommand };
@@ -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 { CreateRecordingConfigurationRequestFilterSensitiveLog, CreateRecordingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateRecordingConfigurationCommand, serializeAws_restJson1CreateRecordingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateRecordingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateRecordingConfigurationCommand.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 = "CreateRecordingConfigurationCommand";
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 = "CreateRecordingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateRecordingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateRecordingConfigurationResponseFilterSensitiveLog,
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
+ CreateRecordingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateRecordingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateRecordingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateRecordingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateRecordingConfigurationCommand;
38
+ }($Command));
39
+ export { CreateRecordingConfigurationCommand };
@@ -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 { CreateStreamKeyRequestFilterSensitiveLog, CreateStreamKeyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateStreamKeyCommand, serializeAws_restJson1CreateStreamKeyCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateStreamKeyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateStreamKeyCommand.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 = "CreateStreamKeyCommand";
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 = "CreateStreamKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateStreamKeyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateStreamKeyResponseFilterSensitiveLog,
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
+ CreateStreamKeyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateStreamKeyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateStreamKeyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateStreamKeyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateStreamKeyCommand;
38
+ }($Command));
39
+ export { CreateStreamKeyCommand };
@@ -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 { DeleteChannelRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteChannelCommand.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 = "DeleteChannelCommand";
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 = "DeleteChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteChannelRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteChannelCommand;
38
+ }($Command));
39
+ export { DeleteChannelCommand };
@@ -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 { DeletePlaybackKeyPairRequestFilterSensitiveLog, DeletePlaybackKeyPairResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeletePlaybackKeyPairCommand, serializeAws_restJson1DeletePlaybackKeyPairCommand, } from "../protocols/Aws_restJson1";
5
- export class DeletePlaybackKeyPairCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePlaybackKeyPairCommand.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 = "DeletePlaybackKeyPairCommand";
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 = "DeletePlaybackKeyPairCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePlaybackKeyPairRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeletePlaybackKeyPairResponseFilterSensitiveLog,
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
+ DeletePlaybackKeyPairCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeletePlaybackKeyPairCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePlaybackKeyPairCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeletePlaybackKeyPairCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePlaybackKeyPairCommand;
38
+ }($Command));
39
+ export { DeletePlaybackKeyPairCommand };
@@ -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 { DeleteRecordingConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteRecordingConfigurationCommand, serializeAws_restJson1DeleteRecordingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteRecordingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteRecordingConfigurationCommand.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 = "DeleteRecordingConfigurationCommand";
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 = "DeleteRecordingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteRecordingConfigurationRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteRecordingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteRecordingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteRecordingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteRecordingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteRecordingConfigurationCommand;
38
+ }($Command));
39
+ export { DeleteRecordingConfigurationCommand };
@@ -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 { DeleteStreamKeyRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteStreamKeyCommand, serializeAws_restJson1DeleteStreamKeyCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteStreamKeyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteStreamKeyCommand.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 = "DeleteStreamKeyCommand";
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 = "DeleteStreamKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteStreamKeyRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteStreamKeyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteStreamKeyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteStreamKeyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteStreamKeyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteStreamKeyCommand;
38
+ }($Command));
39
+ export { DeleteStreamKeyCommand };
@@ -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 { GetChannelRequestFilterSensitiveLog, GetChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetChannelCommand, serializeAws_restJson1GetChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class GetChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetChannelCommand.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 = "GetChannelCommand";
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 = "GetChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetChannelResponseFilterSensitiveLog,
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
+ GetChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetChannelCommand;
38
+ }($Command));
39
+ export { GetChannelCommand };