async 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[AsyncChimeSDKMeetingsClientConfig] = 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.
"""
async def _handler(
req: "AsyncOperationRequest[capo_chime_sdk_meetings.types.get_attendee_request.GetAttendeeRequest]",
) -> AsyncOperationResponse[
"capo_chime_sdk_meetings.types.get_attendee_response.GetAttendeeResponse"
]:
import capo_chime_sdk_meetings._operations.chime_meetings_sdk_service.get_attendee
(
output,
http_response,
) = await capo_chime_sdk_meetings._operations.chime_meetings_sdk_service.get_attendee.async_get_attendee(
req.options, req.input
)
return AsyncOperationResponse(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 = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output