aws_sdk_wafregional/client/
get_xss_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 [`GetXssMatchSet`](crate::operation::get_xss_match_set::builders::GetXssMatchSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`xss_match_set_id(impl Into<String>)`](crate::operation::get_xss_match_set::builders::GetXssMatchSetFluentBuilder::xss_match_set_id) / [`set_xss_match_set_id(Option<String>)`](crate::operation::get_xss_match_set::builders::GetXssMatchSetFluentBuilder::set_xss_match_set_id):<br>required: **true**<br><p>The <code>XssMatchSetId</code> of the <code>XssMatchSet</code> that you want to get. <code>XssMatchSetId</code> is returned by <code>CreateXssMatchSet</code> and by <code>ListXssMatchSets</code>.</p><br>
    /// - On success, responds with [`GetXssMatchSetOutput`](crate::operation::get_xss_match_set::GetXssMatchSetOutput) with field(s):
    ///   - [`xss_match_set(Option<XssMatchSet>)`](crate::operation::get_xss_match_set::GetXssMatchSetOutput::xss_match_set): <p>Information about the <code>XssMatchSet</code> that you specified in the <code>GetXssMatchSet</code> request. For more information, see the following topics:</p> <ul>  <li>   <p><code>XssMatchSet</code>: Contains <code>Name</code>, <code>XssMatchSetId</code>, and an array of <code>XssMatchTuple</code> objects</p></li>  <li>   <p><code>XssMatchTuple</code>: Each <code>XssMatchTuple</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<GetXssMatchSetError>`](crate::operation::get_xss_match_set::GetXssMatchSetError)
    pub fn get_xss_match_set(&self) -> crate::operation::get_xss_match_set::builders::GetXssMatchSetFluentBuilder {
        crate::operation::get_xss_match_set::builders::GetXssMatchSetFluentBuilder::new(self.handle.clone())
    }
}