aws_sdk_iotwireless/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 resource to get.</p><br>
7    /// - On success, responds with [`GetDestinationOutput`](crate::operation::get_destination::GetDestinationOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::arn): <p>The Amazon Resource Name of the resource.</p>
9    ///   - [`name(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::name): <p>The name of the resource.</p>
10    ///   - [`expression(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::expression): <p>The rule name or topic rule to send messages to.</p>
11    ///   - [`expression_type(Option<ExpressionType>)`](crate::operation::get_destination::GetDestinationOutput::expression_type): <p>The type of value in <code>Expression</code>.</p>
12    ///   - [`description(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::description): <p>The description of the resource.</p>
13    ///   - [`role_arn(Option<String>)`](crate::operation::get_destination::GetDestinationOutput::role_arn): <p>The ARN of the IAM Role that authorizes the destination.</p>
14    /// - On failure, responds with [`SdkError<GetDestinationError>`](crate::operation::get_destination::GetDestinationError)
15    pub fn get_destination(&self) -> crate::operation::get_destination::builders::GetDestinationFluentBuilder {
16        crate::operation::get_destination::builders::GetDestinationFluentBuilder::new(self.handle.clone())
17    }
18}