Skip to content

Commit

Permalink
feat(client-sesv2): Marking use case description field of account det…
Browse files Browse the repository at this point in the history
…ails as deprecated.
  • Loading branch information
awstools committed Aug 16, 2024
1 parent 6612591 commit 271136d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
* ],
Expand Down
6 changes: 5 additions & 1 deletion clients/client-sesv2/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ export interface AccountDetails {
ContactLanguage?: ContactLanguage;

/**
* @deprecated
*
* <p>A description of the types of email that you plan to send.</p>
* @public
*/
Expand Down Expand Up @@ -6864,10 +6866,12 @@ export interface PutAccountDetailsRequest {
ContactLanguage?: ContactLanguage;

/**
* @deprecated
*
* <p>A description of the types of email that you plan to send.</p>
* @public
*/
UseCaseDescription: string | undefined;
UseCaseDescription?: string;

/**
* <p>Additional email addresses that you would like to be notified regarding Amazon SES
Expand Down
8 changes: 5 additions & 3 deletions codegen/sdk-codegen/aws-models/sesv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -8231,8 +8231,7 @@
"UseCaseDescription": {
"target": "com.amazonaws.sesv2#UseCaseDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the types of email that you plan to send.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>A description of the types of email that you plan to send.</p>"
}
},
"AdditionalContactEmailAddresses": {
Expand Down Expand Up @@ -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": {}
Expand Down

0 comments on commit 271136d

Please sign in to comment.