aws_sdk_ivsrealtime/client/get_participant.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetParticipant`](crate::operation::get_participant::builders::GetParticipantFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`stage_arn(impl Into<String>)`](crate::operation::get_participant::builders::GetParticipantFluentBuilder::stage_arn) / [`set_stage_arn(Option<String>)`](crate::operation::get_participant::builders::GetParticipantFluentBuilder::set_stage_arn):<br>required: **true**<br><p>Stage ARN.</p><br>
7 /// - [`session_id(impl Into<String>)`](crate::operation::get_participant::builders::GetParticipantFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_participant::builders::GetParticipantFluentBuilder::set_session_id):<br>required: **true**<br><p>ID of a session within the stage.</p><br>
8 /// - [`participant_id(impl Into<String>)`](crate::operation::get_participant::builders::GetParticipantFluentBuilder::participant_id) / [`set_participant_id(Option<String>)`](crate::operation::get_participant::builders::GetParticipantFluentBuilder::set_participant_id):<br>required: **true**<br><p>Unique identifier for the participant. This is assigned by IVS and returned by <code>CreateParticipantToken</code>.</p><br>
9 /// - On success, responds with [`GetParticipantOutput`](crate::operation::get_participant::GetParticipantOutput) with field(s):
10 /// - [`participant(Option<Participant>)`](crate::operation::get_participant::GetParticipantOutput::participant): <p>The participant that is returned.</p>
11 /// - On failure, responds with [`SdkError<GetParticipantError>`](crate::operation::get_participant::GetParticipantError)
12 pub fn get_participant(&self) -> crate::operation::get_participant::builders::GetParticipantFluentBuilder {
13 crate::operation::get_participant::builders::GetParticipantFluentBuilder::new(self.handle.clone())
14 }
15}