@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.
Files changed (32) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/ChimeSDKMeetings.js +45 -0
  3. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  4. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  5. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_0.js +64 -2
  8. package/dist-cjs/protocols/Aws_restJson1.js +260 -1
  9. package/dist-es/ChimeSDKMeetings.js +45 -0
  10. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  11. package/dist-es/commands/TagResourceCommand.js +39 -0
  12. package/dist-es/commands/UntagResourceCommand.js +39 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/models/models_0.js +39 -0
  15. package/dist-es/protocols/Aws_restJson1.js +333 -5
  16. package/dist-types/ChimeSDKMeetings.d.ts +46 -0
  17. package/dist-types/ChimeSDKMeetingsClient.d.ts +5 -2
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  19. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  20. package/dist-types/commands/UntagResourceCommand.d.ts +60 -0
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/models/models_0.d.ts +181 -0
  23. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  24. package/dist-types/ts3.4/ChimeSDKMeetings.d.ts +15 -0
  25. package/dist-types/ts3.4/ChimeSDKMeetingsClient.d.ts +5 -2
  26. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +80 -0
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
  32. package/package.json +1 -1
@@ -10,8 +10,11 @@ import { DeleteMeetingCommand, } from "./commands/DeleteMeetingCommand";
10
10
  import { GetAttendeeCommand } from "./commands/GetAttendeeCommand";
11
11
  import { GetMeetingCommand } from "./commands/GetMeetingCommand";
12
12
  import { ListAttendeesCommand, } from "./commands/ListAttendeesCommand";
13
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
13
14
  import { StartMeetingTranscriptionCommand, } from "./commands/StartMeetingTranscriptionCommand";
14
15
  import { StopMeetingTranscriptionCommand, } from "./commands/StopMeetingTranscriptionCommand";
16
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
17
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
15
18
  import { UpdateAttendeeCapabilitiesCommand, } from "./commands/UpdateAttendeeCapabilitiesCommand";
16
19
  var ChimeSDKMeetings = (function (_super) {
17
20
  __extends(ChimeSDKMeetings, _super);
@@ -158,6 +161,20 @@ var ChimeSDKMeetings = (function (_super) {
158
161
  return this.send(command, optionsOrCb);
159
162
  }
160
163
  };
164
+ ChimeSDKMeetings.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
165
+ var command = new ListTagsForResourceCommand(args);
166
+ if (typeof optionsOrCb === "function") {
167
+ this.send(command, optionsOrCb);
168
+ }
169
+ else if (typeof cb === "function") {
170
+ if (typeof optionsOrCb !== "object")
171
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
172
+ this.send(command, optionsOrCb || {}, cb);
173
+ }
174
+ else {
175
+ return this.send(command, optionsOrCb);
176
+ }
177
+ };
161
178
  ChimeSDKMeetings.prototype.startMeetingTranscription = function (args, optionsOrCb, cb) {
162
179
  var command = new StartMeetingTranscriptionCommand(args);
163
180
  if (typeof optionsOrCb === "function") {
@@ -186,6 +203,34 @@ var ChimeSDKMeetings = (function (_super) {
186
203
  return this.send(command, optionsOrCb);
187
204
  }
188
205
  };
206
+ ChimeSDKMeetings.prototype.tagResource = function (args, optionsOrCb, cb) {
207
+ var command = new TagResourceCommand(args);
208
+ if (typeof optionsOrCb === "function") {
209
+ this.send(command, optionsOrCb);
210
+ }
211
+ else if (typeof cb === "function") {
212
+ if (typeof optionsOrCb !== "object")
213
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
214
+ this.send(command, optionsOrCb || {}, cb);
215
+ }
216
+ else {
217
+ return this.send(command, optionsOrCb);
218
+ }
219
+ };
220
+ ChimeSDKMeetings.prototype.untagResource = function (args, optionsOrCb, cb) {
221
+ var command = new UntagResourceCommand(args);
222
+ if (typeof optionsOrCb === "function") {
223
+ this.send(command, optionsOrCb);
224
+ }
225
+ else if (typeof cb === "function") {
226
+ if (typeof optionsOrCb !== "object")
227
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
228
+ this.send(command, optionsOrCb || {}, cb);
229
+ }
230
+ else {
231
+ return this.send(command, optionsOrCb);
232
+ }
233
+ };
189
234
  ChimeSDKMeetings.prototype.updateAttendeeCapabilities = function (args, optionsOrCb, cb) {
190
235
  var command = new UpdateAttendeeCapabilitiesCommand(args);
191
236
  if (typeof optionsOrCb === "function") {
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ TagResourceCommand.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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1TagResourceCommand(input, context);
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1TagResourceCommand(output, context);
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UntagResourceCommand(input, context);
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UntagResourceCommand(output, context);
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -8,6 +8,9 @@ export * from "./DeleteMeetingCommand";
8
8
  export * from "./GetAttendeeCommand";
9
9
  export * from "./GetMeetingCommand";
10
10
  export * from "./ListAttendeesCommand";
11
+ export * from "./ListTagsForResourceCommand";
11
12
  export * from "./StartMeetingTranscriptionCommand";
12
13
  export * from "./StopMeetingTranscriptionCommand";
14
+ export * from "./TagResourceCommand";
15
+ export * from "./UntagResourceCommand";
13
16
  export * from "./UpdateAttendeeCapabilitiesCommand";
@@ -164,6 +164,22 @@ var ConflictException = (function (_super) {
164
164
  return ConflictException;
165
165
  }(__BaseException));
166
166
  export { ConflictException };
167
+ var ResourceNotFoundException = (function (_super) {
168
+ __extends(ResourceNotFoundException, _super);
169
+ function ResourceNotFoundException(opts) {
170
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
171
+ _this.name = "ResourceNotFoundException";
172
+ _this.$fault = "client";
173
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
174
+ _this.Code = opts.Code;
175
+ _this.Message = opts.Message;
176
+ _this.RequestId = opts.RequestId;
177
+ _this.ResourceName = opts.ResourceName;
178
+ return _this;
179
+ }
180
+ return ResourceNotFoundException;
181
+ }(__BaseException));
182
+ export { ResourceNotFoundException };
167
183
  export var TranscribeMedicalContentIdentificationType;
168
184
  (function (TranscribeMedicalContentIdentificationType) {
169
185
  TranscribeMedicalContentIdentificationType["PHI"] = "PHI";
@@ -247,6 +263,22 @@ export var TranscribeVocabularyFilterMethod;
247
263
  TranscribeVocabularyFilterMethod["REMOVE"] = "remove";
248
264
  TranscribeVocabularyFilterMethod["TAG"] = "tag";
249
265
  })(TranscribeVocabularyFilterMethod || (TranscribeVocabularyFilterMethod = {}));
266
+ var TooManyTagsException = (function (_super) {
267
+ __extends(TooManyTagsException, _super);
268
+ function TooManyTagsException(opts) {
269
+ var _this = _super.call(this, __assign({ name: "TooManyTagsException", $fault: "client" }, opts)) || this;
270
+ _this.name = "TooManyTagsException";
271
+ _this.$fault = "client";
272
+ Object.setPrototypeOf(_this, TooManyTagsException.prototype);
273
+ _this.Code = opts.Code;
274
+ _this.Message = opts.Message;
275
+ _this.RequestId = opts.RequestId;
276
+ _this.ResourceName = opts.ResourceName;
277
+ return _this;
278
+ }
279
+ return TooManyTagsException;
280
+ }(__BaseException));
281
+ export { TooManyTagsException };
250
282
  export var AttendeeCapabilitiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
251
283
  export var AttendeeFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING })), (obj.JoinToken && { JoinToken: SENSITIVE_STRING }))); };
252
284
  export var AttendeeIdItemFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -260,6 +292,7 @@ export var CreateAttendeeRequestFilterSensitiveLog = function (obj) { return (__
260
292
  export var CreateAttendeeResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }))); };
261
293
  export var MeetingFeaturesConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
262
294
  export var NotificationsConfigurationFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.LambdaFunctionArn && { LambdaFunctionArn: SENSITIVE_STRING })), (obj.SnsTopicArn && { SnsTopicArn: SENSITIVE_STRING })), (obj.SqsQueueArn && { SqsQueueArn: SENSITIVE_STRING }))); };
295
+ export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
263
296
  export var CreateMeetingRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING })), (obj.MeetingHostId && { MeetingHostId: SENSITIVE_STRING })), (obj.ExternalMeetingId && { ExternalMeetingId: SENSITIVE_STRING })), (obj.NotificationsConfiguration && {
264
297
  NotificationsConfiguration: NotificationsConfigurationFilterSensitiveLog(obj.NotificationsConfiguration),
265
298
  }))); };
@@ -278,10 +311,16 @@ export var GetMeetingRequestFilterSensitiveLog = function (obj) { return (__assi
278
311
  export var GetMeetingResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }))); };
279
312
  export var ListAttendeesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
280
313
  export var ListAttendeesResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Attendees && { Attendees: obj.Attendees.map(function (item) { return AttendeeFilterSensitiveLog(item); }) }))); };
314
+ export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
315
+ export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
281
316
  export var EngineTranscribeMedicalSettingsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
282
317
  export var EngineTranscribeSettingsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
283
318
  export var TranscriptionConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
284
319
  export var StartMeetingTranscriptionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
285
320
  export var StopMeetingTranscriptionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
321
+ export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
322
+ export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
323
+ export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
324
+ export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
286
325
  export var UpdateAttendeeCapabilitiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
287
326
  export var UpdateAttendeeCapabilitiesResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }))); };