// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RenewDomain`](crate::operation::renew_domain::builders::RenewDomainFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::renew_domain::builders::RenewDomainFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::renew_domain::builders::RenewDomainFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the domain that you want to renew.</p><br>
/// - [`duration_in_years(i32)`](crate::operation::renew_domain::builders::RenewDomainFluentBuilder::duration_in_years) / [`set_duration_in_years(Option<i32>)`](crate::operation::renew_domain::builders::RenewDomainFluentBuilder::set_duration_in_years):<br>required: **false**<br><p>The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> <p>Default: 1</p><br>
/// - [`current_expiry_year(i32)`](crate::operation::renew_domain::builders::RenewDomainFluentBuilder::current_expiry_year) / [`set_current_expiry_year(Option<i32>)`](crate::operation::renew_domain::builders::RenewDomainFluentBuilder::set_current_expiry_year):<br>required: **true**<br><p>The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.</p><br>
/// - On success, responds with [`RenewDomainOutput`](crate::operation::renew_domain::RenewDomainOutput) with field(s):
/// - [`operation_id(Option<String>)`](crate::operation::renew_domain::RenewDomainOutput::operation_id): <p>Identifier for tracking the progress of the request. To query the operation status, use <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
/// - On failure, responds with [`SdkError<RenewDomainError>`](crate::operation::renew_domain::RenewDomainError)
pub fn renew_domain(&self) -> crate::operation::renew_domain::builders::RenewDomainFluentBuilder {
crate::operation::renew_domain::builders::RenewDomainFluentBuilder::new(self.handle.clone())
}
}