1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetParticipant`](crate::operation::get_participant::builders::GetParticipantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetParticipantOutput`](crate::operation::get_participant::GetParticipantOutput) with field(s):
    ///   - [`participant(Option<Participant>)`](crate::operation::get_participant::GetParticipantOutput::participant): <p>The participant that is returned.</p>
    /// - On failure, responds with [`SdkError<GetParticipantError>`](crate::operation::get_participant::GetParticipantError)
    pub fn get_participant(&self) -> crate::operation::get_participant::builders::GetParticipantFluentBuilder {
        crate::operation::get_participant::builders::GetParticipantFluentBuilder::new(self.handle.clone())
    }
}