aws_sdk_ivs/client/batch_start_viewer_session_revocation.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 [`BatchStartViewerSessionRevocation`](crate::operation::batch_start_viewer_session_revocation::builders::BatchStartViewerSessionRevocationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`viewer_sessions(BatchStartViewerSessionRevocationViewerSession)`](crate::operation::batch_start_viewer_session_revocation::builders::BatchStartViewerSessionRevocationFluentBuilder::viewer_sessions) / [`set_viewer_sessions(Option<Vec::<BatchStartViewerSessionRevocationViewerSession>>)`](crate::operation::batch_start_viewer_session_revocation::builders::BatchStartViewerSessionRevocationFluentBuilder::set_viewer_sessions):<br>required: **true**<br><p>Array of viewer sessions, one per channel-ARN and viewer-ID pair.</p><br>
7 /// - On success, responds with [`BatchStartViewerSessionRevocationOutput`](crate::operation::batch_start_viewer_session_revocation::BatchStartViewerSessionRevocationOutput) with field(s):
8 /// - [`errors(Option<Vec::<BatchStartViewerSessionRevocationError>>)`](crate::operation::batch_start_viewer_session_revocation::BatchStartViewerSessionRevocationOutput::errors): <p>Each error object is related to a specific <code>channelArn</code> and <code>viewerId</code> pair in the request.</p>
9 /// - On failure, responds with [`SdkError<BatchStartViewerSessionRevocationError>`](crate::operation::batch_start_viewer_session_revocation::BatchStartViewerSessionRevocationError)
10 pub fn batch_start_viewer_session_revocation(
11 &self,
12 ) -> crate::operation::batch_start_viewer_session_revocation::builders::BatchStartViewerSessionRevocationFluentBuilder {
13 crate::operation::batch_start_viewer_session_revocation::builders::BatchStartViewerSessionRevocationFluentBuilder::new(self.handle.clone())
14 }
15}