Smaws_Client_Route53Domains.RegisterDomainThis operation registers a domain. For some top-level domains (TLDs), this operation requires extra parameters.
When you register a domain, Amazon Route 53 does the following:
Optionally enables privacy protection, so WHOIS queries return contact for the registrar or the phrase "REDACTED FOR PRIVACY", or "On behalf of owner." If you don't enable privacy protection, WHOIS queries return the information that you entered for the administrative, registrant, and technical contacts.
While some domains may allow different privacy settings per contact, we recommend specifying the same privacy setting for all contacts.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DomainLimitExceeded of Types.domain_limit_exceeded
| `DuplicateRequest of Types.duplicate_request
| `InvalidInput of Types.invalid_input
| `OperationLimitExceeded of Types.operation_limit_exceeded
| `TLDRulesViolation of Types.tld_rules_violation
| `UnsupportedTLD of Types.unsupported_tl_d ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.register_domain_request ->
(Types.register_domain_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `DomainLimitExceeded of Types.domain_limit_exceeded
| `DuplicateRequest of Types.duplicate_request
| `InvalidInput of Types.invalid_input
| `OperationLimitExceeded of Types.operation_limit_exceeded
| `TLDRulesViolation of Types.tld_rules_violation
| `UnsupportedTLD of Types.unsupported_tl_d ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.register_domain_request ->
(Types.register_domain_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DomainLimitExceeded of Types.domain_limit_exceeded
| `DuplicateRequest of Types.duplicate_request
| `InvalidInput of Types.invalid_input
| `OperationLimitExceeded of Types.operation_limit_exceeded
| `TLDRulesViolation of Types.tld_rules_violation
| `UnsupportedTLD of Types.unsupported_tl_d ]
* Smaws_Lib.Response.metadata)
Stdlib.result