aws_sdk_cloudwatchlogs/client/delete_delivery.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteDelivery`](crate::operation::delete_delivery::builders::DeleteDeliveryFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::delete_delivery::builders::DeleteDeliveryFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_delivery::builders::DeleteDeliveryFluentBuilder::set_id):<br>required: **true**<br><p>The unique ID of the delivery to delete. You can find the ID of a delivery with the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html">DescribeDeliveries</a> operation.</p><br>
/// - On success, responds with [`DeleteDeliveryOutput`](crate::operation::delete_delivery::DeleteDeliveryOutput)
/// - On failure, responds with [`SdkError<DeleteDeliveryError>`](crate::operation::delete_delivery::DeleteDeliveryError)
pub fn delete_delivery(&self) -> crate::operation::delete_delivery::builders::DeleteDeliveryFluentBuilder {
crate::operation::delete_delivery::builders::DeleteDeliveryFluentBuilder::new(self.handle.clone())
}
}