aws_sdk_wafregional/client/
list_xss_match_sets.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListXssMatchSets`](crate::operation::list_xss_match_sets::builders::ListXssMatchSetsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_marker(impl Into<String>)`](crate::operation::list_xss_match_sets::builders::ListXssMatchSetsFluentBuilder::next_marker) / [`set_next_marker(Option<String>)`](crate::operation::list_xss_match_sets::builders::ListXssMatchSetsFluentBuilder::set_next_marker):<br>required: **false**<br><p>If you specify a value for <code>Limit</code> and you have more <code>XssMatchSet</code> objects than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>XssMatchSets</code>. For the second and subsequent <code>ListXssMatchSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>XssMatchSets</code>.</p><br>
    ///   - [`limit(i32)`](crate::operation::list_xss_match_sets::builders::ListXssMatchSetsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_xss_match_sets::builders::ListXssMatchSetsFluentBuilder::set_limit):<br>required: **false**<br><p>Specifies the number of <code>XssMatchSet</code> objects that you want AWS WAF to return for this request. If you have more <code>XssMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p><br>
    /// - On success, responds with [`ListXssMatchSetsOutput`](crate::operation::list_xss_match_sets::ListXssMatchSetsOutput) with field(s):
    ///   - [`next_marker(Option<String>)`](crate::operation::list_xss_match_sets::ListXssMatchSetsOutput::next_marker): <p>If you have more <code>XssMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>XssMatchSet</code> objects, submit another <code>ListXssMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>
    ///   - [`xss_match_sets(Option<Vec::<XssMatchSetSummary>>)`](crate::operation::list_xss_match_sets::ListXssMatchSetsOutput::xss_match_sets): <p>An array of <code>XssMatchSetSummary</code> objects.</p>
    /// - On failure, responds with [`SdkError<ListXssMatchSetsError>`](crate::operation::list_xss_match_sets::ListXssMatchSetsError)
    pub fn list_xss_match_sets(&self) -> crate::operation::list_xss_match_sets::builders::ListXssMatchSetsFluentBuilder {
        crate::operation::list_xss_match_sets::builders::ListXssMatchSetsFluentBuilder::new(self.handle.clone())
    }
}