aws_sdk_waf/client/get_regex_pattern_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 [`GetRegexPatternSet`](crate::operation::get_regex_pattern_set::builders::GetRegexPatternSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`regex_pattern_set_id(impl Into<String>)`](crate::operation::get_regex_pattern_set::builders::GetRegexPatternSetFluentBuilder::regex_pattern_set_id) / [`set_regex_pattern_set_id(Option<String>)`](crate::operation::get_regex_pattern_set::builders::GetRegexPatternSetFluentBuilder::set_regex_pattern_set_id):<br>required: **true**<br><p>The <code>RegexPatternSetId</code> of the <code>RegexPatternSet</code> that you want to get. <code>RegexPatternSetId</code> is returned by <code>CreateRegexPatternSet</code> and by <code>ListRegexPatternSets</code>.</p><br>
7 /// - On success, responds with [`GetRegexPatternSetOutput`](crate::operation::get_regex_pattern_set::GetRegexPatternSetOutput) with field(s):
8 /// - [`regex_pattern_set(Option<RegexPatternSet>)`](crate::operation::get_regex_pattern_set::GetRegexPatternSetOutput::regex_pattern_set): <p>Information about the <code>RegexPatternSet</code> that you specified in the <code>GetRegexPatternSet</code> request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.</p>
9 /// - On failure, responds with [`SdkError<GetRegexPatternSetError>`](crate::operation::get_regex_pattern_set::GetRegexPatternSetError)
10 pub fn get_regex_pattern_set(&self) -> crate::operation::get_regex_pattern_set::builders::GetRegexPatternSetFluentBuilder {
11 crate::operation::get_regex_pattern_set::builders::GetRegexPatternSetFluentBuilder::new(self.handle.clone())
12 }
13}