aws_sdk_waf/client/
update_regex_pattern_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 [`UpdateRegexPatternSet`](crate::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`regex_pattern_set_id(impl Into<String>)`](crate::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetFluentBuilder::regex_pattern_set_id) / [`set_regex_pattern_set_id(Option<String>)`](crate::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetFluentBuilder::set_regex_pattern_set_id):<br>required: **true**<br><p>The <code>RegexPatternSetId</code> of the <code>RegexPatternSet</code> that you want to update. <code>RegexPatternSetId</code> is returned by <code>CreateRegexPatternSet</code> and by <code>ListRegexPatternSets</code>.</p><br>
    ///   - [`updates(RegexPatternSetUpdate)`](crate::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetFluentBuilder::updates) / [`set_updates(Option<Vec::<RegexPatternSetUpdate>>)`](crate::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetFluentBuilder::set_updates):<br>required: **true**<br><p>An array of <code>RegexPatternSetUpdate</code> objects that you want to insert into or delete from a <code>RegexPatternSet</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetFluentBuilder::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 [`UpdateRegexPatternSetOutput`](crate::operation::update_regex_pattern_set::UpdateRegexPatternSetOutput) with field(s):
    ///   - [`change_token(Option<String>)`](crate::operation::update_regex_pattern_set::UpdateRegexPatternSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRegexPatternSet</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<UpdateRegexPatternSetError>`](crate::operation::update_regex_pattern_set::UpdateRegexPatternSetError)
    pub fn update_regex_pattern_set(&self) -> crate::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetFluentBuilder {
        crate::operation::update_regex_pattern_set::builders::UpdateRegexPatternSetFluentBuilder::new(self.handle.clone())
    }
}