aws_sdk_waf/client/get_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 [`GetXssMatchSet`](crate::operation::get_xss_match_set::builders::GetXssMatchSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetXssMatchSetOutput`](crate::operation::get_xss_match_set::GetXssMatchSetOutput) with field(s):
8 /// - [`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>
9 /// - On failure, responds with [`SdkError<GetXssMatchSetError>`](crate::operation::get_xss_match_set::GetXssMatchSetError)
10 pub fn get_xss_match_set(&self) -> crate::operation::get_xss_match_set::builders::GetXssMatchSetFluentBuilder {
11 crate::operation::get_xss_match_set::builders::GetXssMatchSetFluentBuilder::new(self.handle.clone())
12 }
13}