aws_sdk_cloudwatchlogs/client/put_delivery_destination_policy.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutDeliveryDestinationPolicy`](crate::operation::put_delivery_destination_policy::builders::PutDeliveryDestinationPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`delivery_destination_name(impl Into<String>)`](crate::operation::put_delivery_destination_policy::builders::PutDeliveryDestinationPolicyFluentBuilder::delivery_destination_name) / [`set_delivery_destination_name(Option<String>)`](crate::operation::put_delivery_destination_policy::builders::PutDeliveryDestinationPolicyFluentBuilder::set_delivery_destination_name):<br>required: **true**<br><p>The name of the delivery destination to assign this policy to.</p><br>
/// - [`delivery_destination_policy(impl Into<String>)`](crate::operation::put_delivery_destination_policy::builders::PutDeliveryDestinationPolicyFluentBuilder::delivery_destination_policy) / [`set_delivery_destination_policy(Option<String>)`](crate::operation::put_delivery_destination_policy::builders::PutDeliveryDestinationPolicyFluentBuilder::set_delivery_destination_policy):<br>required: **true**<br><p>The contents of the policy.</p><br>
/// - On success, responds with [`PutDeliveryDestinationPolicyOutput`](crate::operation::put_delivery_destination_policy::PutDeliveryDestinationPolicyOutput) with field(s):
/// - [`policy(Option<Policy>)`](crate::operation::put_delivery_destination_policy::PutDeliveryDestinationPolicyOutput::policy): <p>The contents of the policy that you just created.</p>
/// - On failure, responds with [`SdkError<PutDeliveryDestinationPolicyError>`](crate::operation::put_delivery_destination_policy::PutDeliveryDestinationPolicyError)
pub fn put_delivery_destination_policy(
&self,
) -> crate::operation::put_delivery_destination_policy::builders::PutDeliveryDestinationPolicyFluentBuilder {
crate::operation::put_delivery_destination_policy::builders::PutDeliveryDestinationPolicyFluentBuilder::new(self.handle.clone())
}
}