aws_sdk_wafregional/client/
get_ip_set.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetIPSet`](crate::operation::get_ip_set::builders::GetIPSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`ip_set_id(impl Into<String>)`](crate::operation::get_ip_set::builders::GetIPSetFluentBuilder::ip_set_id) / [`set_ip_set_id(Option<String>)`](crate::operation::get_ip_set::builders::GetIPSetFluentBuilder::set_ip_set_id):<br>required: **true**<br><p>The <code>IPSetId</code> of the <code>IPSet</code> that you want to get. <code>IPSetId</code> is returned by <code>CreateIPSet</code> and by <code>ListIPSets</code>.</p><br>
    /// - On success, responds with [`GetIpSetOutput`](crate::operation::get_ip_set::GetIpSetOutput) with field(s):
    ///   - [`ip_set(Option<IpSet>)`](crate::operation::get_ip_set::GetIpSetOutput::ip_set): <p>Information about the <code>IPSet</code> that you specified in the <code>GetIPSet</code> request. For more information, see the following topics:</p> <ul>  <li>   <p><code>IPSet</code>: Contains <code>IPSetDescriptors</code>, <code>IPSetId</code>, and <code>Name</code></p></li>  <li>   <p><code>IPSetDescriptors</code>: Contains an array of <code>IPSetDescriptor</code> objects. Each <code>IPSetDescriptor</code> object contains <code>Type</code> and <code>Value</code></p></li> </ul>
    /// - On failure, responds with [`SdkError<GetIPSetError>`](crate::operation::get_ip_set::GetIPSetError)
    pub fn get_ip_set(&self) -> crate::operation::get_ip_set::builders::GetIPSetFluentBuilder {
        crate::operation::get_ip_set::builders::GetIPSetFluentBuilder::new(self.handle.clone())
    }
}