aws_sdk_waf/client/
create_regex_match_set.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateRegexMatchSet`](crate::operation::create_regex_match_set::builders::CreateRegexMatchSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_regex_match_set::builders::CreateRegexMatchSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_regex_match_set::builders::CreateRegexMatchSetFluentBuilder::set_name):<br>required: **true**<br><p>A friendly name or description of the <code>RegexMatchSet</code>. You can't change <code>Name</code> after you create a <code>RegexMatchSet</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::create_regex_match_set::builders::CreateRegexMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::create_regex_match_set::builders::CreateRegexMatchSetFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
    /// - On success, responds with [`CreateRegexMatchSetOutput`](crate::operation::create_regex_match_set::CreateRegexMatchSetOutput) with field(s):
    ///   - [`regex_match_set(Option<RegexMatchSet>)`](crate::operation::create_regex_match_set::CreateRegexMatchSetOutput::regex_match_set): <p>A <code>RegexMatchSet</code> that contains no <code>RegexMatchTuple</code> objects.</p>
    ///   - [`change_token(Option<String>)`](crate::operation::create_regex_match_set::CreateRegexMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>CreateRegexMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <code>GetChangeTokenStatus</code>.</p>
    /// - On failure, responds with [`SdkError<CreateRegexMatchSetError>`](crate::operation::create_regex_match_set::CreateRegexMatchSetError)
    pub fn create_regex_match_set(&self) -> crate::operation::create_regex_match_set::builders::CreateRegexMatchSetFluentBuilder {
        crate::operation::create_regex_match_set::builders::CreateRegexMatchSetFluentBuilder::new(self.handle.clone())
    }
}