Skip to content

Commit b963558

Browse files
Provide explanation if CheckDomainTransferability return false. Provide requestId if a request is already submitted. Add sensitive protection for customer information
1 parent 76f9fe2 commit b963558

13 files changed

+304
-231
lines changed

generator/ServiceModels/route53domains/route53domains-2014-05-15.api.json

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@
505505
],
506506
"members":{
507507
"DomainName":{"shape":"DomainName"},
508-
"Password":{"shape":"String"}
508+
"Password":{"shape":"Password"}
509509
}
510510
},
511511
"AcceptDomainTransferFromAnotherAwsAccountResponse":{
@@ -522,7 +522,8 @@
522522
},
523523
"AddressLine":{
524524
"type":"string",
525-
"max":255
525+
"max":255,
526+
"sensitive":true
526527
},
527528
"AssociateDelegationSignerToDomainRequest":{
528529
"type":"structure",
@@ -594,12 +595,14 @@
594595
"CheckDomainTransferabilityResponse":{
595596
"type":"structure",
596597
"members":{
597-
"Transferability":{"shape":"DomainTransferability"}
598+
"Transferability":{"shape":"DomainTransferability"},
599+
"Message":{"shape":"Message"}
598600
}
599601
},
600602
"City":{
601603
"type":"string",
602-
"max":255
604+
"max":255,
605+
"sensitive":true
603606
},
604607
"Consent":{
605608
"type":"structure",
@@ -634,11 +637,13 @@
634637
},
635638
"ContactName":{
636639
"type":"string",
637-
"max":255
640+
"max":255,
641+
"sensitive":true
638642
},
639643
"ContactNumber":{
640644
"type":"string",
641-
"max":30
645+
"max":30,
646+
"sensitive":true
642647
},
643648
"ContactType":{
644649
"type":"string",
@@ -904,7 +909,8 @@
904909
"ZA",
905910
"ZM",
906911
"ZW"
907-
]
912+
],
913+
"sensitive":true
908914
},
909915
"Currency":{
910916
"type":"string",
@@ -1106,6 +1112,7 @@
11061112
"DuplicateRequest":{
11071113
"type":"structure",
11081114
"members":{
1115+
"requestId":{"shape":"RequestId"},
11091116
"message":{"shape":"ErrorMessage"}
11101117
},
11111118
"exception":true
@@ -1117,7 +1124,8 @@
11171124
},
11181125
"Email":{
11191126
"type":"string",
1120-
"max":254
1127+
"max":254,
1128+
"sensitive":true
11211129
},
11221130
"EnableDomainAutoRenewRequest":{
11231131
"type":"structure",
@@ -1419,6 +1427,7 @@
14191427
"TagList":{"shape":"TagList"}
14201428
}
14211429
},
1430+
"Message":{"type":"string"},
14221431
"Nameserver":{
14231432
"type":"structure",
14241433
"required":["Name"],
@@ -1519,6 +1528,10 @@
15191528
"type":"integer",
15201529
"max":100
15211530
},
1531+
"Password":{
1532+
"type":"string",
1533+
"sensitive":true
1534+
},
15221535
"Price":{"type":"double"},
15231536
"PriceWithCurrency":{
15241537
"type":"structure",
@@ -1613,6 +1626,7 @@
16131626
"OperationId":{"shape":"OperationId"}
16141627
}
16151628
},
1629+
"RequestId":{"type":"string"},
16161630
"Reseller":{"type":"string"},
16171631
"ResendContactReachabilityEmailRequest":{
16181632
"type":"structure",
@@ -1668,7 +1682,8 @@
16681682
},
16691683
"State":{
16701684
"type":"string",
1671-
"max":255
1685+
"max":255,
1686+
"sensitive":true
16721687
},
16731688
"StatusFlag":{
16741689
"type":"string",
@@ -1764,7 +1779,7 @@
17641779
"type":"structure",
17651780
"members":{
17661781
"OperationId":{"shape":"OperationId"},
1767-
"Password":{"shape":"String"}
1782+
"Password":{"shape":"Password"}
17681783
}
17691784
},
17701785
"Transferable":{
@@ -1881,7 +1896,8 @@
18811896
},
18821897
"ZipCode":{
18831898
"type":"string",
1884-
"max":255
1899+
"max":255,
1900+
"sensitive":true
18851901
}
18861902
}
18871903
}

generator/ServiceModels/route53domains/route53domains-2014-05-15.docs.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,12 @@
658658
"refs": {
659659
}
660660
},
661+
"Message": {
662+
"base": null,
663+
"refs": {
664+
"CheckDomainTransferabilityResponse$Message": "<p>Provides an explanation for when a domain can't be transferred.</p>"
665+
}
666+
},
661667
"Nameserver": {
662668
"base": "<p>Name server includes the following elements.</p>",
663669
"refs": {
@@ -780,6 +786,13 @@
780786
"ViewBillingRequest$MaxItems": "<p>The number of billing records to be returned.</p> <p>Default: 20</p>"
781787
}
782788
},
789+
"Password": {
790+
"base": null,
791+
"refs": {
792+
"AcceptDomainTransferFromAnotherAwsAccountRequest$Password": "<p>The password that was returned by the <a href=\"https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html\">TransferDomainToAnotherAwsAccount</a> request. </p>",
793+
"TransferDomainToAnotherAwsAccountResponse$Password": "<p>To finish transferring a domain to another Amazon Web Services account, the account that the domain is being transferred to must submit an <a href=\"https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html\">AcceptDomainTransferFromAnotherAwsAccount</a> request. The request must include the value of the <code>Password</code> element that was returned in the <code>TransferDomainToAnotherAwsAccount</code> response.</p>"
794+
}
795+
},
783796
"Price": {
784797
"base": null,
785798
"refs": {
@@ -863,6 +876,12 @@
863876
"refs": {
864877
}
865878
},
879+
"RequestId": {
880+
"base": null,
881+
"refs": {
882+
"DuplicateRequest$requestId": "<p>ID of the request operation.</p>"
883+
}
884+
},
866885
"Reseller": {
867886
"base": null,
868887
"refs": {
@@ -923,12 +942,10 @@
923942
"String": {
924943
"base": null,
925944
"refs": {
926-
"AcceptDomainTransferFromAnotherAwsAccountRequest$Password": "<p>The password that was returned by the <a href=\"https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html\">TransferDomainToAnotherAwsAccount</a> request. </p>",
927945
"DisassociateDelegationSignerFromDomainRequest$Id": "<p>An internal identification number assigned to each DS record after it’s created. You can retrieve it as part of DNSSEC information returned by <a href=\"https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetDomainDetail.html\">GetDomainDetail</a>.</p>",
928946
"DnssecKey$Digest": "<p> The delegation signer digest.</p> <p>Digest is calculated from the public key provided using specified digest algorithm and this digest is the actual value returned from the registry nameservers as the value of DS records. </p>",
929947
"DnssecKey$Id": "<p> An ID assigned to each DS record created by <a href=\"https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AssociateDelegationSignerToDomain.html\">AssociateDelegationSignerToDomain</a>. </p>",
930-
"DomainSuggestion$Availability": "<p>Whether the domain name is available for registering.</p> <note> <p>You can register only the domains that are designated as <code>AVAILABLE</code>.</p> </note> <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd> <p>The domain name is available and can be preordered.</p> </dd> <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt> <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt> <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd> </dl>",
931-
"TransferDomainToAnotherAwsAccountResponse$Password": "<p>To finish transferring a domain to another Amazon Web Services account, the account that the domain is being transferred to must submit an <a href=\"https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html\">AcceptDomainTransferFromAnotherAwsAccount</a> request. The request must include the value of the <code>Password</code> element that was returned in the <code>TransferDomainToAnotherAwsAccount</code> response.</p>"
948+
"DomainSuggestion$Availability": "<p>Whether the domain name is available for registering.</p> <note> <p>You can register only the domains that are designated as <code>AVAILABLE</code>.</p> </note> <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd> <p>The domain name is available and can be preordered.</p> </dd> <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt> <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt> <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd> </dl>"
932949
}
933950
},
934951
"TLDRulesViolation": {
@@ -1012,7 +1029,7 @@
10121029
}
10131030
},
10141031
"Transferable": {
1015-
"base": "<p>Whether the domain name can be transferred to Route 53.</p> <note> <p>You can transfer only domains that have a value of <code>TRANSFERABLE</code> or <code>Transferable</code>.</p> </note> <p>Valid values:</p> <dl> <dt>TRANSFERABLE</dt> <dd> <p>The domain name can be transferred to Route 53.</p> </dd> <dt>UNTRANSFERRABLE</dt> <dd> <p>The domain name can't be transferred to Route 53.</p> </dd> <dt>DONT_KNOW</dt> <dd> <p>Reserved for future use.</p> </dd> <dt>DOMAIN_IN_OWN_ACCOUNT</dt> <dd> <p>The domain already exists in the current Amazon Web Services account.</p> </dd> <dt>DOMAIN_IN_ANOTHER_ACCOUNT</dt> <dd> <p> the domain exists in another Amazon Web Services account.</p> </dd> <dt>PREMIUM_DOMAIN</dt> <dd> <p>Premium domain transfer is not supported.</p> </dd> </dl>",
1032+
"base": "<p>Whether the domain name can be transferred to Route 53.</p> <note> <p>You can transfer only domains that have a value of <code>TRANSFERABLE</code> or <code>Transferable</code>.</p> </note> <p>Valid values:</p> <dl> <dt>TRANSFERABLE</dt> <dd> <p>The domain name can be transferred to Route 53.</p> </dd> <dt>UNTRANSFERRABLE</dt> <dd> <p>The domain name can't be transferred to Route 53.</p> </dd> <dt>DONT_KNOW</dt> <dd> <p>Reserved for future use.</p> </dd> <dt>DOMAIN_IN_OWN_ACCOUNT</dt> <dd> <p>The domain already exists in the current Amazon Web Services account.</p> </dd> <dt>DOMAIN_IN_ANOTHER_ACCOUNT</dt> <dd> <p> The domain exists in another Amazon Web Services account.</p> </dd> <dt>PREMIUM_DOMAIN</dt> <dd> <p>Premium domain transfer is not supported.</p> </dd> </dl>",
10161033
"refs": {
10171034
"DomainTransferability$Transferable": null
10181035
}

0 commit comments

Comments
 (0)