aws-sdk-ivs 1.63.0

AWS SDK for Amazon Interactive Video Service
Documentation
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 [`GetPlaybackRestrictionPolicy`](crate::operation::get_playback_restriction_policy::builders::GetPlaybackRestrictionPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetPlaybackRestrictionPolicyOutput`](crate::operation::get_playback_restriction_policy::GetPlaybackRestrictionPolicyOutput) with field(s):
    ///   - [`playback_restriction_policy(Option<PlaybackRestrictionPolicy>)`](crate::operation::get_playback_restriction_policy::GetPlaybackRestrictionPolicyOutput::playback_restriction_policy): <p></p>
    /// - On failure, responds with [`SdkError<GetPlaybackRestrictionPolicyError>`](crate::operation::get_playback_restriction_policy::GetPlaybackRestrictionPolicyError)
    pub fn get_playback_restriction_policy(
        &self,
    ) -> crate::operation::get_playback_restriction_policy::builders::GetPlaybackRestrictionPolicyFluentBuilder {
        crate::operation::get_playback_restriction_policy::builders::GetPlaybackRestrictionPolicyFluentBuilder::new(self.handle.clone())
    }
}