aws_sdk_waf/client/
get_ip_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 [`GetIPSet`](crate::operation::get_ip_set::builders::GetIPSetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`GetIpSetOutput`](crate::operation::get_ip_set::GetIpSetOutput) with field(s):
8    ///   - [`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>
9    /// - On failure, responds with [`SdkError<GetIPSetError>`](crate::operation::get_ip_set::GetIPSetError)
10    pub fn get_ip_set(&self) -> crate::operation::get_ip_set::builders::GetIPSetFluentBuilder {
11        crate::operation::get_ip_set::builders::GetIPSetFluentBuilder::new(self.handle.clone())
12    }
13}