1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDestination`](crate::operation::get_destination::builders::GetDestinationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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 resource to get.</p><br>
    /// - On success, responds with [`GetDestinationOutput`](crate::operation::get_destination::GetDestinationOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::arn): <p>The Amazon Resource Name of the resource.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::name): <p>The name of the resource.</p>
    ///   - [`expression(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::expression): <p>The rule name or topic rule to send messages to.</p>
    ///   - [`expression_type(Option<ExpressionType>)`](crate::operation::get_destination::GetDestinationOutput::expression_type): <p>The type of value in <code>Expression</code>.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::description): <p>The description of the resource.</p>
    ///   - [`role_arn(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::role_arn): <p>The ARN of the IAM Role that authorizes the destination.</p>
    /// - On failure, responds with [`SdkError<GetDestinationError>`](crate::operation::get_destination::GetDestinationError)
    pub fn get_destination(&self) -> crate::operation::get_destination::builders::GetDestinationFluentBuilder {
        crate::operation::get_destination::builders::GetDestinationFluentBuilder::new(self.handle.clone())
    }
}