@aws-sdk/client-chime-sdk-meetings 3.474.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.
@@ -1,88 +1,64 @@
1
- import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
1
+ import { requestBuilder as rb } from "@smithy/core";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { ChimeSDKMeetingsServiceException as __BaseException } from "../models/ChimeSDKMeetingsServiceException";
5
5
  import { BadRequestException, ConflictException, ForbiddenException, LimitExceededException, NotFoundException, ResourceNotFoundException, ServiceFailureException, ServiceUnavailableException, ThrottlingException, TooManyTagsException, UnauthorizedException, UnprocessableEntityException, } from "../models/models_0";
6
6
  export const se_BatchCreateAttendeeCommand = async (input, context) => {
7
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
+ const b = rb(input, context);
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/attendees";
12
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
11
+ b.bp("/meetings/{MeetingId}/attendees");
12
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
13
13
  const query = map({
14
- operation: [, "batch-create"],
14
+ [_o]: [, "batch-create"],
15
15
  });
16
16
  let body;
17
17
  body = JSON.stringify(take(input, {
18
18
  Attendees: (_) => _json(_),
19
19
  }));
20
- return new __HttpRequest({
21
- protocol,
22
- hostname,
23
- port,
24
- method: "POST",
25
- headers,
26
- path: resolvedPath,
27
- query,
28
- body,
29
- });
20
+ b.m("POST").h(headers).q(query).b(body);
21
+ return b.build();
30
22
  };
31
23
  export const se_BatchUpdateAttendeeCapabilitiesExceptCommand = async (input, context) => {
32
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
24
+ const b = rb(input, context);
33
25
  const headers = {
34
26
  "content-type": "application/json",
35
27
  };
36
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
37
- "/meetings/{MeetingId}/attendees/capabilities";
38
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
28
+ b.bp("/meetings/{MeetingId}/attendees/capabilities");
29
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
39
30
  const query = map({
40
- operation: [, "batch-update-except"],
31
+ [_o]: [, "batch-update-except"],
41
32
  });
42
33
  let body;
43
34
  body = JSON.stringify(take(input, {
44
35
  Capabilities: (_) => _json(_),
45
36
  ExcludedAttendeeIds: (_) => _json(_),
46
37
  }));
47
- return new __HttpRequest({
48
- protocol,
49
- hostname,
50
- port,
51
- method: "PUT",
52
- headers,
53
- path: resolvedPath,
54
- query,
55
- body,
56
- });
38
+ b.m("PUT").h(headers).q(query).b(body);
39
+ return b.build();
57
40
  };
58
41
  export const se_CreateAttendeeCommand = async (input, context) => {
59
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
42
+ const b = rb(input, context);
60
43
  const headers = {
61
44
  "content-type": "application/json",
62
45
  };
63
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/attendees";
64
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
46
+ b.bp("/meetings/{MeetingId}/attendees");
47
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
65
48
  let body;
66
49
  body = JSON.stringify(take(input, {
67
50
  Capabilities: (_) => _json(_),
68
51
  ExternalUserId: [],
69
52
  }));
70
- return new __HttpRequest({
71
- protocol,
72
- hostname,
73
- port,
74
- method: "POST",
75
- headers,
76
- path: resolvedPath,
77
- body,
78
- });
53
+ b.m("POST").h(headers).b(body);
54
+ return b.build();
79
55
  };
80
56
  export const se_CreateMeetingCommand = async (input, context) => {
81
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
57
+ const b = rb(input, context);
82
58
  const headers = {
83
59
  "content-type": "application/json",
84
60
  };
85
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings";
61
+ b.bp("/meetings");
86
62
  let body;
87
63
  body = JSON.stringify(take(input, {
88
64
  ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
@@ -95,24 +71,17 @@ export const se_CreateMeetingCommand = async (input, context) => {
95
71
  Tags: (_) => _json(_),
96
72
  TenantIds: (_) => _json(_),
97
73
  }));
98
- return new __HttpRequest({
99
- protocol,
100
- hostname,
101
- port,
102
- method: "POST",
103
- headers,
104
- path: resolvedPath,
105
- body,
106
- });
74
+ b.m("POST").h(headers).b(body);
75
+ return b.build();
107
76
  };
108
77
  export const se_CreateMeetingWithAttendeesCommand = async (input, context) => {
109
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
78
+ const b = rb(input, context);
110
79
  const headers = {
111
80
  "content-type": "application/json",
112
81
  };
113
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings";
82
+ b.bp("/meetings");
114
83
  const query = map({
115
- operation: [, "create-attendees"],
84
+ [_o]: [, "create-attendees"],
116
85
  });
117
86
  let body;
118
87
  body = JSON.stringify(take(input, {
@@ -127,242 +96,148 @@ export const se_CreateMeetingWithAttendeesCommand = async (input, context) => {
127
96
  Tags: (_) => _json(_),
128
97
  TenantIds: (_) => _json(_),
129
98
  }));
130
- return new __HttpRequest({
131
- protocol,
132
- hostname,
133
- port,
134
- method: "POST",
135
- headers,
136
- path: resolvedPath,
137
- query,
138
- body,
139
- });
99
+ b.m("POST").h(headers).q(query).b(body);
100
+ return b.build();
140
101
  };
141
102
  export const se_DeleteAttendeeCommand = async (input, context) => {
142
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
103
+ const b = rb(input, context);
143
104
  const headers = {};
144
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
145
- "/meetings/{MeetingId}/attendees/{AttendeeId}";
146
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
147
- resolvedPath = __resolvedPath(resolvedPath, input, "AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
105
+ b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
106
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
107
+ b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
148
108
  let body;
149
- return new __HttpRequest({
150
- protocol,
151
- hostname,
152
- port,
153
- method: "DELETE",
154
- headers,
155
- path: resolvedPath,
156
- body,
157
- });
109
+ b.m("DELETE").h(headers).b(body);
110
+ return b.build();
158
111
  };
159
112
  export const se_DeleteMeetingCommand = async (input, context) => {
160
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
113
+ const b = rb(input, context);
161
114
  const headers = {};
162
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}";
163
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
115
+ b.bp("/meetings/{MeetingId}");
116
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
164
117
  let body;
165
- return new __HttpRequest({
166
- protocol,
167
- hostname,
168
- port,
169
- method: "DELETE",
170
- headers,
171
- path: resolvedPath,
172
- body,
173
- });
118
+ b.m("DELETE").h(headers).b(body);
119
+ return b.build();
174
120
  };
175
121
  export const se_GetAttendeeCommand = async (input, context) => {
176
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
122
+ const b = rb(input, context);
177
123
  const headers = {};
178
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
179
- "/meetings/{MeetingId}/attendees/{AttendeeId}";
180
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
181
- resolvedPath = __resolvedPath(resolvedPath, input, "AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
124
+ b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}");
125
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
126
+ b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
182
127
  let body;
183
- return new __HttpRequest({
184
- protocol,
185
- hostname,
186
- port,
187
- method: "GET",
188
- headers,
189
- path: resolvedPath,
190
- body,
191
- });
128
+ b.m("GET").h(headers).b(body);
129
+ return b.build();
192
130
  };
193
131
  export const se_GetMeetingCommand = async (input, context) => {
194
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
132
+ const b = rb(input, context);
195
133
  const headers = {};
196
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}";
197
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
134
+ b.bp("/meetings/{MeetingId}");
135
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
198
136
  let body;
199
- return new __HttpRequest({
200
- protocol,
201
- hostname,
202
- port,
203
- method: "GET",
204
- headers,
205
- path: resolvedPath,
206
- body,
207
- });
137
+ b.m("GET").h(headers).b(body);
138
+ return b.build();
208
139
  };
209
140
  export const se_ListAttendeesCommand = async (input, context) => {
210
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
141
+ const b = rb(input, context);
211
142
  const headers = {};
212
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/attendees";
213
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
143
+ b.bp("/meetings/{MeetingId}/attendees");
144
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
214
145
  const query = map({
215
- "next-token": [, input.NextToken],
216
- "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
146
+ [_nt]: [, input[_NT]],
147
+ [_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
217
148
  });
218
149
  let body;
219
- return new __HttpRequest({
220
- protocol,
221
- hostname,
222
- port,
223
- method: "GET",
224
- headers,
225
- path: resolvedPath,
226
- query,
227
- body,
228
- });
150
+ b.m("GET").h(headers).q(query).b(body);
151
+ return b.build();
229
152
  };
230
153
  export const se_ListTagsForResourceCommand = async (input, context) => {
231
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
154
+ const b = rb(input, context);
232
155
  const headers = {};
233
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
156
+ b.bp("/tags");
234
157
  const query = map({
235
- arn: [, __expectNonNull(input.ResourceARN, `ResourceARN`)],
158
+ [_a]: [, __expectNonNull(input[_RARN], `ResourceARN`)],
236
159
  });
237
160
  let body;
238
- return new __HttpRequest({
239
- protocol,
240
- hostname,
241
- port,
242
- method: "GET",
243
- headers,
244
- path: resolvedPath,
245
- query,
246
- body,
247
- });
161
+ b.m("GET").h(headers).q(query).b(body);
162
+ return b.build();
248
163
  };
249
164
  export const se_StartMeetingTranscriptionCommand = async (input, context) => {
250
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
165
+ const b = rb(input, context);
251
166
  const headers = {
252
167
  "content-type": "application/json",
253
168
  };
254
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/transcription";
255
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
169
+ b.bp("/meetings/{MeetingId}/transcription");
170
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
256
171
  const query = map({
257
- operation: [, "start"],
172
+ [_o]: [, "start"],
258
173
  });
259
174
  let body;
260
175
  body = JSON.stringify(take(input, {
261
176
  TranscriptionConfiguration: (_) => _json(_),
262
177
  }));
263
- return new __HttpRequest({
264
- protocol,
265
- hostname,
266
- port,
267
- method: "POST",
268
- headers,
269
- path: resolvedPath,
270
- query,
271
- body,
272
- });
178
+ b.m("POST").h(headers).q(query).b(body);
179
+ return b.build();
273
180
  };
274
181
  export const se_StopMeetingTranscriptionCommand = async (input, context) => {
275
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
182
+ const b = rb(input, context);
276
183
  const headers = {};
277
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/transcription";
278
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
184
+ b.bp("/meetings/{MeetingId}/transcription");
185
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
279
186
  const query = map({
280
- operation: [, "stop"],
187
+ [_o]: [, "stop"],
281
188
  });
282
189
  let body;
283
- return new __HttpRequest({
284
- protocol,
285
- hostname,
286
- port,
287
- method: "POST",
288
- headers,
289
- path: resolvedPath,
290
- query,
291
- body,
292
- });
190
+ b.m("POST").h(headers).q(query).b(body);
191
+ return b.build();
293
192
  };
294
193
  export const se_TagResourceCommand = async (input, context) => {
295
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
194
+ const b = rb(input, context);
296
195
  const headers = {
297
196
  "content-type": "application/json",
298
197
  };
299
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
198
+ b.bp("/tags");
300
199
  const query = map({
301
- operation: [, "tag-resource"],
200
+ [_o]: [, "tag-resource"],
302
201
  });
303
202
  let body;
304
203
  body = JSON.stringify(take(input, {
305
204
  ResourceARN: [],
306
205
  Tags: (_) => _json(_),
307
206
  }));
308
- return new __HttpRequest({
309
- protocol,
310
- hostname,
311
- port,
312
- method: "POST",
313
- headers,
314
- path: resolvedPath,
315
- query,
316
- body,
317
- });
207
+ b.m("POST").h(headers).q(query).b(body);
208
+ return b.build();
318
209
  };
319
210
  export const se_UntagResourceCommand = async (input, context) => {
320
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
211
+ const b = rb(input, context);
321
212
  const headers = {
322
213
  "content-type": "application/json",
323
214
  };
324
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
215
+ b.bp("/tags");
325
216
  const query = map({
326
- operation: [, "untag-resource"],
217
+ [_o]: [, "untag-resource"],
327
218
  });
328
219
  let body;
329
220
  body = JSON.stringify(take(input, {
330
221
  ResourceARN: [],
331
222
  TagKeys: (_) => _json(_),
332
223
  }));
333
- return new __HttpRequest({
334
- protocol,
335
- hostname,
336
- port,
337
- method: "POST",
338
- headers,
339
- path: resolvedPath,
340
- query,
341
- body,
342
- });
224
+ b.m("POST").h(headers).q(query).b(body);
225
+ return b.build();
343
226
  };
344
227
  export const se_UpdateAttendeeCapabilitiesCommand = async (input, context) => {
345
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
228
+ const b = rb(input, context);
346
229
  const headers = {
347
230
  "content-type": "application/json",
348
231
  };
349
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
350
- "/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities";
351
- resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
352
- resolvedPath = __resolvedPath(resolvedPath, input, "AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
232
+ b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities");
233
+ b.p("MeetingId", () => input.MeetingId, "{MeetingId}", false);
234
+ b.p("AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
353
235
  let body;
354
236
  body = JSON.stringify(take(input, {
355
237
  Capabilities: (_) => _json(_),
356
238
  }));
357
- return new __HttpRequest({
358
- protocol,
359
- hostname,
360
- port,
361
- method: "PUT",
362
- headers,
363
- path: resolvedPath,
364
- body,
365
- });
239
+ b.m("PUT").h(headers).b(body);
240
+ return b.build();
366
241
  };
367
242
  export const de_BatchCreateAttendeeCommand = async (output, context) => {
368
243
  if (output.statusCode !== 200 && output.statusCode >= 300) {
@@ -1310,7 +1185,7 @@ const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
1310
1185
  };
1311
1186
  const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
1312
1187
  const contents = map({
1313
- RetryAfterSeconds: [, parsedOutput.headers["retry-after"]],
1188
+ [_RAS]: [, parsedOutput.headers[_ra]],
1314
1189
  });
1315
1190
  const data = parsedOutput.body;
1316
1191
  const doc = take(data, {
@@ -1398,6 +1273,15 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1398
1273
  value !== "" &&
1399
1274
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
1400
1275
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1276
+ const _MR = "MaxResults";
1277
+ const _NT = "NextToken";
1278
+ const _RARN = "ResourceARN";
1279
+ const _RAS = "RetryAfterSeconds";
1280
+ const _a = "arn";
1281
+ const _mr = "max-results";
1282
+ const _nt = "next-token";
1283
+ const _o = "operation";
1284
+ const _ra = "retry-after";
1401
1285
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1402
1286
  if (encoded.length) {
1403
1287
  return JSON.parse(encoded);
@@ -116,7 +116,7 @@ export interface ChimeSDKMeetings {
116
116
  }
117
117
  /**
118
118
  * @public
119
- * <p>The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and
119
+ * <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
120
120
  * receive meeting notifications. For more information about the meeting APIs, see
121
121
  * <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Meetings.html">Amazon Chime SDK meetings</a>.</p>
122
122
  */
@@ -168,7 +168,7 @@ export interface ChimeSDKMeetingsClientResolvedConfig extends ChimeSDKMeetingsCl
168
168
  }
169
169
  /**
170
170
  * @public
171
- * <p>The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and
171
+ * <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
172
172
  * receive meeting notifications. For more information about the meeting APIs, see
173
173
  * <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Meetings.html">Amazon Chime SDK meetings</a>.</p>
174
174
  */
@@ -31,6 +31,14 @@ export interface BatchUpdateAttendeeCapabilitiesExceptCommandOutput extends __Me
31
31
  * <p>When using capabilities, be aware of these corner cases:</p>
32
32
  * <ul>
33
33
  * <li>
34
+ * <p>If you specify <code>MeetingFeatures:Video:MaxResolution:None</code> when you create a meeting, all API requests
35
+ * that include <code>SendReceive</code>, <code>Send</code>, or <code>Receive</code> for <code>AttendeeCapabilities:Video</code> will be rejected with <code>ValidationError 400</code>.</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>If you specify <code>MeetingFeatures:Content:MaxResolution:None</code> when you create a meeting, all API requests that include <code>SendReceive</code>, <code>Send</code>, or
39
+ * <code>Receive</code> for <code>AttendeeCapabilities:Content</code> will be rejected with <code>ValidationError 400</code>.</p>
40
+ * </li>
41
+ * <li>
34
42
  * <p>You can't set <code>content</code> capabilities to <code>SendReceive</code> or <code>Receive</code> unless you also set <code>video</code> capabilities to <code>SendReceive</code>
35
43
  * or <code>Receive</code>. If you don't set the <code>video</code> capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your <code>video</code> capability
36
44
  * to receive and you set your <code>content</code> capability to not receive.</p>
@@ -50,6 +50,15 @@ export interface CreateMeetingCommandOutput extends CreateMeetingResponse, __Met
50
50
  * Audio: { // AudioFeatures
51
51
  * EchoReduction: "AVAILABLE" || "UNAVAILABLE",
52
52
  * },
53
+ * Video: { // VideoFeatures
54
+ * MaxResolution: "None" || "HD" || "FHD",
55
+ * },
56
+ * Content: { // ContentFeatures
57
+ * MaxResolution: "None" || "FHD" || "UHD",
58
+ * },
59
+ * Attendee: { // AttendeeFeatures
60
+ * MaxCount: Number("int"),
61
+ * },
53
62
  * },
54
63
  * PrimaryMeetingId: "STRING_VALUE",
55
64
  * TenantIds: [ // TenantIdList
@@ -84,6 +93,15 @@ export interface CreateMeetingCommandOutput extends CreateMeetingResponse, __Met
84
93
  * // Audio: { // AudioFeatures
85
94
  * // EchoReduction: "AVAILABLE" || "UNAVAILABLE",
86
95
  * // },
96
+ * // Video: { // VideoFeatures
97
+ * // MaxResolution: "None" || "HD" || "FHD",
98
+ * // },
99
+ * // Content: { // ContentFeatures
100
+ * // MaxResolution: "None" || "FHD" || "UHD",
101
+ * // },
102
+ * // Attendee: { // AttendeeFeatures
103
+ * // MaxCount: Number("int"),
104
+ * // },
87
105
  * // },
88
106
  * // PrimaryMeetingId: "STRING_VALUE",
89
107
  * // TenantIds: [ // TenantIdList
@@ -45,6 +45,15 @@ export interface CreateMeetingWithAttendeesCommandOutput extends CreateMeetingWi
45
45
  * Audio: { // AudioFeatures
46
46
  * EchoReduction: "AVAILABLE" || "UNAVAILABLE",
47
47
  * },
48
+ * Video: { // VideoFeatures
49
+ * MaxResolution: "None" || "HD" || "FHD",
50
+ * },
51
+ * Content: { // ContentFeatures
52
+ * MaxResolution: "None" || "FHD" || "UHD",
53
+ * },
54
+ * Attendee: { // AttendeeFeatures
55
+ * MaxCount: Number("int"),
56
+ * },
48
57
  * },
49
58
  * NotificationsConfiguration: { // NotificationsConfiguration
50
59
  * LambdaFunctionArn: "STRING_VALUE",
@@ -94,6 +103,15 @@ export interface CreateMeetingWithAttendeesCommandOutput extends CreateMeetingWi
94
103
  * // Audio: { // AudioFeatures
95
104
  * // EchoReduction: "AVAILABLE" || "UNAVAILABLE",
96
105
  * // },
106
+ * // Video: { // VideoFeatures
107
+ * // MaxResolution: "None" || "HD" || "FHD",
108
+ * // },
109
+ * // Content: { // ContentFeatures
110
+ * // MaxResolution: "None" || "FHD" || "UHD",
111
+ * // },
112
+ * // Attendee: { // AttendeeFeatures
113
+ * // MaxCount: Number("int"),
114
+ * // },
97
115
  * // },
98
116
  * // PrimaryMeetingId: "STRING_VALUE",
99
117
  * // TenantIds: [ // TenantIdList
@@ -57,6 +57,15 @@ export interface GetMeetingCommandOutput extends GetMeetingResponse, __MetadataB
57
57
  * // Audio: { // AudioFeatures
58
58
  * // EchoReduction: "AVAILABLE" || "UNAVAILABLE",
59
59
  * // },
60
+ * // Video: { // VideoFeatures
61
+ * // MaxResolution: "None" || "HD" || "FHD",
62
+ * // },
63
+ * // Content: { // ContentFeatures
64
+ * // MaxResolution: "None" || "FHD" || "UHD",
65
+ * // },
66
+ * // Attendee: { // AttendeeFeatures
67
+ * // MaxCount: Number("int"),
68
+ * // },
60
69
  * // },
61
70
  * // PrimaryMeetingId: "STRING_VALUE",
62
71
  * // TenantIds: [ // TenantIdList
@@ -30,10 +30,14 @@ export interface StartMeetingTranscriptionCommandOutput extends __MetadataBearer
30
30
  * For more information on each parameter and which combinations are valid, refer to the
31
31
  * <a href="https://docs.aws.amazon.com/transcribe/latest/APIReference/API_streaming_StartStreamTranscription.html">StartStreamTranscription</a> API in the
32
32
  * <i>Amazon Transcribe Developer Guide</i>.</p>
33
- * <important>
34
- * <p>Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon Transcribe is subject to the
35
- * <a href="https://aws.amazon.com/service-terms/">AWS Service Terms</a>, including the terms specific to the AWS Machine Learning and Artificial Intelligence Services.</p>
36
- * </important>
33
+ * <note>
34
+ * <p>By default, Amazon Transcribe may use and store audio content processed by the service to develop and improve Amazon Web Services AI/ML services as
35
+ * further described in section 50 of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>. Using Amazon Transcribe
36
+ * may be subject to federal and state laws or regulations regarding the recording or interception of electronic communications. It is your and your end users’
37
+ * responsibility to comply with all applicable laws regarding the recording, including properly notifying all participants in a recorded session or communication
38
+ * that the session or communication is being recorded, and obtaining all necessary consents. You can opt out from Amazon Web Services using audio content to develop and
39
+ * improve AWS AI/ML services by configuring an AI services opt out policy using Amazon Web Services Organizations.</p>
40
+ * </note>
37
41
  * @example
38
42
  * Use a bare-bones client and the command you need to make an API call.
39
43
  * ```javascript
@@ -27,8 +27,12 @@ export interface StopMeetingTranscriptionCommandOutput extends __MetadataBearer
27
27
  * Using Amazon Chime SDK live transcription
28
28
  * </a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>
29
29
  * <important>
30
- * <p>Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon Transcribe is subject to the
31
- * <a href="https://aws.amazon.com/service-terms/">AWS Service Terms</a>, including the terms specific to the AWS Machine Learning and Artificial Intelligence Services.</p>
30
+ * <p>By default, Amazon Transcribe may use and store audio content processed by the service to develop and improve Amazon Web Services AI/ML services as
31
+ * further described in section 50 of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a>. Using Amazon Transcribe
32
+ * may be subject to federal and state laws or regulations regarding the recording or interception of electronic communications. It is your and your end users’
33
+ * responsibility to comply with all applicable laws regarding the recording, including properly notifying all participants in a recorded session or communication
34
+ * that the session or communication is being recorded, and obtaining all necessary consents. You can opt out from Amazon Web Services using audio content to develop and
35
+ * improve Amazon Web Services AI/ML services by configuring an AI services opt out policy using Amazon Web Services Organizations.</p>
32
36
  * </important>
33
37
  * @example
34
38
  * Use a bare-bones client and the command you need to make an API call.
@@ -31,7 +31,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
31
31
  * see the documentation for the service whose resource you want to untag.</p>
32
32
  * </li>
33
33
  * <li>
34
- * <p>You can only tag resources that are located in the specified AWS Region for the calling AWS account.</p>
34
+ * <p>You can only tag resources that are located in the specified Amazon Web Services Region for the calling Amazon Web Services account.</p>
35
35
  * </li>
36
36
  * </ul>
37
37
  * <p>