aws_sdk_waf/client/
create_sql_injection_match_set.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateSqlInjectionMatchSet`](crate::operation::create_sql_injection_match_set::builders::CreateSqlInjectionMatchSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_sql_injection_match_set::builders::CreateSqlInjectionMatchSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_sql_injection_match_set::builders::CreateSqlInjectionMatchSetFluentBuilder::set_name):<br>required: **true**<br><p>A friendly name or description for the <code>SqlInjectionMatchSet</code> that you're creating. You can't change <code>Name</code> after you create the <code>SqlInjectionMatchSet</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::create_sql_injection_match_set::builders::CreateSqlInjectionMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::create_sql_injection_match_set::builders::CreateSqlInjectionMatchSetFluentBuilder::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 [`CreateSqlInjectionMatchSetOutput`](crate::operation::create_sql_injection_match_set::CreateSqlInjectionMatchSetOutput) with field(s):
    ///   - [`sql_injection_match_set(Option<SqlInjectionMatchSet>)`](crate::operation::create_sql_injection_match_set::CreateSqlInjectionMatchSetOutput::sql_injection_match_set): <p>A <code>SqlInjectionMatchSet</code>.</p>
    ///   - [`change_token(Option<String>)`](crate::operation::create_sql_injection_match_set::CreateSqlInjectionMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>CreateSqlInjectionMatchSet</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<CreateSqlInjectionMatchSetError>`](crate::operation::create_sql_injection_match_set::CreateSqlInjectionMatchSetError)
    pub fn create_sql_injection_match_set(
        &self,
    ) -> crate::operation::create_sql_injection_match_set::builders::CreateSqlInjectionMatchSetFluentBuilder {
        crate::operation::create_sql_injection_match_set::builders::CreateSqlInjectionMatchSetFluentBuilder::new(self.handle.clone())
    }
}