@aws-sdk/client-chime-sdk-meetings 3.95.0 → 3.103.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 +27 -0
- package/dist-cjs/ChimeSDKMeetings.js +30 -0
- package/dist-cjs/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.js +36 -0
- package/dist-cjs/commands/UpdateAttendeeCapabilitiesCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +56 -1
- package/dist-cjs/protocols/Aws_restJson1.js +247 -1
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/ChimeSDKMeetings.js +30 -0
- package/dist-es/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.js +39 -0
- package/dist-es/commands/UpdateAttendeeCapabilitiesCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/protocols/Aws_restJson1.js +292 -3
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/ChimeSDKMeetings.d.ts +14 -0
- package/dist-types/ChimeSDKMeetingsClient.d.ts +4 -2
- package/dist-types/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.d.ts +35 -0
- package/dist-types/commands/UpdateAttendeeCapabilitiesCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +138 -3
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/ChimeSDKMeetings.d.ts +10 -0
- package/dist-types/ts3.4/ChimeSDKMeetingsClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAttendeeCapabilitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +76 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +6 -6
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { BatchUpdateAttendeeCapabilitiesExceptRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand, serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var BatchUpdateAttendeeCapabilitiesExceptCommand = (function (_super) {
|
|
7
|
+
__extends(BatchUpdateAttendeeCapabilitiesExceptCommand, _super);
|
|
8
|
+
function BatchUpdateAttendeeCapabilitiesExceptCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
BatchUpdateAttendeeCapabilitiesExceptCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMeetingsClient";
|
|
18
|
+
var commandName = "BatchUpdateAttendeeCapabilitiesExceptCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: BatchUpdateAttendeeCapabilitiesExceptRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchUpdateAttendeeCapabilitiesExceptCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
BatchUpdateAttendeeCapabilitiesExceptCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return BatchUpdateAttendeeCapabilitiesExceptCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchUpdateAttendeeCapabilitiesExceptCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateAttendeeCapabilitiesRequest, UpdateAttendeeCapabilitiesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateAttendeeCapabilitiesCommand, serializeAws_restJson1UpdateAttendeeCapabilitiesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateAttendeeCapabilitiesCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateAttendeeCapabilitiesCommand, _super);
|
|
8
|
+
function UpdateAttendeeCapabilitiesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateAttendeeCapabilitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMeetingsClient";
|
|
18
|
+
var commandName = "UpdateAttendeeCapabilitiesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateAttendeeCapabilitiesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateAttendeeCapabilitiesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateAttendeeCapabilitiesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateAttendeeCapabilitiesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateAttendeeCapabilitiesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateAttendeeCapabilitiesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateAttendeeCapabilitiesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateAttendeeCapabilitiesCommand };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./BatchCreateAttendeeCommand";
|
|
2
|
+
export * from "./BatchUpdateAttendeeCapabilitiesExceptCommand";
|
|
2
3
|
export * from "./CreateAttendeeCommand";
|
|
3
4
|
export * from "./CreateMeetingCommand";
|
|
4
5
|
export * from "./CreateMeetingWithAttendeesCommand";
|
|
@@ -9,3 +10,4 @@ export * from "./GetMeetingCommand";
|
|
|
9
10
|
export * from "./ListAttendeesCommand";
|
|
10
11
|
export * from "./StartMeetingTranscriptionCommand";
|
|
11
12
|
export * from "./StopMeetingTranscriptionCommand";
|
|
13
|
+
export * from "./UpdateAttendeeCapabilitiesCommand";
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { ChimeSDKMeetingsServiceException as __BaseException } from "./ChimeSDKMeetingsServiceException";
|
|
4
|
+
export var MediaCapabilities;
|
|
5
|
+
(function (MediaCapabilities) {
|
|
6
|
+
MediaCapabilities["NONE"] = "None";
|
|
7
|
+
MediaCapabilities["RECEIVE"] = "Receive";
|
|
8
|
+
MediaCapabilities["SEND"] = "Send";
|
|
9
|
+
MediaCapabilities["SEND_RECEIVE"] = "SendReceive";
|
|
10
|
+
})(MediaCapabilities || (MediaCapabilities = {}));
|
|
11
|
+
export var AttendeeCapabilities;
|
|
12
|
+
(function (AttendeeCapabilities) {
|
|
13
|
+
AttendeeCapabilities.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
14
|
+
})(AttendeeCapabilities || (AttendeeCapabilities = {}));
|
|
4
15
|
export var Attendee;
|
|
5
16
|
(function (Attendee) {
|
|
6
17
|
Attendee.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING })), (obj.JoinToken && { JoinToken: SENSITIVE_STRING }))); };
|
|
7
18
|
})(Attendee || (Attendee = {}));
|
|
19
|
+
export var AttendeeIdItem;
|
|
20
|
+
(function (AttendeeIdItem) {
|
|
21
|
+
AttendeeIdItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
|
+
})(AttendeeIdItem || (AttendeeIdItem = {}));
|
|
8
23
|
export var MeetingFeatureStatus;
|
|
9
24
|
(function (MeetingFeatureStatus) {
|
|
10
25
|
MeetingFeatureStatus["AVAILABLE"] = "AVAILABLE";
|
|
@@ -168,6 +183,25 @@ var UnprocessableEntityException = (function (_super) {
|
|
|
168
183
|
return UnprocessableEntityException;
|
|
169
184
|
}(__BaseException));
|
|
170
185
|
export { UnprocessableEntityException };
|
|
186
|
+
export var BatchUpdateAttendeeCapabilitiesExceptRequest;
|
|
187
|
+
(function (BatchUpdateAttendeeCapabilitiesExceptRequest) {
|
|
188
|
+
BatchUpdateAttendeeCapabilitiesExceptRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
+
})(BatchUpdateAttendeeCapabilitiesExceptRequest || (BatchUpdateAttendeeCapabilitiesExceptRequest = {}));
|
|
190
|
+
var ConflictException = (function (_super) {
|
|
191
|
+
__extends(ConflictException, _super);
|
|
192
|
+
function ConflictException(opts) {
|
|
193
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
194
|
+
_this.name = "ConflictException";
|
|
195
|
+
_this.$fault = "client";
|
|
196
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
197
|
+
_this.Code = opts.Code;
|
|
198
|
+
_this.Message = opts.Message;
|
|
199
|
+
_this.RequestId = opts.RequestId;
|
|
200
|
+
return _this;
|
|
201
|
+
}
|
|
202
|
+
return ConflictException;
|
|
203
|
+
}(__BaseException));
|
|
204
|
+
export { ConflictException };
|
|
171
205
|
export var CreateAttendeeRequest;
|
|
172
206
|
(function (CreateAttendeeRequest) {
|
|
173
207
|
CreateAttendeeRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING }))); };
|
|
@@ -348,3 +382,11 @@ export var StopMeetingTranscriptionRequest;
|
|
|
348
382
|
(function (StopMeetingTranscriptionRequest) {
|
|
349
383
|
StopMeetingTranscriptionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
350
384
|
})(StopMeetingTranscriptionRequest || (StopMeetingTranscriptionRequest = {}));
|
|
385
|
+
export var UpdateAttendeeCapabilitiesRequest;
|
|
386
|
+
(function (UpdateAttendeeCapabilitiesRequest) {
|
|
387
|
+
UpdateAttendeeCapabilitiesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
388
|
+
})(UpdateAttendeeCapabilitiesRequest || (UpdateAttendeeCapabilitiesRequest = {}));
|
|
389
|
+
export var UpdateAttendeeCapabilitiesResponse;
|
|
390
|
+
(function (UpdateAttendeeCapabilitiesResponse) {
|
|
391
|
+
UpdateAttendeeCapabilitiesResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Attendee && { Attendee: Attendee.filterSensitiveLog(obj.Attendee) }))); };
|
|
392
|
+
})(UpdateAttendeeCapabilitiesResponse || (UpdateAttendeeCapabilitiesResponse = {}));
|
|
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
3
3
|
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { ChimeSDKMeetingsServiceException as __BaseException } from "../models/ChimeSDKMeetingsServiceException";
|
|
6
|
-
import { BadRequestException, ForbiddenException, LimitExceededException, NotFoundException, ServiceFailureException, ServiceUnavailableException, ThrottlingException, UnauthorizedException, UnprocessableEntityException, } from "../models/models_0";
|
|
6
|
+
import { BadRequestException, ConflictException, ForbiddenException, LimitExceededException, NotFoundException, ServiceFailureException, ServiceUnavailableException, ThrottlingException, UnauthorizedException, UnprocessableEntityException, } from "../models/models_0";
|
|
7
7
|
export var serializeAws_restJson1BatchCreateAttendeeCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8
8
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
9
9
|
return __generator(this, function (_c) {
|
|
@@ -45,6 +45,51 @@ export var serializeAws_restJson1BatchCreateAttendeeCommand = function (input, c
|
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}); };
|
|
48
|
+
export var serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
50
|
+
return __generator(this, function (_c) {
|
|
51
|
+
switch (_c.label) {
|
|
52
|
+
case 0: return [4, context.endpoint()];
|
|
53
|
+
case 1:
|
|
54
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
55
|
+
headers = {
|
|
56
|
+
"content-type": "application/json",
|
|
57
|
+
};
|
|
58
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
59
|
+
"/meetings/{MeetingId}/attendees/capabilities";
|
|
60
|
+
if (input.MeetingId !== undefined) {
|
|
61
|
+
labelValue = input.MeetingId;
|
|
62
|
+
if (labelValue.length <= 0) {
|
|
63
|
+
throw new Error("Empty value provided for input HTTP label: MeetingId.");
|
|
64
|
+
}
|
|
65
|
+
resolvedPath = resolvedPath.replace("{MeetingId}", __extendedEncodeURIComponent(labelValue));
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
throw new Error("No value provided for input HTTP label: MeetingId.");
|
|
69
|
+
}
|
|
70
|
+
query = {
|
|
71
|
+
operation: "batch-update-except",
|
|
72
|
+
};
|
|
73
|
+
body = JSON.stringify(__assign(__assign({}, (input.Capabilities !== undefined &&
|
|
74
|
+
input.Capabilities !== null && {
|
|
75
|
+
Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
|
|
76
|
+
})), (input.ExcludedAttendeeIds !== undefined &&
|
|
77
|
+
input.ExcludedAttendeeIds !== null && {
|
|
78
|
+
ExcludedAttendeeIds: serializeAws_restJson1AttendeeIdsList(input.ExcludedAttendeeIds, context),
|
|
79
|
+
})));
|
|
80
|
+
return [2, new __HttpRequest({
|
|
81
|
+
protocol: protocol,
|
|
82
|
+
hostname: hostname,
|
|
83
|
+
port: port,
|
|
84
|
+
method: "PUT",
|
|
85
|
+
headers: headers,
|
|
86
|
+
path: resolvedPath,
|
|
87
|
+
query: query,
|
|
88
|
+
body: body,
|
|
89
|
+
})];
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}); };
|
|
48
93
|
export var serializeAws_restJson1CreateAttendeeCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
94
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
50
95
|
return __generator(this, function (_c) {
|
|
@@ -66,7 +111,10 @@ export var serializeAws_restJson1CreateAttendeeCommand = function (input, contex
|
|
|
66
111
|
else {
|
|
67
112
|
throw new Error("No value provided for input HTTP label: MeetingId.");
|
|
68
113
|
}
|
|
69
|
-
body = JSON.stringify(__assign({}, (input.
|
|
114
|
+
body = JSON.stringify(__assign(__assign({}, (input.Capabilities !== undefined &&
|
|
115
|
+
input.Capabilities !== null && {
|
|
116
|
+
Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
|
|
117
|
+
})), (input.ExternalUserId !== undefined &&
|
|
70
118
|
input.ExternalUserId !== null && { ExternalUserId: input.ExternalUserId })));
|
|
71
119
|
return [2, new __HttpRequest({
|
|
72
120
|
protocol: protocol,
|
|
@@ -408,6 +456,54 @@ export var serializeAws_restJson1StopMeetingTranscriptionCommand = function (inp
|
|
|
408
456
|
}
|
|
409
457
|
});
|
|
410
458
|
}); };
|
|
459
|
+
export var serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
460
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, body;
|
|
461
|
+
return __generator(this, function (_c) {
|
|
462
|
+
switch (_c.label) {
|
|
463
|
+
case 0: return [4, context.endpoint()];
|
|
464
|
+
case 1:
|
|
465
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
466
|
+
headers = {
|
|
467
|
+
"content-type": "application/json",
|
|
468
|
+
};
|
|
469
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
470
|
+
"/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities";
|
|
471
|
+
if (input.MeetingId !== undefined) {
|
|
472
|
+
labelValue = input.MeetingId;
|
|
473
|
+
if (labelValue.length <= 0) {
|
|
474
|
+
throw new Error("Empty value provided for input HTTP label: MeetingId.");
|
|
475
|
+
}
|
|
476
|
+
resolvedPath = resolvedPath.replace("{MeetingId}", __extendedEncodeURIComponent(labelValue));
|
|
477
|
+
}
|
|
478
|
+
else {
|
|
479
|
+
throw new Error("No value provided for input HTTP label: MeetingId.");
|
|
480
|
+
}
|
|
481
|
+
if (input.AttendeeId !== undefined) {
|
|
482
|
+
labelValue = input.AttendeeId;
|
|
483
|
+
if (labelValue.length <= 0) {
|
|
484
|
+
throw new Error("Empty value provided for input HTTP label: AttendeeId.");
|
|
485
|
+
}
|
|
486
|
+
resolvedPath = resolvedPath.replace("{AttendeeId}", __extendedEncodeURIComponent(labelValue));
|
|
487
|
+
}
|
|
488
|
+
else {
|
|
489
|
+
throw new Error("No value provided for input HTTP label: AttendeeId.");
|
|
490
|
+
}
|
|
491
|
+
body = JSON.stringify(__assign({}, (input.Capabilities !== undefined &&
|
|
492
|
+
input.Capabilities !== null && {
|
|
493
|
+
Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
|
|
494
|
+
})));
|
|
495
|
+
return [2, new __HttpRequest({
|
|
496
|
+
protocol: protocol,
|
|
497
|
+
hostname: hostname,
|
|
498
|
+
port: port,
|
|
499
|
+
method: "PUT",
|
|
500
|
+
headers: headers,
|
|
501
|
+
path: resolvedPath,
|
|
502
|
+
body: body,
|
|
503
|
+
})];
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
}); };
|
|
411
507
|
export var deserializeAws_restJson1BatchCreateAttendeeCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
412
508
|
var contents, data, _a, _b;
|
|
413
509
|
return __generator(this, function (_c) {
|
|
@@ -500,6 +596,76 @@ var deserializeAws_restJson1BatchCreateAttendeeCommandError = function (output,
|
|
|
500
596
|
}
|
|
501
597
|
});
|
|
502
598
|
}); };
|
|
599
|
+
export var deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
600
|
+
var contents;
|
|
601
|
+
return __generator(this, function (_a) {
|
|
602
|
+
switch (_a.label) {
|
|
603
|
+
case 0:
|
|
604
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
605
|
+
return [2, deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError(output, context)];
|
|
606
|
+
}
|
|
607
|
+
contents = {
|
|
608
|
+
$metadata: deserializeMetadata(output),
|
|
609
|
+
};
|
|
610
|
+
return [4, collectBody(output.body, context)];
|
|
611
|
+
case 1:
|
|
612
|
+
_a.sent();
|
|
613
|
+
return [2, Promise.resolve(contents)];
|
|
614
|
+
}
|
|
615
|
+
});
|
|
616
|
+
}); };
|
|
617
|
+
var deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
618
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
619
|
+
var _c;
|
|
620
|
+
return __generator(this, function (_d) {
|
|
621
|
+
switch (_d.label) {
|
|
622
|
+
case 0:
|
|
623
|
+
_a = [__assign({}, output)];
|
|
624
|
+
_c = {};
|
|
625
|
+
return [4, parseBody(output.body, context)];
|
|
626
|
+
case 1:
|
|
627
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
628
|
+
errorCode = "UnknownError";
|
|
629
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
630
|
+
_b = errorCode;
|
|
631
|
+
switch (_b) {
|
|
632
|
+
case "BadRequestException": return [3, 2];
|
|
633
|
+
case "com.amazonaws.chimesdkmeetings#BadRequestException": return [3, 2];
|
|
634
|
+
case "ConflictException": return [3, 4];
|
|
635
|
+
case "com.amazonaws.chimesdkmeetings#ConflictException": return [3, 4];
|
|
636
|
+
case "ForbiddenException": return [3, 6];
|
|
637
|
+
case "com.amazonaws.chimesdkmeetings#ForbiddenException": return [3, 6];
|
|
638
|
+
case "NotFoundException": return [3, 8];
|
|
639
|
+
case "com.amazonaws.chimesdkmeetings#NotFoundException": return [3, 8];
|
|
640
|
+
case "ServiceUnavailableException": return [3, 10];
|
|
641
|
+
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException": return [3, 10];
|
|
642
|
+
case "UnauthorizedException": return [3, 12];
|
|
643
|
+
case "com.amazonaws.chimesdkmeetings#UnauthorizedException": return [3, 12];
|
|
644
|
+
}
|
|
645
|
+
return [3, 14];
|
|
646
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
647
|
+
case 3: throw _d.sent();
|
|
648
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
649
|
+
case 5: throw _d.sent();
|
|
650
|
+
case 6: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
651
|
+
case 7: throw _d.sent();
|
|
652
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
653
|
+
case 9: throw _d.sent();
|
|
654
|
+
case 10: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
655
|
+
case 11: throw _d.sent();
|
|
656
|
+
case 12: return [4, deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context)];
|
|
657
|
+
case 13: throw _d.sent();
|
|
658
|
+
case 14:
|
|
659
|
+
parsedBody = parsedOutput.body;
|
|
660
|
+
response = new __BaseException({
|
|
661
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
662
|
+
$fault: "client",
|
|
663
|
+
$metadata: deserializeMetadata(output),
|
|
664
|
+
});
|
|
665
|
+
throw __decorateServiceException(response, parsedBody);
|
|
666
|
+
}
|
|
667
|
+
});
|
|
668
|
+
}); };
|
|
503
669
|
export var deserializeAws_restJson1CreateAttendeeCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
504
670
|
var contents, data, _a, _b;
|
|
505
671
|
return __generator(this, function (_c) {
|
|
@@ -1308,6 +1474,82 @@ var deserializeAws_restJson1StopMeetingTranscriptionCommandError = function (out
|
|
|
1308
1474
|
}
|
|
1309
1475
|
});
|
|
1310
1476
|
}); };
|
|
1477
|
+
export var deserializeAws_restJson1UpdateAttendeeCapabilitiesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1478
|
+
var contents, data, _a, _b;
|
|
1479
|
+
return __generator(this, function (_c) {
|
|
1480
|
+
switch (_c.label) {
|
|
1481
|
+
case 0:
|
|
1482
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1483
|
+
return [2, deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError(output, context)];
|
|
1484
|
+
}
|
|
1485
|
+
contents = {
|
|
1486
|
+
$metadata: deserializeMetadata(output),
|
|
1487
|
+
Attendee: undefined,
|
|
1488
|
+
};
|
|
1489
|
+
_a = __expectNonNull;
|
|
1490
|
+
_b = __expectObject;
|
|
1491
|
+
return [4, parseBody(output.body, context)];
|
|
1492
|
+
case 1:
|
|
1493
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1494
|
+
if (data.Attendee !== undefined && data.Attendee !== null) {
|
|
1495
|
+
contents.Attendee = deserializeAws_restJson1Attendee(data.Attendee, context);
|
|
1496
|
+
}
|
|
1497
|
+
return [2, Promise.resolve(contents)];
|
|
1498
|
+
}
|
|
1499
|
+
});
|
|
1500
|
+
}); };
|
|
1501
|
+
var deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1502
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1503
|
+
var _c;
|
|
1504
|
+
return __generator(this, function (_d) {
|
|
1505
|
+
switch (_d.label) {
|
|
1506
|
+
case 0:
|
|
1507
|
+
_a = [__assign({}, output)];
|
|
1508
|
+
_c = {};
|
|
1509
|
+
return [4, parseBody(output.body, context)];
|
|
1510
|
+
case 1:
|
|
1511
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1512
|
+
errorCode = "UnknownError";
|
|
1513
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1514
|
+
_b = errorCode;
|
|
1515
|
+
switch (_b) {
|
|
1516
|
+
case "BadRequestException": return [3, 2];
|
|
1517
|
+
case "com.amazonaws.chimesdkmeetings#BadRequestException": return [3, 2];
|
|
1518
|
+
case "ConflictException": return [3, 4];
|
|
1519
|
+
case "com.amazonaws.chimesdkmeetings#ConflictException": return [3, 4];
|
|
1520
|
+
case "ForbiddenException": return [3, 6];
|
|
1521
|
+
case "com.amazonaws.chimesdkmeetings#ForbiddenException": return [3, 6];
|
|
1522
|
+
case "NotFoundException": return [3, 8];
|
|
1523
|
+
case "com.amazonaws.chimesdkmeetings#NotFoundException": return [3, 8];
|
|
1524
|
+
case "ServiceUnavailableException": return [3, 10];
|
|
1525
|
+
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException": return [3, 10];
|
|
1526
|
+
case "UnauthorizedException": return [3, 12];
|
|
1527
|
+
case "com.amazonaws.chimesdkmeetings#UnauthorizedException": return [3, 12];
|
|
1528
|
+
}
|
|
1529
|
+
return [3, 14];
|
|
1530
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1531
|
+
case 3: throw _d.sent();
|
|
1532
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
1533
|
+
case 5: throw _d.sent();
|
|
1534
|
+
case 6: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1535
|
+
case 7: throw _d.sent();
|
|
1536
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1537
|
+
case 9: throw _d.sent();
|
|
1538
|
+
case 10: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
1539
|
+
case 11: throw _d.sent();
|
|
1540
|
+
case 12: return [4, deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context)];
|
|
1541
|
+
case 13: throw _d.sent();
|
|
1542
|
+
case 14:
|
|
1543
|
+
parsedBody = parsedOutput.body;
|
|
1544
|
+
response = new __BaseException({
|
|
1545
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1546
|
+
$fault: "client",
|
|
1547
|
+
$metadata: deserializeMetadata(output),
|
|
1548
|
+
});
|
|
1549
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1550
|
+
}
|
|
1551
|
+
});
|
|
1552
|
+
}); };
|
|
1311
1553
|
var deserializeAws_restJson1BadRequestExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1312
1554
|
var contents, data, exception;
|
|
1313
1555
|
return __generator(this, function (_a) {
|
|
@@ -1326,6 +1568,24 @@ var deserializeAws_restJson1BadRequestExceptionResponse = function (parsedOutput
|
|
|
1326
1568
|
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
1327
1569
|
});
|
|
1328
1570
|
}); };
|
|
1571
|
+
var deserializeAws_restJson1ConflictExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1572
|
+
var contents, data, exception;
|
|
1573
|
+
return __generator(this, function (_a) {
|
|
1574
|
+
contents = {};
|
|
1575
|
+
data = parsedOutput.body;
|
|
1576
|
+
if (data.Code !== undefined && data.Code !== null) {
|
|
1577
|
+
contents.Code = __expectString(data.Code);
|
|
1578
|
+
}
|
|
1579
|
+
if (data.Message !== undefined && data.Message !== null) {
|
|
1580
|
+
contents.Message = __expectString(data.Message);
|
|
1581
|
+
}
|
|
1582
|
+
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
1583
|
+
contents.RequestId = __expectString(data.RequestId);
|
|
1584
|
+
}
|
|
1585
|
+
exception = new ConflictException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
1586
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
1587
|
+
});
|
|
1588
|
+
}); };
|
|
1329
1589
|
var deserializeAws_restJson1ForbiddenExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1330
1590
|
var contents, data, exception;
|
|
1331
1591
|
return __generator(this, function (_a) {
|
|
@@ -1473,11 +1733,30 @@ var deserializeAws_restJson1UnprocessableEntityExceptionResponse = function (par
|
|
|
1473
1733
|
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
1474
1734
|
});
|
|
1475
1735
|
}); };
|
|
1736
|
+
var serializeAws_restJson1AttendeeCapabilities = function (input, context) {
|
|
1737
|
+
return __assign(__assign(__assign({}, (input.Audio !== undefined && input.Audio !== null && { Audio: input.Audio })), (input.Content !== undefined && input.Content !== null && { Content: input.Content })), (input.Video !== undefined && input.Video !== null && { Video: input.Video }));
|
|
1738
|
+
};
|
|
1739
|
+
var serializeAws_restJson1AttendeeIdItem = function (input, context) {
|
|
1740
|
+
return __assign({}, (input.AttendeeId !== undefined && input.AttendeeId !== null && { AttendeeId: input.AttendeeId }));
|
|
1741
|
+
};
|
|
1742
|
+
var serializeAws_restJson1AttendeeIdsList = function (input, context) {
|
|
1743
|
+
return input
|
|
1744
|
+
.filter(function (e) { return e != null; })
|
|
1745
|
+
.map(function (entry) {
|
|
1746
|
+
if (entry === null) {
|
|
1747
|
+
return null;
|
|
1748
|
+
}
|
|
1749
|
+
return serializeAws_restJson1AttendeeIdItem(entry, context);
|
|
1750
|
+
});
|
|
1751
|
+
};
|
|
1476
1752
|
var serializeAws_restJson1AudioFeatures = function (input, context) {
|
|
1477
1753
|
return __assign({}, (input.EchoReduction !== undefined && input.EchoReduction !== null && { EchoReduction: input.EchoReduction }));
|
|
1478
1754
|
};
|
|
1479
1755
|
var serializeAws_restJson1CreateAttendeeRequestItem = function (input, context) {
|
|
1480
|
-
return __assign({}, (input.
|
|
1756
|
+
return __assign(__assign({}, (input.Capabilities !== undefined &&
|
|
1757
|
+
input.Capabilities !== null && {
|
|
1758
|
+
Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
|
|
1759
|
+
})), (input.ExternalUserId !== undefined &&
|
|
1481
1760
|
input.ExternalUserId !== null && { ExternalUserId: input.ExternalUserId }));
|
|
1482
1761
|
};
|
|
1483
1762
|
var serializeAws_restJson1CreateAttendeeRequestItemList = function (input, context) {
|
|
@@ -1542,10 +1821,20 @@ var serializeAws_restJson1TranscriptionConfiguration = function (input, context)
|
|
|
1542
1821
|
var deserializeAws_restJson1Attendee = function (output, context) {
|
|
1543
1822
|
return {
|
|
1544
1823
|
AttendeeId: __expectString(output.AttendeeId),
|
|
1824
|
+
Capabilities: output.Capabilities !== undefined && output.Capabilities !== null
|
|
1825
|
+
? deserializeAws_restJson1AttendeeCapabilities(output.Capabilities, context)
|
|
1826
|
+
: undefined,
|
|
1545
1827
|
ExternalUserId: __expectString(output.ExternalUserId),
|
|
1546
1828
|
JoinToken: __expectString(output.JoinToken),
|
|
1547
1829
|
};
|
|
1548
1830
|
};
|
|
1831
|
+
var deserializeAws_restJson1AttendeeCapabilities = function (output, context) {
|
|
1832
|
+
return {
|
|
1833
|
+
Audio: __expectString(output.Audio),
|
|
1834
|
+
Content: __expectString(output.Content),
|
|
1835
|
+
Video: __expectString(output.Video),
|
|
1836
|
+
};
|
|
1837
|
+
};
|
|
1549
1838
|
var deserializeAws_restJson1AttendeeList = function (output, context) {
|
|
1550
1839
|
var retVal = (output || [])
|
|
1551
1840
|
.filter(function (e) { return e != null; })
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
16
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
export var getRuntimeConfig = function (config) {
|
|
18
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
21
|
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
22
|
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
21
23
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { ChimeSDKMeetingsClient } from "./ChimeSDKMeetingsClient";
|
|
3
3
|
import { BatchCreateAttendeeCommandInput, BatchCreateAttendeeCommandOutput } from "./commands/BatchCreateAttendeeCommand";
|
|
4
|
+
import { BatchUpdateAttendeeCapabilitiesExceptCommandInput, BatchUpdateAttendeeCapabilitiesExceptCommandOutput } from "./commands/BatchUpdateAttendeeCapabilitiesExceptCommand";
|
|
4
5
|
import { CreateAttendeeCommandInput, CreateAttendeeCommandOutput } from "./commands/CreateAttendeeCommand";
|
|
5
6
|
import { CreateMeetingCommandInput, CreateMeetingCommandOutput } from "./commands/CreateMeetingCommand";
|
|
6
7
|
import { CreateMeetingWithAttendeesCommandInput, CreateMeetingWithAttendeesCommandOutput } from "./commands/CreateMeetingWithAttendeesCommand";
|
|
@@ -11,6 +12,7 @@ import { GetMeetingCommandInput, GetMeetingCommandOutput } from "./commands/GetM
|
|
|
11
12
|
import { ListAttendeesCommandInput, ListAttendeesCommandOutput } from "./commands/ListAttendeesCommand";
|
|
12
13
|
import { StartMeetingTranscriptionCommandInput, StartMeetingTranscriptionCommandOutput } from "./commands/StartMeetingTranscriptionCommand";
|
|
13
14
|
import { StopMeetingTranscriptionCommandInput, StopMeetingTranscriptionCommandOutput } from "./commands/StopMeetingTranscriptionCommand";
|
|
15
|
+
import { UpdateAttendeeCapabilitiesCommandInput, UpdateAttendeeCapabilitiesCommandOutput } from "./commands/UpdateAttendeeCapabilitiesCommand";
|
|
14
16
|
/**
|
|
15
17
|
* <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
|
|
16
18
|
* receive meeting notifications. For more information about the meeting APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Meetings.html">Amazon Chime SDK meetings</a>.</p>
|
|
@@ -23,6 +25,12 @@ export declare class ChimeSDKMeetings extends ChimeSDKMeetingsClient {
|
|
|
23
25
|
batchCreateAttendee(args: BatchCreateAttendeeCommandInput, options?: __HttpHandlerOptions): Promise<BatchCreateAttendeeCommandOutput>;
|
|
24
26
|
batchCreateAttendee(args: BatchCreateAttendeeCommandInput, cb: (err: any, data?: BatchCreateAttendeeCommandOutput) => void): void;
|
|
25
27
|
batchCreateAttendee(args: BatchCreateAttendeeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCreateAttendeeCommandOutput) => void): void;
|
|
28
|
+
/**
|
|
29
|
+
* <p>Updates <code>AttendeeCapabilities</code> except the capabilities listed in an <code>ExcludedAttendeeIds</code> table.</p>
|
|
30
|
+
*/
|
|
31
|
+
batchUpdateAttendeeCapabilitiesExcept(args: BatchUpdateAttendeeCapabilitiesExceptCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateAttendeeCapabilitiesExceptCommandOutput>;
|
|
32
|
+
batchUpdateAttendeeCapabilitiesExcept(args: BatchUpdateAttendeeCapabilitiesExceptCommandInput, cb: (err: any, data?: BatchUpdateAttendeeCapabilitiesExceptCommandOutput) => void): void;
|
|
33
|
+
batchUpdateAttendeeCapabilitiesExcept(args: BatchUpdateAttendeeCapabilitiesExceptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateAttendeeCapabilitiesExceptCommandOutput) => void): void;
|
|
26
34
|
/**
|
|
27
35
|
* <p>
|
|
28
36
|
* Creates a new attendee for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see
|
|
@@ -116,4 +124,10 @@ export declare class ChimeSDKMeetings extends ChimeSDKMeetingsClient {
|
|
|
116
124
|
stopMeetingTranscription(args: StopMeetingTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StopMeetingTranscriptionCommandOutput>;
|
|
117
125
|
stopMeetingTranscription(args: StopMeetingTranscriptionCommandInput, cb: (err: any, data?: StopMeetingTranscriptionCommandOutput) => void): void;
|
|
118
126
|
stopMeetingTranscription(args: StopMeetingTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopMeetingTranscriptionCommandOutput) => void): void;
|
|
127
|
+
/**
|
|
128
|
+
* <p>The capabilties that you want to update.</p>
|
|
129
|
+
*/
|
|
130
|
+
updateAttendeeCapabilities(args: UpdateAttendeeCapabilitiesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAttendeeCapabilitiesCommandOutput>;
|
|
131
|
+
updateAttendeeCapabilities(args: UpdateAttendeeCapabilitiesCommandInput, cb: (err: any, data?: UpdateAttendeeCapabilitiesCommandOutput) => void): void;
|
|
132
|
+
updateAttendeeCapabilities(args: UpdateAttendeeCapabilitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAttendeeCapabilitiesCommandOutput) => void): void;
|
|
119
133
|
}
|
|
@@ -7,6 +7,7 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BatchCreateAttendeeCommandInput, BatchCreateAttendeeCommandOutput } from "./commands/BatchCreateAttendeeCommand";
|
|
10
|
+
import { BatchUpdateAttendeeCapabilitiesExceptCommandInput, BatchUpdateAttendeeCapabilitiesExceptCommandOutput } from "./commands/BatchUpdateAttendeeCapabilitiesExceptCommand";
|
|
10
11
|
import { CreateAttendeeCommandInput, CreateAttendeeCommandOutput } from "./commands/CreateAttendeeCommand";
|
|
11
12
|
import { CreateMeetingCommandInput, CreateMeetingCommandOutput } from "./commands/CreateMeetingCommand";
|
|
12
13
|
import { CreateMeetingWithAttendeesCommandInput, CreateMeetingWithAttendeesCommandOutput } from "./commands/CreateMeetingWithAttendeesCommand";
|
|
@@ -17,8 +18,9 @@ import { GetMeetingCommandInput, GetMeetingCommandOutput } from "./commands/GetM
|
|
|
17
18
|
import { ListAttendeesCommandInput, ListAttendeesCommandOutput } from "./commands/ListAttendeesCommand";
|
|
18
19
|
import { StartMeetingTranscriptionCommandInput, StartMeetingTranscriptionCommandOutput } from "./commands/StartMeetingTranscriptionCommand";
|
|
19
20
|
import { StopMeetingTranscriptionCommandInput, StopMeetingTranscriptionCommandOutput } from "./commands/StopMeetingTranscriptionCommand";
|
|
20
|
-
|
|
21
|
-
export declare type
|
|
21
|
+
import { UpdateAttendeeCapabilitiesCommandInput, UpdateAttendeeCapabilitiesCommandOutput } from "./commands/UpdateAttendeeCapabilitiesCommand";
|
|
22
|
+
export declare type ServiceInputTypes = BatchCreateAttendeeCommandInput | BatchUpdateAttendeeCapabilitiesExceptCommandInput | CreateAttendeeCommandInput | CreateMeetingCommandInput | CreateMeetingWithAttendeesCommandInput | DeleteAttendeeCommandInput | DeleteMeetingCommandInput | GetAttendeeCommandInput | GetMeetingCommandInput | ListAttendeesCommandInput | StartMeetingTranscriptionCommandInput | StopMeetingTranscriptionCommandInput | UpdateAttendeeCapabilitiesCommandInput;
|
|
23
|
+
export declare type ServiceOutputTypes = BatchCreateAttendeeCommandOutput | BatchUpdateAttendeeCapabilitiesExceptCommandOutput | CreateAttendeeCommandOutput | CreateMeetingCommandOutput | CreateMeetingWithAttendeesCommandOutput | DeleteAttendeeCommandOutput | DeleteMeetingCommandOutput | GetAttendeeCommandOutput | GetMeetingCommandOutput | ListAttendeesCommandOutput | StartMeetingTranscriptionCommandOutput | StopMeetingTranscriptionCommandOutput | UpdateAttendeeCapabilitiesCommandOutput;
|
|
22
24
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
23
25
|
/**
|
|
24
26
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ChimeSDKMeetingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMeetingsClient";
|
|
4
|
+
import { BatchUpdateAttendeeCapabilitiesExceptRequest } from "../models/models_0";
|
|
5
|
+
export interface BatchUpdateAttendeeCapabilitiesExceptCommandInput extends BatchUpdateAttendeeCapabilitiesExceptRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchUpdateAttendeeCapabilitiesExceptCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates <code>AttendeeCapabilities</code> except the capabilities listed in an <code>ExcludedAttendeeIds</code> table.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ChimeSDKMeetingsClient, BatchUpdateAttendeeCapabilitiesExceptCommand } from "@aws-sdk/client-chime-sdk-meetings"; // ES Modules import
|
|
15
|
+
* // const { ChimeSDKMeetingsClient, BatchUpdateAttendeeCapabilitiesExceptCommand } = require("@aws-sdk/client-chime-sdk-meetings"); // CommonJS import
|
|
16
|
+
* const client = new ChimeSDKMeetingsClient(config);
|
|
17
|
+
* const command = new BatchUpdateAttendeeCapabilitiesExceptCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link BatchUpdateAttendeeCapabilitiesExceptCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link BatchUpdateAttendeeCapabilitiesExceptCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ChimeSDKMeetingsClientResolvedConfig | config} for ChimeSDKMeetingsClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class BatchUpdateAttendeeCapabilitiesExceptCommand extends $Command<BatchUpdateAttendeeCapabilitiesExceptCommandInput, BatchUpdateAttendeeCapabilitiesExceptCommandOutput, ChimeSDKMeetingsClientResolvedConfig> {
|
|
27
|
+
readonly input: BatchUpdateAttendeeCapabilitiesExceptCommandInput;
|
|
28
|
+
constructor(input: BatchUpdateAttendeeCapabilitiesExceptCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMeetingsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchUpdateAttendeeCapabilitiesExceptCommandInput, BatchUpdateAttendeeCapabilitiesExceptCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|