diff --git a/clients/client-sesv2/src/commands/PutAccountDetailsCommand.ts b/clients/client-sesv2/src/commands/PutAccountDetailsCommand.ts index 159cb89e4915..819d7cb3c826 100644 --- a/clients/client-sesv2/src/commands/PutAccountDetailsCommand.ts +++ b/clients/client-sesv2/src/commands/PutAccountDetailsCommand.ts @@ -43,7 +43,7 @@ export interface PutAccountDetailsCommandOutput extends PutAccountDetailsRespons * MailType: "MARKETING" || "TRANSACTIONAL", // required * WebsiteURL: "STRING_VALUE", // required * ContactLanguage: "EN" || "JA", - * UseCaseDescription: "STRING_VALUE", // required + * UseCaseDescription: "STRING_VALUE", * AdditionalContactEmailAddresses: [ // AdditionalContactEmailAddresses * "STRING_VALUE", * ], diff --git a/clients/client-sesv2/src/models/models_0.ts b/clients/client-sesv2/src/models/models_0.ts index 49c75a6b84df..89f4a9babcfa 100644 --- a/clients/client-sesv2/src/models/models_0.ts +++ b/clients/client-sesv2/src/models/models_0.ts @@ -127,6 +127,8 @@ export interface AccountDetails { ContactLanguage?: ContactLanguage; /** + * @deprecated + * *
A description of the types of email that you plan to send.
* @public */ @@ -6864,10 +6866,12 @@ export interface PutAccountDetailsRequest { ContactLanguage?: ContactLanguage; /** + * @deprecated + * *A description of the types of email that you plan to send.
* @public */ - UseCaseDescription: string | undefined; + UseCaseDescription?: string; /** *Additional email addresses that you would like to be notified regarding Amazon SES diff --git a/codegen/sdk-codegen/aws-models/sesv2.json b/codegen/sdk-codegen/aws-models/sesv2.json index 33533a543d6c..31fa58294f28 100644 --- a/codegen/sdk-codegen/aws-models/sesv2.json +++ b/codegen/sdk-codegen/aws-models/sesv2.json @@ -8231,8 +8231,7 @@ "UseCaseDescription": { "target": "com.amazonaws.sesv2#UseCaseDescription", "traits": { - "smithy.api#documentation": "
A description of the types of email that you plan to send.
", - "smithy.api#required": {} + "smithy.api#documentation": "A description of the types of email that you plan to send.
" } }, "AdditionalContactEmailAddresses": { @@ -12462,8 +12461,11 @@ "com.amazonaws.sesv2#UseCaseDescription": { "type": "string", "traits": { + "smithy.api#deprecated": { + "message": "Use case description is optional and deprecated" + }, "smithy.api#length": { - "min": 1, + "min": 0, "max": 5000 }, "smithy.api#sensitive": {}