1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::get_geo_location::_get_geo_location_output::GetGeoLocationOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::get_geo_location::_get_geo_location_input::GetGeoLocationInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::get_geo_location::_get_geo_location_output::GetGeoLocationOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::get_geo_location::builders::GetGeoLocationInputBuilder {
|
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_geo_location::GetGeoLocationOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::get_geo_location::GetGeoLocationError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.get_geo_location();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `GetGeoLocation`.
|
24 24 | ///
|
25 25 | /// <p>Gets information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets.</p>
|
26 26 | /// <p>Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.</p>
|
27 27 | /// <p>Use the following syntax to determine whether a continent is supported for geolocation:</p>
|
28 28 | /// <p><code>GET /2013-04-01/geolocation?continentcode=<i>two-letter abbreviation for a continent</i> </code></p>
|
29 29 | /// <p>Use the following syntax to determine whether a country is supported for geolocation:</p>
|
30 30 | /// <p><code>GET /2013-04-01/geolocation?countrycode=<i>two-character country code</i> </code></p>
|
31 31 | /// <p>Use the following syntax to determine whether a subdivision of a country is supported for geolocation:</p>
|
32 32 | /// <p><code>GET /2013-04-01/geolocation?countrycode=<i>two-character country code</i>&subdivisioncode=<i>subdivision code</i> </code></p>
|
33 33 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
34 34 | pub struct GetGeoLocationFluentBuilder {
|
35 35 | handle: ::std::sync::Arc<crate::client::Handle>,
|