aws_sdk_cloudwatchlogs/client/get_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 [`GetDeliveryDestinationPolicy`](crate::operation::get_delivery_destination_policy::builders::GetDeliveryDestinationPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`delivery_destination_name(impl Into<String>)`](crate::operation::get_delivery_destination_policy::builders::GetDeliveryDestinationPolicyFluentBuilder::delivery_destination_name) / [`set_delivery_destination_name(Option<String>)`](crate::operation::get_delivery_destination_policy::builders::GetDeliveryDestinationPolicyFluentBuilder::set_delivery_destination_name):<br>required: **true**<br><p>The name of the delivery destination that you want to retrieve the policy of.</p><br>
/// - On success, responds with [`GetDeliveryDestinationPolicyOutput`](crate::operation::get_delivery_destination_policy::GetDeliveryDestinationPolicyOutput) with field(s):
/// - [`policy(Option<Policy>)`](crate::operation::get_delivery_destination_policy::GetDeliveryDestinationPolicyOutput::policy): <p>The IAM policy for this delivery destination.</p>
/// - On failure, responds with [`SdkError<GetDeliveryDestinationPolicyError>`](crate::operation::get_delivery_destination_policy::GetDeliveryDestinationPolicyError)
pub fn get_delivery_destination_policy(
&self,
) -> crate::operation::get_delivery_destination_policy::builders::GetDeliveryDestinationPolicyFluentBuilder {
crate::operation::get_delivery_destination_policy::builders::GetDeliveryDestinationPolicyFluentBuilder::new(self.handle.clone())
}
}