Skip to content

Commit

Permalink
feat(client-route-53-domains): Update MaxItems upper bound to 1000 fo…
Browse files Browse the repository at this point in the history
…r ListPricesRequest
  • Loading branch information
awstools committed Jun 19, 2023
1 parent 1a741f7 commit 6a09bc4
Show file tree
Hide file tree
Showing 7 changed files with 663 additions and 318 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ export interface RegisterDomainCommandOutput extends RegisterDomainResponse, __M

/**
* @public
* <p>This operation registers a domain. Domains are registered either by Amazon Registrar
* (for .com, .net, and .org domains) or by our registrar associate, Gandi (for all other
* domains). For some top-level domains (TLDs), this operation requires extra
* parameters.</p>
* <p>This operation registers a domain. For some top-level domains (TLDs), this operation
* requires extra parameters.</p>
* <p>When you register a domain, Amazon Route 53 does the following:</p>
* <ul>
* <li>
Expand All @@ -57,14 +55,14 @@ export interface RegisterDomainCommandOutput extends RegisterDomainResponse, __M
* to renew the registration.</p>
* </li>
* <li>
* <p>Optionally enables privacy protection, so WHOIS queries return contact
* information either for Amazon Registrar (for .com, .net, and .org domains) or
* for our registrar associate, Gandi (for all other TLDs). If you don't enable
* privacy protection, WHOIS queries return the information that you entered for
* the administrative, registrant, and technical contacts.</p>
* <p>Optionally enables privacy protection, so WHOIS queries return contact for the registrar
* or the phrase "REDACTED FOR PRIVACY", or "On behalf of <domain name> owner."
* If you don't enable privacy protection, WHOIS queries return the information
* that you entered for the administrative, registrant, and technical
* contacts.</p>
* <note>
* <p>You must specify the same privacy setting for the administrative,
* registrant, and technical contacts.</p>
* <p>While some domains may allow different privacy settings per contact, we recommend
* specifying the same privacy setting for all contacts.</p>
* </note>
* </li>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ export interface TransferDomainCommandOutput extends TransferDomainResponse, __M

/**
* @public
* <p>Transfers a domain from another registrar to Amazon Route 53. When the transfer is
* complete, the domain is registered either with Amazon Registrar (for .com, .net, and
* .org domains) or with our registrar associate, Gandi (for all other TLDs).</p>
* <p>Transfers a domain from another registrar to Amazon Route 53. </p>
* <p>For more information about transferring domains, see the following topics:</p>
* <ul>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ export interface UpdateDomainContactPrivacyCommandOutput extends UpdateDomainCon
/**
* @public
* <p>This operation updates the specified domain contact's privacy setting. When privacy
* protection is enabled, contact information such as email address is replaced either with
* contact information for Amazon Registrar (for .com, .net, and .org domains) or with
* contact information for our registrar associate, Gandi.</p>
* protection is enabled, your contact information is replaced with contact information for
* the registrar or with the phrase "REDACTED FOR PRIVACY", or "On behalf of <domain
* name> owner."</p>
* <note>
* <p>You must specify the same privacy setting for the administrative, registrant, and
* technical contacts.</p>
* <p>While some domains may allow different privacy settings per contact, we recommend
* specifying the same privacy setting for all contacts.</p>
* </note>
* <p>This operation affects only the contact information for the specified contact type
* (administrative, registrant, or technical). If the request succeeds, Amazon Route 53
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const resolveClientEndpointParameters = <T>(
};

export interface EndpointParameters extends __EndpointParameters {
Region: string;
Region?: string;
UseDualStack?: boolean;
UseFIPS?: boolean;
Endpoint?: string;
Expand Down
39 changes: 20 additions & 19 deletions clients/client-route-53-domains/src/endpoint/ruleset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,25 @@ import { RuleSetObject } from "@aws-sdk/util-endpoints";
or see "smithy.rules#endpointRuleSet"
in codegen/sdk-codegen/aws-models/route-53-domains.json */

const q="fn",
r="argv",
s="ref";
const a=true,
b=false,
c="String",
d="PartitionResult",
e="tree",
f="error",
g="endpoint",
h={"required":true,"default":false,"type":"Boolean"},
i={[s]:"Endpoint"},
j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]},
k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]},
l={},
m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]},
n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]},
const q="required",
r="fn",
s="argv",
t="ref";
const a="isSet",
b="tree",
c="error",
d="endpoint",
e="PartitionResult",
f={[q]:false,"type":"String"},
g={[q]:true,"default":false,"type":"Boolean"},
h={[t]:"Endpoint"},
i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]},
j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]},
k={},
l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]},
m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]},
n=[i],
o=[j],
p=[k];
const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://route53domains-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://route53domains-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://route53domains.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://route53domains.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]};
p=[{[t]:"Region"}];
const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://route53domains-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://route53domains-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://route53domains.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://route53domains.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
export const ruleSet: RuleSetObject = _data;
47 changes: 6 additions & 41 deletions clients/client-route-53-domains/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1539,40 +1539,6 @@ export interface ExtraParam {
* </li>
* </ul>
* </dd>
* <dt>.fr</dt>
* <dd>
* <ul>
* <li>
* <p>
* <code>BIRTH_CITY</code>
* </p>
* </li>
* <li>
* <p>
* <code>BIRTH_COUNTRY</code>
* </p>
* </li>
* <li>
* <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code>
* </p>
* </li>
* <li>
* <p>
* <code>BIRTH_DEPARTMENT</code>: Specify the INSEE code that
* corresponds with the department where the contact was born. If the
* contact was born somewhere other than France or its overseas
* departments, specify <code>99</code>. For more information,
* including a list of departments and the corresponding INSEE numbers,
* see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Departments_of_France">Departments of France</a>.</p>
* </li>
* <li>
* <p>
* <code>BRAND_NUMBER</code>
* </p>
* </li>
* </ul>
* </dd>
* <dt>.it</dt>
* <dd>
* <ul>
Expand Down Expand Up @@ -3395,13 +3361,12 @@ export interface TransferDomainRequest {

/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you specify
* <code>true</code>, WHOIS ("who is") queries return contact information either for
* Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate,
* Gandi (for all other TLDs). If you specify <code>false</code>, WHOIS queries return the
* information that you entered for the admin contact.</p>
* <code>true</code>, WHOIS ("who is") queries return contact information for the
* registrar, the phrase "REDACTED FOR PRIVACY", or "On behalf of <domain name>
* owner.".</p>
* <note>
* <p>You must specify the same privacy setting for the administrative, registrant, and
* technical contacts.</p>
* <p>While some domains may allow different privacy settings per contact, we recommend
* specifying the same privacy setting for all contacts.</p>
* </note>
* <p>Default: <code>true</code>
* </p>
Expand Down Expand Up @@ -3515,7 +3480,7 @@ export interface UpdateDomainContactRequest {
TechContact?: ContactDetail;

/**
* <p> Customer's consent for the owner change request. </p>
* <p> Customer's consent for the owner change request. Required if the domain is not free (consent price is more than $0.00).</p>
*/
Consent?: Consent;
}
Expand Down
Loading

0 comments on commit 6a09bc4

Please sign in to comment.