Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their JoinToken. Attendees are automatically deleted when a Amazon Chime SDK meeting is deleted. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
Parameters:
-
meeting_id
(GuidString)
–
The Amazon Chime SDK meeting ID.
-
attendee_id
(GuidString)
–
The Amazon Chime SDK attendee ID.
Raises:
Source code in docs_src/capo_chime_sdk_meetings/_services/chime_sdk_meetings.py
| def delete_attendee(
self,
meeting_id: "capo_chime_sdk_meetings.types.guid_string.GuidString",
attendee_id: "capo_chime_sdk_meetings.types.guid_string.GuidString",
*,
config_overrides: Optional[ChimeSDKMeetingsClientConfig] = None,
) -> None:
"""<p>Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their <code>JoinToken</code>. Attendees are automatically deleted when a Amazon Chime SDK meeting is deleted. For more information about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meetings-sdk.html">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>.</p>
Args:
meeting_id: <p>The Amazon Chime SDK meeting ID.</p>
attendee_id: <p>The Amazon Chime SDK attendee ID.</p>
Raises:
capo_chime_sdk_meetings.errors.bad_request_exception.BadRequestException: <p>The input parameters don't match the service's restrictions.</p>
capo_chime_sdk_meetings.errors.forbidden_exception.ForbiddenException: <p>The client is permanently forbidden from making the request.</p>
capo_chime_sdk_meetings.errors.not_found_exception.NotFoundException: <p>One or more of the resources in the request does not exist in the system.</p>
capo_chime_sdk_meetings.errors.service_failure_exception.ServiceFailureException: <p>The service encountered an unexpected error.</p>
capo_chime_sdk_meetings.errors.service_unavailable_exception.ServiceUnavailableException: <p>The service is currently unavailable.</p>
capo_chime_sdk_meetings.errors.throttling_exception.ThrottlingException: <p>The number of customer requests exceeds the request rate limit.</p>
capo_chime_sdk_meetings.errors.unauthorized_exception.UnauthorizedException: <p>The user isn't authorized to request a resource.</p>
capo_chime_sdk_meetings.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_chime_sdk_meetings.types.delete_attendee_request.DeleteAttendeeRequest]",
) -> OperationResponse[None]:
import capo_chime_sdk_meetings._operations.chime_meetings_sdk_service.delete_attendee
output, http_response = (
capo_chime_sdk_meetings._operations.chime_meetings_sdk_service.delete_attendee.delete_attendee(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DeleteAttendee")
)
input_: capo_chime_sdk_meetings.types.delete_attendee_request.DeleteAttendeeRequest = {
"meeting_id": meeting_id,
"attendee_id": attendee_id,
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|