1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::get_delivery::_get_delivery_output::GetDeliveryOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::get_delivery::_get_delivery_input::GetDeliveryInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::get_delivery::_get_delivery_output::GetDeliveryOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::get_delivery::builders::GetDeliveryInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::get_delivery::GetDeliveryOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::get_delivery::GetDeliveryError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.get_delivery();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `GetDelivery`.
|
24 24 | ///
|
25 25 | /// <p>Returns complete information about one logical <i>delivery</i>. A delivery is a connection between a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html"> <i>delivery source</i> </a> and a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html"> <i>delivery destination</i> </a>.</p>
|
26 26 | /// <p>A delivery source represents an Amazon Web Services resource that sends logs to an logs delivery destination. The destination can be CloudWatch Logs, Amazon S3, or Firehose. Only some Amazon Web Services services support being configured as a delivery source. These services are listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html">Enable logging from Amazon Web Services services.</a></p>
|
27 27 | /// <p>You need to specify the delivery <code>id</code> in this operation. You can find the IDs of the deliveries in your account with the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html">DescribeDeliveries</a> operation.</p>
|
28 28 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
29 29 | pub struct GetDeliveryFluentBuilder {
|
30 30 | handle: ::std::sync::Arc<crate::client::Handle>,
|
31 31 | inner: crate::operation::get_delivery::builders::GetDeliveryInputBuilder,
|
32 32 | config_override: ::std::option::Option<crate::config::Builder>,
|
33 33 | }
|
34 34 | impl
|
35 35 | crate::client::customize::internal::CustomizableSend<
|