@aws-sdk/client-ivs-realtime 3.312.0 → 3.316.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.
@@ -10,6 +10,68 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
10
10
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
11
11
  import { UpdateStageCommandInput, UpdateStageCommandOutput } from "./commands/UpdateStageCommand";
12
12
  import { IVSRealTimeClient } from "./IVSRealTimeClient";
13
+ export interface IVSRealTime {
14
+ /**
15
+ * @see {@link CreateParticipantTokenCommand}
16
+ */
17
+ createParticipantToken(args: CreateParticipantTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateParticipantTokenCommandOutput>;
18
+ createParticipantToken(args: CreateParticipantTokenCommandInput, cb: (err: any, data?: CreateParticipantTokenCommandOutput) => void): void;
19
+ createParticipantToken(args: CreateParticipantTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParticipantTokenCommandOutput) => void): void;
20
+ /**
21
+ * @see {@link CreateStageCommand}
22
+ */
23
+ createStage(args: CreateStageCommandInput, options?: __HttpHandlerOptions): Promise<CreateStageCommandOutput>;
24
+ createStage(args: CreateStageCommandInput, cb: (err: any, data?: CreateStageCommandOutput) => void): void;
25
+ createStage(args: CreateStageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStageCommandOutput) => void): void;
26
+ /**
27
+ * @see {@link DeleteStageCommand}
28
+ */
29
+ deleteStage(args: DeleteStageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStageCommandOutput>;
30
+ deleteStage(args: DeleteStageCommandInput, cb: (err: any, data?: DeleteStageCommandOutput) => void): void;
31
+ deleteStage(args: DeleteStageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStageCommandOutput) => void): void;
32
+ /**
33
+ * @see {@link DisconnectParticipantCommand}
34
+ */
35
+ disconnectParticipant(args: DisconnectParticipantCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectParticipantCommandOutput>;
36
+ disconnectParticipant(args: DisconnectParticipantCommandInput, cb: (err: any, data?: DisconnectParticipantCommandOutput) => void): void;
37
+ disconnectParticipant(args: DisconnectParticipantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisconnectParticipantCommandOutput) => void): void;
38
+ /**
39
+ * @see {@link GetStageCommand}
40
+ */
41
+ getStage(args: GetStageCommandInput, options?: __HttpHandlerOptions): Promise<GetStageCommandOutput>;
42
+ getStage(args: GetStageCommandInput, cb: (err: any, data?: GetStageCommandOutput) => void): void;
43
+ getStage(args: GetStageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStageCommandOutput) => void): void;
44
+ /**
45
+ * @see {@link ListStagesCommand}
46
+ */
47
+ listStages(args: ListStagesCommandInput, options?: __HttpHandlerOptions): Promise<ListStagesCommandOutput>;
48
+ listStages(args: ListStagesCommandInput, cb: (err: any, data?: ListStagesCommandOutput) => void): void;
49
+ listStages(args: ListStagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStagesCommandOutput) => void): void;
50
+ /**
51
+ * @see {@link ListTagsForResourceCommand}
52
+ */
53
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
54
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
55
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
56
+ /**
57
+ * @see {@link TagResourceCommand}
58
+ */
59
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
60
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
61
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
62
+ /**
63
+ * @see {@link UntagResourceCommand}
64
+ */
65
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
66
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
67
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
68
+ /**
69
+ * @see {@link UpdateStageCommand}
70
+ */
71
+ updateStage(args: UpdateStageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStageCommandOutput>;
72
+ updateStage(args: UpdateStageCommandInput, cb: (err: any, data?: UpdateStageCommandOutput) => void): void;
73
+ updateStage(args: UpdateStageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStageCommandOutput) => void): void;
74
+ }
13
75
  /**
14
76
  * @public
15
77
  * <p>
@@ -99,77 +161,5 @@ import { IVSRealTimeClient } from "./IVSRealTimeClient";
99
161
  * </li>
100
162
  * </ul>
101
163
  */
102
- export declare class IVSRealTime extends IVSRealTimeClient {
103
- /**
104
- * @public
105
- * <p>Creates an additional token for a specified stage. This can be done after stage creation or when tokens expire.
106
- * Tokens always are scoped to the stage for which they are created.</p>
107
- * <p>Encryption keys are owned by Amazon IVS and never used directly by your application.</p>
108
- */
109
- createParticipantToken(args: CreateParticipantTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateParticipantTokenCommandOutput>;
110
- createParticipantToken(args: CreateParticipantTokenCommandInput, cb: (err: any, data?: CreateParticipantTokenCommandOutput) => void): void;
111
- createParticipantToken(args: CreateParticipantTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParticipantTokenCommandOutput) => void): void;
112
- /**
113
- * @public
114
- * <p>Creates a new stage (and optionally participant tokens).</p>
115
- */
116
- createStage(args: CreateStageCommandInput, options?: __HttpHandlerOptions): Promise<CreateStageCommandOutput>;
117
- createStage(args: CreateStageCommandInput, cb: (err: any, data?: CreateStageCommandOutput) => void): void;
118
- createStage(args: CreateStageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStageCommandOutput) => void): void;
119
- /**
120
- * @public
121
- * <p>Shuts down and deletes the specified stage (disconnecting all participants).</p>
122
- */
123
- deleteStage(args: DeleteStageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStageCommandOutput>;
124
- deleteStage(args: DeleteStageCommandInput, cb: (err: any, data?: DeleteStageCommandOutput) => void): void;
125
- deleteStage(args: DeleteStageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStageCommandOutput) => void): void;
126
- /**
127
- * @public
128
- * <p>Disconnects a specified participant and revokes the participant permanently from a specified stage.</p>
129
- */
130
- disconnectParticipant(args: DisconnectParticipantCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectParticipantCommandOutput>;
131
- disconnectParticipant(args: DisconnectParticipantCommandInput, cb: (err: any, data?: DisconnectParticipantCommandOutput) => void): void;
132
- disconnectParticipant(args: DisconnectParticipantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisconnectParticipantCommandOutput) => void): void;
133
- /**
134
- * @public
135
- * <p>Gets information for the specified stage.</p>
136
- */
137
- getStage(args: GetStageCommandInput, options?: __HttpHandlerOptions): Promise<GetStageCommandOutput>;
138
- getStage(args: GetStageCommandInput, cb: (err: any, data?: GetStageCommandOutput) => void): void;
139
- getStage(args: GetStageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStageCommandOutput) => void): void;
140
- /**
141
- * @public
142
- * <p>Gets summary information about all stages in your account, in the AWS region where the API request is processed.</p>
143
- */
144
- listStages(args: ListStagesCommandInput, options?: __HttpHandlerOptions): Promise<ListStagesCommandOutput>;
145
- listStages(args: ListStagesCommandInput, cb: (err: any, data?: ListStagesCommandOutput) => void): void;
146
- listStages(args: ListStagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStagesCommandOutput) => void): void;
147
- /**
148
- * @public
149
- * <p>Gets information about AWS tags for the specified ARN.</p>
150
- */
151
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
152
- listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
153
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
154
- /**
155
- * @public
156
- * <p>Adds or updates tags for the AWS resource with the specified ARN.</p>
157
- */
158
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
159
- tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
160
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
161
- /**
162
- * @public
163
- * <p>Removes tags from the resource with the specified ARN.</p>
164
- */
165
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
166
- untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
167
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
168
- /**
169
- * @public
170
- * <p>Updates a stage’s configuration.</p>
171
- */
172
- updateStage(args: UpdateStageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStageCommandOutput>;
173
- updateStage(args: UpdateStageCommandInput, cb: (err: any, data?: UpdateStageCommandOutput) => void): void;
174
- updateStage(args: UpdateStageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStageCommandOutput) => void): void;
164
+ export declare class IVSRealTime extends IVSRealTimeClient implements IVSRealTime {
175
165
  }
@@ -40,7 +40,7 @@ import {
40
40
  UpdateStageCommandOutput,
41
41
  } from "./commands/UpdateStageCommand";
42
42
  import { IVSRealTimeClient } from "./IVSRealTimeClient";
43
- export declare class IVSRealTime extends IVSRealTimeClient {
43
+ export interface IVSRealTime {
44
44
  createParticipantToken(
45
45
  args: CreateParticipantTokenCommandInput,
46
46
  options?: __HttpHandlerOptions
@@ -172,3 +172,6 @@ export declare class IVSRealTime extends IVSRealTimeClient {
172
172
  cb: (err: any, data?: UpdateStageCommandOutput) => void
173
173
  ): void;
174
174
  }
175
+ export declare class IVSRealTime
176
+ extends IVSRealTimeClient
177
+ implements IVSRealTime {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivs-realtime",
3
3
  "description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
4
- "version": "3.312.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",