From 7c1425c9e971f59deb515505ad588f71e9ed22be Mon Sep 17 00:00:00 2001
From: awstools
Date: Mon, 9 Dec 2024 19:38:05 +0000
Subject: [PATCH] feat(client-cognito-identity-provider): Change
`CustomDomainConfig` from a required to an optional parameter for the
`UpdateUserPoolDomain` operation.
---
.../client-cognito-identity-provider/src/models/models_1.ts | 2 +-
codegen/sdk-codegen/aws-models/cognito-identity-provider.json | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/clients/client-cognito-identity-provider/src/models/models_1.ts b/clients/client-cognito-identity-provider/src/models/models_1.ts
index 4976311fbb69..7db7e08226d2 100644
--- a/clients/client-cognito-identity-provider/src/models/models_1.ts
+++ b/clients/client-cognito-identity-provider/src/models/models_1.ts
@@ -3483,7 +3483,7 @@ export interface UpdateUserPoolDomainRequest {
* in a SetUserPoolMfaConfig request.
* @public
*/
- CustomDomainConfig: CustomDomainConfigType | undefined;
+ CustomDomainConfig?: CustomDomainConfigType | undefined;
}
/**
diff --git a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json
index e753dd8ce89f..06352bd7b491 100644
--- a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json
+++ b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json
@@ -16209,8 +16209,7 @@
"CustomDomainConfig": {
"target": "com.amazonaws.cognitoidentityprovider#CustomDomainConfigType",
"traits": {
- "smithy.api#documentation": "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.
\n 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 SetUserPoolMfaConfig request.
",
- "smithy.api#required": {}
+ "smithy.api#documentation": "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.
\n 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 SetUserPoolMfaConfig request.
"
}
}
},