aws_sdk_ivsrealtime/client/
stop_participant_replication.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 [`StopParticipantReplication`](crate::operation::stop_participant_replication::builders::StopParticipantReplicationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`source_stage_arn(impl Into<String>)`](crate::operation::stop_participant_replication::builders::StopParticipantReplicationFluentBuilder::source_stage_arn) / [`set_source_stage_arn(Option<String>)`](crate::operation::stop_participant_replication::builders::StopParticipantReplicationFluentBuilder::set_source_stage_arn):<br>required: **true**<br><p>ARN of the stage where the participant is publishing.</p><br>
7    ///   - [`destination_stage_arn(impl Into<String>)`](crate::operation::stop_participant_replication::builders::StopParticipantReplicationFluentBuilder::destination_stage_arn) / [`set_destination_stage_arn(Option<String>)`](crate::operation::stop_participant_replication::builders::StopParticipantReplicationFluentBuilder::set_destination_stage_arn):<br>required: **true**<br><p>ARN of the stage where the participant has been replicated.</p><br>
8    ///   - [`participant_id(impl Into<String>)`](crate::operation::stop_participant_replication::builders::StopParticipantReplicationFluentBuilder::participant_id) / [`set_participant_id(Option<String>)`](crate::operation::stop_participant_replication::builders::StopParticipantReplicationFluentBuilder::set_participant_id):<br>required: **true**<br><p>Participant ID of the publisher that has been replicated. This is assigned by IVS and returned by <code>CreateParticipantToken</code> or the <code>jti</code> (JWT ID) used to <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html#getting-started-distribute-tokens-self-signed"> create a self signed token</a>.</p><br>
9    /// - On success, responds with [`StopParticipantReplicationOutput`](crate::operation::stop_participant_replication::StopParticipantReplicationOutput) with field(s):
10    ///   - [`access_control_allow_origin(Option<String>)`](crate::operation::stop_participant_replication::StopParticipantReplicationOutput::access_control_allow_origin): <p></p>
11    ///   - [`access_control_expose_headers(Option<String>)`](crate::operation::stop_participant_replication::StopParticipantReplicationOutput::access_control_expose_headers): <p></p>
12    ///   - [`cache_control(Option<String>)`](crate::operation::stop_participant_replication::StopParticipantReplicationOutput::cache_control): <p></p>
13    ///   - [`content_security_policy(Option<String>)`](crate::operation::stop_participant_replication::StopParticipantReplicationOutput::content_security_policy): <p></p>
14    ///   - [`strict_transport_security(Option<String>)`](crate::operation::stop_participant_replication::StopParticipantReplicationOutput::strict_transport_security): <p></p>
15    ///   - [`x_content_type_options(Option<String>)`](crate::operation::stop_participant_replication::StopParticipantReplicationOutput::x_content_type_options): <p></p>
16    ///   - [`x_frame_options(Option<String>)`](crate::operation::stop_participant_replication::StopParticipantReplicationOutput::x_frame_options): <p></p>
17    /// - On failure, responds with [`SdkError<StopParticipantReplicationError>`](crate::operation::stop_participant_replication::StopParticipantReplicationError)
18    pub fn stop_participant_replication(&self) -> crate::operation::stop_participant_replication::builders::StopParticipantReplicationFluentBuilder {
19        crate::operation::stop_participant_replication::builders::StopParticipantReplicationFluentBuilder::new(self.handle.clone())
20    }
21}