aws_sdk_cloudwatchlogs/client/get_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 [`GetDelivery`](crate::operation::get_delivery::builders::GetDeliveryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetDeliveryOutput`](crate::operation::get_delivery::GetDeliveryOutput) with field(s):
8 /// - [`delivery(Option<Delivery>)`](crate::operation::get_delivery::GetDeliveryOutput::delivery): <p>A structure that contains information about the delivery.</p>
9 /// - On failure, responds with [`SdkError<GetDeliveryError>`](crate::operation::get_delivery::GetDeliveryError)
10 pub fn get_delivery(&self) -> crate::operation::get_delivery::builders::GetDeliveryFluentBuilder {
11 crate::operation::get_delivery::builders::GetDeliveryFluentBuilder::new(self.handle.clone())
12 }
13}