aws_sdk_waf/client/
create_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 [`CreateGeoMatchSet`](crate::operation::create_geo_match_set::builders::CreateGeoMatchSetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::create_geo_match_set::builders::CreateGeoMatchSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_geo_match_set::builders::CreateGeoMatchSetFluentBuilder::set_name):<br>required: **true**<br><p>A friendly name or description of the <code>GeoMatchSet</code>. You can't change <code>Name</code> after you create the <code>GeoMatchSet</code>.</p><br>
7    ///   - [`change_token(impl Into<String>)`](crate::operation::create_geo_match_set::builders::CreateGeoMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::create_geo_match_set::builders::CreateGeoMatchSetFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
8    /// - On success, responds with [`CreateGeoMatchSetOutput`](crate::operation::create_geo_match_set::CreateGeoMatchSetOutput) with field(s):
9    ///   - [`geo_match_set(Option<GeoMatchSet>)`](crate::operation::create_geo_match_set::CreateGeoMatchSetOutput::geo_match_set): <p>The <code>GeoMatchSet</code> returned in the <code>CreateGeoMatchSet</code> response. The <code>GeoMatchSet</code> contains no <code>GeoMatchConstraints</code>.</p>
10    ///   - [`change_token(Option<String>)`](crate::operation::create_geo_match_set::CreateGeoMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>CreateGeoMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <code>GetChangeTokenStatus</code>.</p>
11    /// - On failure, responds with [`SdkError<CreateGeoMatchSetError>`](crate::operation::create_geo_match_set::CreateGeoMatchSetError)
12    pub fn create_geo_match_set(&self) -> crate::operation::create_geo_match_set::builders::CreateGeoMatchSetFluentBuilder {
13        crate::operation::create_geo_match_set::builders::CreateGeoMatchSetFluentBuilder::new(self.handle.clone())
14    }
15}