aws_sdk_wafregional/client/
update_xss_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 [`UpdateXssMatchSet`](crate::operation::update_xss_match_set::builders::UpdateXssMatchSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`xss_match_set_id(impl Into<String>)`](crate::operation::update_xss_match_set::builders::UpdateXssMatchSetFluentBuilder::xss_match_set_id) / [`set_xss_match_set_id(Option<String>)`](crate::operation::update_xss_match_set::builders::UpdateXssMatchSetFluentBuilder::set_xss_match_set_id):<br>required: **true**<br><p>The <code>XssMatchSetId</code> of the <code>XssMatchSet</code> that you want to update. <code>XssMatchSetId</code> is returned by <code>CreateXssMatchSet</code> and by <code>ListXssMatchSets</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::update_xss_match_set::builders::UpdateXssMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::update_xss_match_set::builders::UpdateXssMatchSetFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
    ///   - [`updates(XssMatchSetUpdate)`](crate::operation::update_xss_match_set::builders::UpdateXssMatchSetFluentBuilder::updates) / [`set_updates(Option<Vec::<XssMatchSetUpdate>>)`](crate::operation::update_xss_match_set::builders::UpdateXssMatchSetFluentBuilder::set_updates):<br>required: **true**<br><p>An array of <code>XssMatchSetUpdate</code> objects that you want to insert into or delete from an <code>XssMatchSet</code>. For more information, see the applicable data types:</p> <ul>  <li>   <p><code>XssMatchSetUpdate</code>: Contains <code>Action</code> and <code>XssMatchTuple</code></p></li>  <li>   <p><code>XssMatchTuple</code>: Contains <code>FieldToMatch</code> and <code>TextTransformation</code></p></li>  <li>   <p><code>FieldToMatch</code>: Contains <code>Data</code> and <code>Type</code></p></li> </ul><br>
    /// - On success, responds with [`UpdateXssMatchSetOutput`](crate::operation::update_xss_match_set::UpdateXssMatchSetOutput) with field(s):
    ///   - [`change_token(Option<String>)`](crate::operation::update_xss_match_set::UpdateXssMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateXssMatchSet</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<UpdateXssMatchSetError>`](crate::operation::update_xss_match_set::UpdateXssMatchSetError)
    pub fn update_xss_match_set(&self) -> crate::operation::update_xss_match_set::builders::UpdateXssMatchSetFluentBuilder {
        crate::operation::update_xss_match_set::builders::UpdateXssMatchSetFluentBuilder::new(self.handle.clone())
    }
}