From 900a39ed0d8c01d0e6a6e93296ba2bbdb6316e4b Mon Sep 17 00:00:00 2001
From: awstools
-AWS SES Mail Manager API contains operations and data types
-that comprise the Mail Manager feature of Amazon Simple Email Service. The Amazon SES Mail Manager API contains operations and data types
+that comprise the Mail Manager feature of Amazon Simple Email Service (SES). Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen
your organization's email infrastructure, simplify email workflow management, and
-streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer
-Guide.
- * AWS SES Mail Manager API contains operations and data types - * that comprise the Mail Manager feature of Amazon Simple Email Service.
+ *The Amazon SES Mail Manager API contains operations and data types + * that comprise the Mail Manager feature of Amazon Simple Email Service (SES).
*Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen * your organization's email infrastructure, simplify email workflow management, and - * streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer - * Guide.
+ * streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer + * Guide. * @public */ export class MailManager extends MailManagerClient implements MailManager {} diff --git a/clients/client-mailmanager/src/MailManagerClient.ts b/clients/client-mailmanager/src/MailManagerClient.ts index e183bf0c0322..0e54bc919936 100644 --- a/clients/client-mailmanager/src/MailManagerClient.ts +++ b/clients/client-mailmanager/src/MailManagerClient.ts @@ -429,14 +429,13 @@ export type MailManagerClientResolvedConfigType = __SmithyResolvedConfiguration< export interface MailManagerClientResolvedConfig extends MailManagerClientResolvedConfigType {} /** - *- * AWS SES Mail Manager API contains operations and data types - * that comprise the Mail Manager feature of Amazon Simple Email Service.
+ *The Amazon SES Mail Manager API contains operations and data types + * that comprise the Mail Manager feature of Amazon Simple Email Service (SES).
*Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen * your organization's email infrastructure, simplify email workflow management, and - * streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer - * Guide.
+ * streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer + * Guide. * @public */ export class MailManagerClient extends __Client< diff --git a/clients/client-mailmanager/src/commands/CreateRuleSetCommand.ts b/clients/client-mailmanager/src/commands/CreateRuleSetCommand.ts index 221b7af974a3..d7b058603cbc 100644 --- a/clients/client-mailmanager/src/commands/CreateRuleSetCommand.ts +++ b/clients/client-mailmanager/src/commands/CreateRuleSetCommand.ts @@ -56,6 +56,7 @@ export interface CreateRuleSetCommandOutput extends CreateRuleSetResponse, __Met * StringExpression: { // RuleStringExpression * Evaluate: { // RuleStringToEvaluate Union: only one key present * Attribute: "MAIL_FROM" || "HELO" || "RECIPIENT" || "SENDER" || "FROM" || "SUBJECT" || "TO" || "CC", + * MimeHeaderAttribute: "STRING_VALUE", * }, * Operator: "EQUALS" || "NOT_EQUALS" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS", // required * Values: [ // RuleStringList // required @@ -110,6 +111,7 @@ export interface CreateRuleSetCommandOutput extends CreateRuleSetResponse, __Met * StringExpression: { * Evaluate: {// Union: only one key present * Attribute: "MAIL_FROM" || "HELO" || "RECIPIENT" || "SENDER" || "FROM" || "SUBJECT" || "TO" || "CC", + * MimeHeaderAttribute: "STRING_VALUE", * }, * Operator: "EQUALS" || "NOT_EQUALS" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS", // required * Values: [ // required diff --git a/clients/client-mailmanager/src/commands/GetRuleSetCommand.ts b/clients/client-mailmanager/src/commands/GetRuleSetCommand.ts index e802d76fd0b7..7ac6773a480b 100644 --- a/clients/client-mailmanager/src/commands/GetRuleSetCommand.ts +++ b/clients/client-mailmanager/src/commands/GetRuleSetCommand.ts @@ -60,6 +60,7 @@ export interface GetRuleSetCommandOutput extends GetRuleSetResponse, __MetadataB * // StringExpression: { // RuleStringExpression * // Evaluate: { // RuleStringToEvaluate Union: only one key present * // Attribute: "MAIL_FROM" || "HELO" || "RECIPIENT" || "SENDER" || "FROM" || "SUBJECT" || "TO" || "CC", + * // MimeHeaderAttribute: "STRING_VALUE", * // }, * // Operator: "EQUALS" || "NOT_EQUALS" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS", // required * // Values: [ // RuleStringList // required @@ -114,6 +115,7 @@ export interface GetRuleSetCommandOutput extends GetRuleSetResponse, __MetadataB * // StringExpression: { * // Evaluate: {// Union: only one key present * // Attribute: "MAIL_FROM" || "HELO" || "RECIPIENT" || "SENDER" || "FROM" || "SUBJECT" || "TO" || "CC", + * // MimeHeaderAttribute: "STRING_VALUE", * // }, * // Operator: "EQUALS" || "NOT_EQUALS" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS", // required * // Values: [ // required diff --git a/clients/client-mailmanager/src/commands/UpdateRuleSetCommand.ts b/clients/client-mailmanager/src/commands/UpdateRuleSetCommand.ts index 3342656a3233..02dd4b9c4160 100644 --- a/clients/client-mailmanager/src/commands/UpdateRuleSetCommand.ts +++ b/clients/client-mailmanager/src/commands/UpdateRuleSetCommand.ts @@ -32,7 +32,7 @@ export interface UpdateRuleSetCommandInput extends UpdateRuleSetRequest {} export interface UpdateRuleSetCommandOutput extends UpdateRuleSetResponse, __MetadataBearer {} /** - *>Update attributes of an already provisioned rule set.
+ *Update attributes of an already provisioned rule set.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -56,6 +56,7 @@ export interface UpdateRuleSetCommandOutput extends UpdateRuleSetResponse, __Met * StringExpression: { // RuleStringExpression * Evaluate: { // RuleStringToEvaluate Union: only one key present * Attribute: "MAIL_FROM" || "HELO" || "RECIPIENT" || "SENDER" || "FROM" || "SUBJECT" || "TO" || "CC", + * MimeHeaderAttribute: "STRING_VALUE", * }, * Operator: "EQUALS" || "NOT_EQUALS" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS", // required * Values: [ // RuleStringList // required @@ -110,6 +111,7 @@ export interface UpdateRuleSetCommandOutput extends UpdateRuleSetResponse, __Met * StringExpression: { * Evaluate: {// Union: only one key present * Attribute: "MAIL_FROM" || "HELO" || "RECIPIENT" || "SENDER" || "FROM" || "SUBJECT" || "TO" || "CC", + * MimeHeaderAttribute: "STRING_VALUE", * }, * Operator: "EQUALS" || "NOT_EQUALS" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS", // required * Values: [ // required diff --git a/clients/client-mailmanager/src/index.ts b/clients/client-mailmanager/src/index.ts index 847dad821fd1..bdecf40ceb10 100644 --- a/clients/client-mailmanager/src/index.ts +++ b/clients/client-mailmanager/src/index.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code /* eslint-disable */ /** - *- * AWS SES Mail Manager API contains operations and data types - * that comprise the Mail Manager feature of Amazon Simple Email Service.
+ *The Amazon SES Mail Manager API contains operations and data types + * that comprise the Mail Manager feature of Amazon Simple Email Service (SES).
*Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen * your organization's email infrastructure, simplify email workflow management, and - * streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer - * Guide.
+ * streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer + * Guide. * * @packageDocumentation */ diff --git a/clients/client-mailmanager/src/models/models_0.ts b/clients/client-mailmanager/src/models/models_0.ts index 3820e8025c1d..934c0b2b80ca 100644 --- a/clients/client-mailmanager/src/models/models_0.ts +++ b/clients/client-mailmanager/src/models/models_0.ts @@ -2083,7 +2083,10 @@ export type RuleStringEmailAttribute = (typeof RuleStringEmailAttribute)[keyof t *The string to evaluate in a string condition expression.
* @public */ -export type RuleStringToEvaluate = RuleStringToEvaluate.AttributeMember | RuleStringToEvaluate.$UnknownMember; +export type RuleStringToEvaluate = + | RuleStringToEvaluate.AttributeMember + | RuleStringToEvaluate.MimeHeaderAttributeMember + | RuleStringToEvaluate.$UnknownMember; /** * @public @@ -2095,6 +2098,17 @@ export namespace RuleStringToEvaluate { */ export interface AttributeMember { Attribute: RuleStringEmailAttribute; + MimeHeaderAttribute?: never; + $unknown?: never; + } + + /** + *The email MIME X-Header attribute to evaluate in a string condition expression.
+ * @public + */ + export interface MimeHeaderAttributeMember { + Attribute?: never; + MimeHeaderAttribute: string; $unknown?: never; } @@ -2103,16 +2117,19 @@ export namespace RuleStringToEvaluate { */ export interface $UnknownMember { Attribute?: never; + MimeHeaderAttribute?: never; $unknown: [string, any]; } export interface Visitor\n AWS SES Mail Manager API contains operations and data types\n that comprise the Mail Manager feature of Amazon Simple Email Service.
\nMail Manager is a set of Amazon SES email gateway features designed to help you strengthen\n your organization's email infrastructure, simplify email workflow management, and\n streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer\n Guide.
", + "smithy.api#documentation": "The Amazon SES Mail Manager API contains operations and data types\n that comprise the Mail Manager feature of Amazon Simple Email Service (SES).
\nMail Manager is a set of Amazon SES email gateway features designed to help you strengthen\n your organization's email infrastructure, simplify email workflow management, and\n streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer\n Guide.
", "smithy.api#externalDocumentation": { "API Reference": "https://w.amazon.com/bin/view/AWS/Border" }, @@ -5115,6 +5115,12 @@ "smithy.api#documentation": "The textual body content of an email message.
" } }, + "com.amazonaws.mailmanager#MimeHeaderAttribute": { + "type": "string", + "traits": { + "smithy.api#pattern": "^X-[a-zA-Z0-9-]{1,256}$" + } + }, "com.amazonaws.mailmanager#NameOrArn": { "type": "string", "traits": { @@ -6395,6 +6401,12 @@ "traits": { "smithy.api#documentation": "The email attribute to evaluate in a string condition expression.
" } + }, + "MimeHeaderAttribute": { + "target": "com.amazonaws.mailmanager#MimeHeaderAttribute", + "traits": { + "smithy.api#documentation": "The email MIME X-Header attribute to evaluate in a string condition expression.
" + } } }, "traits": { @@ -7078,10 +7090,19 @@ "target": "smithy.api#String" } }, + "com.amazonaws.mailmanager#StringValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, "com.amazonaws.mailmanager#StringValueList": { "type": "list", "member": { - "target": "smithy.api#String" + "target": "com.amazonaws.mailmanager#StringValue" }, "traits": { "smithy.api#length": { @@ -7653,7 +7674,7 @@ } ], "traits": { - "smithy.api#documentation": ">Update attributes of an already provisioned rule set.
", + "smithy.api#documentation": "Update attributes of an already provisioned rule set.
", "smithy.api#idempotent": {} } },