aws_sdk_waf/client/
get_sql_injection_match_set.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSqlInjectionMatchSet`](crate::operation::get_sql_injection_match_set::builders::GetSqlInjectionMatchSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`sql_injection_match_set_id(impl Into<String>)`](crate::operation::get_sql_injection_match_set::builders::GetSqlInjectionMatchSetFluentBuilder::sql_injection_match_set_id) / [`set_sql_injection_match_set_id(Option<String>)`](crate::operation::get_sql_injection_match_set::builders::GetSqlInjectionMatchSetFluentBuilder::set_sql_injection_match_set_id):<br>required: **true**<br><p>The <code>SqlInjectionMatchSetId</code> of the <code>SqlInjectionMatchSet</code> that you want to get. <code>SqlInjectionMatchSetId</code> is returned by <code>CreateSqlInjectionMatchSet</code> and by <code>ListSqlInjectionMatchSets</code>.</p><br>
    /// - On success, responds with [`GetSqlInjectionMatchSetOutput`](crate::operation::get_sql_injection_match_set::GetSqlInjectionMatchSetOutput) with field(s):
    ///   - [`sql_injection_match_set(Option<SqlInjectionMatchSet>)`](crate::operation::get_sql_injection_match_set::GetSqlInjectionMatchSetOutput::sql_injection_match_set): <p>Information about the <code>SqlInjectionMatchSet</code> that you specified in the <code>GetSqlInjectionMatchSet</code> request. For more information, see the following topics:</p> <ul>  <li>   <p><code>SqlInjectionMatchSet</code>: Contains <code>Name</code>, <code>SqlInjectionMatchSetId</code>, and an array of <code>SqlInjectionMatchTuple</code> objects</p></li>  <li>   <p><code>SqlInjectionMatchTuple</code>: Each <code>SqlInjectionMatchTuple</code> object 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>
    /// - On failure, responds with [`SdkError<GetSqlInjectionMatchSetError>`](crate::operation::get_sql_injection_match_set::GetSqlInjectionMatchSetError)
    pub fn get_sql_injection_match_set(&self) -> crate::operation::get_sql_injection_match_set::builders::GetSqlInjectionMatchSetFluentBuilder {
        crate::operation::get_sql_injection_match_set::builders::GetSqlInjectionMatchSetFluentBuilder::new(self.handle.clone())
    }
}