For instance, see if this domain name is available.
aws route53domains --region us-east-1 check-domain-availability --domain-name houston-aws-wol.com
AVAILABLE
aws route53domains register-domain --generate-cli-skeleton >> registration.json
Edit the text file to contain all necessary registrar data.
cat registration.json
{
"DomainName": "houston-aws-wol.com",
"IdnLangCode": "",
"DurationInYears": 3,
"AutoRenew": true,
"AdminContact": {
"FirstName": "mark david",
"LastName": "mcCreary",
"ContactType": "COMPANY",
"OrganizationName": "Internet Tools, Inc.",
"AddressLine1": "1302 Waugh Dr. #438",
"AddressLine2": "",
"City": "Houston",
"State": "TX",
"CountryCode": "US",
"ZipCode": "77019",
"PhoneNumber": "+1.7135204500",
"Email": "mdm@internet-tools.com",
"Fax": "",
"ExtraParams": [
{
"Name": "DUNS_NUMBER",
"Value": "877453050"
}
]
},
"RegistrantContact": {
"FirstName": "mark david",
"LastName": "mcCreary",
"ContactType": "COMPANY",
"OrganizationName": "Internet Tools, Inc.",
"AddressLine1": "1302 Waugh Dr. #438",
"AddressLine2": "",
"City": "Houston",
"State": "TX",
"CountryCode": "US",
"ZipCode": "77019",
"PhoneNumber": "+1.7135204500",
"Email": "mdm@internet-tools.com",
"Fax": "",
"ExtraParams": [
{
"Name": "DUNS_NUMBER",
"Value": "877453050"
}
]
},
"TechContact": {
"FirstName": "mark david",
"LastName": "mcCreary",
"ContactType": "COMPANY",
"OrganizationName": "Internet Tools, Inc.",
"AddressLine1": "1302 Waugh Dr. #438",
"AddressLine2": "",
"City": "Houston",
"State": "TX",
"CountryCode": "US",
"ZipCode": "77019",
"PhoneNumber": "+1.7135204500",
"Email": "mdm@internet-tools.com",
"Fax": "",
"ExtraParams": [
{
"Name": "DUNS_NUMBER",
"Value": "877453050"
}
]
},
"PrivacyProtectAdminContact": false,
"PrivacyProtectRegistrantContact": false,
"PrivacyProtectTechContact": false
}
Register the domain name and note that Amazon will charge your account.
aws route53domains register-domain --cli-input-json file://registration.json
Amazon returns the operation id.
0841be82-d758-9f60-1710a24a7bc6
Which we can use the get-operation-detail to learn more.
aws route53domains get-operation-detail --operation-id 0841be82-d758-9f60-1710a24a7bc6
Amazon says
houston-aws-wol.com 0841be82-d758-9f60-1710a24a7bc6 SUCCESSFUL 1448635764.81 REGISTER_DOMAIN
aws route53domains get-domain-detail --domain-name houston-aws-wol.com