From 0f396da9f23c0b0ccd42c78392d09c011f59686e Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 15 Aug 2023 18:16:30 +0000 Subject: [PATCH] feat(client-route-53-domains): Provide explanation if CheckDomainTransferability return false. Provide requestId if a request is already submitted. Add sensitive protection for customer information --- ...ainTransferFromAnotherAwsAccountCommand.ts | 3 +- .../CheckDomainTransferabilityCommand.ts | 1 + .../ResendContactReachabilityEmailCommand.ts | 8 +- ...ransferDomainToAnotherAwsAccountCommand.ts | 3 +- .../src/endpoint/ruleset.ts | 2 +- .../src/models/models_0.ts | 59 ++- .../aws-models/route-53-domains.json | 398 +++++++++--------- 7 files changed, 268 insertions(+), 206 deletions(-) diff --git a/clients/client-route-53-domains/src/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts b/clients/client-route-53-domains/src/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts index 65ce44e5f359..5731176b9a5d 100644 --- a/clients/client-route-53-domains/src/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts +++ b/clients/client-route-53-domains/src/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts @@ -15,6 +15,7 @@ import { import { AcceptDomainTransferFromAnotherAwsAccountRequest, + AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog, AcceptDomainTransferFromAnotherAwsAccountResponse, } from "../models/models_0"; import { @@ -150,7 +151,7 @@ export class AcceptDomainTransferFromAnotherAwsAccountCommand extends $Command< logger, clientName, commandName, - inputFilterSensitiveLog: (_: any) => _, + inputFilterSensitiveLog: AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog, outputFilterSensitiveLog: (_: any) => _, }; const { requestHandler } = configuration; diff --git a/clients/client-route-53-domains/src/commands/CheckDomainTransferabilityCommand.ts b/clients/client-route-53-domains/src/commands/CheckDomainTransferabilityCommand.ts index 30b0d1653af5..d1469c2e7f00 100644 --- a/clients/client-route-53-domains/src/commands/CheckDomainTransferabilityCommand.ts +++ b/clients/client-route-53-domains/src/commands/CheckDomainTransferabilityCommand.ts @@ -57,6 +57,7 @@ export interface CheckDomainTransferabilityCommandOutput extends CheckDomainTran * // Transferability: { // DomainTransferability * // Transferable: "TRANSFERABLE" || "UNTRANSFERABLE" || "DONT_KNOW" || "DOMAIN_IN_OWN_ACCOUNT" || "DOMAIN_IN_ANOTHER_ACCOUNT" || "PREMIUM_DOMAIN", * // }, + * // Message: "STRING_VALUE", * // }; * * ``` diff --git a/clients/client-route-53-domains/src/commands/ResendContactReachabilityEmailCommand.ts b/clients/client-route-53-domains/src/commands/ResendContactReachabilityEmailCommand.ts index 4c9274dd0c87..c9ce1d85e5a3 100644 --- a/clients/client-route-53-domains/src/commands/ResendContactReachabilityEmailCommand.ts +++ b/clients/client-route-53-domains/src/commands/ResendContactReachabilityEmailCommand.ts @@ -13,7 +13,11 @@ import { SerdeContext as __SerdeContext, } from "@smithy/types"; -import { ResendContactReachabilityEmailRequest, ResendContactReachabilityEmailResponse } from "../models/models_0"; +import { + ResendContactReachabilityEmailRequest, + ResendContactReachabilityEmailResponse, + ResendContactReachabilityEmailResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_ResendContactReachabilityEmailCommand, se_ResendContactReachabilityEmailCommand, @@ -135,7 +139,7 @@ export class ResendContactReachabilityEmailCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: ResendContactReachabilityEmailResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-route-53-domains/src/commands/TransferDomainToAnotherAwsAccountCommand.ts b/clients/client-route-53-domains/src/commands/TransferDomainToAnotherAwsAccountCommand.ts index bba846fbd373..0976012f025f 100644 --- a/clients/client-route-53-domains/src/commands/TransferDomainToAnotherAwsAccountCommand.ts +++ b/clients/client-route-53-domains/src/commands/TransferDomainToAnotherAwsAccountCommand.ts @@ -16,6 +16,7 @@ import { import { TransferDomainToAnotherAwsAccountRequest, TransferDomainToAnotherAwsAccountResponse, + TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog, } from "../models/models_0"; import { de_TransferDomainToAnotherAwsAccountCommand, @@ -163,7 +164,7 @@ export class TransferDomainToAnotherAwsAccountCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-route-53-domains/src/endpoint/ruleset.ts b/clients/client-route-53-domains/src/endpoint/ruleset.ts index 1b73c400ae2b..3b21d18000c8 100644 --- a/clients/client-route-53-domains/src/endpoint/ruleset.ts +++ b/clients/client-route-53-domains/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], 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}]}]}; +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},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{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:[{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:[{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:[{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}]},{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; diff --git a/clients/client-route-53-domains/src/models/models_0.ts b/clients/client-route-53-domains/src/models/models_0.ts index 2e34ae042a83..0a1594fb92a7 100644 --- a/clients/client-route-53-domains/src/models/models_0.ts +++ b/clients/client-route-53-domains/src/models/models_0.ts @@ -210,6 +210,12 @@ export class DnssecLimitExceeded extends __BaseException { export class DuplicateRequest extends __BaseException { readonly name: "DuplicateRequest" = "DuplicateRequest"; readonly $fault: "client" = "client"; + /** + * @public + *

ID of the request operation.

+ */ + requestId?: string; + /** * @internal */ @@ -220,6 +226,7 @@ export class DuplicateRequest extends __BaseException { ...opts, }); Object.setPrototypeOf(this, DuplicateRequest.prototype); + this.requestId = opts.requestId; } } @@ -558,7 +565,7 @@ export interface DomainTransferability { * *
DOMAIN_IN_ANOTHER_ACCOUNT
*
- *

the domain exists in another Amazon Web Services account.

+ *

The domain exists in another Amazon Web Services account.

*
*
PREMIUM_DOMAIN
*
@@ -580,6 +587,12 @@ export interface CheckDomainTransferabilityResponse { * transferred to Route 53.

*/ Transferability?: DomainTransferability; + + /** + * @public + *

Provides an explanation for when a domain can't be transferred.

+ */ + Message?: string; } /** @@ -3897,6 +3910,16 @@ export interface ViewBillingResponse { BillingRecords?: BillingRecord[]; } +/** + * @internal + */ +export const AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog = ( + obj: AcceptDomainTransferFromAnotherAwsAccountRequest +): any => ({ + ...obj, + ...(obj.Password && { Password: SENSITIVE_STRING }), +}); + /** * @internal */ @@ -3918,6 +3941,18 @@ export const ExtraParamFilterSensitiveLog = (obj: ExtraParam): any => ({ */ export const ContactDetailFilterSensitiveLog = (obj: ContactDetail): any => ({ ...obj, + ...(obj.FirstName && { FirstName: SENSITIVE_STRING }), + ...(obj.LastName && { LastName: SENSITIVE_STRING }), + ...(obj.OrganizationName && { OrganizationName: SENSITIVE_STRING }), + ...(obj.AddressLine1 && { AddressLine1: SENSITIVE_STRING }), + ...(obj.AddressLine2 && { AddressLine2: SENSITIVE_STRING }), + ...(obj.City && { City: SENSITIVE_STRING }), + ...(obj.State && { State: SENSITIVE_STRING }), + ...(obj.CountryCode && { CountryCode: SENSITIVE_STRING }), + ...(obj.ZipCode && { ZipCode: SENSITIVE_STRING }), + ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }), + ...(obj.Email && { Email: SENSITIVE_STRING }), + ...(obj.Fax && { Fax: SENSITIVE_STRING }), ...(obj.ExtraParams && { ExtraParams: obj.ExtraParams.map((item) => ExtraParamFilterSensitiveLog(item)) }), }); @@ -3929,6 +3964,8 @@ export const GetDomainDetailResponseFilterSensitiveLog = (obj: GetDomainDetailRe ...(obj.AdminContact && { AdminContact: SENSITIVE_STRING }), ...(obj.RegistrantContact && { RegistrantContact: SENSITIVE_STRING }), ...(obj.TechContact && { TechContact: SENSITIVE_STRING }), + ...(obj.AbuseContactEmail && { AbuseContactEmail: SENSITIVE_STRING }), + ...(obj.AbuseContactPhone && { AbuseContactPhone: SENSITIVE_STRING }), }); /** @@ -3941,6 +3978,16 @@ export const RegisterDomainRequestFilterSensitiveLog = (obj: RegisterDomainReque ...(obj.TechContact && { TechContact: SENSITIVE_STRING }), }); +/** + * @internal + */ +export const ResendContactReachabilityEmailResponseFilterSensitiveLog = ( + obj: ResendContactReachabilityEmailResponse +): any => ({ + ...obj, + ...(obj.emailAddress && { emailAddress: SENSITIVE_STRING }), +}); + /** * @internal */ @@ -3960,6 +4007,16 @@ export const TransferDomainRequestFilterSensitiveLog = (obj: TransferDomainReque ...(obj.TechContact && { TechContact: SENSITIVE_STRING }), }); +/** + * @internal + */ +export const TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog = ( + obj: TransferDomainToAnotherAwsAccountResponse +): any => ({ + ...obj, + ...(obj.Password && { Password: SENSITIVE_STRING }), +}); + /** * @internal */ diff --git a/codegen/sdk-codegen/aws-models/route-53-domains.json b/codegen/sdk-codegen/aws-models/route-53-domains.json index dc0a499fe5b7..65a5d8fca6d2 100644 --- a/codegen/sdk-codegen/aws-models/route-53-domains.json +++ b/codegen/sdk-codegen/aws-models/route-53-domains.json @@ -66,7 +66,7 @@ } }, "Password": { - "target": "com.amazonaws.route53domains#String", + "target": "com.amazonaws.route53domains#Password", "traits": { "smithy.api#documentation": "

The password that was returned by the TransferDomainToAnotherAwsAccount request.

", "smithy.api#required": {} @@ -109,7 +109,8 @@ "smithy.api#length": { "min": 0, "max": 255 - } + }, + "smithy.api#sensitive": {} } }, "com.amazonaws.route53domains#AssociateDelegationSignerToDomain": { @@ -389,6 +390,12 @@ "traits": { "smithy.api#documentation": "

A complex type that contains information about whether the specified domain can be\n\t\t\ttransferred to Route 53.

" } + }, + "Message": { + "target": "com.amazonaws.route53domains#Message", + "traits": { + "smithy.api#documentation": "

Provides an explanation for when a domain can't be transferred.

" + } } }, "traits": { @@ -402,7 +409,8 @@ "smithy.api#length": { "min": 0, "max": 255 - } + }, + "smithy.api#sensitive": {} } }, "com.amazonaws.route53domains#Consent": { @@ -527,7 +535,8 @@ "smithy.api#length": { "min": 0, "max": 255 - } + }, + "smithy.api#sensitive": {} } }, "com.amazonaws.route53domains#ContactNumber": { @@ -536,7 +545,8 @@ "smithy.api#length": { "min": 0, "max": 30 - } + }, + "smithy.api#sensitive": {} } }, "com.amazonaws.route53domains#ContactType": { @@ -2083,6 +2093,9 @@ "smithy.api#enumValue": "ZW" } } + }, + "traits": { + "smithy.api#sensitive": {} } }, "com.amazonaws.route53domains#Currency": { @@ -2716,6 +2729,12 @@ "com.amazonaws.route53domains#DuplicateRequest": { "type": "structure", "members": { + "requestId": { + "target": "com.amazonaws.route53domains#RequestId", + "traits": { + "smithy.api#documentation": "

ID of the request operation.

" + } + }, "message": { "target": "com.amazonaws.route53domains#ErrorMessage", "traits": { @@ -2744,7 +2763,8 @@ "smithy.api#length": { "min": 0, "max": 254 - } + }, + "smithy.api#sensitive": {} } }, "com.amazonaws.route53domains#EnableDomainAutoRenew": { @@ -3919,6 +3939,9 @@ "smithy.api#output": {} } }, + "com.amazonaws.route53domains#Message": { + "type": "string" + }, "com.amazonaws.route53domains#Nameserver": { "type": "structure", "members": { @@ -4248,6 +4271,12 @@ } } }, + "com.amazonaws.route53domains#Password": { + "type": "string", + "traits": { + "smithy.api#sensitive": {} + } + }, "com.amazonaws.route53domains#Price": { "type": "double", "traits": { @@ -4605,6 +4634,9 @@ "smithy.api#output": {} } }, + "com.amazonaws.route53domains#RequestId": { + "type": "string" + }, "com.amazonaws.route53domains#Reseller": { "type": "string" }, @@ -4938,52 +4970,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -4991,13 +5027,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -5007,224 +5052,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://route53domains-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://route53domains-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://route53domains-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://route53domains-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://route53domains.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://route53domains.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://route53domains.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53domains.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -5589,7 +5585,8 @@ "smithy.api#length": { "min": 0, "max": 255 - } + }, + "smithy.api#sensitive": {} } }, "com.amazonaws.route53domains#StatusFlag": { @@ -5900,7 +5897,7 @@ } }, "Password": { - "target": "com.amazonaws.route53domains#String", + "target": "com.amazonaws.route53domains#Password", "traits": { "smithy.api#documentation": "

To finish transferring a domain to another Amazon Web Services account, the account\n\t\t\tthat the domain is being transferred to must submit an AcceptDomainTransferFromAnotherAwsAccount request. The request must include\n\t\t\tthe value of the Password element that was returned in the\n\t\t\t\tTransferDomainToAnotherAwsAccount response.

" } @@ -5952,7 +5949,7 @@ } }, "traits": { - "smithy.api#documentation": "

Whether the domain name can be transferred to Route 53.

\n \n

You can transfer only domains that have a value of TRANSFERABLE or\n\t\t\t\t\tTransferable.

\n
\n

Valid values:

\n
\n
TRANSFERABLE
\n
\n

The domain name can be transferred to Route 53.

\n
\n
UNTRANSFERRABLE
\n
\n

The domain name can't be transferred to Route 53.

\n
\n
DONT_KNOW
\n
\n

Reserved for future use.

\n
\n
DOMAIN_IN_OWN_ACCOUNT
\n
\n

The domain already exists in the current Amazon Web Services account.

\n
\n
DOMAIN_IN_ANOTHER_ACCOUNT
\n
\n

the domain exists in another Amazon Web Services account.

\n
\n
PREMIUM_DOMAIN
\n
\n

Premium domain transfer is not supported.

\n
\n
" + "smithy.api#documentation": "

Whether the domain name can be transferred to Route 53.

\n \n

You can transfer only domains that have a value of TRANSFERABLE or\n\t\t\t\t\tTransferable.

\n
\n

Valid values:

\n
\n
TRANSFERABLE
\n
\n

The domain name can be transferred to Route 53.

\n
\n
UNTRANSFERRABLE
\n
\n

The domain name can't be transferred to Route 53.

\n
\n
DONT_KNOW
\n
\n

Reserved for future use.

\n
\n
DOMAIN_IN_OWN_ACCOUNT
\n
\n

The domain already exists in the current Amazon Web Services account.

\n
\n
DOMAIN_IN_ANOTHER_ACCOUNT
\n
\n

The domain exists in another Amazon Web Services account.

\n
\n
PREMIUM_DOMAIN
\n
\n

Premium domain transfer is not supported.

\n
\n
" } }, "com.amazonaws.route53domains#UnsupportedTLD": { @@ -6363,7 +6360,8 @@ "smithy.api#length": { "min": 0, "max": 255 - } + }, + "smithy.api#sensitive": {} } } }