@aws-sdk/client-ivs-realtime 3.450.0 → 3.453.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 (85) hide show
  1. package/README.md +184 -5
  2. package/dist-cjs/IVSRealTime.js +24 -0
  3. package/dist-cjs/commands/CreateEncoderConfigurationCommand.js +51 -0
  4. package/dist-cjs/commands/CreateStorageConfigurationCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteEncoderConfigurationCommand.js +51 -0
  6. package/dist-cjs/commands/DeleteStorageConfigurationCommand.js +51 -0
  7. package/dist-cjs/commands/GetCompositionCommand.js +51 -0
  8. package/dist-cjs/commands/GetEncoderConfigurationCommand.js +51 -0
  9. package/dist-cjs/commands/GetStorageConfigurationCommand.js +51 -0
  10. package/dist-cjs/commands/ListCompositionsCommand.js +51 -0
  11. package/dist-cjs/commands/ListEncoderConfigurationsCommand.js +51 -0
  12. package/dist-cjs/commands/ListStorageConfigurationsCommand.js +51 -0
  13. package/dist-cjs/commands/StartCompositionCommand.js +51 -0
  14. package/dist-cjs/commands/StopCompositionCommand.js +51 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/models/models_0.js +51 -33
  17. package/dist-cjs/pagination/ListCompositionsPaginator.js +29 -0
  18. package/dist-cjs/pagination/ListEncoderConfigurationsPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListStorageConfigurationsPaginator.js +29 -0
  20. package/dist-cjs/pagination/index.js +3 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +1036 -101
  22. package/dist-es/IVSRealTime.js +24 -0
  23. package/dist-es/commands/CreateEncoderConfigurationCommand.js +47 -0
  24. package/dist-es/commands/CreateStorageConfigurationCommand.js +47 -0
  25. package/dist-es/commands/DeleteEncoderConfigurationCommand.js +47 -0
  26. package/dist-es/commands/DeleteStorageConfigurationCommand.js +47 -0
  27. package/dist-es/commands/GetCompositionCommand.js +47 -0
  28. package/dist-es/commands/GetEncoderConfigurationCommand.js +47 -0
  29. package/dist-es/commands/GetStorageConfigurationCommand.js +47 -0
  30. package/dist-es/commands/ListCompositionsCommand.js +47 -0
  31. package/dist-es/commands/ListEncoderConfigurationsCommand.js +47 -0
  32. package/dist-es/commands/ListStorageConfigurationsCommand.js +47 -0
  33. package/dist-es/commands/StartCompositionCommand.js +47 -0
  34. package/dist-es/commands/StopCompositionCommand.js +47 -0
  35. package/dist-es/commands/index.js +12 -0
  36. package/dist-es/models/models_0.js +48 -30
  37. package/dist-es/pagination/ListCompositionsPaginator.js +25 -0
  38. package/dist-es/pagination/ListEncoderConfigurationsPaginator.js +25 -0
  39. package/dist-es/pagination/ListStorageConfigurationsPaginator.js +25 -0
  40. package/dist-es/pagination/index.js +3 -0
  41. package/dist-es/protocols/Aws_restJson1.js +1002 -92
  42. package/dist-types/IVSRealTime.d.ts +172 -5
  43. package/dist-types/IVSRealTimeClient.d.ts +102 -7
  44. package/dist-types/commands/CreateEncoderConfigurationCommand.d.ts +115 -0
  45. package/dist-types/commands/CreateStorageConfigurationCommand.d.ts +111 -0
  46. package/dist-types/commands/DeleteEncoderConfigurationCommand.d.ts +90 -0
  47. package/dist-types/commands/DeleteStorageConfigurationCommand.d.ts +92 -0
  48. package/dist-types/commands/GetCompositionCommand.d.ts +134 -0
  49. package/dist-types/commands/GetEncoderConfigurationCommand.d.ts +103 -0
  50. package/dist-types/commands/GetStorageConfigurationCommand.d.ts +100 -0
  51. package/dist-types/commands/ListCompositionsCommand.d.ts +112 -0
  52. package/dist-types/commands/ListEncoderConfigurationsCommand.d.ts +99 -0
  53. package/dist-types/commands/ListStorageConfigurationsCommand.d.ts +102 -0
  54. package/dist-types/commands/StartCompositionCommand.d.ts +187 -0
  55. package/dist-types/commands/StopCompositionCommand.d.ts +90 -0
  56. package/dist-types/commands/index.d.ts +12 -0
  57. package/dist-types/index.d.ts +88 -5
  58. package/dist-types/models/models_0.d.ts +908 -92
  59. package/dist-types/pagination/ListCompositionsPaginator.d.ts +7 -0
  60. package/dist-types/pagination/ListEncoderConfigurationsPaginator.d.ts +7 -0
  61. package/dist-types/pagination/ListStorageConfigurationsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +3 -0
  63. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  64. package/dist-types/ts3.4/IVSRealTime.d.ts +204 -0
  65. package/dist-types/ts3.4/IVSRealTimeClient.d.ts +72 -0
  66. package/dist-types/ts3.4/commands/CreateEncoderConfigurationCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/CreateStorageConfigurationCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/DeleteEncoderConfigurationCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/DeleteStorageConfigurationCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/GetCompositionCommand.d.ts +38 -0
  71. package/dist-types/ts3.4/commands/GetEncoderConfigurationCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/GetStorageConfigurationCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/ListCompositionsCommand.d.ts +38 -0
  74. package/dist-types/ts3.4/commands/ListEncoderConfigurationsCommand.d.ts +42 -0
  75. package/dist-types/ts3.4/commands/ListStorageConfigurationsCommand.d.ts +42 -0
  76. package/dist-types/ts3.4/commands/StartCompositionCommand.d.ts +38 -0
  77. package/dist-types/ts3.4/commands/StopCompositionCommand.d.ts +38 -0
  78. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  79. package/dist-types/ts3.4/models/models_0.d.ts +234 -34
  80. package/dist-types/ts3.4/pagination/ListCompositionsPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/ListEncoderConfigurationsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/ListStorageConfigurationsPaginator.d.ts +11 -0
  83. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  84. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  85. package/package.json +38 -36
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetStorageConfigurationCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetStorageConfigurationCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetStorageConfigurationCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "IVSRealTimeClient";
29
+ const commandName = "GetStorageConfigurationCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonInteractiveVideoServiceRealTime",
38
+ operation: "GetStorageConfiguration",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_GetStorageConfigurationCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_GetStorageConfigurationCommand)(output, context);
49
+ }
50
+ }
51
+ exports.GetStorageConfigurationCommand = GetStorageConfigurationCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListCompositionsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListCompositionsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCompositionsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "IVSRealTimeClient";
29
+ const commandName = "ListCompositionsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonInteractiveVideoServiceRealTime",
38
+ operation: "ListCompositions",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListCompositionsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListCompositionsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListCompositionsCommand = ListCompositionsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEncoderConfigurationsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListEncoderConfigurationsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListEncoderConfigurationsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "IVSRealTimeClient";
29
+ const commandName = "ListEncoderConfigurationsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonInteractiveVideoServiceRealTime",
38
+ operation: "ListEncoderConfigurations",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListEncoderConfigurationsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListEncoderConfigurationsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListEncoderConfigurationsCommand = ListEncoderConfigurationsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListStorageConfigurationsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListStorageConfigurationsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListStorageConfigurationsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "IVSRealTimeClient";
29
+ const commandName = "ListStorageConfigurationsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonInteractiveVideoServiceRealTime",
38
+ operation: "ListStorageConfigurations",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListStorageConfigurationsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListStorageConfigurationsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListStorageConfigurationsCommand = ListStorageConfigurationsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartCompositionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class StartCompositionCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartCompositionCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "IVSRealTimeClient";
29
+ const commandName = "StartCompositionCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonInteractiveVideoServiceRealTime",
38
+ operation: "StartComposition",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_StartCompositionCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_StartCompositionCommand)(output, context);
49
+ }
50
+ }
51
+ exports.StartCompositionCommand = StartCompositionCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StopCompositionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class StopCompositionCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopCompositionCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "IVSRealTimeClient";
29
+ const commandName = "StopCompositionCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonInteractiveVideoServiceRealTime",
38
+ operation: "StopComposition",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_StopCompositionCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_StopCompositionCommand)(output, context);
49
+ }
50
+ }
51
+ exports.StopCompositionCommand = StopCompositionCommand;
@@ -1,18 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateEncoderConfigurationCommand"), exports);
4
5
  tslib_1.__exportStar(require("./CreateParticipantTokenCommand"), exports);
5
6
  tslib_1.__exportStar(require("./CreateStageCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateStorageConfigurationCommand"), exports);
8
+ tslib_1.__exportStar(require("./DeleteEncoderConfigurationCommand"), exports);
6
9
  tslib_1.__exportStar(require("./DeleteStageCommand"), exports);
10
+ tslib_1.__exportStar(require("./DeleteStorageConfigurationCommand"), exports);
7
11
  tslib_1.__exportStar(require("./DisconnectParticipantCommand"), exports);
12
+ tslib_1.__exportStar(require("./GetCompositionCommand"), exports);
13
+ tslib_1.__exportStar(require("./GetEncoderConfigurationCommand"), exports);
8
14
  tslib_1.__exportStar(require("./GetParticipantCommand"), exports);
9
15
  tslib_1.__exportStar(require("./GetStageCommand"), exports);
10
16
  tslib_1.__exportStar(require("./GetStageSessionCommand"), exports);
17
+ tslib_1.__exportStar(require("./GetStorageConfigurationCommand"), exports);
18
+ tslib_1.__exportStar(require("./ListCompositionsCommand"), exports);
19
+ tslib_1.__exportStar(require("./ListEncoderConfigurationsCommand"), exports);
11
20
  tslib_1.__exportStar(require("./ListParticipantEventsCommand"), exports);
12
21
  tslib_1.__exportStar(require("./ListParticipantsCommand"), exports);
13
22
  tslib_1.__exportStar(require("./ListStageSessionsCommand"), exports);
14
23
  tslib_1.__exportStar(require("./ListStagesCommand"), exports);
24
+ tslib_1.__exportStar(require("./ListStorageConfigurationsCommand"), exports);
15
25
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
26
+ tslib_1.__exportStar(require("./StartCompositionCommand"), exports);
27
+ tslib_1.__exportStar(require("./StopCompositionCommand"), exports);
16
28
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
17
29
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
18
30
  tslib_1.__exportStar(require("./UpdateStageCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateStageResponseFilterSensitiveLog = exports.CreateParticipantTokenResponseFilterSensitiveLog = exports.ParticipantTokenFilterSensitiveLog = exports.InternalServerException = exports.EventName = exports.EventErrorCode = exports.ParticipantState = exports.ConflictException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.PendingVerification = exports.ParticipantTokenCapability = exports.AccessDeniedException = void 0;
3
+ exports.CreateStageResponseFilterSensitiveLog = exports.CreateParticipantTokenResponseFilterSensitiveLog = exports.ParticipantTokenFilterSensitiveLog = exports.EventName = exports.EventErrorCode = exports.ParticipantState = exports.CompositionState = exports.DestinationState = exports.RecordingConfigurationFormat = exports.ParticipantTokenCapability = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.PendingVerification = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const IVSRealTimeServiceException_1 = require("./IVSRealTimeServiceException");
6
6
  class AccessDeniedException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
@@ -17,10 +17,34 @@ class AccessDeniedException extends IVSRealTimeServiceException_1.IVSRealTimeSer
17
17
  }
18
18
  }
19
19
  exports.AccessDeniedException = AccessDeniedException;
20
- exports.ParticipantTokenCapability = {
21
- PUBLISH: "PUBLISH",
22
- SUBSCRIBE: "SUBSCRIBE",
23
- };
20
+ class ConflictException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
21
+ constructor(opts) {
22
+ super({
23
+ name: "ConflictException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ this.name = "ConflictException";
28
+ this.$fault = "client";
29
+ Object.setPrototypeOf(this, ConflictException.prototype);
30
+ this.exceptionMessage = opts.exceptionMessage;
31
+ }
32
+ }
33
+ exports.ConflictException = ConflictException;
34
+ class InternalServerException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
35
+ constructor(opts) {
36
+ super({
37
+ name: "InternalServerException",
38
+ $fault: "server",
39
+ ...opts,
40
+ });
41
+ this.name = "InternalServerException";
42
+ this.$fault = "server";
43
+ Object.setPrototypeOf(this, InternalServerException.prototype);
44
+ this.exceptionMessage = opts.exceptionMessage;
45
+ }
46
+ }
47
+ exports.InternalServerException = InternalServerException;
24
48
  class PendingVerification extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
25
49
  constructor(opts) {
26
50
  super({
@@ -77,20 +101,28 @@ class ValidationException extends IVSRealTimeServiceException_1.IVSRealTimeServi
77
101
  }
78
102
  }
79
103
  exports.ValidationException = ValidationException;
80
- class ConflictException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
81
- constructor(opts) {
82
- super({
83
- name: "ConflictException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- this.name = "ConflictException";
88
- this.$fault = "client";
89
- Object.setPrototypeOf(this, ConflictException.prototype);
90
- this.exceptionMessage = opts.exceptionMessage;
91
- }
92
- }
93
- exports.ConflictException = ConflictException;
104
+ exports.ParticipantTokenCapability = {
105
+ PUBLISH: "PUBLISH",
106
+ SUBSCRIBE: "SUBSCRIBE",
107
+ };
108
+ exports.RecordingConfigurationFormat = {
109
+ HLS: "HLS",
110
+ };
111
+ exports.DestinationState = {
112
+ ACTIVE: "ACTIVE",
113
+ FAILED: "FAILED",
114
+ RECONNECTING: "RECONNECTING",
115
+ STARTING: "STARTING",
116
+ STOPPED: "STOPPED",
117
+ STOPPING: "STOPPING",
118
+ };
119
+ exports.CompositionState = {
120
+ ACTIVE: "ACTIVE",
121
+ FAILED: "FAILED",
122
+ STARTING: "STARTING",
123
+ STOPPED: "STOPPED",
124
+ STOPPING: "STOPPING",
125
+ };
94
126
  exports.ParticipantState = {
95
127
  CONNECTED: "CONNECTED",
96
128
  DISCONNECTED: "DISCONNECTED",
@@ -111,20 +143,6 @@ exports.EventName = {
111
143
  SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED",
112
144
  SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED",
113
145
  };
114
- class InternalServerException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
115
- constructor(opts) {
116
- super({
117
- name: "InternalServerException",
118
- $fault: "server",
119
- ...opts,
120
- });
121
- this.name = "InternalServerException";
122
- this.$fault = "server";
123
- Object.setPrototypeOf(this, InternalServerException.prototype);
124
- this.exceptionMessage = opts.exceptionMessage;
125
- }
126
- }
127
- exports.InternalServerException = InternalServerException;
128
146
  const ParticipantTokenFilterSensitiveLog = (obj) => ({
129
147
  ...obj,
130
148
  ...(obj.token && { token: smithy_client_1.SENSITIVE_STRING }),
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListCompositions = void 0;
4
+ const ListCompositionsCommand_1 = require("../commands/ListCompositionsCommand");
5
+ const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListCompositionsCommand_1.ListCompositionsCommand(input), ...args);
8
+ };
9
+ async function* paginateListCompositions(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListCompositions = paginateListCompositions;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListEncoderConfigurations = void 0;
4
+ const ListEncoderConfigurationsCommand_1 = require("../commands/ListEncoderConfigurationsCommand");
5
+ const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListEncoderConfigurationsCommand_1.ListEncoderConfigurationsCommand(input), ...args);
8
+ };
9
+ async function* paginateListEncoderConfigurations(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListEncoderConfigurations = paginateListEncoderConfigurations;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListStorageConfigurations = void 0;
4
+ const ListStorageConfigurationsCommand_1 = require("../commands/ListStorageConfigurationsCommand");
5
+ const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListStorageConfigurationsCommand_1.ListStorageConfigurationsCommand(input), ...args);
8
+ };
9
+ async function* paginateListStorageConfigurations(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListStorageConfigurations = paginateListStorageConfigurations;
@@ -2,7 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListCompositionsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListEncoderConfigurationsPaginator"), exports);
5
7
  tslib_1.__exportStar(require("./ListParticipantEventsPaginator"), exports);
6
8
  tslib_1.__exportStar(require("./ListParticipantsPaginator"), exports);
7
9
  tslib_1.__exportStar(require("./ListStageSessionsPaginator"), exports);
8
10
  tslib_1.__exportStar(require("./ListStagesPaginator"), exports);
11
+ tslib_1.__exportStar(require("./ListStorageConfigurationsPaginator"), exports);