aws_sdk_waf/client/
update_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 [`UpdateRegexMatchSet`](crate::operation::update_regex_match_set::builders::UpdateRegexMatchSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`regex_match_set_id(impl Into<String>)`](crate::operation::update_regex_match_set::builders::UpdateRegexMatchSetFluentBuilder::regex_match_set_id) / [`set_regex_match_set_id(Option<String>)`](crate::operation::update_regex_match_set::builders::UpdateRegexMatchSetFluentBuilder::set_regex_match_set_id):<br>required: **true**<br><p>The <code>RegexMatchSetId</code> of the <code>RegexMatchSet</code> that you want to update. <code>RegexMatchSetId</code> is returned by <code>CreateRegexMatchSet</code> and by <code>ListRegexMatchSets</code>.</p><br>
    ///   - [`updates(RegexMatchSetUpdate)`](crate::operation::update_regex_match_set::builders::UpdateRegexMatchSetFluentBuilder::updates) / [`set_updates(Option<Vec::<RegexMatchSetUpdate>>)`](crate::operation::update_regex_match_set::builders::UpdateRegexMatchSetFluentBuilder::set_updates):<br>required: **true**<br><p>An array of <code>RegexMatchSetUpdate</code> objects that you want to insert into or delete from a <code>RegexMatchSet</code>. For more information, see <code>RegexMatchTuple</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::update_regex_match_set::builders::UpdateRegexMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::update_regex_match_set::builders::UpdateRegexMatchSetFluentBuilder::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 [`UpdateRegexMatchSetOutput`](crate::operation::update_regex_match_set::UpdateRegexMatchSetOutput) with field(s):
    ///   - [`change_token(Option<String>)`](crate::operation::update_regex_match_set::UpdateRegexMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRegexMatchSet</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<UpdateRegexMatchSetError>`](crate::operation::update_regex_match_set::UpdateRegexMatchSetError)
    pub fn update_regex_match_set(&self) -> crate::operation::update_regex_match_set::builders::UpdateRegexMatchSetFluentBuilder {
        crate::operation::update_regex_match_set::builders::UpdateRegexMatchSetFluentBuilder::new(self.handle.clone())
    }
}