aws_sdk_waf/client/delete_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 [`DeleteRegexPatternSet`](crate::operation::delete_regex_pattern_set::builders::DeleteRegexPatternSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`regex_pattern_set_id(impl Into<String>)`](crate::operation::delete_regex_pattern_set::builders::DeleteRegexPatternSetFluentBuilder::regex_pattern_set_id) / [`set_regex_pattern_set_id(Option<String>)`](crate::operation::delete_regex_pattern_set::builders::DeleteRegexPatternSetFluentBuilder::set_regex_pattern_set_id):<br>required: **true**<br><p>The <code>RegexPatternSetId</code> of the <code>RegexPatternSet</code> that you want to delete. <code>RegexPatternSetId</code> is returned by <code>CreateRegexPatternSet</code> and by <code>ListRegexPatternSets</code>.</p><br>
7 /// - [`change_token(impl Into<String>)`](crate::operation::delete_regex_pattern_set::builders::DeleteRegexPatternSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::delete_regex_pattern_set::builders::DeleteRegexPatternSetFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
8 /// - On success, responds with [`DeleteRegexPatternSetOutput`](crate::operation::delete_regex_pattern_set::DeleteRegexPatternSetOutput) with field(s):
9 /// - [`change_token(Option<String>)`](crate::operation::delete_regex_pattern_set::DeleteRegexPatternSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRegexPatternSet</code> request. You can also use this value to query the status of the request. For more information, see <code>GetChangeTokenStatus</code>.</p>
10 /// - On failure, responds with [`SdkError<DeleteRegexPatternSetError>`](crate::operation::delete_regex_pattern_set::DeleteRegexPatternSetError)
11 pub fn delete_regex_pattern_set(&self) -> crate::operation::delete_regex_pattern_set::builders::DeleteRegexPatternSetFluentBuilder {
12 crate::operation::delete_regex_pattern_set::builders::DeleteRegexPatternSetFluentBuilder::new(self.handle.clone())
13 }
14}