@aws-sdk/client-chime-sdk-meetings 3.180.0 → 3.183.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 +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +22 -16
- package/dist-es/ChimeSDKMeetings.js +66 -73
- package/dist-es/ChimeSDKMeetingsClient.js +22 -28
- package/dist-es/commands/BatchCreateAttendeeCommand.js +21 -28
- package/dist-es/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.js +22 -29
- package/dist-es/commands/CreateAttendeeCommand.js +21 -28
- package/dist-es/commands/CreateMeetingCommand.js +21 -28
- package/dist-es/commands/CreateMeetingWithAttendeesCommand.js +21 -28
- package/dist-es/commands/DeleteAttendeeCommand.js +22 -29
- package/dist-es/commands/DeleteMeetingCommand.js +22 -29
- package/dist-es/commands/GetAttendeeCommand.js +21 -28
- package/dist-es/commands/GetMeetingCommand.js +21 -28
- package/dist-es/commands/ListAttendeesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/StartMeetingTranscriptionCommand.js +22 -29
- package/dist-es/commands/StopMeetingTranscriptionCommand.js +22 -29
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateAttendeeCapabilitiesCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ChimeSDKMeetingsServiceException.js +5 -10
- package/dist-es/models/models_0.js +329 -217
- package/dist-es/pagination/ListAttendeesPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +1483 -1943
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-chime-sdk-meetings
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
20
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @aws-sdk/client-chime-sdk-meetings
|
|
@@ -427,7 +427,7 @@ exports.deserializeAws_restJson1BatchCreateAttendeeCommand = deserializeAws_rest
|
|
|
427
427
|
const deserializeAws_restJson1BatchCreateAttendeeCommandError = async (output, context) => {
|
|
428
428
|
const parsedOutput = {
|
|
429
429
|
...output,
|
|
430
|
-
body: await
|
|
430
|
+
body: await parseErrorBody(output.body, context),
|
|
431
431
|
};
|
|
432
432
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
433
433
|
switch (errorCode) {
|
|
@@ -482,7 +482,7 @@ exports.deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = d
|
|
|
482
482
|
const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError = async (output, context) => {
|
|
483
483
|
const parsedOutput = {
|
|
484
484
|
...output,
|
|
485
|
-
body: await
|
|
485
|
+
body: await parseErrorBody(output.body, context),
|
|
486
486
|
};
|
|
487
487
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
488
488
|
switch (errorCode) {
|
|
@@ -531,7 +531,7 @@ exports.deserializeAws_restJson1CreateAttendeeCommand = deserializeAws_restJson1
|
|
|
531
531
|
const deserializeAws_restJson1CreateAttendeeCommandError = async (output, context) => {
|
|
532
532
|
const parsedOutput = {
|
|
533
533
|
...output,
|
|
534
|
-
body: await
|
|
534
|
+
body: await parseErrorBody(output.body, context),
|
|
535
535
|
};
|
|
536
536
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
537
537
|
switch (errorCode) {
|
|
@@ -589,7 +589,7 @@ exports.deserializeAws_restJson1CreateMeetingCommand = deserializeAws_restJson1C
|
|
|
589
589
|
const deserializeAws_restJson1CreateMeetingCommandError = async (output, context) => {
|
|
590
590
|
const parsedOutput = {
|
|
591
591
|
...output,
|
|
592
|
-
body: await
|
|
592
|
+
body: await parseErrorBody(output.body, context),
|
|
593
593
|
};
|
|
594
594
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
595
595
|
switch (errorCode) {
|
|
@@ -647,7 +647,7 @@ exports.deserializeAws_restJson1CreateMeetingWithAttendeesCommand = deserializeA
|
|
|
647
647
|
const deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = async (output, context) => {
|
|
648
648
|
const parsedOutput = {
|
|
649
649
|
...output,
|
|
650
|
-
body: await
|
|
650
|
+
body: await parseErrorBody(output.body, context),
|
|
651
651
|
};
|
|
652
652
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
653
653
|
switch (errorCode) {
|
|
@@ -696,7 +696,7 @@ exports.deserializeAws_restJson1DeleteAttendeeCommand = deserializeAws_restJson1
|
|
|
696
696
|
const deserializeAws_restJson1DeleteAttendeeCommandError = async (output, context) => {
|
|
697
697
|
const parsedOutput = {
|
|
698
698
|
...output,
|
|
699
|
-
body: await
|
|
699
|
+
body: await parseErrorBody(output.body, context),
|
|
700
700
|
};
|
|
701
701
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
702
702
|
switch (errorCode) {
|
|
@@ -745,7 +745,7 @@ exports.deserializeAws_restJson1DeleteMeetingCommand = deserializeAws_restJson1D
|
|
|
745
745
|
const deserializeAws_restJson1DeleteMeetingCommandError = async (output, context) => {
|
|
746
746
|
const parsedOutput = {
|
|
747
747
|
...output,
|
|
748
|
-
body: await
|
|
748
|
+
body: await parseErrorBody(output.body, context),
|
|
749
749
|
};
|
|
750
750
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
751
751
|
switch (errorCode) {
|
|
@@ -797,7 +797,7 @@ exports.deserializeAws_restJson1GetAttendeeCommand = deserializeAws_restJson1Get
|
|
|
797
797
|
const deserializeAws_restJson1GetAttendeeCommandError = async (output, context) => {
|
|
798
798
|
const parsedOutput = {
|
|
799
799
|
...output,
|
|
800
|
-
body: await
|
|
800
|
+
body: await parseErrorBody(output.body, context),
|
|
801
801
|
};
|
|
802
802
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
803
803
|
switch (errorCode) {
|
|
@@ -849,7 +849,7 @@ exports.deserializeAws_restJson1GetMeetingCommand = deserializeAws_restJson1GetM
|
|
|
849
849
|
const deserializeAws_restJson1GetMeetingCommandError = async (output, context) => {
|
|
850
850
|
const parsedOutput = {
|
|
851
851
|
...output,
|
|
852
|
-
body: await
|
|
852
|
+
body: await parseErrorBody(output.body, context),
|
|
853
853
|
};
|
|
854
854
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
855
855
|
switch (errorCode) {
|
|
@@ -904,7 +904,7 @@ exports.deserializeAws_restJson1ListAttendeesCommand = deserializeAws_restJson1L
|
|
|
904
904
|
const deserializeAws_restJson1ListAttendeesCommandError = async (output, context) => {
|
|
905
905
|
const parsedOutput = {
|
|
906
906
|
...output,
|
|
907
|
-
body: await
|
|
907
|
+
body: await parseErrorBody(output.body, context),
|
|
908
908
|
};
|
|
909
909
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
910
910
|
switch (errorCode) {
|
|
@@ -956,7 +956,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
956
956
|
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
957
957
|
const parsedOutput = {
|
|
958
958
|
...output,
|
|
959
|
-
body: await
|
|
959
|
+
body: await parseErrorBody(output.body, context),
|
|
960
960
|
};
|
|
961
961
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
962
962
|
switch (errorCode) {
|
|
@@ -987,7 +987,7 @@ exports.deserializeAws_restJson1StartMeetingTranscriptionCommand = deserializeAw
|
|
|
987
987
|
const deserializeAws_restJson1StartMeetingTranscriptionCommandError = async (output, context) => {
|
|
988
988
|
const parsedOutput = {
|
|
989
989
|
...output,
|
|
990
|
-
body: await
|
|
990
|
+
body: await parseErrorBody(output.body, context),
|
|
991
991
|
};
|
|
992
992
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
993
993
|
switch (errorCode) {
|
|
@@ -1042,7 +1042,7 @@ exports.deserializeAws_restJson1StopMeetingTranscriptionCommand = deserializeAws
|
|
|
1042
1042
|
const deserializeAws_restJson1StopMeetingTranscriptionCommandError = async (output, context) => {
|
|
1043
1043
|
const parsedOutput = {
|
|
1044
1044
|
...output,
|
|
1045
|
-
body: await
|
|
1045
|
+
body: await parseErrorBody(output.body, context),
|
|
1046
1046
|
};
|
|
1047
1047
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1048
1048
|
switch (errorCode) {
|
|
@@ -1094,7 +1094,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
1094
1094
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
1095
1095
|
const parsedOutput = {
|
|
1096
1096
|
...output,
|
|
1097
|
-
body: await
|
|
1097
|
+
body: await parseErrorBody(output.body, context),
|
|
1098
1098
|
};
|
|
1099
1099
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1100
1100
|
switch (errorCode) {
|
|
@@ -1131,7 +1131,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
1131
1131
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
1132
1132
|
const parsedOutput = {
|
|
1133
1133
|
...output,
|
|
1134
|
-
body: await
|
|
1134
|
+
body: await parseErrorBody(output.body, context),
|
|
1135
1135
|
};
|
|
1136
1136
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1137
1137
|
switch (errorCode) {
|
|
@@ -1168,7 +1168,7 @@ exports.deserializeAws_restJson1UpdateAttendeeCapabilitiesCommand = deserializeA
|
|
|
1168
1168
|
const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = async (output, context) => {
|
|
1169
1169
|
const parsedOutput = {
|
|
1170
1170
|
...output,
|
|
1171
|
-
body: await
|
|
1171
|
+
body: await parseErrorBody(output.body, context),
|
|
1172
1172
|
};
|
|
1173
1173
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1174
1174
|
switch (errorCode) {
|
|
@@ -1690,6 +1690,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
1690
1690
|
}
|
|
1691
1691
|
return {};
|
|
1692
1692
|
});
|
|
1693
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
1694
|
+
var _a;
|
|
1695
|
+
const value = await parseBody(errorBody, context);
|
|
1696
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
1697
|
+
return value;
|
|
1698
|
+
};
|
|
1693
1699
|
const loadRestJsonErrorCode = (output, data) => {
|
|
1694
1700
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1695
1701
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ChimeSDKMeetingsClient } from "./ChimeSDKMeetingsClient";
|
|
3
2
|
import { BatchCreateAttendeeCommand, } from "./commands/BatchCreateAttendeeCommand";
|
|
4
3
|
import { BatchUpdateAttendeeCapabilitiesExceptCommand, } from "./commands/BatchUpdateAttendeeCapabilitiesExceptCommand";
|
|
@@ -16,235 +15,229 @@ import { StopMeetingTranscriptionCommand, } from "./commands/StopMeetingTranscri
|
|
|
16
15
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
17
16
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
18
17
|
import { UpdateAttendeeCapabilitiesCommand, } from "./commands/UpdateAttendeeCapabilitiesCommand";
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
23
|
-
}
|
|
24
|
-
ChimeSDKMeetings.prototype.batchCreateAttendee = function (args, optionsOrCb, cb) {
|
|
25
|
-
var command = new BatchCreateAttendeeCommand(args);
|
|
18
|
+
export class ChimeSDKMeetings extends ChimeSDKMeetingsClient {
|
|
19
|
+
batchCreateAttendee(args, optionsOrCb, cb) {
|
|
20
|
+
const command = new BatchCreateAttendeeCommand(args);
|
|
26
21
|
if (typeof optionsOrCb === "function") {
|
|
27
22
|
this.send(command, optionsOrCb);
|
|
28
23
|
}
|
|
29
24
|
else if (typeof cb === "function") {
|
|
30
25
|
if (typeof optionsOrCb !== "object")
|
|
31
|
-
throw new Error(
|
|
26
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
32
27
|
this.send(command, optionsOrCb || {}, cb);
|
|
33
28
|
}
|
|
34
29
|
else {
|
|
35
30
|
return this.send(command, optionsOrCb);
|
|
36
31
|
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
}
|
|
33
|
+
batchUpdateAttendeeCapabilitiesExcept(args, optionsOrCb, cb) {
|
|
34
|
+
const command = new BatchUpdateAttendeeCapabilitiesExceptCommand(args);
|
|
40
35
|
if (typeof optionsOrCb === "function") {
|
|
41
36
|
this.send(command, optionsOrCb);
|
|
42
37
|
}
|
|
43
38
|
else if (typeof cb === "function") {
|
|
44
39
|
if (typeof optionsOrCb !== "object")
|
|
45
|
-
throw new Error(
|
|
40
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
46
41
|
this.send(command, optionsOrCb || {}, cb);
|
|
47
42
|
}
|
|
48
43
|
else {
|
|
49
44
|
return this.send(command, optionsOrCb);
|
|
50
45
|
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
46
|
+
}
|
|
47
|
+
createAttendee(args, optionsOrCb, cb) {
|
|
48
|
+
const command = new CreateAttendeeCommand(args);
|
|
54
49
|
if (typeof optionsOrCb === "function") {
|
|
55
50
|
this.send(command, optionsOrCb);
|
|
56
51
|
}
|
|
57
52
|
else if (typeof cb === "function") {
|
|
58
53
|
if (typeof optionsOrCb !== "object")
|
|
59
|
-
throw new Error(
|
|
54
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
60
55
|
this.send(command, optionsOrCb || {}, cb);
|
|
61
56
|
}
|
|
62
57
|
else {
|
|
63
58
|
return this.send(command, optionsOrCb);
|
|
64
59
|
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
60
|
+
}
|
|
61
|
+
createMeeting(args, optionsOrCb, cb) {
|
|
62
|
+
const command = new CreateMeetingCommand(args);
|
|
68
63
|
if (typeof optionsOrCb === "function") {
|
|
69
64
|
this.send(command, optionsOrCb);
|
|
70
65
|
}
|
|
71
66
|
else if (typeof cb === "function") {
|
|
72
67
|
if (typeof optionsOrCb !== "object")
|
|
73
|
-
throw new Error(
|
|
68
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
74
69
|
this.send(command, optionsOrCb || {}, cb);
|
|
75
70
|
}
|
|
76
71
|
else {
|
|
77
72
|
return this.send(command, optionsOrCb);
|
|
78
73
|
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
74
|
+
}
|
|
75
|
+
createMeetingWithAttendees(args, optionsOrCb, cb) {
|
|
76
|
+
const command = new CreateMeetingWithAttendeesCommand(args);
|
|
82
77
|
if (typeof optionsOrCb === "function") {
|
|
83
78
|
this.send(command, optionsOrCb);
|
|
84
79
|
}
|
|
85
80
|
else if (typeof cb === "function") {
|
|
86
81
|
if (typeof optionsOrCb !== "object")
|
|
87
|
-
throw new Error(
|
|
82
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
88
83
|
this.send(command, optionsOrCb || {}, cb);
|
|
89
84
|
}
|
|
90
85
|
else {
|
|
91
86
|
return this.send(command, optionsOrCb);
|
|
92
87
|
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
88
|
+
}
|
|
89
|
+
deleteAttendee(args, optionsOrCb, cb) {
|
|
90
|
+
const command = new DeleteAttendeeCommand(args);
|
|
96
91
|
if (typeof optionsOrCb === "function") {
|
|
97
92
|
this.send(command, optionsOrCb);
|
|
98
93
|
}
|
|
99
94
|
else if (typeof cb === "function") {
|
|
100
95
|
if (typeof optionsOrCb !== "object")
|
|
101
|
-
throw new Error(
|
|
96
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
102
97
|
this.send(command, optionsOrCb || {}, cb);
|
|
103
98
|
}
|
|
104
99
|
else {
|
|
105
100
|
return this.send(command, optionsOrCb);
|
|
106
101
|
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
}
|
|
103
|
+
deleteMeeting(args, optionsOrCb, cb) {
|
|
104
|
+
const command = new DeleteMeetingCommand(args);
|
|
110
105
|
if (typeof optionsOrCb === "function") {
|
|
111
106
|
this.send(command, optionsOrCb);
|
|
112
107
|
}
|
|
113
108
|
else if (typeof cb === "function") {
|
|
114
109
|
if (typeof optionsOrCb !== "object")
|
|
115
|
-
throw new Error(
|
|
110
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
116
111
|
this.send(command, optionsOrCb || {}, cb);
|
|
117
112
|
}
|
|
118
113
|
else {
|
|
119
114
|
return this.send(command, optionsOrCb);
|
|
120
115
|
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
116
|
+
}
|
|
117
|
+
getAttendee(args, optionsOrCb, cb) {
|
|
118
|
+
const command = new GetAttendeeCommand(args);
|
|
124
119
|
if (typeof optionsOrCb === "function") {
|
|
125
120
|
this.send(command, optionsOrCb);
|
|
126
121
|
}
|
|
127
122
|
else if (typeof cb === "function") {
|
|
128
123
|
if (typeof optionsOrCb !== "object")
|
|
129
|
-
throw new Error(
|
|
124
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
130
125
|
this.send(command, optionsOrCb || {}, cb);
|
|
131
126
|
}
|
|
132
127
|
else {
|
|
133
128
|
return this.send(command, optionsOrCb);
|
|
134
129
|
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
130
|
+
}
|
|
131
|
+
getMeeting(args, optionsOrCb, cb) {
|
|
132
|
+
const command = new GetMeetingCommand(args);
|
|
138
133
|
if (typeof optionsOrCb === "function") {
|
|
139
134
|
this.send(command, optionsOrCb);
|
|
140
135
|
}
|
|
141
136
|
else if (typeof cb === "function") {
|
|
142
137
|
if (typeof optionsOrCb !== "object")
|
|
143
|
-
throw new Error(
|
|
138
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
144
139
|
this.send(command, optionsOrCb || {}, cb);
|
|
145
140
|
}
|
|
146
141
|
else {
|
|
147
142
|
return this.send(command, optionsOrCb);
|
|
148
143
|
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
144
|
+
}
|
|
145
|
+
listAttendees(args, optionsOrCb, cb) {
|
|
146
|
+
const command = new ListAttendeesCommand(args);
|
|
152
147
|
if (typeof optionsOrCb === "function") {
|
|
153
148
|
this.send(command, optionsOrCb);
|
|
154
149
|
}
|
|
155
150
|
else if (typeof cb === "function") {
|
|
156
151
|
if (typeof optionsOrCb !== "object")
|
|
157
|
-
throw new Error(
|
|
152
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
158
153
|
this.send(command, optionsOrCb || {}, cb);
|
|
159
154
|
}
|
|
160
155
|
else {
|
|
161
156
|
return this.send(command, optionsOrCb);
|
|
162
157
|
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
|
|
158
|
+
}
|
|
159
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
160
|
+
const command = new ListTagsForResourceCommand(args);
|
|
166
161
|
if (typeof optionsOrCb === "function") {
|
|
167
162
|
this.send(command, optionsOrCb);
|
|
168
163
|
}
|
|
169
164
|
else if (typeof cb === "function") {
|
|
170
165
|
if (typeof optionsOrCb !== "object")
|
|
171
|
-
throw new Error(
|
|
166
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
172
167
|
this.send(command, optionsOrCb || {}, cb);
|
|
173
168
|
}
|
|
174
169
|
else {
|
|
175
170
|
return this.send(command, optionsOrCb);
|
|
176
171
|
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
172
|
+
}
|
|
173
|
+
startMeetingTranscription(args, optionsOrCb, cb) {
|
|
174
|
+
const command = new StartMeetingTranscriptionCommand(args);
|
|
180
175
|
if (typeof optionsOrCb === "function") {
|
|
181
176
|
this.send(command, optionsOrCb);
|
|
182
177
|
}
|
|
183
178
|
else if (typeof cb === "function") {
|
|
184
179
|
if (typeof optionsOrCb !== "object")
|
|
185
|
-
throw new Error(
|
|
180
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
186
181
|
this.send(command, optionsOrCb || {}, cb);
|
|
187
182
|
}
|
|
188
183
|
else {
|
|
189
184
|
return this.send(command, optionsOrCb);
|
|
190
185
|
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
186
|
+
}
|
|
187
|
+
stopMeetingTranscription(args, optionsOrCb, cb) {
|
|
188
|
+
const command = new StopMeetingTranscriptionCommand(args);
|
|
194
189
|
if (typeof optionsOrCb === "function") {
|
|
195
190
|
this.send(command, optionsOrCb);
|
|
196
191
|
}
|
|
197
192
|
else if (typeof cb === "function") {
|
|
198
193
|
if (typeof optionsOrCb !== "object")
|
|
199
|
-
throw new Error(
|
|
194
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
200
195
|
this.send(command, optionsOrCb || {}, cb);
|
|
201
196
|
}
|
|
202
197
|
else {
|
|
203
198
|
return this.send(command, optionsOrCb);
|
|
204
199
|
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
|
|
200
|
+
}
|
|
201
|
+
tagResource(args, optionsOrCb, cb) {
|
|
202
|
+
const command = new TagResourceCommand(args);
|
|
208
203
|
if (typeof optionsOrCb === "function") {
|
|
209
204
|
this.send(command, optionsOrCb);
|
|
210
205
|
}
|
|
211
206
|
else if (typeof cb === "function") {
|
|
212
207
|
if (typeof optionsOrCb !== "object")
|
|
213
|
-
throw new Error(
|
|
208
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
214
209
|
this.send(command, optionsOrCb || {}, cb);
|
|
215
210
|
}
|
|
216
211
|
else {
|
|
217
212
|
return this.send(command, optionsOrCb);
|
|
218
213
|
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
|
|
214
|
+
}
|
|
215
|
+
untagResource(args, optionsOrCb, cb) {
|
|
216
|
+
const command = new UntagResourceCommand(args);
|
|
222
217
|
if (typeof optionsOrCb === "function") {
|
|
223
218
|
this.send(command, optionsOrCb);
|
|
224
219
|
}
|
|
225
220
|
else if (typeof cb === "function") {
|
|
226
221
|
if (typeof optionsOrCb !== "object")
|
|
227
|
-
throw new Error(
|
|
222
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
228
223
|
this.send(command, optionsOrCb || {}, cb);
|
|
229
224
|
}
|
|
230
225
|
else {
|
|
231
226
|
return this.send(command, optionsOrCb);
|
|
232
227
|
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
228
|
+
}
|
|
229
|
+
updateAttendeeCapabilities(args, optionsOrCb, cb) {
|
|
230
|
+
const command = new UpdateAttendeeCapabilitiesCommand(args);
|
|
236
231
|
if (typeof optionsOrCb === "function") {
|
|
237
232
|
this.send(command, optionsOrCb);
|
|
238
233
|
}
|
|
239
234
|
else if (typeof cb === "function") {
|
|
240
235
|
if (typeof optionsOrCb !== "object")
|
|
241
|
-
throw new Error(
|
|
236
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
242
237
|
this.send(command, optionsOrCb || {}, cb);
|
|
243
238
|
}
|
|
244
239
|
else {
|
|
245
240
|
return this.send(command, optionsOrCb);
|
|
246
241
|
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
}(ChimeSDKMeetingsClient));
|
|
250
|
-
export { ChimeSDKMeetings };
|
|
242
|
+
}
|
|
243
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
-
return _this;
|
|
11
|
+
export class ChimeSDKMeetingsClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}(__Client));
|
|
39
|
-
export { ChimeSDKMeetingsClient };
|
|
30
|
+
destroy() {
|
|
31
|
+
super.destroy();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { BatchCreateAttendeeRequestFilterSensitiveLog, BatchCreateAttendeeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1BatchCreateAttendeeCommand, serializeAws_restJson1BatchCreateAttendeeCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class BatchCreateAttendeeCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeSDKMeetingsClient";
|
|
15
|
+
const commandName = "BatchCreateAttendeeCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: BatchCreateAttendeeRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: BatchCreateAttendeeResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
BatchCreateAttendeeCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1BatchCreateAttendeeCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1BatchCreateAttendeeCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { BatchCreateAttendeeCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|