@aws-sdk/client-chime-sdk-meetings 3.476.0 → 3.477.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/README.md +1 -1
- package/dist-cjs/models/models_0.js +11 -1
- package/dist-cjs/protocols/Aws_restJson1.js +99 -215
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +100 -216
- package/dist-types/ChimeSDKMeetings.d.ts +1 -1
- package/dist-types/ChimeSDKMeetingsClient.d.ts +1 -1
- package/dist-types/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.d.ts +8 -0
- package/dist-types/commands/CreateMeetingCommand.d.ts +18 -0
- package/dist-types/commands/CreateMeetingWithAttendeesCommand.d.ts +18 -0
- package/dist-types/commands/GetMeetingCommand.d.ts +9 -0
- package/dist-types/commands/StartMeetingTranscriptionCommand.d.ts +8 -4
- package/dist-types/commands/StopMeetingTranscriptionCommand.d.ts +6 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAttendeeCapabilitiesCommand.d.ts +8 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +152 -14
- package/dist-types/ts3.4/models/models_0.d.ts +26 -0
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript ChimeSDKMeetings Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the
|
|
9
|
+
<p>The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the Amazon Web Services Regions for meetings, create and manage users, and send and
|
|
10
10
|
receive meeting notifications. For more information about the meeting APIs, see
|
|
11
11
|
<a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Meetings.html">Amazon Chime SDK meetings</a>.</p>
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateAttendeeCapabilitiesResponseFilterSensitiveLog = exports.ListAttendeesResponseFilterSensitiveLog = exports.GetMeetingResponseFilterSensitiveLog = exports.GetAttendeeResponseFilterSensitiveLog = exports.CreateMeetingWithAttendeesResponseFilterSensitiveLog = exports.CreateMeetingWithAttendeesRequestFilterSensitiveLog = exports.CreateMeetingResponseFilterSensitiveLog = exports.MeetingFilterSensitiveLog = exports.CreateMeetingRequestFilterSensitiveLog = exports.NotificationsConfigurationFilterSensitiveLog = exports.CreateAttendeeResponseFilterSensitiveLog = exports.CreateAttendeeRequestFilterSensitiveLog = exports.BatchCreateAttendeeResponseFilterSensitiveLog = exports.CreateAttendeeErrorFilterSensitiveLog = exports.BatchCreateAttendeeRequestFilterSensitiveLog = exports.CreateAttendeeRequestItemFilterSensitiveLog = exports.AttendeeFilterSensitiveLog = exports.TooManyTagsException = exports.TranscribeVocabularyFilterMethod = exports.TranscribeRegion = exports.TranscribePartialResultsStability = exports.TranscribeLanguageCode = exports.TranscribeContentRedactionType = exports.TranscribeContentIdentificationType = exports.TranscribeMedicalType = exports.TranscribeMedicalSpecialty = exports.TranscribeMedicalRegion = exports.TranscribeMedicalLanguageCode = exports.TranscribeMedicalContentIdentificationType = exports.ResourceNotFoundException = exports.ConflictException = exports.UnprocessableEntityException = exports.UnauthorizedException = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.LimitExceededException = exports.ForbiddenException = exports.BadRequestException = exports.MeetingFeatureStatus = exports.MediaCapabilities = void 0;
|
|
3
|
+
exports.UpdateAttendeeCapabilitiesResponseFilterSensitiveLog = exports.ListAttendeesResponseFilterSensitiveLog = exports.GetMeetingResponseFilterSensitiveLog = exports.GetAttendeeResponseFilterSensitiveLog = exports.CreateMeetingWithAttendeesResponseFilterSensitiveLog = exports.CreateMeetingWithAttendeesRequestFilterSensitiveLog = exports.CreateMeetingResponseFilterSensitiveLog = exports.MeetingFilterSensitiveLog = exports.CreateMeetingRequestFilterSensitiveLog = exports.NotificationsConfigurationFilterSensitiveLog = exports.CreateAttendeeResponseFilterSensitiveLog = exports.CreateAttendeeRequestFilterSensitiveLog = exports.BatchCreateAttendeeResponseFilterSensitiveLog = exports.CreateAttendeeErrorFilterSensitiveLog = exports.BatchCreateAttendeeRequestFilterSensitiveLog = exports.CreateAttendeeRequestItemFilterSensitiveLog = exports.AttendeeFilterSensitiveLog = exports.TooManyTagsException = exports.TranscribeVocabularyFilterMethod = exports.TranscribeRegion = exports.TranscribePartialResultsStability = exports.TranscribeLanguageCode = exports.TranscribeContentRedactionType = exports.TranscribeContentIdentificationType = exports.TranscribeMedicalType = exports.TranscribeMedicalSpecialty = exports.TranscribeMedicalRegion = exports.TranscribeMedicalLanguageCode = exports.TranscribeMedicalContentIdentificationType = exports.ResourceNotFoundException = exports.VideoResolution = exports.ContentResolution = exports.ConflictException = exports.UnprocessableEntityException = exports.UnauthorizedException = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.LimitExceededException = exports.ForbiddenException = exports.BadRequestException = exports.MeetingFeatureStatus = exports.MediaCapabilities = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const ChimeSDKMeetingsServiceException_1 = require("./ChimeSDKMeetingsServiceException");
|
|
6
6
|
exports.MediaCapabilities = {
|
|
@@ -174,6 +174,16 @@ class ConflictException extends ChimeSDKMeetingsServiceException_1.ChimeSDKMeeti
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
exports.ConflictException = ConflictException;
|
|
177
|
+
exports.ContentResolution = {
|
|
178
|
+
FHD: "FHD",
|
|
179
|
+
NONE: "None",
|
|
180
|
+
UHD: "UHD",
|
|
181
|
+
};
|
|
182
|
+
exports.VideoResolution = {
|
|
183
|
+
FHD: "FHD",
|
|
184
|
+
HD: "HD",
|
|
185
|
+
NONE: "None",
|
|
186
|
+
};
|
|
177
187
|
class ResourceNotFoundException extends ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException {
|
|
178
188
|
constructor(opts) {
|
|
179
189
|
super({
|
|
@@ -1,94 +1,70 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_UpdateAttendeeCapabilitiesCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopMeetingTranscriptionCommand = exports.de_StartMeetingTranscriptionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListAttendeesCommand = exports.de_GetMeetingCommand = exports.de_GetAttendeeCommand = exports.de_DeleteMeetingCommand = exports.de_DeleteAttendeeCommand = exports.de_CreateMeetingWithAttendeesCommand = exports.de_CreateMeetingCommand = exports.de_CreateAttendeeCommand = exports.de_BatchUpdateAttendeeCapabilitiesExceptCommand = exports.de_BatchCreateAttendeeCommand = exports.se_UpdateAttendeeCapabilitiesCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopMeetingTranscriptionCommand = exports.se_StartMeetingTranscriptionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListAttendeesCommand = exports.se_GetMeetingCommand = exports.se_GetAttendeeCommand = exports.se_DeleteMeetingCommand = exports.se_DeleteAttendeeCommand = exports.se_CreateMeetingWithAttendeesCommand = exports.se_CreateMeetingCommand = exports.se_CreateAttendeeCommand = exports.se_BatchUpdateAttendeeCapabilitiesExceptCommand = exports.se_BatchCreateAttendeeCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
7
7
|
const ChimeSDKMeetingsServiceException_1 = require("../models/ChimeSDKMeetingsServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const se_BatchCreateAttendeeCommand = async (input, context) => {
|
|
10
|
-
const
|
|
10
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/json",
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
b.bp("/meetings/{MeetingId}/attendees");
|
|
15
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
16
16
|
const query = (0, smithy_client_1.map)({
|
|
17
|
-
|
|
17
|
+
[_o]: [, "batch-create"],
|
|
18
18
|
});
|
|
19
19
|
let body;
|
|
20
20
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
21
21
|
Attendees: (_) => (0, smithy_client_1._json)(_),
|
|
22
22
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
hostname,
|
|
26
|
-
port,
|
|
27
|
-
method: "POST",
|
|
28
|
-
headers,
|
|
29
|
-
path: resolvedPath,
|
|
30
|
-
query,
|
|
31
|
-
body,
|
|
32
|
-
});
|
|
23
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
24
|
+
return b.build();
|
|
33
25
|
};
|
|
34
26
|
exports.se_BatchCreateAttendeeCommand = se_BatchCreateAttendeeCommand;
|
|
35
27
|
const se_BatchUpdateAttendeeCapabilitiesExceptCommand = async (input, context) => {
|
|
36
|
-
const
|
|
28
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
37
29
|
const headers = {
|
|
38
30
|
"content-type": "application/json",
|
|
39
31
|
};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
32
|
+
b.bp("/meetings/{MeetingId}/attendees/capabilities");
|
|
33
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
43
34
|
const query = (0, smithy_client_1.map)({
|
|
44
|
-
|
|
35
|
+
[_o]: [, "batch-update-except"],
|
|
45
36
|
});
|
|
46
37
|
let body;
|
|
47
38
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
48
39
|
Capabilities: (_) => (0, smithy_client_1._json)(_),
|
|
49
40
|
ExcludedAttendeeIds: (_) => (0, smithy_client_1._json)(_),
|
|
50
41
|
}));
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
hostname,
|
|
54
|
-
port,
|
|
55
|
-
method: "PUT",
|
|
56
|
-
headers,
|
|
57
|
-
path: resolvedPath,
|
|
58
|
-
query,
|
|
59
|
-
body,
|
|
60
|
-
});
|
|
42
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
43
|
+
return b.build();
|
|
61
44
|
};
|
|
62
45
|
exports.se_BatchUpdateAttendeeCapabilitiesExceptCommand = se_BatchUpdateAttendeeCapabilitiesExceptCommand;
|
|
63
46
|
const se_CreateAttendeeCommand = async (input, context) => {
|
|
64
|
-
const
|
|
47
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
65
48
|
const headers = {
|
|
66
49
|
"content-type": "application/json",
|
|
67
50
|
};
|
|
68
|
-
|
|
69
|
-
|
|
51
|
+
b.bp("/meetings/{MeetingId}/attendees");
|
|
52
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
70
53
|
let body;
|
|
71
54
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
72
55
|
Capabilities: (_) => (0, smithy_client_1._json)(_),
|
|
73
56
|
ExternalUserId: [],
|
|
74
57
|
}));
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
hostname,
|
|
78
|
-
port,
|
|
79
|
-
method: "POST",
|
|
80
|
-
headers,
|
|
81
|
-
path: resolvedPath,
|
|
82
|
-
body,
|
|
83
|
-
});
|
|
58
|
+
b.m("POST").h(headers).b(body);
|
|
59
|
+
return b.build();
|
|
84
60
|
};
|
|
85
61
|
exports.se_CreateAttendeeCommand = se_CreateAttendeeCommand;
|
|
86
62
|
const se_CreateMeetingCommand = async (input, context) => {
|
|
87
|
-
const
|
|
63
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
88
64
|
const headers = {
|
|
89
65
|
"content-type": "application/json",
|
|
90
66
|
};
|
|
91
|
-
|
|
67
|
+
b.bp("/meetings");
|
|
92
68
|
let body;
|
|
93
69
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
94
70
|
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -101,25 +77,18 @@ const se_CreateMeetingCommand = async (input, context) => {
|
|
|
101
77
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
102
78
|
TenantIds: (_) => (0, smithy_client_1._json)(_),
|
|
103
79
|
}));
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
hostname,
|
|
107
|
-
port,
|
|
108
|
-
method: "POST",
|
|
109
|
-
headers,
|
|
110
|
-
path: resolvedPath,
|
|
111
|
-
body,
|
|
112
|
-
});
|
|
80
|
+
b.m("POST").h(headers).b(body);
|
|
81
|
+
return b.build();
|
|
113
82
|
};
|
|
114
83
|
exports.se_CreateMeetingCommand = se_CreateMeetingCommand;
|
|
115
84
|
const se_CreateMeetingWithAttendeesCommand = async (input, context) => {
|
|
116
|
-
const
|
|
85
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
117
86
|
const headers = {
|
|
118
87
|
"content-type": "application/json",
|
|
119
88
|
};
|
|
120
|
-
|
|
89
|
+
b.bp("/meetings");
|
|
121
90
|
const query = (0, smithy_client_1.map)({
|
|
122
|
-
|
|
91
|
+
[_o]: [, "create-attendees"],
|
|
123
92
|
});
|
|
124
93
|
let body;
|
|
125
94
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -134,253 +103,159 @@ const se_CreateMeetingWithAttendeesCommand = async (input, context) => {
|
|
|
134
103
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
135
104
|
TenantIds: (_) => (0, smithy_client_1._json)(_),
|
|
136
105
|
}));
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
hostname,
|
|
140
|
-
port,
|
|
141
|
-
method: "POST",
|
|
142
|
-
headers,
|
|
143
|
-
path: resolvedPath,
|
|
144
|
-
query,
|
|
145
|
-
body,
|
|
146
|
-
});
|
|
106
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
107
|
+
return b.build();
|
|
147
108
|
};
|
|
148
109
|
exports.se_CreateMeetingWithAttendeesCommand = se_CreateMeetingWithAttendeesCommand;
|
|
149
110
|
const se_DeleteAttendeeCommand = async (input, context) => {
|
|
150
|
-
const
|
|
111
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
151
112
|
const headers = {};
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
|
|
113
|
+
b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
|
|
114
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
115
|
+
b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
|
|
156
116
|
let body;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
hostname,
|
|
160
|
-
port,
|
|
161
|
-
method: "DELETE",
|
|
162
|
-
headers,
|
|
163
|
-
path: resolvedPath,
|
|
164
|
-
body,
|
|
165
|
-
});
|
|
117
|
+
b.m("DELETE").h(headers).b(body);
|
|
118
|
+
return b.build();
|
|
166
119
|
};
|
|
167
120
|
exports.se_DeleteAttendeeCommand = se_DeleteAttendeeCommand;
|
|
168
121
|
const se_DeleteMeetingCommand = async (input, context) => {
|
|
169
|
-
const
|
|
122
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
170
123
|
const headers = {};
|
|
171
|
-
|
|
172
|
-
|
|
124
|
+
b.bp("/meetings/{MeetingId}");
|
|
125
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
173
126
|
let body;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
hostname,
|
|
177
|
-
port,
|
|
178
|
-
method: "DELETE",
|
|
179
|
-
headers,
|
|
180
|
-
path: resolvedPath,
|
|
181
|
-
body,
|
|
182
|
-
});
|
|
127
|
+
b.m("DELETE").h(headers).b(body);
|
|
128
|
+
return b.build();
|
|
183
129
|
};
|
|
184
130
|
exports.se_DeleteMeetingCommand = se_DeleteMeetingCommand;
|
|
185
131
|
const se_GetAttendeeCommand = async (input, context) => {
|
|
186
|
-
const
|
|
132
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
187
133
|
const headers = {};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
|
|
134
|
+
b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
|
|
135
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
136
|
+
b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
|
|
192
137
|
let body;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
hostname,
|
|
196
|
-
port,
|
|
197
|
-
method: "GET",
|
|
198
|
-
headers,
|
|
199
|
-
path: resolvedPath,
|
|
200
|
-
body,
|
|
201
|
-
});
|
|
138
|
+
b.m("GET").h(headers).b(body);
|
|
139
|
+
return b.build();
|
|
202
140
|
};
|
|
203
141
|
exports.se_GetAttendeeCommand = se_GetAttendeeCommand;
|
|
204
142
|
const se_GetMeetingCommand = async (input, context) => {
|
|
205
|
-
const
|
|
143
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
206
144
|
const headers = {};
|
|
207
|
-
|
|
208
|
-
|
|
145
|
+
b.bp("/meetings/{MeetingId}");
|
|
146
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
209
147
|
let body;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
hostname,
|
|
213
|
-
port,
|
|
214
|
-
method: "GET",
|
|
215
|
-
headers,
|
|
216
|
-
path: resolvedPath,
|
|
217
|
-
body,
|
|
218
|
-
});
|
|
148
|
+
b.m("GET").h(headers).b(body);
|
|
149
|
+
return b.build();
|
|
219
150
|
};
|
|
220
151
|
exports.se_GetMeetingCommand = se_GetMeetingCommand;
|
|
221
152
|
const se_ListAttendeesCommand = async (input, context) => {
|
|
222
|
-
const
|
|
153
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
223
154
|
const headers = {};
|
|
224
|
-
|
|
225
|
-
|
|
155
|
+
b.bp("/meetings/{MeetingId}/attendees");
|
|
156
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
226
157
|
const query = (0, smithy_client_1.map)({
|
|
227
|
-
|
|
228
|
-
|
|
158
|
+
[_nt]: [, input[_NT]],
|
|
159
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
229
160
|
});
|
|
230
161
|
let body;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
hostname,
|
|
234
|
-
port,
|
|
235
|
-
method: "GET",
|
|
236
|
-
headers,
|
|
237
|
-
path: resolvedPath,
|
|
238
|
-
query,
|
|
239
|
-
body,
|
|
240
|
-
});
|
|
162
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
163
|
+
return b.build();
|
|
241
164
|
};
|
|
242
165
|
exports.se_ListAttendeesCommand = se_ListAttendeesCommand;
|
|
243
166
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
244
|
-
const
|
|
167
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
245
168
|
const headers = {};
|
|
246
|
-
|
|
169
|
+
b.bp("/tags");
|
|
247
170
|
const query = (0, smithy_client_1.map)({
|
|
248
|
-
|
|
171
|
+
[_a]: [, (0, smithy_client_1.expectNonNull)(input[_RARN], `ResourceARN`)],
|
|
249
172
|
});
|
|
250
173
|
let body;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
hostname,
|
|
254
|
-
port,
|
|
255
|
-
method: "GET",
|
|
256
|
-
headers,
|
|
257
|
-
path: resolvedPath,
|
|
258
|
-
query,
|
|
259
|
-
body,
|
|
260
|
-
});
|
|
174
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
175
|
+
return b.build();
|
|
261
176
|
};
|
|
262
177
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
263
178
|
const se_StartMeetingTranscriptionCommand = async (input, context) => {
|
|
264
|
-
const
|
|
179
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
265
180
|
const headers = {
|
|
266
181
|
"content-type": "application/json",
|
|
267
182
|
};
|
|
268
|
-
|
|
269
|
-
|
|
183
|
+
b.bp("/meetings/{MeetingId}/transcription");
|
|
184
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
270
185
|
const query = (0, smithy_client_1.map)({
|
|
271
|
-
|
|
186
|
+
[_o]: [, "start"],
|
|
272
187
|
});
|
|
273
188
|
let body;
|
|
274
189
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
275
190
|
TranscriptionConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
276
191
|
}));
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
hostname,
|
|
280
|
-
port,
|
|
281
|
-
method: "POST",
|
|
282
|
-
headers,
|
|
283
|
-
path: resolvedPath,
|
|
284
|
-
query,
|
|
285
|
-
body,
|
|
286
|
-
});
|
|
192
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
193
|
+
return b.build();
|
|
287
194
|
};
|
|
288
195
|
exports.se_StartMeetingTranscriptionCommand = se_StartMeetingTranscriptionCommand;
|
|
289
196
|
const se_StopMeetingTranscriptionCommand = async (input, context) => {
|
|
290
|
-
const
|
|
197
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
291
198
|
const headers = {};
|
|
292
|
-
|
|
293
|
-
|
|
199
|
+
b.bp("/meetings/{MeetingId}/transcription");
|
|
200
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
294
201
|
const query = (0, smithy_client_1.map)({
|
|
295
|
-
|
|
202
|
+
[_o]: [, "stop"],
|
|
296
203
|
});
|
|
297
204
|
let body;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
hostname,
|
|
301
|
-
port,
|
|
302
|
-
method: "POST",
|
|
303
|
-
headers,
|
|
304
|
-
path: resolvedPath,
|
|
305
|
-
query,
|
|
306
|
-
body,
|
|
307
|
-
});
|
|
205
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
206
|
+
return b.build();
|
|
308
207
|
};
|
|
309
208
|
exports.se_StopMeetingTranscriptionCommand = se_StopMeetingTranscriptionCommand;
|
|
310
209
|
const se_TagResourceCommand = async (input, context) => {
|
|
311
|
-
const
|
|
210
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
312
211
|
const headers = {
|
|
313
212
|
"content-type": "application/json",
|
|
314
213
|
};
|
|
315
|
-
|
|
214
|
+
b.bp("/tags");
|
|
316
215
|
const query = (0, smithy_client_1.map)({
|
|
317
|
-
|
|
216
|
+
[_o]: [, "tag-resource"],
|
|
318
217
|
});
|
|
319
218
|
let body;
|
|
320
219
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
321
220
|
ResourceARN: [],
|
|
322
221
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
323
222
|
}));
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
hostname,
|
|
327
|
-
port,
|
|
328
|
-
method: "POST",
|
|
329
|
-
headers,
|
|
330
|
-
path: resolvedPath,
|
|
331
|
-
query,
|
|
332
|
-
body,
|
|
333
|
-
});
|
|
223
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
224
|
+
return b.build();
|
|
334
225
|
};
|
|
335
226
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
336
227
|
const se_UntagResourceCommand = async (input, context) => {
|
|
337
|
-
const
|
|
228
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
338
229
|
const headers = {
|
|
339
230
|
"content-type": "application/json",
|
|
340
231
|
};
|
|
341
|
-
|
|
232
|
+
b.bp("/tags");
|
|
342
233
|
const query = (0, smithy_client_1.map)({
|
|
343
|
-
|
|
234
|
+
[_o]: [, "untag-resource"],
|
|
344
235
|
});
|
|
345
236
|
let body;
|
|
346
237
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
347
238
|
ResourceARN: [],
|
|
348
239
|
TagKeys: (_) => (0, smithy_client_1._json)(_),
|
|
349
240
|
}));
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
hostname,
|
|
353
|
-
port,
|
|
354
|
-
method: "POST",
|
|
355
|
-
headers,
|
|
356
|
-
path: resolvedPath,
|
|
357
|
-
query,
|
|
358
|
-
body,
|
|
359
|
-
});
|
|
241
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
242
|
+
return b.build();
|
|
360
243
|
};
|
|
361
244
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
362
245
|
const se_UpdateAttendeeCapabilitiesCommand = async (input, context) => {
|
|
363
|
-
const
|
|
246
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
364
247
|
const headers = {
|
|
365
248
|
"content-type": "application/json",
|
|
366
249
|
};
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
|
|
250
|
+
b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities");
|
|
251
|
+
b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
|
|
252
|
+
b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
|
|
371
253
|
let body;
|
|
372
254
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
373
255
|
Capabilities: (_) => (0, smithy_client_1._json)(_),
|
|
374
256
|
}));
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
hostname,
|
|
378
|
-
port,
|
|
379
|
-
method: "PUT",
|
|
380
|
-
headers,
|
|
381
|
-
path: resolvedPath,
|
|
382
|
-
body,
|
|
383
|
-
});
|
|
257
|
+
b.m("PUT").h(headers).b(body);
|
|
258
|
+
return b.build();
|
|
384
259
|
};
|
|
385
260
|
exports.se_UpdateAttendeeCapabilitiesCommand = se_UpdateAttendeeCapabilitiesCommand;
|
|
386
261
|
const de_BatchCreateAttendeeCommand = async (output, context) => {
|
|
@@ -1345,7 +1220,7 @@ const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
|
|
|
1345
1220
|
};
|
|
1346
1221
|
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1347
1222
|
const contents = (0, smithy_client_1.map)({
|
|
1348
|
-
|
|
1223
|
+
[_RAS]: [, parsedOutput.headers[_ra]],
|
|
1349
1224
|
});
|
|
1350
1225
|
const data = parsedOutput.body;
|
|
1351
1226
|
const doc = (0, smithy_client_1.take)(data, {
|
|
@@ -1433,6 +1308,15 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1433
1308
|
value !== "" &&
|
|
1434
1309
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1435
1310
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1311
|
+
const _MR = "MaxResults";
|
|
1312
|
+
const _NT = "NextToken";
|
|
1313
|
+
const _RARN = "ResourceARN";
|
|
1314
|
+
const _RAS = "RetryAfterSeconds";
|
|
1315
|
+
const _a = "arn";
|
|
1316
|
+
const _mr = "max-results";
|
|
1317
|
+
const _nt = "next-token";
|
|
1318
|
+
const _o = "operation";
|
|
1319
|
+
const _ra = "retry-after";
|
|
1436
1320
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1437
1321
|
if (encoded.length) {
|
|
1438
1322
|
return JSON.parse(encoded);
|
|
@@ -161,6 +161,16 @@ export class ConflictException extends __BaseException {
|
|
|
161
161
|
this.RequestId = opts.RequestId;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
+
export const ContentResolution = {
|
|
165
|
+
FHD: "FHD",
|
|
166
|
+
NONE: "None",
|
|
167
|
+
UHD: "UHD",
|
|
168
|
+
};
|
|
169
|
+
export const VideoResolution = {
|
|
170
|
+
FHD: "FHD",
|
|
171
|
+
HD: "HD",
|
|
172
|
+
NONE: "None",
|
|
173
|
+
};
|
|
164
174
|
export class ResourceNotFoundException extends __BaseException {
|
|
165
175
|
constructor(opts) {
|
|
166
176
|
super({
|