aws_sdk_waf/client/get_geo_match_set.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 [`GetGeoMatchSet`](crate::operation::get_geo_match_set::builders::GetGeoMatchSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`geo_match_set_id(impl Into<String>)`](crate::operation::get_geo_match_set::builders::GetGeoMatchSetFluentBuilder::geo_match_set_id) / [`set_geo_match_set_id(Option<String>)`](crate::operation::get_geo_match_set::builders::GetGeoMatchSetFluentBuilder::set_geo_match_set_id):<br>required: **true**<br><p>The <code>GeoMatchSetId</code> of the <code>GeoMatchSet</code> that you want to get. <code>GeoMatchSetId</code> is returned by <code>CreateGeoMatchSet</code> and by <code>ListGeoMatchSets</code>.</p><br>
7 /// - On success, responds with [`GetGeoMatchSetOutput`](crate::operation::get_geo_match_set::GetGeoMatchSetOutput) with field(s):
8 /// - [`geo_match_set(Option<GeoMatchSet>)`](crate::operation::get_geo_match_set::GetGeoMatchSetOutput::geo_match_set): <p>Information about the <code>GeoMatchSet</code> that you specified in the <code>GetGeoMatchSet</code> request. This includes the <code>Type</code>, which for a <code>GeoMatchContraint</code> is always <code>Country</code>, as well as the <code>Value</code>, which is the identifier for a specific country.</p>
9 /// - On failure, responds with [`SdkError<GetGeoMatchSetError>`](crate::operation::get_geo_match_set::GetGeoMatchSetError)
10 pub fn get_geo_match_set(&self) -> crate::operation::get_geo_match_set::builders::GetGeoMatchSetFluentBuilder {
11 crate::operation::get_geo_match_set::builders::GetGeoMatchSetFluentBuilder::new(self.handle.clone())
12 }
13}