aws_sdk_mediastore/client/delete_container_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 [`DeleteContainerPolicy`](crate::operation::delete_container_policy::builders::DeleteContainerPolicyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`container_name(impl Into<String>)`](crate::operation::delete_container_policy::builders::DeleteContainerPolicyFluentBuilder::container_name) / [`set_container_name(Option<String>)`](crate::operation::delete_container_policy::builders::DeleteContainerPolicyFluentBuilder::set_container_name):<br>required: **true**<br><p>The name of the container that holds the policy.</p><br>
7 /// - On success, responds with [`DeleteContainerPolicyOutput`](crate::operation::delete_container_policy::DeleteContainerPolicyOutput)
8 /// - On failure, responds with [`SdkError<DeleteContainerPolicyError>`](crate::operation::delete_container_policy::DeleteContainerPolicyError)
9 pub fn delete_container_policy(&self) -> crate::operation::delete_container_policy::builders::DeleteContainerPolicyFluentBuilder {
10 crate::operation::delete_container_policy::builders::DeleteContainerPolicyFluentBuilder::new(self.handle.clone())
11 }
12}