aws_sdk_iotmanagedintegrations/client/
get_destination.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 [`GetDestination`](crate::operation::get_destination::builders::GetDestinationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::get_destination::builders::GetDestinationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_destination::builders::GetDestinationFluentBuilder::set_name):<br>required: **true**<br><p>The name of the customer-managed destination.</p><br>
7    /// - On success, responds with [`GetDestinationOutput`](crate::operation::get_destination::GetDestinationOutput) with field(s):
8    ///   - [`description(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::description): <p>The description of the customer-managed destination.</p>
9    ///   - [`delivery_destination_arn(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::delivery_destination_arn): <p>The Amazon Resource Name (ARN) of the customer-managed destination.</p>
10    ///   - [`delivery_destination_type(Option<DeliveryDestinationType>)`](crate::operation::get_destination::GetDestinationOutput::delivery_destination_type): <p>The destination type for the customer-managed destination.</p>
11    ///   - [`name(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::name): <p>The name of the customer-managed destination.</p>
12    ///   - [`role_arn(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::role_arn): <p>The Amazon Resource Name (ARN) of the delivery destination role.</p>
13    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_destination::GetDestinationOutput::created_at): <p>The timestamp value of when the destination creation requset occurred.</p>
14    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_destination::GetDestinationOutput::updated_at): <p>The timestamp value of when the destination update requset occurred.</p>
15    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_destination::GetDestinationOutput::tags): <p>A set of key/value pairs that are used to manage the customer-managed destination.</p>
16    /// - On failure, responds with [`SdkError<GetDestinationError>`](crate::operation::get_destination::GetDestinationError)
17    pub fn get_destination(&self) -> crate::operation::get_destination::builders::GetDestinationFluentBuilder {
18        crate::operation::get_destination::builders::GetDestinationFluentBuilder::new(self.handle.clone())
19    }
20}