aws_sdk_ivs/client/get_playback_restriction_policy.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 [`GetPlaybackRestrictionPolicy`](crate::operation::get_playback_restriction_policy::builders::GetPlaybackRestrictionPolicyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::get_playback_restriction_policy::builders::GetPlaybackRestrictionPolicyFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_playback_restriction_policy::builders::GetPlaybackRestrictionPolicyFluentBuilder::set_arn):<br>required: **true**<br><p>ARN of the playback restriction policy to be returned.</p><br>
7 /// - On success, responds with [`GetPlaybackRestrictionPolicyOutput`](crate::operation::get_playback_restriction_policy::GetPlaybackRestrictionPolicyOutput) with field(s):
8 /// - [`playback_restriction_policy(Option<PlaybackRestrictionPolicy>)`](crate::operation::get_playback_restriction_policy::GetPlaybackRestrictionPolicyOutput::playback_restriction_policy): <p></p>
9 /// - On failure, responds with [`SdkError<GetPlaybackRestrictionPolicyError>`](crate::operation::get_playback_restriction_policy::GetPlaybackRestrictionPolicyError)
10 pub fn get_playback_restriction_policy(
11 &self,
12 ) -> crate::operation::get_playback_restriction_policy::builders::GetPlaybackRestrictionPolicyFluentBuilder {
13 crate::operation::get_playback_restriction_policy::builders::GetPlaybackRestrictionPolicyFluentBuilder::new(self.handle.clone())
14 }
15}