From 0f396da9f23c0b0ccd42c78392d09c011f59686e Mon Sep 17 00:00:00 2001
From: awstools ID of the request operation. the domain exists in another Amazon Web Services account. The domain exists in another Amazon Web Services account.
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.
Whether the domain name can be transferred to Route 53.
\nYou can transfer only domains that have a value of TRANSFERABLE
or\n\t\t\t\t\tTransferable
.
Valid values:
\nThe domain name can be transferred to Route 53.
\nThe domain name can't be transferred to Route 53.
\nReserved for future use.
\nThe domain already exists in the current Amazon Web Services account.
\nthe domain exists in another Amazon Web Services account.
\nPremium domain transfer is not supported.
\nWhether the domain name can be transferred to Route 53.
\nYou can transfer only domains that have a value of TRANSFERABLE
or\n\t\t\t\t\tTransferable
.
Valid values:
\nThe domain name can be transferred to Route 53.
\nThe domain name can't be transferred to Route 53.
\nReserved for future use.
\nThe domain already exists in the current Amazon Web Services account.
\nThe domain exists in another Amazon Web Services account.
\nPremium domain transfer is not supported.
\n