aws_sdk_sesv2/client/
get_dedicated_ip_pool.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 [`GetDedicatedIpPool`](crate::operation::get_dedicated_ip_pool::builders::GetDedicatedIpPoolFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`pool_name(impl Into<String>)`](crate::operation::get_dedicated_ip_pool::builders::GetDedicatedIpPoolFluentBuilder::pool_name) / [`set_pool_name(Option<String>)`](crate::operation::get_dedicated_ip_pool::builders::GetDedicatedIpPoolFluentBuilder::set_pool_name):<br>required: **true**<br><p>The name of the dedicated IP pool to retrieve.</p><br>
7    /// - On success, responds with [`GetDedicatedIpPoolOutput`](crate::operation::get_dedicated_ip_pool::GetDedicatedIpPoolOutput) with field(s):
8    ///   - [`dedicated_ip_pool(Option<DedicatedIpPool>)`](crate::operation::get_dedicated_ip_pool::GetDedicatedIpPoolOutput::dedicated_ip_pool): <p>An object that contains information about a dedicated IP pool.</p>
9    /// - On failure, responds with [`SdkError<GetDedicatedIpPoolError>`](crate::operation::get_dedicated_ip_pool::GetDedicatedIpPoolError)
10    pub fn get_dedicated_ip_pool(&self) -> crate::operation::get_dedicated_ip_pool::builders::GetDedicatedIpPoolFluentBuilder {
11        crate::operation::get_dedicated_ip_pool::builders::GetDedicatedIpPoolFluentBuilder::new(self.handle.clone())
12    }
13}