aws_sdk_wafregional/client/
create_byte_match_set.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 [`CreateByteMatchSet`](crate::operation::create_byte_match_set::builders::CreateByteMatchSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_byte_match_set::builders::CreateByteMatchSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_byte_match_set::builders::CreateByteMatchSetFluentBuilder::set_name):<br>required: **true**<br><p>A friendly name or description of the <code>ByteMatchSet</code>. You can't change <code>Name</code> after you create a <code>ByteMatchSet</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::create_byte_match_set::builders::CreateByteMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::create_byte_match_set::builders::CreateByteMatchSetFluentBuilder::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 [`CreateByteMatchSetOutput`](crate::operation::create_byte_match_set::CreateByteMatchSetOutput) with field(s):
    ///   - [`byte_match_set(Option<ByteMatchSet>)`](crate::operation::create_byte_match_set::CreateByteMatchSetOutput::byte_match_set): <p>A <code>ByteMatchSet</code> that contains no <code>ByteMatchTuple</code> objects.</p>
    ///   - [`change_token(Option<String>)`](crate::operation::create_byte_match_set::CreateByteMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>CreateByteMatchSet</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<CreateByteMatchSetError>`](crate::operation::create_byte_match_set::CreateByteMatchSetError)
    pub fn create_byte_match_set(&self) -> crate::operation::create_byte_match_set::builders::CreateByteMatchSetFluentBuilder {
        crate::operation::create_byte_match_set::builders::CreateByteMatchSetFluentBuilder::new(self.handle.clone())
    }
}