aws_sdk_cloudwatchlogs/client/get_delivery.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetDelivery`](crate::operation::get_delivery::builders::GetDeliveryFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::get_delivery::builders::GetDeliveryFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_delivery::builders::GetDeliveryFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the delivery that you want to retrieve.</p><br>
/// - On success, responds with [`GetDeliveryOutput`](crate::operation::get_delivery::GetDeliveryOutput) with field(s):
/// - [`delivery(Option<Delivery>)`](crate::operation::get_delivery::GetDeliveryOutput::delivery): <p>A structure that contains information about the delivery.</p>
/// - On failure, responds with [`SdkError<GetDeliveryError>`](crate::operation::get_delivery::GetDeliveryError)
pub fn get_delivery(&self) -> crate::operation::get_delivery::builders::GetDeliveryFluentBuilder {
crate::operation::get_delivery::builders::GetDeliveryFluentBuilder::new(self.handle.clone())
}
}