Struct aws_sdk_route53domains::input::RenewDomainInput [−][src]
#[non_exhaustive]pub struct RenewDomainInput {
pub domain_name: Option<String>,
pub duration_in_years: Option<i32>,
pub current_expiry_year: i32,
}
Expand description
A RenewDomain
request includes the number of years that you want to renew for and the current expiration year.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain_name: Option<String>
The name of the domain that you want to renew.
duration_in_years: Option<i32>
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 Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
Default: 1
current_expiry_year: i32
The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RenewDomain, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RenewDomain, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RenewDomain
>
Creates a new builder-style object to manufacture RenewDomainInput
The name of the domain that you want to renew.
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 Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
Default: 1
The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RenewDomainInput
impl Send for RenewDomainInput
impl Sync for RenewDomainInput
impl Unpin for RenewDomainInput
impl UnwindSafe for RenewDomainInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more