aws_sdk_waf/client/create_xss_match_set.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateXssMatchSet`](crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`CreateXssMatchSetOutput`](crate::operation::create_xss_match_set::CreateXssMatchSetOutput) with field(s):
9 /// - [`xss_match_set(Option<XssMatchSet>)`](crate::operation::create_xss_match_set::CreateXssMatchSetOutput::xss_match_set): <p>An <code>XssMatchSet</code>.</p>
10 /// - [`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>
11 /// - On failure, responds with [`SdkError<CreateXssMatchSetError>`](crate::operation::create_xss_match_set::CreateXssMatchSetError)
12 pub fn create_xss_match_set(&self) -> crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder {
13 crate::operation::create_xss_match_set::builders::CreateXssMatchSetFluentBuilder::new(self.handle.clone())
14 }
15}