aws_sdk_sesv2/client/
get_dedicated_ip.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 [`GetDedicatedIp`](crate::operation::get_dedicated_ip::builders::GetDedicatedIpFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`ip(impl Into<String>)`](crate::operation::get_dedicated_ip::builders::GetDedicatedIpFluentBuilder::ip) / [`set_ip(Option<String>)`](crate::operation::get_dedicated_ip::builders::GetDedicatedIpFluentBuilder::set_ip):<br>required: **true**<br><p>The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP address that's assocaited with your Amazon Web Services account.</p><br>
7    /// - On success, responds with [`GetDedicatedIpOutput`](crate::operation::get_dedicated_ip::GetDedicatedIpOutput) with field(s):
8    ///   - [`dedicated_ip(Option<DedicatedIp>)`](crate::operation::get_dedicated_ip::GetDedicatedIpOutput::dedicated_ip): <p>An object that contains information about a dedicated IP address.</p>
9    /// - On failure, responds with [`SdkError<GetDedicatedIpError>`](crate::operation::get_dedicated_ip::GetDedicatedIpError)
10    pub fn get_dedicated_ip(&self) -> crate::operation::get_dedicated_ip::builders::GetDedicatedIpFluentBuilder {
11        crate::operation::get_dedicated_ip::builders::GetDedicatedIpFluentBuilder::new(self.handle.clone())
12    }
13}