@aws-sdk/client-chime-sdk-meetings 3.142.0 → 3.144.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/CHANGELOG.md +11 -0
- package/dist-cjs/ChimeSDKMeetings.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +64 -2
- package/dist-cjs/protocols/Aws_restJson1.js +260 -1
- package/dist-es/ChimeSDKMeetings.js +45 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +39 -0
- package/dist-es/protocols/Aws_restJson1.js +333 -5
- package/dist-types/ChimeSDKMeetings.d.ts +46 -0
- package/dist-types/ChimeSDKMeetingsClient.d.ts +5 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +60 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +181 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/ChimeSDKMeetings.d.ts +15 -0
- package/dist-types/ts3.4/ChimeSDKMeetingsClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +80 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.144.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.143.0...v3.144.0) (2022-08-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-chime-sdk-meetings:** Adds support for Tags on Amazon Chime SDK WebRTC sessions ([889af85](https://github.com/aws/aws-sdk-js-v3/commit/889af8589ed9523bd89f9c9c202455406d21c8c3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -12,8 +12,11 @@ const DeleteMeetingCommand_1 = require("./commands/DeleteMeetingCommand");
|
|
|
12
12
|
const GetAttendeeCommand_1 = require("./commands/GetAttendeeCommand");
|
|
13
13
|
const GetMeetingCommand_1 = require("./commands/GetMeetingCommand");
|
|
14
14
|
const ListAttendeesCommand_1 = require("./commands/ListAttendeesCommand");
|
|
15
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
15
16
|
const StartMeetingTranscriptionCommand_1 = require("./commands/StartMeetingTranscriptionCommand");
|
|
16
17
|
const StopMeetingTranscriptionCommand_1 = require("./commands/StopMeetingTranscriptionCommand");
|
|
18
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
19
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
17
20
|
const UpdateAttendeeCapabilitiesCommand_1 = require("./commands/UpdateAttendeeCapabilitiesCommand");
|
|
18
21
|
class ChimeSDKMeetings extends ChimeSDKMeetingsClient_1.ChimeSDKMeetingsClient {
|
|
19
22
|
batchCreateAttendee(args, optionsOrCb, cb) {
|
|
@@ -156,6 +159,20 @@ class ChimeSDKMeetings extends ChimeSDKMeetingsClient_1.ChimeSDKMeetingsClient {
|
|
|
156
159
|
return this.send(command, optionsOrCb);
|
|
157
160
|
}
|
|
158
161
|
}
|
|
162
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
163
|
+
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
164
|
+
if (typeof optionsOrCb === "function") {
|
|
165
|
+
this.send(command, optionsOrCb);
|
|
166
|
+
}
|
|
167
|
+
else if (typeof cb === "function") {
|
|
168
|
+
if (typeof optionsOrCb !== "object")
|
|
169
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
170
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
return this.send(command, optionsOrCb);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
159
176
|
startMeetingTranscription(args, optionsOrCb, cb) {
|
|
160
177
|
const command = new StartMeetingTranscriptionCommand_1.StartMeetingTranscriptionCommand(args);
|
|
161
178
|
if (typeof optionsOrCb === "function") {
|
|
@@ -184,6 +201,34 @@ class ChimeSDKMeetings extends ChimeSDKMeetingsClient_1.ChimeSDKMeetingsClient {
|
|
|
184
201
|
return this.send(command, optionsOrCb);
|
|
185
202
|
}
|
|
186
203
|
}
|
|
204
|
+
tagResource(args, optionsOrCb, cb) {
|
|
205
|
+
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
206
|
+
if (typeof optionsOrCb === "function") {
|
|
207
|
+
this.send(command, optionsOrCb);
|
|
208
|
+
}
|
|
209
|
+
else if (typeof cb === "function") {
|
|
210
|
+
if (typeof optionsOrCb !== "object")
|
|
211
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
212
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
return this.send(command, optionsOrCb);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
untagResource(args, optionsOrCb, cb) {
|
|
219
|
+
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
220
|
+
if (typeof optionsOrCb === "function") {
|
|
221
|
+
this.send(command, optionsOrCb);
|
|
222
|
+
}
|
|
223
|
+
else if (typeof cb === "function") {
|
|
224
|
+
if (typeof optionsOrCb !== "object")
|
|
225
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
226
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
return this.send(command, optionsOrCb);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
187
232
|
updateAttendeeCapabilities(args, optionsOrCb, cb) {
|
|
188
233
|
const command = new UpdateAttendeeCapabilitiesCommand_1.UpdateAttendeeCapabilitiesCommand(args);
|
|
189
234
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTagsForResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ChimeSDKMeetingsClient";
|
|
18
|
+
const commandName = "ListTagsForResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class TagResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ChimeSDKMeetingsClient";
|
|
18
|
+
const commandName = "TagResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.TagResourceRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.TagResourceResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UntagResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ChimeSDKMeetingsClient";
|
|
18
|
+
const commandName = "UntagResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UntagResourceRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UntagResourceResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -11,6 +11,9 @@ tslib_1.__exportStar(require("./DeleteMeetingCommand"), exports);
|
|
|
11
11
|
tslib_1.__exportStar(require("./GetAttendeeCommand"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./GetMeetingCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./ListAttendeesCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./StartMeetingTranscriptionCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./StopMeetingTranscriptionCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
16
19
|
tslib_1.__exportStar(require("./UpdateAttendeeCapabilitiesCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateAttendeeCapabilitiesResponseFilterSensitiveLog = exports.UpdateAttendeeCapabilitiesRequestFilterSensitiveLog = exports.StopMeetingTranscriptionRequestFilterSensitiveLog = exports.StartMeetingTranscriptionRequestFilterSensitiveLog = exports.TranscriptionConfigurationFilterSensitiveLog = exports.EngineTranscribeSettingsFilterSensitiveLog = exports.EngineTranscribeMedicalSettingsFilterSensitiveLog = void 0;
|
|
3
|
+
exports.GetMeetingRequestFilterSensitiveLog = exports.GetAttendeeResponseFilterSensitiveLog = exports.GetAttendeeRequestFilterSensitiveLog = exports.DeleteMeetingRequestFilterSensitiveLog = exports.DeleteAttendeeRequestFilterSensitiveLog = exports.CreateMeetingWithAttendeesResponseFilterSensitiveLog = exports.CreateMeetingWithAttendeesRequestFilterSensitiveLog = exports.CreateMeetingResponseFilterSensitiveLog = exports.MeetingFilterSensitiveLog = exports.MediaPlacementFilterSensitiveLog = exports.CreateMeetingRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.NotificationsConfigurationFilterSensitiveLog = exports.MeetingFeaturesConfigurationFilterSensitiveLog = exports.CreateAttendeeResponseFilterSensitiveLog = exports.CreateAttendeeRequestFilterSensitiveLog = exports.BatchUpdateAttendeeCapabilitiesExceptRequestFilterSensitiveLog = exports.BatchCreateAttendeeResponseFilterSensitiveLog = exports.CreateAttendeeErrorFilterSensitiveLog = exports.BatchCreateAttendeeRequestFilterSensitiveLog = exports.CreateAttendeeRequestItemFilterSensitiveLog = exports.AudioFeaturesFilterSensitiveLog = exports.AttendeeIdItemFilterSensitiveLog = exports.AttendeeFilterSensitiveLog = exports.AttendeeCapabilitiesFilterSensitiveLog = 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;
|
|
4
|
+
exports.UpdateAttendeeCapabilitiesResponseFilterSensitiveLog = exports.UpdateAttendeeCapabilitiesRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopMeetingTranscriptionRequestFilterSensitiveLog = exports.StartMeetingTranscriptionRequestFilterSensitiveLog = exports.TranscriptionConfigurationFilterSensitiveLog = exports.EngineTranscribeSettingsFilterSensitiveLog = exports.EngineTranscribeMedicalSettingsFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListAttendeesResponseFilterSensitiveLog = exports.ListAttendeesRequestFilterSensitiveLog = exports.GetMeetingResponseFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const ChimeSDKMeetingsServiceException_1 = require("./ChimeSDKMeetingsServiceException");
|
|
7
7
|
var MediaCapabilities;
|
|
@@ -177,6 +177,23 @@ class ConflictException extends ChimeSDKMeetingsServiceException_1.ChimeSDKMeeti
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
exports.ConflictException = ConflictException;
|
|
180
|
+
class ResourceNotFoundException extends ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException {
|
|
181
|
+
constructor(opts) {
|
|
182
|
+
super({
|
|
183
|
+
name: "ResourceNotFoundException",
|
|
184
|
+
$fault: "client",
|
|
185
|
+
...opts,
|
|
186
|
+
});
|
|
187
|
+
this.name = "ResourceNotFoundException";
|
|
188
|
+
this.$fault = "client";
|
|
189
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
190
|
+
this.Code = opts.Code;
|
|
191
|
+
this.Message = opts.Message;
|
|
192
|
+
this.RequestId = opts.RequestId;
|
|
193
|
+
this.ResourceName = opts.ResourceName;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
180
197
|
var TranscribeMedicalContentIdentificationType;
|
|
181
198
|
(function (TranscribeMedicalContentIdentificationType) {
|
|
182
199
|
TranscribeMedicalContentIdentificationType["PHI"] = "PHI";
|
|
@@ -260,6 +277,23 @@ var TranscribeVocabularyFilterMethod;
|
|
|
260
277
|
TranscribeVocabularyFilterMethod["REMOVE"] = "remove";
|
|
261
278
|
TranscribeVocabularyFilterMethod["TAG"] = "tag";
|
|
262
279
|
})(TranscribeVocabularyFilterMethod = exports.TranscribeVocabularyFilterMethod || (exports.TranscribeVocabularyFilterMethod = {}));
|
|
280
|
+
class TooManyTagsException extends ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException {
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "TooManyTagsException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts,
|
|
286
|
+
});
|
|
287
|
+
this.name = "TooManyTagsException";
|
|
288
|
+
this.$fault = "client";
|
|
289
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
290
|
+
this.Code = opts.Code;
|
|
291
|
+
this.Message = opts.Message;
|
|
292
|
+
this.RequestId = opts.RequestId;
|
|
293
|
+
this.ResourceName = opts.ResourceName;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
263
297
|
const AttendeeCapabilitiesFilterSensitiveLog = (obj) => ({
|
|
264
298
|
...obj,
|
|
265
299
|
});
|
|
@@ -324,6 +358,10 @@ const NotificationsConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
324
358
|
...(obj.SqsQueueArn && { SqsQueueArn: smithy_client_1.SENSITIVE_STRING }),
|
|
325
359
|
});
|
|
326
360
|
exports.NotificationsConfigurationFilterSensitiveLog = NotificationsConfigurationFilterSensitiveLog;
|
|
361
|
+
const TagFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
});
|
|
364
|
+
exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
|
|
327
365
|
const CreateMeetingRequestFilterSensitiveLog = (obj) => ({
|
|
328
366
|
...obj,
|
|
329
367
|
...(obj.ClientRequestToken && { ClientRequestToken: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -402,6 +440,14 @@ const ListAttendeesResponseFilterSensitiveLog = (obj) => ({
|
|
|
402
440
|
...(obj.Attendees && { Attendees: obj.Attendees.map((item) => (0, exports.AttendeeFilterSensitiveLog)(item)) }),
|
|
403
441
|
});
|
|
404
442
|
exports.ListAttendeesResponseFilterSensitiveLog = ListAttendeesResponseFilterSensitiveLog;
|
|
443
|
+
const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
444
|
+
...obj,
|
|
445
|
+
});
|
|
446
|
+
exports.ListTagsForResourceRequestFilterSensitiveLog = ListTagsForResourceRequestFilterSensitiveLog;
|
|
447
|
+
const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
448
|
+
...obj,
|
|
449
|
+
});
|
|
450
|
+
exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
|
|
405
451
|
const EngineTranscribeMedicalSettingsFilterSensitiveLog = (obj) => ({
|
|
406
452
|
...obj,
|
|
407
453
|
});
|
|
@@ -422,6 +468,22 @@ const StopMeetingTranscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
|
422
468
|
...obj,
|
|
423
469
|
});
|
|
424
470
|
exports.StopMeetingTranscriptionRequestFilterSensitiveLog = StopMeetingTranscriptionRequestFilterSensitiveLog;
|
|
471
|
+
const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
472
|
+
...obj,
|
|
473
|
+
});
|
|
474
|
+
exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
|
|
475
|
+
const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
476
|
+
...obj,
|
|
477
|
+
});
|
|
478
|
+
exports.TagResourceResponseFilterSensitiveLog = TagResourceResponseFilterSensitiveLog;
|
|
479
|
+
const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
480
|
+
...obj,
|
|
481
|
+
});
|
|
482
|
+
exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
|
|
483
|
+
const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
484
|
+
...obj,
|
|
485
|
+
});
|
|
486
|
+
exports.UntagResourceResponseFilterSensitiveLog = UntagResourceResponseFilterSensitiveLog;
|
|
425
487
|
const UpdateAttendeeCapabilitiesRequestFilterSensitiveLog = (obj) => ({
|
|
426
488
|
...obj,
|
|
427
489
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deserializeAws_restJson1UpdateAttendeeCapabilitiesCommand = exports.deserializeAws_restJson1StopMeetingTranscriptionCommand = exports.deserializeAws_restJson1StartMeetingTranscriptionCommand = exports.deserializeAws_restJson1ListAttendeesCommand = exports.deserializeAws_restJson1GetMeetingCommand = exports.deserializeAws_restJson1GetAttendeeCommand = exports.deserializeAws_restJson1DeleteMeetingCommand = exports.deserializeAws_restJson1DeleteAttendeeCommand = exports.deserializeAws_restJson1CreateMeetingWithAttendeesCommand = exports.deserializeAws_restJson1CreateMeetingCommand = exports.deserializeAws_restJson1CreateAttendeeCommand = exports.deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = exports.deserializeAws_restJson1BatchCreateAttendeeCommand = exports.serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = exports.serializeAws_restJson1StopMeetingTranscriptionCommand = exports.serializeAws_restJson1StartMeetingTranscriptionCommand = exports.serializeAws_restJson1ListAttendeesCommand = exports.serializeAws_restJson1GetMeetingCommand = exports.serializeAws_restJson1GetAttendeeCommand = exports.serializeAws_restJson1DeleteMeetingCommand = exports.serializeAws_restJson1DeleteAttendeeCommand = exports.serializeAws_restJson1CreateMeetingWithAttendeesCommand = exports.serializeAws_restJson1CreateMeetingCommand = exports.serializeAws_restJson1CreateAttendeeCommand = exports.serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = exports.serializeAws_restJson1BatchCreateAttendeeCommand = void 0;
|
|
3
|
+
exports.deserializeAws_restJson1UpdateAttendeeCapabilitiesCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopMeetingTranscriptionCommand = exports.deserializeAws_restJson1StartMeetingTranscriptionCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListAttendeesCommand = exports.deserializeAws_restJson1GetMeetingCommand = exports.deserializeAws_restJson1GetAttendeeCommand = exports.deserializeAws_restJson1DeleteMeetingCommand = exports.deserializeAws_restJson1DeleteAttendeeCommand = exports.deserializeAws_restJson1CreateMeetingWithAttendeesCommand = exports.deserializeAws_restJson1CreateMeetingCommand = exports.deserializeAws_restJson1CreateAttendeeCommand = exports.deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = exports.deserializeAws_restJson1BatchCreateAttendeeCommand = exports.serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopMeetingTranscriptionCommand = exports.serializeAws_restJson1StartMeetingTranscriptionCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListAttendeesCommand = exports.serializeAws_restJson1GetMeetingCommand = exports.serializeAws_restJson1GetAttendeeCommand = exports.serializeAws_restJson1DeleteMeetingCommand = exports.serializeAws_restJson1DeleteAttendeeCommand = exports.serializeAws_restJson1CreateMeetingWithAttendeesCommand = exports.serializeAws_restJson1CreateMeetingCommand = exports.serializeAws_restJson1CreateAttendeeCommand = exports.serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = exports.serializeAws_restJson1BatchCreateAttendeeCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
@@ -111,6 +111,7 @@ const serializeAws_restJson1CreateMeetingCommand = async (input, context) => {
|
|
|
111
111
|
NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
|
|
112
112
|
}),
|
|
113
113
|
...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
|
|
114
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
114
115
|
...(input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
|
|
115
116
|
});
|
|
116
117
|
return new protocol_http_1.HttpRequest({
|
|
@@ -150,6 +151,7 @@ const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (input, co
|
|
|
150
151
|
NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
|
|
151
152
|
}),
|
|
152
153
|
...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
|
|
154
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
153
155
|
...(input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
|
|
154
156
|
});
|
|
155
157
|
return new protocol_http_1.HttpRequest({
|
|
@@ -258,6 +260,26 @@ const serializeAws_restJson1ListAttendeesCommand = async (input, context) => {
|
|
|
258
260
|
});
|
|
259
261
|
};
|
|
260
262
|
exports.serializeAws_restJson1ListAttendeesCommand = serializeAws_restJson1ListAttendeesCommand;
|
|
263
|
+
const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
|
|
264
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
265
|
+
const headers = {};
|
|
266
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
267
|
+
const query = map({
|
|
268
|
+
arn: [, input.ResourceARN],
|
|
269
|
+
});
|
|
270
|
+
let body;
|
|
271
|
+
return new protocol_http_1.HttpRequest({
|
|
272
|
+
protocol,
|
|
273
|
+
hostname,
|
|
274
|
+
port,
|
|
275
|
+
method: "GET",
|
|
276
|
+
headers,
|
|
277
|
+
path: resolvedPath,
|
|
278
|
+
query,
|
|
279
|
+
body,
|
|
280
|
+
});
|
|
281
|
+
};
|
|
282
|
+
exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
|
|
261
283
|
const serializeAws_restJson1StartMeetingTranscriptionCommand = async (input, context) => {
|
|
262
284
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
263
285
|
const headers = {
|
|
@@ -307,6 +329,58 @@ const serializeAws_restJson1StopMeetingTranscriptionCommand = async (input, cont
|
|
|
307
329
|
});
|
|
308
330
|
};
|
|
309
331
|
exports.serializeAws_restJson1StopMeetingTranscriptionCommand = serializeAws_restJson1StopMeetingTranscriptionCommand;
|
|
332
|
+
const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
333
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
334
|
+
const headers = {
|
|
335
|
+
"content-type": "application/json",
|
|
336
|
+
};
|
|
337
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
338
|
+
const query = map({
|
|
339
|
+
operation: [, "tag-resource"],
|
|
340
|
+
});
|
|
341
|
+
let body;
|
|
342
|
+
body = JSON.stringify({
|
|
343
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
344
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
345
|
+
});
|
|
346
|
+
return new protocol_http_1.HttpRequest({
|
|
347
|
+
protocol,
|
|
348
|
+
hostname,
|
|
349
|
+
port,
|
|
350
|
+
method: "POST",
|
|
351
|
+
headers,
|
|
352
|
+
path: resolvedPath,
|
|
353
|
+
query,
|
|
354
|
+
body,
|
|
355
|
+
});
|
|
356
|
+
};
|
|
357
|
+
exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
|
|
358
|
+
const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
359
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
360
|
+
const headers = {
|
|
361
|
+
"content-type": "application/json",
|
|
362
|
+
};
|
|
363
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
364
|
+
const query = map({
|
|
365
|
+
operation: [, "untag-resource"],
|
|
366
|
+
});
|
|
367
|
+
let body;
|
|
368
|
+
body = JSON.stringify({
|
|
369
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
370
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) }),
|
|
371
|
+
});
|
|
372
|
+
return new protocol_http_1.HttpRequest({
|
|
373
|
+
protocol,
|
|
374
|
+
hostname,
|
|
375
|
+
port,
|
|
376
|
+
method: "POST",
|
|
377
|
+
headers,
|
|
378
|
+
path: resolvedPath,
|
|
379
|
+
query,
|
|
380
|
+
body,
|
|
381
|
+
});
|
|
382
|
+
};
|
|
383
|
+
exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
|
|
310
384
|
const serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (input, context) => {
|
|
311
385
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
312
386
|
const headers = {
|
|
@@ -865,6 +939,40 @@ const deserializeAws_restJson1ListAttendeesCommandError = async (output, context
|
|
|
865
939
|
});
|
|
866
940
|
}
|
|
867
941
|
};
|
|
942
|
+
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
943
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
944
|
+
return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
|
|
945
|
+
}
|
|
946
|
+
const contents = map({
|
|
947
|
+
$metadata: deserializeMetadata(output),
|
|
948
|
+
});
|
|
949
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
950
|
+
if (data.Tags != null) {
|
|
951
|
+
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
952
|
+
}
|
|
953
|
+
return contents;
|
|
954
|
+
};
|
|
955
|
+
exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
|
|
956
|
+
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
957
|
+
const parsedOutput = {
|
|
958
|
+
...output,
|
|
959
|
+
body: await parseBody(output.body, context),
|
|
960
|
+
};
|
|
961
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
962
|
+
switch (errorCode) {
|
|
963
|
+
case "ResourceNotFoundException":
|
|
964
|
+
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
965
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
966
|
+
default:
|
|
967
|
+
const parsedBody = parsedOutput.body;
|
|
968
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
969
|
+
output,
|
|
970
|
+
parsedBody,
|
|
971
|
+
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
972
|
+
errorCode,
|
|
973
|
+
});
|
|
974
|
+
}
|
|
975
|
+
};
|
|
868
976
|
const deserializeAws_restJson1StartMeetingTranscriptionCommand = async (output, context) => {
|
|
869
977
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
870
978
|
return deserializeAws_restJson1StartMeetingTranscriptionCommandError(output, context);
|
|
@@ -972,6 +1080,77 @@ const deserializeAws_restJson1StopMeetingTranscriptionCommandError = async (outp
|
|
|
972
1080
|
});
|
|
973
1081
|
}
|
|
974
1082
|
};
|
|
1083
|
+
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
1084
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1085
|
+
return deserializeAws_restJson1TagResourceCommandError(output, context);
|
|
1086
|
+
}
|
|
1087
|
+
const contents = map({
|
|
1088
|
+
$metadata: deserializeMetadata(output),
|
|
1089
|
+
});
|
|
1090
|
+
await collectBody(output.body, context);
|
|
1091
|
+
return contents;
|
|
1092
|
+
};
|
|
1093
|
+
exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
|
|
1094
|
+
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
1095
|
+
const parsedOutput = {
|
|
1096
|
+
...output,
|
|
1097
|
+
body: await parseBody(output.body, context),
|
|
1098
|
+
};
|
|
1099
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1100
|
+
switch (errorCode) {
|
|
1101
|
+
case "BadRequestException":
|
|
1102
|
+
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1103
|
+
throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
|
|
1104
|
+
case "ResourceNotFoundException":
|
|
1105
|
+
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1106
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1107
|
+
case "TooManyTagsException":
|
|
1108
|
+
case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
|
|
1109
|
+
throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1110
|
+
default:
|
|
1111
|
+
const parsedBody = parsedOutput.body;
|
|
1112
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1113
|
+
output,
|
|
1114
|
+
parsedBody,
|
|
1115
|
+
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
1116
|
+
errorCode,
|
|
1117
|
+
});
|
|
1118
|
+
}
|
|
1119
|
+
};
|
|
1120
|
+
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
1121
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1122
|
+
return deserializeAws_restJson1UntagResourceCommandError(output, context);
|
|
1123
|
+
}
|
|
1124
|
+
const contents = map({
|
|
1125
|
+
$metadata: deserializeMetadata(output),
|
|
1126
|
+
});
|
|
1127
|
+
await collectBody(output.body, context);
|
|
1128
|
+
return contents;
|
|
1129
|
+
};
|
|
1130
|
+
exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
|
|
1131
|
+
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
1132
|
+
const parsedOutput = {
|
|
1133
|
+
...output,
|
|
1134
|
+
body: await parseBody(output.body, context),
|
|
1135
|
+
};
|
|
1136
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1137
|
+
switch (errorCode) {
|
|
1138
|
+
case "BadRequestException":
|
|
1139
|
+
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1140
|
+
throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
|
|
1141
|
+
case "ResourceNotFoundException":
|
|
1142
|
+
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1143
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1144
|
+
default:
|
|
1145
|
+
const parsedBody = parsedOutput.body;
|
|
1146
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1147
|
+
output,
|
|
1148
|
+
parsedBody,
|
|
1149
|
+
exceptionCtor: ChimeSDKMeetingsServiceException_1.ChimeSDKMeetingsServiceException,
|
|
1150
|
+
errorCode,
|
|
1151
|
+
});
|
|
1152
|
+
}
|
|
1153
|
+
};
|
|
975
1154
|
const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (output, context) => {
|
|
976
1155
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
977
1156
|
return deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError(output, context);
|
|
@@ -1112,6 +1291,27 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
1112
1291
|
});
|
|
1113
1292
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1114
1293
|
};
|
|
1294
|
+
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1295
|
+
const contents = map({});
|
|
1296
|
+
const data = parsedOutput.body;
|
|
1297
|
+
if (data.Code != null) {
|
|
1298
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
1299
|
+
}
|
|
1300
|
+
if (data.Message != null) {
|
|
1301
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1302
|
+
}
|
|
1303
|
+
if (data.RequestId != null) {
|
|
1304
|
+
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1305
|
+
}
|
|
1306
|
+
if (data.ResourceName != null) {
|
|
1307
|
+
contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
|
|
1308
|
+
}
|
|
1309
|
+
const exception = new models_0_1.ResourceNotFoundException({
|
|
1310
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1311
|
+
...contents,
|
|
1312
|
+
});
|
|
1313
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1314
|
+
};
|
|
1115
1315
|
const deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOutput, context) => {
|
|
1116
1316
|
const contents = map({});
|
|
1117
1317
|
const data = parsedOutput.body;
|
|
@@ -1168,6 +1368,27 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
1168
1368
|
});
|
|
1169
1369
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1170
1370
|
};
|
|
1371
|
+
const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
|
|
1372
|
+
const contents = map({});
|
|
1373
|
+
const data = parsedOutput.body;
|
|
1374
|
+
if (data.Code != null) {
|
|
1375
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
1376
|
+
}
|
|
1377
|
+
if (data.Message != null) {
|
|
1378
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1379
|
+
}
|
|
1380
|
+
if (data.RequestId != null) {
|
|
1381
|
+
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1382
|
+
}
|
|
1383
|
+
if (data.ResourceName != null) {
|
|
1384
|
+
contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
|
|
1385
|
+
}
|
|
1386
|
+
const exception = new models_0_1.TooManyTagsException({
|
|
1387
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1388
|
+
...contents,
|
|
1389
|
+
});
|
|
1390
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1391
|
+
};
|
|
1171
1392
|
const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
|
|
1172
1393
|
const contents = map({});
|
|
1173
1394
|
const data = parsedOutput.body;
|
|
@@ -1292,6 +1513,26 @@ const serializeAws_restJson1NotificationsConfiguration = (input, context) => {
|
|
|
1292
1513
|
...(input.SqsQueueArn != null && { SqsQueueArn: input.SqsQueueArn }),
|
|
1293
1514
|
};
|
|
1294
1515
|
};
|
|
1516
|
+
const serializeAws_restJson1Tag = (input, context) => {
|
|
1517
|
+
return {
|
|
1518
|
+
...(input.Key != null && { Key: input.Key }),
|
|
1519
|
+
...(input.Value != null && { Value: input.Value }),
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
const serializeAws_restJson1TagKeyList = (input, context) => {
|
|
1523
|
+
return input
|
|
1524
|
+
.filter((e) => e != null)
|
|
1525
|
+
.map((entry) => {
|
|
1526
|
+
return entry;
|
|
1527
|
+
});
|
|
1528
|
+
};
|
|
1529
|
+
const serializeAws_restJson1TagList = (input, context) => {
|
|
1530
|
+
return input
|
|
1531
|
+
.filter((e) => e != null)
|
|
1532
|
+
.map((entry) => {
|
|
1533
|
+
return serializeAws_restJson1Tag(entry, context);
|
|
1534
|
+
});
|
|
1535
|
+
};
|
|
1295
1536
|
const serializeAws_restJson1TenantIdList = (input, context) => {
|
|
1296
1537
|
return input
|
|
1297
1538
|
.filter((e) => e != null)
|
|
@@ -1379,6 +1620,7 @@ const deserializeAws_restJson1Meeting = (output, context) => {
|
|
|
1379
1620
|
? deserializeAws_restJson1MediaPlacement(output.MediaPlacement, context)
|
|
1380
1621
|
: undefined,
|
|
1381
1622
|
MediaRegion: (0, smithy_client_1.expectString)(output.MediaRegion),
|
|
1623
|
+
MeetingArn: (0, smithy_client_1.expectString)(output.MeetingArn),
|
|
1382
1624
|
MeetingFeatures: output.MeetingFeatures != null
|
|
1383
1625
|
? deserializeAws_restJson1MeetingFeaturesConfiguration(output.MeetingFeatures, context)
|
|
1384
1626
|
: undefined,
|
|
@@ -1393,6 +1635,23 @@ const deserializeAws_restJson1MeetingFeaturesConfiguration = (output, context) =
|
|
|
1393
1635
|
Audio: output.Audio != null ? deserializeAws_restJson1AudioFeatures(output.Audio, context) : undefined,
|
|
1394
1636
|
};
|
|
1395
1637
|
};
|
|
1638
|
+
const deserializeAws_restJson1Tag = (output, context) => {
|
|
1639
|
+
return {
|
|
1640
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
1641
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1642
|
+
};
|
|
1643
|
+
};
|
|
1644
|
+
const deserializeAws_restJson1TagList = (output, context) => {
|
|
1645
|
+
const retVal = (output || [])
|
|
1646
|
+
.filter((e) => e != null)
|
|
1647
|
+
.map((entry) => {
|
|
1648
|
+
if (entry === null) {
|
|
1649
|
+
return null;
|
|
1650
|
+
}
|
|
1651
|
+
return deserializeAws_restJson1Tag(entry, context);
|
|
1652
|
+
});
|
|
1653
|
+
return retVal;
|
|
1654
|
+
};
|
|
1396
1655
|
const deserializeAws_restJson1TenantIdList = (output, context) => {
|
|
1397
1656
|
const retVal = (output || [])
|
|
1398
1657
|
.filter((e) => e != null)
|