aws_sdk_wafregional/client/
create_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 [`CreateXssMatchSet`](crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder::set_name):<br>required: **true**<br><p>A friendly name or description for the <code>XssMatchSet</code> that you're creating. You can't change <code>Name</code> after you create the <code>XssMatchSet</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder::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 [`CreateXssMatchSetOutput`](crate::operation::create_xss_match_set::CreateXssMatchSetOutput) with field(s):
    ///   - [`xss_match_set(Option<XssMatchSet>)`](crate::operation::create_xss_match_set::CreateXssMatchSetOutput::xss_match_set): <p>An <code>XssMatchSet</code>.</p>
    ///   - [`change_token(Option<String>)`](crate::operation::create_xss_match_set::CreateXssMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>CreateXssMatchSet</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<CreateXssMatchSetError>`](crate::operation::create_xss_match_set::CreateXssMatchSetError)
    pub fn create_xss_match_set(&self) -> crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder {
        crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder::new(self.handle.clone())
    }
}