aws_sdk_waf/client/get_geo_match_set.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetGeoMatchSet`](crate::operation::get_geo_match_set::builders::GetGeoMatchSetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - On success, responds with [`GetGeoMatchSetOutput`](crate::operation::get_geo_match_set::GetGeoMatchSetOutput) with field(s):
/// - [`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>
/// - On failure, responds with [`SdkError<GetGeoMatchSetError>`](crate::operation::get_geo_match_set::GetGeoMatchSetError)
pub fn get_geo_match_set(&self) -> crate::operation::get_geo_match_set::builders::GetGeoMatchSetFluentBuilder {
crate::operation::get_geo_match_set::builders::GetGeoMatchSetFluentBuilder::new(self.handle.clone())
}
}