Skip to content

Commit 7c1425c

Browse files
author
awstools
committed
feat(client-cognito-identity-provider): Change CustomDomainConfig from a required to an optional parameter for the UpdateUserPoolDomain operation.
1 parent 8dfab18 commit 7c1425c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clients/client-cognito-identity-provider/src/models/models_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3483,7 +3483,7 @@ export interface UpdateUserPoolDomainRequest {
34833483
* in a <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html">SetUserPoolMfaConfig</a> request.</p>
34843484
* @public
34853485
*/
3486-
CustomDomainConfig: CustomDomainConfigType | undefined;
3486+
CustomDomainConfig?: CustomDomainConfigType | undefined;
34873487
}
34883488

34893489
/**

codegen/sdk-codegen/aws-models/cognito-identity-provider.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16209,8 +16209,7 @@
1620916209
"CustomDomainConfig": {
1621016210
"target": "com.amazonaws.cognitoidentityprovider#CustomDomainConfigType",
1621116211
"traits": {
16212-
"smithy.api#documentation": "<p>The configuration for a custom domain that hosts the sign-up and sign-in pages for\n your application. Use this object to specify an SSL certificate that is managed by\n ACM.</p>\n <p>When you create a custom domain, the passkey RP ID defaults to the custom domain. If\n you had a prefix domain active, this will cause passkey integration for your prefix\n domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey\n integration working, you can explicitly set RP ID to the prefix domain. Update the RP ID\n in a <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html\">SetUserPoolMfaConfig</a> request.</p>",
16213-
"smithy.api#required": {}
16212+
"smithy.api#documentation": "<p>The configuration for a custom domain that hosts the sign-up and sign-in pages for\n your application. Use this object to specify an SSL certificate that is managed by\n ACM.</p>\n <p>When you create a custom domain, the passkey RP ID defaults to the custom domain. If\n you had a prefix domain active, this will cause passkey integration for your prefix\n domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey\n integration working, you can explicitly set RP ID to the prefix domain. Update the RP ID\n in a <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html\">SetUserPoolMfaConfig</a> request.</p>"
1621416213
}
1621516214
}
1621616215
},

0 commit comments

Comments
 (0)