aws_sdk_ivs/client/delete_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 [`DeletePlaybackRestrictionPolicy`](crate::operation::delete_playback_restriction_policy::builders::DeletePlaybackRestrictionPolicyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::delete_playback_restriction_policy::builders::DeletePlaybackRestrictionPolicyFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_playback_restriction_policy::builders::DeletePlaybackRestrictionPolicyFluentBuilder::set_arn):<br>required: **true**<br><p>ARN of the playback restriction policy to be deleted.</p><br>
7 /// - On success, responds with [`DeletePlaybackRestrictionPolicyOutput`](crate::operation::delete_playback_restriction_policy::DeletePlaybackRestrictionPolicyOutput)
8 /// - On failure, responds with [`SdkError<DeletePlaybackRestrictionPolicyError>`](crate::operation::delete_playback_restriction_policy::DeletePlaybackRestrictionPolicyError)
9 pub fn delete_playback_restriction_policy(
10 &self,
11 ) -> crate::operation::delete_playback_restriction_policy::builders::DeletePlaybackRestrictionPolicyFluentBuilder {
12 crate::operation::delete_playback_restriction_policy::builders::DeletePlaybackRestrictionPolicyFluentBuilder::new(self.handle.clone())
13 }
14}