aws_sdk_cloudwatchlogs/client/
delete_delivery.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 [`DeleteDelivery`](crate::operation::delete_delivery::builders::DeleteDeliveryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`DeleteDeliveryOutput`](crate::operation::delete_delivery::DeleteDeliveryOutput)
8    /// - On failure, responds with [`SdkError<DeleteDeliveryError>`](crate::operation::delete_delivery::DeleteDeliveryError)
9    pub fn delete_delivery(&self) -> crate::operation::delete_delivery::builders::DeleteDeliveryFluentBuilder {
10        crate::operation::delete_delivery::builders::DeleteDeliveryFluentBuilder::new(self.handle.clone())
11    }
12}