@aws-sdk/client-ivs-realtime 3.298.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 (115) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +373 -0
  3. package/dist-cjs/IVSRealTime.js +157 -0
  4. package/dist-cjs/IVSRealTimeClient.js +40 -0
  5. package/dist-cjs/commands/CreateParticipantTokenCommand.js +45 -0
  6. package/dist-cjs/commands/CreateStageCommand.js +45 -0
  7. package/dist-cjs/commands/DeleteStageCommand.js +45 -0
  8. package/dist-cjs/commands/DisconnectParticipantCommand.js +45 -0
  9. package/dist-cjs/commands/GetStageCommand.js +45 -0
  10. package/dist-cjs/commands/ListStagesCommand.js +45 -0
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
  12. package/dist-cjs/commands/TagResourceCommand.js +45 -0
  13. package/dist-cjs/commands/UntagResourceCommand.js +45 -0
  14. package/dist-cjs/commands/UpdateStageCommand.js +45 -0
  15. package/dist-cjs/commands/index.js +13 -0
  16. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  17. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  18. package/dist-cjs/endpoint/ruleset.js +7 -0
  19. package/dist-cjs/index.js +11 -0
  20. package/dist-cjs/models/IVSRealTimeServiceException.js +11 -0
  21. package/dist-cjs/models/index.js +4 -0
  22. package/dist-cjs/models/models_0.js +107 -0
  23. package/dist-cjs/pagination/Interfaces.js +2 -0
  24. package/dist-cjs/pagination/ListStagesPaginator.js +29 -0
  25. package/dist-cjs/pagination/index.js +5 -0
  26. package/dist-cjs/protocols/Aws_restJson1.js +922 -0
  27. package/dist-cjs/runtimeConfig.browser.js +39 -0
  28. package/dist-cjs/runtimeConfig.js +48 -0
  29. package/dist-cjs/runtimeConfig.native.js +15 -0
  30. package/dist-cjs/runtimeConfig.shared.js +21 -0
  31. package/dist-es/IVSRealTime.js +153 -0
  32. package/dist-es/IVSRealTimeClient.js +36 -0
  33. package/dist-es/commands/CreateParticipantTokenCommand.js +41 -0
  34. package/dist-es/commands/CreateStageCommand.js +41 -0
  35. package/dist-es/commands/DeleteStageCommand.js +41 -0
  36. package/dist-es/commands/DisconnectParticipantCommand.js +41 -0
  37. package/dist-es/commands/GetStageCommand.js +41 -0
  38. package/dist-es/commands/ListStagesCommand.js +41 -0
  39. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  40. package/dist-es/commands/TagResourceCommand.js +41 -0
  41. package/dist-es/commands/UntagResourceCommand.js +41 -0
  42. package/dist-es/commands/UpdateStageCommand.js +41 -0
  43. package/dist-es/commands/index.js +10 -0
  44. package/dist-es/endpoint/EndpointParameters.js +8 -0
  45. package/dist-es/endpoint/endpointResolver.js +8 -0
  46. package/dist-es/endpoint/ruleset.js +4 -0
  47. package/dist-es/index.js +6 -0
  48. package/dist-es/models/IVSRealTimeServiceException.js +7 -0
  49. package/dist-es/models/index.js +1 -0
  50. package/dist-es/models/models_0.js +97 -0
  51. package/dist-es/pagination/Interfaces.js +1 -0
  52. package/dist-es/pagination/ListStagesPaginator.js +25 -0
  53. package/dist-es/pagination/index.js +2 -0
  54. package/dist-es/protocols/Aws_restJson1.js +899 -0
  55. package/dist-es/runtimeConfig.browser.js +34 -0
  56. package/dist-es/runtimeConfig.js +43 -0
  57. package/dist-es/runtimeConfig.native.js +11 -0
  58. package/dist-es/runtimeConfig.shared.js +17 -0
  59. package/dist-types/IVSRealTime.d.ts +175 -0
  60. package/dist-types/IVSRealTimeClient.d.ts +256 -0
  61. package/dist-types/commands/CreateParticipantTokenCommand.d.ts +77 -0
  62. package/dist-types/commands/CreateStageCommand.d.ts +72 -0
  63. package/dist-types/commands/DeleteStageCommand.d.ts +75 -0
  64. package/dist-types/commands/DisconnectParticipantCommand.d.ts +72 -0
  65. package/dist-types/commands/GetStageCommand.d.ts +69 -0
  66. package/dist-types/commands/ListStagesCommand.d.ts +69 -0
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +69 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +69 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +69 -0
  70. package/dist-types/commands/UpdateStageCommand.d.ts +75 -0
  71. package/dist-types/commands/index.d.ts +10 -0
  72. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  73. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  74. package/dist-types/endpoint/ruleset.d.ts +2 -0
  75. package/dist-types/index.d.ts +6 -0
  76. package/dist-types/models/IVSRealTimeServiceException.d.ts +12 -0
  77. package/dist-types/models/index.d.ts +1 -0
  78. package/dist-types/models/models_0.d.ts +477 -0
  79. package/dist-types/pagination/Interfaces.d.ts +8 -0
  80. package/dist-types/pagination/ListStagesPaginator.d.ts +7 -0
  81. package/dist-types/pagination/index.d.ts +2 -0
  82. package/dist-types/protocols/Aws_restJson1.d.ts +32 -0
  83. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  84. package/dist-types/runtimeConfig.d.ts +42 -0
  85. package/dist-types/runtimeConfig.native.d.ts +41 -0
  86. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  87. package/dist-types/ts3.4/IVSRealTime.d.ts +174 -0
  88. package/dist-types/ts3.4/IVSRealTimeClient.d.ts +172 -0
  89. package/dist-types/ts3.4/commands/CreateParticipantTokenCommand.d.ts +41 -0
  90. package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +34 -0
  91. package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +34 -0
  92. package/dist-types/ts3.4/commands/DisconnectParticipantCommand.d.ts +41 -0
  93. package/dist-types/ts3.4/commands/GetStageCommand.d.ts +34 -0
  94. package/dist-types/ts3.4/commands/ListStagesCommand.d.ts +34 -0
  95. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  96. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  97. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  98. package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +34 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  100. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  101. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  102. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  103. package/dist-types/ts3.4/index.d.ts +6 -0
  104. package/dist-types/ts3.4/models/IVSRealTimeServiceException.d.ts +7 -0
  105. package/dist-types/ts3.4/models/index.d.ts +1 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +153 -0
  107. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  108. package/dist-types/ts3.4/pagination/ListStagesPaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  110. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  111. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  112. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  113. package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
  114. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
  115. package/package.json +98 -0
@@ -0,0 +1,72 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient";
5
+ import { CreateStageRequest, CreateStageResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link CreateStageCommand}.
10
+ */
11
+ export interface CreateStageCommandInput extends CreateStageRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link CreateStageCommand}.
17
+ */
18
+ export interface CreateStageCommandOutput extends CreateStageResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Creates a new stage (and optionally participant tokens).</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { IVSRealTimeClient, CreateStageCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
27
+ * // const { IVSRealTimeClient, CreateStageCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
28
+ * const client = new IVSRealTimeClient(config);
29
+ * const command = new CreateStageCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @param CreateStageCommandInput - {@link CreateStageCommandInput}
34
+ * @returns {@link CreateStageCommandOutput}
35
+ * @see {@link CreateStageCommandInput} for command's `input` shape.
36
+ * @see {@link CreateStageCommandOutput} for command's `response` shape.
37
+ * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
38
+ *
39
+ * @throws {@link AccessDeniedException} (client fault)
40
+ * <p/>
41
+ *
42
+ * @throws {@link PendingVerification} (client fault)
43
+ * <p/>
44
+ *
45
+ * @throws {@link ServiceQuotaExceededException} (client fault)
46
+ * <p/>
47
+ *
48
+ * @throws {@link ValidationException} (client fault)
49
+ * <p/>
50
+ *
51
+ *
52
+ */
53
+ export declare class CreateStageCommand extends $Command<CreateStageCommandInput, CreateStageCommandOutput, IVSRealTimeClientResolvedConfig> {
54
+ readonly input: CreateStageCommandInput;
55
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
56
+ /**
57
+ * @public
58
+ */
59
+ constructor(input: CreateStageCommandInput);
60
+ /**
61
+ * @internal
62
+ */
63
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IVSRealTimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateStageCommandInput, CreateStageCommandOutput>;
64
+ /**
65
+ * @internal
66
+ */
67
+ private serialize;
68
+ /**
69
+ * @internal
70
+ */
71
+ private deserialize;
72
+ }
@@ -0,0 +1,75 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient";
5
+ import { DeleteStageRequest, DeleteStageResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link DeleteStageCommand}.
10
+ */
11
+ export interface DeleteStageCommandInput extends DeleteStageRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link DeleteStageCommand}.
17
+ */
18
+ export interface DeleteStageCommandOutput extends DeleteStageResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Shuts down and deletes the specified stage (disconnecting all participants).</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { IVSRealTimeClient, DeleteStageCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
27
+ * // const { IVSRealTimeClient, DeleteStageCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
28
+ * const client = new IVSRealTimeClient(config);
29
+ * const command = new DeleteStageCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @param DeleteStageCommandInput - {@link DeleteStageCommandInput}
34
+ * @returns {@link DeleteStageCommandOutput}
35
+ * @see {@link DeleteStageCommandInput} for command's `input` shape.
36
+ * @see {@link DeleteStageCommandOutput} for command's `response` shape.
37
+ * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
38
+ *
39
+ * @throws {@link AccessDeniedException} (client fault)
40
+ * <p/>
41
+ *
42
+ * @throws {@link ConflictException} (client fault)
43
+ * <p/>
44
+ *
45
+ * @throws {@link PendingVerification} (client fault)
46
+ * <p/>
47
+ *
48
+ * @throws {@link ResourceNotFoundException} (client fault)
49
+ * <p/>
50
+ *
51
+ * @throws {@link ValidationException} (client fault)
52
+ * <p/>
53
+ *
54
+ *
55
+ */
56
+ export declare class DeleteStageCommand extends $Command<DeleteStageCommandInput, DeleteStageCommandOutput, IVSRealTimeClientResolvedConfig> {
57
+ readonly input: DeleteStageCommandInput;
58
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
+ /**
60
+ * @public
61
+ */
62
+ constructor(input: DeleteStageCommandInput);
63
+ /**
64
+ * @internal
65
+ */
66
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IVSRealTimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStageCommandInput, DeleteStageCommandOutput>;
67
+ /**
68
+ * @internal
69
+ */
70
+ private serialize;
71
+ /**
72
+ * @internal
73
+ */
74
+ private deserialize;
75
+ }
@@ -0,0 +1,72 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient";
5
+ import { DisconnectParticipantRequest, DisconnectParticipantResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link DisconnectParticipantCommand}.
10
+ */
11
+ export interface DisconnectParticipantCommandInput extends DisconnectParticipantRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link DisconnectParticipantCommand}.
17
+ */
18
+ export interface DisconnectParticipantCommandOutput extends DisconnectParticipantResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Disconnects a specified participant and revokes the participant permanently from a specified stage.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { IVSRealTimeClient, DisconnectParticipantCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
27
+ * // const { IVSRealTimeClient, DisconnectParticipantCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
28
+ * const client = new IVSRealTimeClient(config);
29
+ * const command = new DisconnectParticipantCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @param DisconnectParticipantCommandInput - {@link DisconnectParticipantCommandInput}
34
+ * @returns {@link DisconnectParticipantCommandOutput}
35
+ * @see {@link DisconnectParticipantCommandInput} for command's `input` shape.
36
+ * @see {@link DisconnectParticipantCommandOutput} for command's `response` shape.
37
+ * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
38
+ *
39
+ * @throws {@link AccessDeniedException} (client fault)
40
+ * <p/>
41
+ *
42
+ * @throws {@link PendingVerification} (client fault)
43
+ * <p/>
44
+ *
45
+ * @throws {@link ResourceNotFoundException} (client fault)
46
+ * <p/>
47
+ *
48
+ * @throws {@link ValidationException} (client fault)
49
+ * <p/>
50
+ *
51
+ *
52
+ */
53
+ export declare class DisconnectParticipantCommand extends $Command<DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput, IVSRealTimeClientResolvedConfig> {
54
+ readonly input: DisconnectParticipantCommandInput;
55
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
56
+ /**
57
+ * @public
58
+ */
59
+ constructor(input: DisconnectParticipantCommandInput);
60
+ /**
61
+ * @internal
62
+ */
63
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IVSRealTimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput>;
64
+ /**
65
+ * @internal
66
+ */
67
+ private serialize;
68
+ /**
69
+ * @internal
70
+ */
71
+ private deserialize;
72
+ }
@@ -0,0 +1,69 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient";
5
+ import { GetStageRequest, GetStageResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetStageCommand}.
10
+ */
11
+ export interface GetStageCommandInput extends GetStageRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetStageCommand}.
17
+ */
18
+ export interface GetStageCommandOutput extends GetStageResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Gets information for the specified stage.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { IVSRealTimeClient, GetStageCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
27
+ * // const { IVSRealTimeClient, GetStageCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
28
+ * const client = new IVSRealTimeClient(config);
29
+ * const command = new GetStageCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @param GetStageCommandInput - {@link GetStageCommandInput}
34
+ * @returns {@link GetStageCommandOutput}
35
+ * @see {@link GetStageCommandInput} for command's `input` shape.
36
+ * @see {@link GetStageCommandOutput} for command's `response` shape.
37
+ * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
38
+ *
39
+ * @throws {@link AccessDeniedException} (client fault)
40
+ * <p/>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p/>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p/>
47
+ *
48
+ *
49
+ */
50
+ export declare class GetStageCommand extends $Command<GetStageCommandInput, GetStageCommandOutput, IVSRealTimeClientResolvedConfig> {
51
+ readonly input: GetStageCommandInput;
52
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
53
+ /**
54
+ * @public
55
+ */
56
+ constructor(input: GetStageCommandInput);
57
+ /**
58
+ * @internal
59
+ */
60
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IVSRealTimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetStageCommandInput, GetStageCommandOutput>;
61
+ /**
62
+ * @internal
63
+ */
64
+ private serialize;
65
+ /**
66
+ * @internal
67
+ */
68
+ private deserialize;
69
+ }
@@ -0,0 +1,69 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient";
5
+ import { ListStagesRequest, ListStagesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListStagesCommand}.
10
+ */
11
+ export interface ListStagesCommandInput extends ListStagesRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListStagesCommand}.
17
+ */
18
+ export interface ListStagesCommandOutput extends ListStagesResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Gets summary information about all stages in your account, in the AWS region where the API request is processed.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { IVSRealTimeClient, ListStagesCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
27
+ * // const { IVSRealTimeClient, ListStagesCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
28
+ * const client = new IVSRealTimeClient(config);
29
+ * const command = new ListStagesCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @param ListStagesCommandInput - {@link ListStagesCommandInput}
34
+ * @returns {@link ListStagesCommandOutput}
35
+ * @see {@link ListStagesCommandInput} for command's `input` shape.
36
+ * @see {@link ListStagesCommandOutput} for command's `response` shape.
37
+ * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
38
+ *
39
+ * @throws {@link AccessDeniedException} (client fault)
40
+ * <p/>
41
+ *
42
+ * @throws {@link ConflictException} (client fault)
43
+ * <p/>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p/>
47
+ *
48
+ *
49
+ */
50
+ export declare class ListStagesCommand extends $Command<ListStagesCommandInput, ListStagesCommandOutput, IVSRealTimeClientResolvedConfig> {
51
+ readonly input: ListStagesCommandInput;
52
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
53
+ /**
54
+ * @public
55
+ */
56
+ constructor(input: ListStagesCommandInput);
57
+ /**
58
+ * @internal
59
+ */
60
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IVSRealTimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStagesCommandInput, ListStagesCommandOutput>;
61
+ /**
62
+ * @internal
63
+ */
64
+ private serialize;
65
+ /**
66
+ * @internal
67
+ */
68
+ private deserialize;
69
+ }
@@ -0,0 +1,69 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient";
5
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListTagsForResourceCommand}.
10
+ */
11
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListTagsForResourceCommand}.
17
+ */
18
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Gets information about AWS tags for the specified ARN.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { IVSRealTimeClient, ListTagsForResourceCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
27
+ * // const { IVSRealTimeClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
28
+ * const client = new IVSRealTimeClient(config);
29
+ * const command = new ListTagsForResourceCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
34
+ * @returns {@link ListTagsForResourceCommandOutput}
35
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
36
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
37
+ * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
38
+ *
39
+ * @throws {@link InternalServerException} (server fault)
40
+ * <p/>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p/>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p/>
47
+ *
48
+ *
49
+ */
50
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, IVSRealTimeClientResolvedConfig> {
51
+ readonly input: ListTagsForResourceCommandInput;
52
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
53
+ /**
54
+ * @public
55
+ */
56
+ constructor(input: ListTagsForResourceCommandInput);
57
+ /**
58
+ * @internal
59
+ */
60
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IVSRealTimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
61
+ /**
62
+ * @internal
63
+ */
64
+ private serialize;
65
+ /**
66
+ * @internal
67
+ */
68
+ private deserialize;
69
+ }
@@ -0,0 +1,69 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient";
5
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link TagResourceCommand}.
10
+ */
11
+ export interface TagResourceCommandInput extends TagResourceRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link TagResourceCommand}.
17
+ */
18
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Adds or updates tags for the AWS resource with the specified ARN.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { IVSRealTimeClient, TagResourceCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
27
+ * // const { IVSRealTimeClient, TagResourceCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
28
+ * const client = new IVSRealTimeClient(config);
29
+ * const command = new TagResourceCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
34
+ * @returns {@link TagResourceCommandOutput}
35
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
36
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
37
+ * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
38
+ *
39
+ * @throws {@link InternalServerException} (server fault)
40
+ * <p/>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p/>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p/>
47
+ *
48
+ *
49
+ */
50
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, IVSRealTimeClientResolvedConfig> {
51
+ readonly input: TagResourceCommandInput;
52
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
53
+ /**
54
+ * @public
55
+ */
56
+ constructor(input: TagResourceCommandInput);
57
+ /**
58
+ * @internal
59
+ */
60
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IVSRealTimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
61
+ /**
62
+ * @internal
63
+ */
64
+ private serialize;
65
+ /**
66
+ * @internal
67
+ */
68
+ private deserialize;
69
+ }
@@ -0,0 +1,69 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient";
5
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UntagResourceCommand}.
10
+ */
11
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UntagResourceCommand}.
17
+ */
18
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Removes tags from the resource with the specified ARN.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { IVSRealTimeClient, UntagResourceCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
27
+ * // const { IVSRealTimeClient, UntagResourceCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
28
+ * const client = new IVSRealTimeClient(config);
29
+ * const command = new UntagResourceCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
34
+ * @returns {@link UntagResourceCommandOutput}
35
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
36
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
37
+ * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
38
+ *
39
+ * @throws {@link InternalServerException} (server fault)
40
+ * <p/>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p/>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p/>
47
+ *
48
+ *
49
+ */
50
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, IVSRealTimeClientResolvedConfig> {
51
+ readonly input: UntagResourceCommandInput;
52
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
53
+ /**
54
+ * @public
55
+ */
56
+ constructor(input: UntagResourceCommandInput);
57
+ /**
58
+ * @internal
59
+ */
60
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IVSRealTimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
61
+ /**
62
+ * @internal
63
+ */
64
+ private serialize;
65
+ /**
66
+ * @internal
67
+ */
68
+ private deserialize;
69
+ }
@@ -0,0 +1,75 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient";
5
+ import { UpdateStageRequest, UpdateStageResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdateStageCommand}.
10
+ */
11
+ export interface UpdateStageCommandInput extends UpdateStageRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdateStageCommand}.
17
+ */
18
+ export interface UpdateStageCommandOutput extends UpdateStageResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Updates a stage’s configuration.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { IVSRealTimeClient, UpdateStageCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import
27
+ * // const { IVSRealTimeClient, UpdateStageCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import
28
+ * const client = new IVSRealTimeClient(config);
29
+ * const command = new UpdateStageCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @param UpdateStageCommandInput - {@link UpdateStageCommandInput}
34
+ * @returns {@link UpdateStageCommandOutput}
35
+ * @see {@link UpdateStageCommandInput} for command's `input` shape.
36
+ * @see {@link UpdateStageCommandOutput} for command's `response` shape.
37
+ * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape.
38
+ *
39
+ * @throws {@link AccessDeniedException} (client fault)
40
+ * <p/>
41
+ *
42
+ * @throws {@link PendingVerification} (client fault)
43
+ * <p/>
44
+ *
45
+ * @throws {@link ResourceNotFoundException} (client fault)
46
+ * <p/>
47
+ *
48
+ * @throws {@link ServiceQuotaExceededException} (client fault)
49
+ * <p/>
50
+ *
51
+ * @throws {@link ValidationException} (client fault)
52
+ * <p/>
53
+ *
54
+ *
55
+ */
56
+ export declare class UpdateStageCommand extends $Command<UpdateStageCommandInput, UpdateStageCommandOutput, IVSRealTimeClientResolvedConfig> {
57
+ readonly input: UpdateStageCommandInput;
58
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
+ /**
60
+ * @public
61
+ */
62
+ constructor(input: UpdateStageCommandInput);
63
+ /**
64
+ * @internal
65
+ */
66
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IVSRealTimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateStageCommandInput, UpdateStageCommandOutput>;
67
+ /**
68
+ * @internal
69
+ */
70
+ private serialize;
71
+ /**
72
+ * @internal
73
+ */
74
+ private deserialize;
75
+ }
@@ -0,0 +1,10 @@
1
+ export * from "./CreateParticipantTokenCommand";
2
+ export * from "./CreateStageCommand";
3
+ export * from "./DeleteStageCommand";
4
+ export * from "./DisconnectParticipantCommand";
5
+ export * from "./GetStageCommand";
6
+ export * from "./ListStagesCommand";
7
+ export * from "./ListTagsForResourceCommand";
8
+ export * from "./TagResourceCommand";
9
+ export * from "./UntagResourceCommand";
10
+ export * from "./UpdateStageCommand";
@@ -0,0 +1,19 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
+ }
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }