aws_sdk_wafregional/client/
create_ip_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 [`CreateIPSet`](crate::operation::create_ip_set::builders::CreateIPSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_ip_set::builders::CreateIPSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_ip_set::builders::CreateIPSetFluentBuilder::set_name):<br>required: **true**<br><p>A friendly name or description of the <code>IPSet</code>. You can't change <code>Name</code> after you create the <code>IPSet</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::create_ip_set::builders::CreateIPSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::create_ip_set::builders::CreateIPSetFluentBuilder::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 [`CreateIpSetOutput`](crate::operation::create_ip_set::CreateIpSetOutput) with field(s):
    ///   - [`ip_set(Option<IpSet>)`](crate::operation::create_ip_set::CreateIpSetOutput::ip_set): <p>The <code>IPSet</code> returned in the <code>CreateIPSet</code> response.</p>
    ///   - [`change_token(Option<String>)`](crate::operation::create_ip_set::CreateIpSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>CreateIPSet</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<CreateIPSetError>`](crate::operation::create_ip_set::CreateIPSetError)
    pub fn create_ip_set(&self) -> crate::operation::create_ip_set::builders::CreateIPSetFluentBuilder {
        crate::operation::create_ip_set::builders::CreateIPSetFluentBuilder::new(self.handle.clone())
    }
}