aws_sdk_cloudwatchlogs/client/delete_delivery_destination_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 [`DeleteDeliveryDestinationPolicy`](crate::operation::delete_delivery_destination_policy::builders::DeleteDeliveryDestinationPolicyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`delivery_destination_name(impl Into<String>)`](crate::operation::delete_delivery_destination_policy::builders::DeleteDeliveryDestinationPolicyFluentBuilder::delivery_destination_name) / [`set_delivery_destination_name(Option<String>)`](crate::operation::delete_delivery_destination_policy::builders::DeleteDeliveryDestinationPolicyFluentBuilder::set_delivery_destination_name):<br>required: **true**<br><p>The name of the delivery destination that you want to delete the policy for.</p><br>
7 /// - On success, responds with [`DeleteDeliveryDestinationPolicyOutput`](crate::operation::delete_delivery_destination_policy::DeleteDeliveryDestinationPolicyOutput)
8 /// - On failure, responds with [`SdkError<DeleteDeliveryDestinationPolicyError>`](crate::operation::delete_delivery_destination_policy::DeleteDeliveryDestinationPolicyError)
9 pub fn delete_delivery_destination_policy(
10 &self,
11 ) -> crate::operation::delete_delivery_destination_policy::builders::DeleteDeliveryDestinationPolicyFluentBuilder {
12 crate::operation::delete_delivery_destination_policy::builders::DeleteDeliveryDestinationPolicyFluentBuilder::new(self.handle.clone())
13 }
14}