tagAttendee method

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

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

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 attendeeId : The Amazon Chime SDK attendee ID.

Parameter meetingId : The Amazon Chime SDK meeting ID.

Parameter tags : The tag key-value pairs.

Implementation

Future<void> tagAttendee({
  required String attendeeId,
  required String meetingId,
  required List<Tag> tags,
}) async {
  ArgumentError.checkNotNull(attendeeId, 'attendeeId');
  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)}/attendees/${Uri.encodeComponent(attendeeId)}/tags?operation=add',
    exceptionFnMap: _exceptionFns,
  );
}