tagMeeting method

Future<void> tagMeeting({
  1. required String meetingId,
  2. required List<Tag> tags,
})

Applies the specified tags to the specified Amazon Chime SDK meeting.

May throw BadRequestException. May throw ForbiddenException. May throw NotFoundException. May throw ResourceLimitExceededException. May throw ThrottledClientException. May throw UnauthorizedClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter meetingId : The Amazon Chime SDK meeting ID.

Parameter tags : The tag key-value pairs.

Implementation

Future<void> tagMeeting({
  required String meetingId,
  required List<Tag> tags,
}) async {
  ArgumentError.checkNotNull(meetingId, 'meetingId');
  ArgumentError.checkNotNull(tags, 'tags');
  final $payload = <String, dynamic>{
    'Tags': tags,
  };
  await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri:
        '/meetings/${Uri.encodeComponent(meetingId)}/tags?operation=add',
    exceptionFnMap: _exceptionFns,
  );
}