@aws-sdk/client-sesv2 3.1056.0 → 3.1057.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +19 -0
  3. package/dist-cjs/schemas/schemas_0.js +50 -27
  4. package/dist-es/SESv2.js +2 -0
  5. package/dist-es/commands/PutTenantSuppressionAttributesCommand.js +16 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/enums.js +4 -0
  8. package/dist-es/schemas/schemas_0.js +45 -22
  9. package/dist-types/SESv2.d.ts +7 -0
  10. package/dist-types/SESv2Client.d.ts +3 -2
  11. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateTenantCommand.d.ts +15 -0
  13. package/dist-types/commands/DeleteSuppressedDestinationCommand.d.ts +5 -1
  14. package/dist-types/commands/GetConfigurationSetCommand.d.ts +1 -0
  15. package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -1
  16. package/dist-types/commands/GetSuppressedDestinationCommand.d.ts +5 -1
  17. package/dist-types/commands/GetTenantCommand.d.ts +7 -1
  18. package/dist-types/commands/ListSuppressedDestinationsCommand.d.ts +7 -1
  19. package/dist-types/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +5 -1
  20. package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -1
  21. package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +8 -1
  22. package/dist-types/commands/PutTenantSuppressionAttributesCommand.d.ts +91 -0
  23. package/dist-types/commands/index.d.ts +1 -0
  24. package/dist-types/models/enums.d.ts +12 -0
  25. package/dist-types/models/models_0.d.ts +160 -40
  26. package/dist-types/models/models_1.d.ts +65 -5
  27. package/dist-types/schemas/schemas_0.d.ts +4 -0
  28. package/dist-types/ts3.4/SESv2.d.ts +17 -0
  29. package/dist-types/ts3.4/SESv2Client.d.ts +6 -0
  30. package/dist-types/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -4
  31. package/dist-types/ts3.4/commands/PutTenantSuppressionAttributesCommand.d.ts +53 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +14 -1
  35. package/dist-types/ts3.4/models/models_1.d.ts +9 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  37. package/package.json +2 -2
@@ -120,6 +120,12 @@ export declare const SuppressionListReason: {
120
120
  };
121
121
  export type SuppressionListReason =
122
122
  (typeof SuppressionListReason)[keyof typeof SuppressionListReason];
123
+ export declare const SuppressionListScope: {
124
+ readonly ACCOUNT: "ACCOUNT";
125
+ readonly TENANT: "TENANT";
126
+ };
127
+ export type SuppressionListScope =
128
+ (typeof SuppressionListScope)[keyof typeof SuppressionListScope];
123
129
  export declare const FeatureStatus: {
124
130
  readonly DISABLED: "DISABLED";
125
131
  readonly ENABLED: "ENABLED";
@@ -46,6 +46,7 @@ import {
46
46
  SuppressionConfidenceVerdictThreshold,
47
47
  SuppressionListImportAction,
48
48
  SuppressionListReason,
49
+ SuppressionListScope,
49
50
  TlsPolicy,
50
51
  VerificationError,
51
52
  VerificationStatus,
@@ -223,6 +224,7 @@ export interface SuppressionValidationOptions {
223
224
  }
224
225
  export interface SuppressionOptions {
225
226
  SuppressedReasons?: SuppressionListReason[] | undefined;
227
+ SuppressionScope?: SuppressionListScope | undefined;
226
228
  ValidationOptions?: SuppressionValidationOptions | undefined;
227
229
  }
228
230
  export interface Tag {
@@ -457,9 +459,14 @@ export interface CreateMultiRegionEndpointResponse {
457
459
  Status?: Status | undefined;
458
460
  EndpointId?: string | undefined;
459
461
  }
462
+ export interface TenantSuppressionAttributes {
463
+ SuppressedReasons?: SuppressionListReason[] | undefined;
464
+ SuppressionScope?: SuppressionListScope | undefined;
465
+ }
460
466
  export interface CreateTenantRequest {
461
467
  TenantName: string | undefined;
462
468
  Tags?: Tag[] | undefined;
469
+ SuppressionAttributes?: TenantSuppressionAttributes | undefined;
463
470
  }
464
471
  export interface CreateTenantResponse {
465
472
  TenantName?: string | undefined;
@@ -468,6 +475,7 @@ export interface CreateTenantResponse {
468
475
  CreatedTimestamp?: Date | undefined;
469
476
  Tags?: Tag[] | undefined;
470
477
  SendingStatus?: SendingStatus | undefined;
478
+ SuppressionAttributes?: TenantSuppressionAttributes | undefined;
471
479
  }
472
480
  export interface CreateTenantResourceAssociationRequest {
473
481
  TenantName: string | undefined;
@@ -559,6 +567,7 @@ export interface DeleteMultiRegionEndpointResponse {
559
567
  }
560
568
  export interface DeleteSuppressedDestinationRequest {
561
569
  EmailAddress: string | undefined;
570
+ TenantName?: string | undefined;
562
571
  }
563
572
  export interface DeleteSuppressedDestinationResponse {}
564
573
  export interface DeleteTenantRequest {
@@ -953,6 +962,7 @@ export interface GetReputationEntityResponse {
953
962
  }
954
963
  export interface GetSuppressedDestinationRequest {
955
964
  EmailAddress: string | undefined;
965
+ TenantName?: string | undefined;
956
966
  }
957
967
  export interface SuppressedDestinationAttributes {
958
968
  MessageId?: string | undefined;
@@ -963,6 +973,7 @@ export interface SuppressedDestination {
963
973
  Reason: SuppressionListReason | undefined;
964
974
  LastUpdateTime: Date | undefined;
965
975
  Attributes?: SuppressedDestinationAttributes | undefined;
976
+ TenantName?: string | undefined;
966
977
  }
967
978
  export interface GetSuppressedDestinationResponse {
968
979
  SuppressedDestination: SuppressedDestination | undefined;
@@ -977,6 +988,7 @@ export interface Tenant {
977
988
  CreatedTimestamp?: Date | undefined;
978
989
  Tags?: Tag[] | undefined;
979
990
  SendingStatus?: SendingStatus | undefined;
991
+ SuppressionAttributes?: TenantSuppressionAttributes | undefined;
980
992
  }
981
993
  export interface GetTenantResponse {
982
994
  Tenant?: Tenant | undefined;
@@ -1164,6 +1176,7 @@ export interface ListResourceTenantsResponse {
1164
1176
  NextToken?: string | undefined;
1165
1177
  }
1166
1178
  export interface ListSuppressedDestinationsRequest {
1179
+ TenantName?: string | undefined;
1167
1180
  Reasons?: SuppressionListReason[] | undefined;
1168
1181
  StartDate?: Date | undefined;
1169
1182
  EndDate?: Date | undefined;
@@ -1263,6 +1276,7 @@ export interface PutConfigurationSetSendingOptionsRequest {
1263
1276
  export interface PutConfigurationSetSendingOptionsResponse {}
1264
1277
  export interface PutConfigurationSetSuppressionOptionsRequest {
1265
1278
  ConfigurationSetName: string | undefined;
1279
+ SuppressionScope?: SuppressionListScope | undefined;
1266
1280
  SuppressedReasons?: SuppressionListReason[] | undefined;
1267
1281
  ValidationOptions?: SuppressionValidationOptions | undefined;
1268
1282
  }
@@ -1322,4 +1336,3 @@ export interface PutEmailIdentityFeedbackAttributesRequest {
1322
1336
  EmailIdentity: string | undefined;
1323
1337
  EmailForwardingEnabled?: boolean | undefined;
1324
1338
  }
1325
- export interface PutEmailIdentityFeedbackAttributesResponse {}
@@ -3,6 +3,7 @@ import {
3
3
  ReputationEntityType,
4
4
  SendingStatus,
5
5
  SuppressionListReason,
6
+ SuppressionListScope,
6
7
  } from "./enums";
7
8
  import {
8
9
  BulkEmailContent,
@@ -18,6 +19,7 @@ import {
18
19
  Topic,
19
20
  TopicPreference,
20
21
  } from "./models_0";
22
+ export interface PutEmailIdentityFeedbackAttributesResponse {}
21
23
  export interface PutEmailIdentityMailFromAttributesRequest {
22
24
  EmailIdentity: string | undefined;
23
25
  MailFromDomain?: string | undefined;
@@ -27,8 +29,15 @@ export interface PutEmailIdentityMailFromAttributesResponse {}
27
29
  export interface PutSuppressedDestinationRequest {
28
30
  EmailAddress: string | undefined;
29
31
  Reason: SuppressionListReason | undefined;
32
+ TenantName?: string | undefined;
30
33
  }
31
34
  export interface PutSuppressedDestinationResponse {}
35
+ export interface PutTenantSuppressionAttributesRequest {
36
+ TenantName: string | undefined;
37
+ SuppressedReasons?: SuppressionListReason[] | undefined;
38
+ SuppressionScope?: SuppressionListScope | undefined;
39
+ }
40
+ export interface PutTenantSuppressionAttributesResponse {}
32
41
  export interface SendBulkEmailRequest {
33
42
  FromEmailAddress?: string | undefined;
34
43
  FromEmailAddressIdentityArn?: string | undefined;
@@ -285,6 +285,8 @@ export declare var PutEmailIdentityMailFromAttributesRequest$: StaticStructureSc
285
285
  export declare var PutEmailIdentityMailFromAttributesResponse$: StaticStructureSchema;
286
286
  export declare var PutSuppressedDestinationRequest$: StaticStructureSchema;
287
287
  export declare var PutSuppressedDestinationResponse$: StaticStructureSchema;
288
+ export declare var PutTenantSuppressionAttributesRequest$: StaticStructureSchema;
289
+ export declare var PutTenantSuppressionAttributesResponse$: StaticStructureSchema;
288
290
  export declare var RawMessage$: StaticStructureSchema;
289
291
  export declare var Recommendation$: StaticStructureSchema;
290
292
  export declare var ReplacementEmailContent$: StaticStructureSchema;
@@ -323,6 +325,7 @@ export declare var Template$: StaticStructureSchema;
323
325
  export declare var Tenant$: StaticStructureSchema;
324
326
  export declare var TenantInfo$: StaticStructureSchema;
325
327
  export declare var TenantResource$: StaticStructureSchema;
328
+ export declare var TenantSuppressionAttributes$: StaticStructureSchema;
326
329
  export declare var TestRenderEmailTemplateRequest$: StaticStructureSchema;
327
330
  export declare var TestRenderEmailTemplateResponse$: StaticStructureSchema;
328
331
  export declare var Topic$: StaticStructureSchema;
@@ -447,6 +450,7 @@ export declare var PutEmailIdentityDkimSigningAttributes$: StaticOperationSchema
447
450
  export declare var PutEmailIdentityFeedbackAttributes$: StaticOperationSchema;
448
451
  export declare var PutEmailIdentityMailFromAttributes$: StaticOperationSchema;
449
452
  export declare var PutSuppressedDestination$: StaticOperationSchema;
453
+ export declare var PutTenantSuppressionAttributes$: StaticOperationSchema;
450
454
  export declare var SendBulkEmail$: StaticOperationSchema;
451
455
  export declare var SendCustomVerificationEmail$: StaticOperationSchema;
452
456
  export declare var SendEmail$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sesv2",
3
3
  "description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
4
- "version": "3.1056.0",
4
+ "version": "3.1057.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sesv2",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "^3.974.15",
25
- "@aws-sdk/credential-provider-node": "^3.972.46",
25
+ "@aws-sdk/credential-provider-node": "^3.972.47",
26
26
  "@aws-sdk/signature-v4-multi-region": "^3.996.30",
27
27
  "@aws-sdk/types": "^3.973.9",
28
28
  "@smithy/core": "^3.24.5",