aws_sdk_iotwireless/client/
get_service_profile.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 [`GetServiceProfile`](crate::operation::get_service_profile::builders::GetServiceProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::get_service_profile::builders::GetServiceProfileFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_service_profile::builders::GetServiceProfileFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the resource to get.</p><br>
7    /// - On success, responds with [`GetServiceProfileOutput`](crate::operation::get_service_profile::GetServiceProfileOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::get_service_profile::GetServiceProfileOutput::arn): <p>The Amazon Resource Name of the resource.</p>
9    ///   - [`name(Option<String>)`](crate::operation::get_service_profile::GetServiceProfileOutput::name): <p>The name of the resource.</p>
10    ///   - [`id(Option<String>)`](crate::operation::get_service_profile::GetServiceProfileOutput::id): <p>The ID of the service profile.</p>
11    ///   - [`lo_ra_wan(Option<LoRaWanGetServiceProfileInfo>)`](crate::operation::get_service_profile::GetServiceProfileOutput::lo_ra_wan): <p>Information about the service profile.</p>
12    /// - On failure, responds with [`SdkError<GetServiceProfileError>`](crate::operation::get_service_profile::GetServiceProfileError)
13    pub fn get_service_profile(&self) -> crate::operation::get_service_profile::builders::GetServiceProfileFluentBuilder {
14        crate::operation::get_service_profile::builders::GetServiceProfileFluentBuilder::new(self.handle.clone())
15    }
16}