Skip to content

get_attendee

get_attendee(
    meeting_id: GuidString,
    attendee_id: GuidString,
    *,
    config_overrides: Optional[ChimeSDKMeetingsClientConfig] = None,
) -> GetAttendeeResponse

Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee ID. 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 get_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,
) -> "capo_chime_sdk_meetings.types.get_attendee_response.GetAttendeeResponse":
    """<p> Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee ID. 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.get_attendee_request.GetAttendeeRequest]",
    ) -> OperationResponse[
        "capo_chime_sdk_meetings.types.get_attendee_response.GetAttendeeResponse"
    ]:
        import capo_chime_sdk_meetings._operations.chime_meetings_sdk_service.get_attendee

        output, http_response = (
            capo_chime_sdk_meetings._operations.chime_meetings_sdk_service.get_attendee.get_attendee(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    def _redact_output(
        output: "capo_chime_sdk_meetings.types.get_attendee_response.GetAttendeeResponse",
    ) -> dict[str, Any]:
        import capo_chime_sdk_meetings.types.get_attendee_response

        return capo_chime_sdk_meetings.types.get_attendee_response.redact_sensitive(
            output
        )

    interceptors_, options_ = self.operation_options(
        config_overrides,
        OperationLogging("GetAttendee", redact_output=_redact_output),
    )
    input_: capo_chime_sdk_meetings.types.get_attendee_request.GetAttendeeRequest = {
        "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