aws_sdk_wafregional/client/
delete_byte_match_set.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteByteMatchSet`](crate::operation::delete_byte_match_set::builders::DeleteByteMatchSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`byte_match_set_id(impl Into<String>)`](crate::operation::delete_byte_match_set::builders::DeleteByteMatchSetFluentBuilder::byte_match_set_id) / [`set_byte_match_set_id(Option<String>)`](crate::operation::delete_byte_match_set::builders::DeleteByteMatchSetFluentBuilder::set_byte_match_set_id):<br>required: **true**<br><p>The <code>ByteMatchSetId</code> of the <code>ByteMatchSet</code> that you want to delete. <code>ByteMatchSetId</code> is returned by <code>CreateByteMatchSet</code> and by <code>ListByteMatchSets</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::delete_byte_match_set::builders::DeleteByteMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::delete_byte_match_set::builders::DeleteByteMatchSetFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
    /// - On success, responds with [`DeleteByteMatchSetOutput`](crate::operation::delete_byte_match_set::DeleteByteMatchSetOutput) with field(s):
    ///   - [`change_token(Option<String>)`](crate::operation::delete_byte_match_set::DeleteByteMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteByteMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <code>GetChangeTokenStatus</code>.</p>
    /// - On failure, responds with [`SdkError<DeleteByteMatchSetError>`](crate::operation::delete_byte_match_set::DeleteByteMatchSetError)
    pub fn delete_byte_match_set(&self) -> crate::operation::delete_byte_match_set::builders::DeleteByteMatchSetFluentBuilder {
        crate::operation::delete_byte_match_set::builders::DeleteByteMatchSetFluentBuilder::new(self.handle.clone())
    }
}