@aws-sdk/client-ivs-realtime 3.315.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.
- package/dist-cjs/IVSRealTime.js +14 -140
- package/dist-es/IVSRealTime.js +14 -140
- package/dist-types/IVSRealTime.d.ts +63 -73
- package/dist-types/ts3.4/IVSRealTime.d.ts +4 -1
- package/package.json +6 -6
package/dist-cjs/IVSRealTime.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IVSRealTime = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateParticipantTokenCommand_1 = require("./commands/CreateParticipantTokenCommand");
|
|
5
6
|
const CreateStageCommand_1 = require("./commands/CreateStageCommand");
|
|
6
7
|
const DeleteStageCommand_1 = require("./commands/DeleteStageCommand");
|
|
@@ -12,146 +13,19 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
12
13
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
13
14
|
const UpdateStageCommand_1 = require("./commands/UpdateStageCommand");
|
|
14
15
|
const IVSRealTimeClient_1 = require("./IVSRealTimeClient");
|
|
16
|
+
const commands = {
|
|
17
|
+
CreateParticipantTokenCommand: CreateParticipantTokenCommand_1.CreateParticipantTokenCommand,
|
|
18
|
+
CreateStageCommand: CreateStageCommand_1.CreateStageCommand,
|
|
19
|
+
DeleteStageCommand: DeleteStageCommand_1.DeleteStageCommand,
|
|
20
|
+
DisconnectParticipantCommand: DisconnectParticipantCommand_1.DisconnectParticipantCommand,
|
|
21
|
+
GetStageCommand: GetStageCommand_1.GetStageCommand,
|
|
22
|
+
ListStagesCommand: ListStagesCommand_1.ListStagesCommand,
|
|
23
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
24
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
25
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
26
|
+
UpdateStageCommand: UpdateStageCommand_1.UpdateStageCommand,
|
|
27
|
+
};
|
|
15
28
|
class IVSRealTime extends IVSRealTimeClient_1.IVSRealTimeClient {
|
|
16
|
-
createParticipantToken(args, optionsOrCb, cb) {
|
|
17
|
-
const command = new CreateParticipantTokenCommand_1.CreateParticipantTokenCommand(args);
|
|
18
|
-
if (typeof optionsOrCb === "function") {
|
|
19
|
-
this.send(command, optionsOrCb);
|
|
20
|
-
}
|
|
21
|
-
else if (typeof cb === "function") {
|
|
22
|
-
if (typeof optionsOrCb !== "object")
|
|
23
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
24
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
return this.send(command, optionsOrCb);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
createStage(args, optionsOrCb, cb) {
|
|
31
|
-
const command = new CreateStageCommand_1.CreateStageCommand(args);
|
|
32
|
-
if (typeof optionsOrCb === "function") {
|
|
33
|
-
this.send(command, optionsOrCb);
|
|
34
|
-
}
|
|
35
|
-
else if (typeof cb === "function") {
|
|
36
|
-
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
38
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
return this.send(command, optionsOrCb);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
deleteStage(args, optionsOrCb, cb) {
|
|
45
|
-
const command = new DeleteStageCommand_1.DeleteStageCommand(args);
|
|
46
|
-
if (typeof optionsOrCb === "function") {
|
|
47
|
-
this.send(command, optionsOrCb);
|
|
48
|
-
}
|
|
49
|
-
else if (typeof cb === "function") {
|
|
50
|
-
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
52
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
return this.send(command, optionsOrCb);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
disconnectParticipant(args, optionsOrCb, cb) {
|
|
59
|
-
const command = new DisconnectParticipantCommand_1.DisconnectParticipantCommand(args);
|
|
60
|
-
if (typeof optionsOrCb === "function") {
|
|
61
|
-
this.send(command, optionsOrCb);
|
|
62
|
-
}
|
|
63
|
-
else if (typeof cb === "function") {
|
|
64
|
-
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
66
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
return this.send(command, optionsOrCb);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
getStage(args, optionsOrCb, cb) {
|
|
73
|
-
const command = new GetStageCommand_1.GetStageCommand(args);
|
|
74
|
-
if (typeof optionsOrCb === "function") {
|
|
75
|
-
this.send(command, optionsOrCb);
|
|
76
|
-
}
|
|
77
|
-
else if (typeof cb === "function") {
|
|
78
|
-
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
80
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
return this.send(command, optionsOrCb);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
listStages(args, optionsOrCb, cb) {
|
|
87
|
-
const command = new ListStagesCommand_1.ListStagesCommand(args);
|
|
88
|
-
if (typeof optionsOrCb === "function") {
|
|
89
|
-
this.send(command, optionsOrCb);
|
|
90
|
-
}
|
|
91
|
-
else if (typeof cb === "function") {
|
|
92
|
-
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
return this.send(command, optionsOrCb);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
101
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
102
|
-
if (typeof optionsOrCb === "function") {
|
|
103
|
-
this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
else if (typeof cb === "function") {
|
|
106
|
-
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
tagResource(args, optionsOrCb, cb) {
|
|
115
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
116
|
-
if (typeof optionsOrCb === "function") {
|
|
117
|
-
this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
else if (typeof cb === "function") {
|
|
120
|
-
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
122
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
return this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
untagResource(args, optionsOrCb, cb) {
|
|
129
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
130
|
-
if (typeof optionsOrCb === "function") {
|
|
131
|
-
this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
else if (typeof cb === "function") {
|
|
134
|
-
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
return this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
updateStage(args, optionsOrCb, cb) {
|
|
143
|
-
const command = new UpdateStageCommand_1.UpdateStageCommand(args);
|
|
144
|
-
if (typeof optionsOrCb === "function") {
|
|
145
|
-
this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
else if (typeof cb === "function") {
|
|
148
|
-
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
150
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
return this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
29
|
}
|
|
157
30
|
exports.IVSRealTime = IVSRealTime;
|
|
31
|
+
(0, smithy_client_1.createAggregatedClient)(commands, IVSRealTime);
|
package/dist-es/IVSRealTime.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CreateParticipantTokenCommand, } from "./commands/CreateParticipantTokenCommand";
|
|
2
3
|
import { CreateStageCommand } from "./commands/CreateStageCommand";
|
|
3
4
|
import { DeleteStageCommand } from "./commands/DeleteStageCommand";
|
|
@@ -9,145 +10,18 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
9
10
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
10
11
|
import { UpdateStageCommand } from "./commands/UpdateStageCommand";
|
|
11
12
|
import { IVSRealTimeClient } from "./IVSRealTimeClient";
|
|
13
|
+
const commands = {
|
|
14
|
+
CreateParticipantTokenCommand,
|
|
15
|
+
CreateStageCommand,
|
|
16
|
+
DeleteStageCommand,
|
|
17
|
+
DisconnectParticipantCommand,
|
|
18
|
+
GetStageCommand,
|
|
19
|
+
ListStagesCommand,
|
|
20
|
+
ListTagsForResourceCommand,
|
|
21
|
+
TagResourceCommand,
|
|
22
|
+
UntagResourceCommand,
|
|
23
|
+
UpdateStageCommand,
|
|
24
|
+
};
|
|
12
25
|
export class IVSRealTime extends IVSRealTimeClient {
|
|
13
|
-
createParticipantToken(args, optionsOrCb, cb) {
|
|
14
|
-
const command = new CreateParticipantTokenCommand(args);
|
|
15
|
-
if (typeof optionsOrCb === "function") {
|
|
16
|
-
this.send(command, optionsOrCb);
|
|
17
|
-
}
|
|
18
|
-
else if (typeof cb === "function") {
|
|
19
|
-
if (typeof optionsOrCb !== "object")
|
|
20
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
21
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
return this.send(command, optionsOrCb);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
createStage(args, optionsOrCb, cb) {
|
|
28
|
-
const command = new CreateStageCommand(args);
|
|
29
|
-
if (typeof optionsOrCb === "function") {
|
|
30
|
-
this.send(command, optionsOrCb);
|
|
31
|
-
}
|
|
32
|
-
else if (typeof cb === "function") {
|
|
33
|
-
if (typeof optionsOrCb !== "object")
|
|
34
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
35
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
return this.send(command, optionsOrCb);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
deleteStage(args, optionsOrCb, cb) {
|
|
42
|
-
const command = new DeleteStageCommand(args);
|
|
43
|
-
if (typeof optionsOrCb === "function") {
|
|
44
|
-
this.send(command, optionsOrCb);
|
|
45
|
-
}
|
|
46
|
-
else if (typeof cb === "function") {
|
|
47
|
-
if (typeof optionsOrCb !== "object")
|
|
48
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
49
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
return this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
disconnectParticipant(args, optionsOrCb, cb) {
|
|
56
|
-
const command = new DisconnectParticipantCommand(args);
|
|
57
|
-
if (typeof optionsOrCb === "function") {
|
|
58
|
-
this.send(command, optionsOrCb);
|
|
59
|
-
}
|
|
60
|
-
else if (typeof cb === "function") {
|
|
61
|
-
if (typeof optionsOrCb !== "object")
|
|
62
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
63
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
return this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
getStage(args, optionsOrCb, cb) {
|
|
70
|
-
const command = new GetStageCommand(args);
|
|
71
|
-
if (typeof optionsOrCb === "function") {
|
|
72
|
-
this.send(command, optionsOrCb);
|
|
73
|
-
}
|
|
74
|
-
else if (typeof cb === "function") {
|
|
75
|
-
if (typeof optionsOrCb !== "object")
|
|
76
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
77
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
return this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
listStages(args, optionsOrCb, cb) {
|
|
84
|
-
const command = new ListStagesCommand(args);
|
|
85
|
-
if (typeof optionsOrCb === "function") {
|
|
86
|
-
this.send(command, optionsOrCb);
|
|
87
|
-
}
|
|
88
|
-
else if (typeof cb === "function") {
|
|
89
|
-
if (typeof optionsOrCb !== "object")
|
|
90
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
91
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
return this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
98
|
-
const command = new ListTagsForResourceCommand(args);
|
|
99
|
-
if (typeof optionsOrCb === "function") {
|
|
100
|
-
this.send(command, optionsOrCb);
|
|
101
|
-
}
|
|
102
|
-
else if (typeof cb === "function") {
|
|
103
|
-
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
return this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
tagResource(args, optionsOrCb, cb) {
|
|
112
|
-
const command = new TagResourceCommand(args);
|
|
113
|
-
if (typeof optionsOrCb === "function") {
|
|
114
|
-
this.send(command, optionsOrCb);
|
|
115
|
-
}
|
|
116
|
-
else if (typeof cb === "function") {
|
|
117
|
-
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
119
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
return this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
untagResource(args, optionsOrCb, cb) {
|
|
126
|
-
const command = new UntagResourceCommand(args);
|
|
127
|
-
if (typeof optionsOrCb === "function") {
|
|
128
|
-
this.send(command, optionsOrCb);
|
|
129
|
-
}
|
|
130
|
-
else if (typeof cb === "function") {
|
|
131
|
-
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
return this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
updateStage(args, optionsOrCb, cb) {
|
|
140
|
-
const command = new UpdateStageCommand(args);
|
|
141
|
-
if (typeof optionsOrCb === "function") {
|
|
142
|
-
this.send(command, optionsOrCb);
|
|
143
|
-
}
|
|
144
|
-
else if (typeof cb === "function") {
|
|
145
|
-
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
return this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
26
|
}
|
|
27
|
+
createAggregatedClient(commands, IVSRealTime);
|
|
@@ -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
|
|
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.
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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.
|
|
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.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
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",
|