aws_sdk_wafregional/client/get_regex_pattern_set.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetRegexPatternSet`](crate::operation::get_regex_pattern_set::builders::GetRegexPatternSetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - On success, responds with [`GetRegexPatternSetOutput`](crate::operation::get_regex_pattern_set::GetRegexPatternSetOutput) with field(s):
/// - [`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>
/// - On failure, responds with [`SdkError<GetRegexPatternSetError>`](crate::operation::get_regex_pattern_set::GetRegexPatternSetError)
pub fn get_regex_pattern_set(&self) -> crate::operation::get_regex_pattern_set::builders::GetRegexPatternSetFluentBuilder {
crate::operation::get_regex_pattern_set::builders::GetRegexPatternSetFluentBuilder::new(self.handle.clone())
}
}