Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This operation renews a domain for the specified number of years. The cost of renewing your domain is billed to your AWS account.
We recommend that you renew your domain several weeks before the expiration date. Some TLD registries delete domains before the expiration date if you haven't renewed far enough in advance. For more information about renewing domain registration, see Renewing Registration for a Domain in the Amazon Route 53 documentation.
- renewDomain :: Text -> Int -> RenewDomain
- data RenewDomain
- rdDurationInYears :: Lens' RenewDomain (Maybe Natural)
- rdDomainName :: Lens' RenewDomain Text
- rdCurrentExpiryYear :: Lens' RenewDomain Int
- renewDomainResponse :: Int -> Text -> RenewDomainResponse
- data RenewDomainResponse
- rrsResponseStatus :: Lens' RenewDomainResponse Int
- rrsOperationId :: Lens' RenewDomainResponse Text
Creating a Request
Creates a value of RenewDomain
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdDurationInYears
- 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 documentation. Type: Integer Default: 1 Valid values: Integer from 1 to 10 Required: NordDomainName
- Undocumented member.rdCurrentExpiryYear
- The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain. Type: Integer Default: None Valid values: Integer Required: Yes
data RenewDomain Source #
A RenewDomain
request includes the number of years that you want to renew for and the current expiration year.
See: renewDomain
smart constructor.
Request Lenses
rdDurationInYears :: Lens' RenewDomain (Maybe Natural) Source #
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 documentation. Type: Integer Default: 1 Valid values: Integer from 1 to 10 Required: No
rdDomainName :: Lens' RenewDomain Text Source #
Undocumented member.
rdCurrentExpiryYear :: Lens' RenewDomain Int Source #
The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain. Type: Integer Default: None Valid values: Integer Required: Yes
Destructuring the Response
Creates a value of RenewDomainResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrsResponseStatus
- -- | The response status code.rrsOperationId
- Undocumented member.
data RenewDomainResponse Source #
See: renewDomainResponse
smart constructor.
Response Lenses
rrsResponseStatus :: Lens' RenewDomainResponse Int Source #
- - | The response status code.
rrsOperationId :: Lens' RenewDomainResponse Text Source #
Undocumented member.