@aws-sdk/client-ses 3.686.0 → 3.691.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.
@@ -14,7 +14,7 @@ export interface AddHeaderAction {
14
14
  export declare class AlreadyExistsException extends __BaseException {
15
15
  readonly name: "AlreadyExistsException";
16
16
  readonly $fault: "client";
17
- Name?: string;
17
+ Name?: string | undefined;
18
18
  constructor(
19
19
  opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
20
20
  );
@@ -27,16 +27,16 @@ export type BehaviorOnMXFailure =
27
27
  (typeof BehaviorOnMXFailure)[keyof typeof BehaviorOnMXFailure];
28
28
  export interface Content {
29
29
  Data: string | undefined;
30
- Charset?: string;
30
+ Charset?: string | undefined;
31
31
  }
32
32
  export interface Body {
33
- Text?: Content;
34
- Html?: Content;
33
+ Text?: Content | undefined;
34
+ Html?: Content | undefined;
35
35
  }
36
36
  export interface BounceAction {
37
- TopicArn?: string;
37
+ TopicArn?: string | undefined;
38
38
  SmtpReplyCode: string | undefined;
39
- StatusCode?: string;
39
+ StatusCode?: string | undefined;
40
40
  Message: string | undefined;
41
41
  Sender: string | undefined;
42
42
  }
@@ -62,24 +62,24 @@ export interface ExtensionField {
62
62
  Value: string | undefined;
63
63
  }
64
64
  export interface RecipientDsnFields {
65
- FinalRecipient?: string;
65
+ FinalRecipient?: string | undefined;
66
66
  Action: DsnAction | undefined;
67
- RemoteMta?: string;
67
+ RemoteMta?: string | undefined;
68
68
  Status: string | undefined;
69
- DiagnosticCode?: string;
70
- LastAttemptDate?: Date;
71
- ExtensionFields?: ExtensionField[];
69
+ DiagnosticCode?: string | undefined;
70
+ LastAttemptDate?: Date | undefined;
71
+ ExtensionFields?: ExtensionField[] | undefined;
72
72
  }
73
73
  export interface BouncedRecipientInfo {
74
74
  Recipient: string | undefined;
75
- RecipientArn?: string;
76
- BounceType?: BounceType;
77
- RecipientDsnFields?: RecipientDsnFields;
75
+ RecipientArn?: string | undefined;
76
+ BounceType?: BounceType | undefined;
77
+ RecipientDsnFields?: RecipientDsnFields | undefined;
78
78
  }
79
79
  export interface Destination {
80
- ToAddresses?: string[];
81
- CcAddresses?: string[];
82
- BccAddresses?: string[];
80
+ ToAddresses?: string[] | undefined;
81
+ CcAddresses?: string[] | undefined;
82
+ BccAddresses?: string[] | undefined;
83
83
  }
84
84
  export interface MessageTag {
85
85
  Name: string | undefined;
@@ -87,8 +87,8 @@ export interface MessageTag {
87
87
  }
88
88
  export interface BulkEmailDestination {
89
89
  Destination: Destination | undefined;
90
- ReplacementTags?: MessageTag[];
91
- ReplacementTemplateData?: string;
90
+ ReplacementTags?: MessageTag[] | undefined;
91
+ ReplacementTemplateData?: string | undefined;
92
92
  }
93
93
  export declare const BulkEmailStatus: {
94
94
  readonly AccountDailyQuotaExceeded: "AccountDailyQuotaExceeded";
@@ -109,14 +109,14 @@ export declare const BulkEmailStatus: {
109
109
  export type BulkEmailStatus =
110
110
  (typeof BulkEmailStatus)[keyof typeof BulkEmailStatus];
111
111
  export interface BulkEmailDestinationStatus {
112
- Status?: BulkEmailStatus;
113
- Error?: string;
114
- MessageId?: string;
112
+ Status?: BulkEmailStatus | undefined;
113
+ Error?: string | undefined;
114
+ MessageId?: string | undefined;
115
115
  }
116
116
  export declare class CannotDeleteException extends __BaseException {
117
117
  readonly name: "CannotDeleteException";
118
118
  readonly $fault: "client";
119
- Name?: string;
119
+ Name?: string | undefined;
120
120
  constructor(
121
121
  opts: __ExceptionOptionType<CannotDeleteException, __BaseException>
122
122
  );
@@ -136,7 +136,7 @@ export declare class LimitExceededException extends __BaseException {
136
136
  export declare class RuleSetDoesNotExistException extends __BaseException {
137
137
  readonly name: "RuleSetDoesNotExistException";
138
138
  readonly $fault: "client";
139
- Name?: string;
139
+ Name?: string | undefined;
140
140
  constructor(
141
141
  opts: __ExceptionOptionType<RuleSetDoesNotExistException, __BaseException>
142
142
  );
@@ -162,7 +162,7 @@ export interface ConfigurationSet {
162
162
  export declare class ConfigurationSetAlreadyExistsException extends __BaseException {
163
163
  readonly name: "ConfigurationSetAlreadyExistsException";
164
164
  readonly $fault: "client";
165
- ConfigurationSetName?: string;
165
+ ConfigurationSetName?: string | undefined;
166
166
  constructor(
167
167
  opts: __ExceptionOptionType<
168
168
  ConfigurationSetAlreadyExistsException,
@@ -181,7 +181,7 @@ export type ConfigurationSetAttribute =
181
181
  export declare class ConfigurationSetDoesNotExistException extends __BaseException {
182
182
  readonly name: "ConfigurationSetDoesNotExistException";
183
183
  readonly $fault: "client";
184
- ConfigurationSetName?: string;
184
+ ConfigurationSetName?: string | undefined;
185
185
  constructor(
186
186
  opts: __ExceptionOptionType<
187
187
  ConfigurationSetDoesNotExistException,
@@ -192,7 +192,7 @@ export declare class ConfigurationSetDoesNotExistException extends __BaseExcepti
192
192
  export declare class ConfigurationSetSendingPausedException extends __BaseException {
193
193
  readonly name: "ConfigurationSetSendingPausedException";
194
194
  readonly $fault: "client";
195
- ConfigurationSetName?: string;
195
+ ConfigurationSetName?: string | undefined;
196
196
  constructor(
197
197
  opts: __ExceptionOptionType<
198
198
  ConfigurationSetSendingPausedException,
@@ -234,11 +234,11 @@ export interface SNSDestination {
234
234
  }
235
235
  export interface EventDestination {
236
236
  Name: string | undefined;
237
- Enabled?: boolean;
237
+ Enabled?: boolean | undefined;
238
238
  MatchingEventTypes: EventType[] | undefined;
239
- KinesisFirehoseDestination?: KinesisFirehoseDestination;
240
- CloudWatchDestination?: CloudWatchDestination;
241
- SNSDestination?: SNSDestination;
239
+ KinesisFirehoseDestination?: KinesisFirehoseDestination | undefined;
240
+ CloudWatchDestination?: CloudWatchDestination | undefined;
241
+ SNSDestination?: SNSDestination | undefined;
242
242
  }
243
243
  export interface CreateConfigurationSetEventDestinationRequest {
244
244
  ConfigurationSetName: string | undefined;
@@ -248,8 +248,8 @@ export interface CreateConfigurationSetEventDestinationResponse {}
248
248
  export declare class EventDestinationAlreadyExistsException extends __BaseException {
249
249
  readonly name: "EventDestinationAlreadyExistsException";
250
250
  readonly $fault: "client";
251
- ConfigurationSetName?: string;
252
- EventDestinationName?: string;
251
+ ConfigurationSetName?: string | undefined;
252
+ EventDestinationName?: string | undefined;
253
253
  constructor(
254
254
  opts: __ExceptionOptionType<
255
255
  EventDestinationAlreadyExistsException,
@@ -260,8 +260,8 @@ export declare class EventDestinationAlreadyExistsException extends __BaseExcept
260
260
  export declare class InvalidCloudWatchDestinationException extends __BaseException {
261
261
  readonly name: "InvalidCloudWatchDestinationException";
262
262
  readonly $fault: "client";
263
- ConfigurationSetName?: string;
264
- EventDestinationName?: string;
263
+ ConfigurationSetName?: string | undefined;
264
+ EventDestinationName?: string | undefined;
265
265
  constructor(
266
266
  opts: __ExceptionOptionType<
267
267
  InvalidCloudWatchDestinationException,
@@ -272,8 +272,8 @@ export declare class InvalidCloudWatchDestinationException extends __BaseExcepti
272
272
  export declare class InvalidFirehoseDestinationException extends __BaseException {
273
273
  readonly name: "InvalidFirehoseDestinationException";
274
274
  readonly $fault: "client";
275
- ConfigurationSetName?: string;
276
- EventDestinationName?: string;
275
+ ConfigurationSetName?: string | undefined;
276
+ EventDestinationName?: string | undefined;
277
277
  constructor(
278
278
  opts: __ExceptionOptionType<
279
279
  InvalidFirehoseDestinationException,
@@ -284,14 +284,14 @@ export declare class InvalidFirehoseDestinationException extends __BaseException
284
284
  export declare class InvalidSNSDestinationException extends __BaseException {
285
285
  readonly name: "InvalidSNSDestinationException";
286
286
  readonly $fault: "client";
287
- ConfigurationSetName?: string;
288
- EventDestinationName?: string;
287
+ ConfigurationSetName?: string | undefined;
288
+ EventDestinationName?: string | undefined;
289
289
  constructor(
290
290
  opts: __ExceptionOptionType<InvalidSNSDestinationException, __BaseException>
291
291
  );
292
292
  }
293
293
  export interface TrackingOptions {
294
- CustomRedirectDomain?: string;
294
+ CustomRedirectDomain?: string | undefined;
295
295
  }
296
296
  export interface CreateConfigurationSetTrackingOptionsRequest {
297
297
  ConfigurationSetName: string | undefined;
@@ -311,7 +311,7 @@ export declare class InvalidTrackingOptionsException extends __BaseException {
311
311
  export declare class TrackingOptionsAlreadyExistsException extends __BaseException {
312
312
  readonly name: "TrackingOptionsAlreadyExistsException";
313
313
  readonly $fault: "client";
314
- ConfigurationSetName?: string;
314
+ ConfigurationSetName?: string | undefined;
315
315
  constructor(
316
316
  opts: __ExceptionOptionType<
317
317
  TrackingOptionsAlreadyExistsException,
@@ -340,7 +340,7 @@ export declare class CustomVerificationEmailInvalidContentException extends __Ba
340
340
  export declare class CustomVerificationEmailTemplateAlreadyExistsException extends __BaseException {
341
341
  readonly name: "CustomVerificationEmailTemplateAlreadyExistsException";
342
342
  readonly $fault: "client";
343
- CustomVerificationEmailTemplateName?: string;
343
+ CustomVerificationEmailTemplateName?: string | undefined;
344
344
  constructor(
345
345
  opts: __ExceptionOptionType<
346
346
  CustomVerificationEmailTemplateAlreadyExistsException,
@@ -351,7 +351,7 @@ export declare class CustomVerificationEmailTemplateAlreadyExistsException exten
351
351
  export declare class FromEmailAddressNotVerifiedException extends __BaseException {
352
352
  readonly name: "FromEmailAddressNotVerifiedException";
353
353
  readonly $fault: "client";
354
- FromEmailAddress?: string;
354
+ FromEmailAddress?: string | undefined;
355
355
  constructor(
356
356
  opts: __ExceptionOptionType<
357
357
  FromEmailAddressNotVerifiedException,
@@ -384,16 +384,16 @@ export declare const InvocationType: {
384
384
  export type InvocationType =
385
385
  (typeof InvocationType)[keyof typeof InvocationType];
386
386
  export interface LambdaAction {
387
- TopicArn?: string;
387
+ TopicArn?: string | undefined;
388
388
  FunctionArn: string | undefined;
389
- InvocationType?: InvocationType;
389
+ InvocationType?: InvocationType | undefined;
390
390
  }
391
391
  export interface S3Action {
392
- TopicArn?: string;
392
+ TopicArn?: string | undefined;
393
393
  BucketName: string | undefined;
394
- ObjectKeyPrefix?: string;
395
- KmsKeyArn?: string;
396
- IamRoleArn?: string;
394
+ ObjectKeyPrefix?: string | undefined;
395
+ KmsKeyArn?: string | undefined;
396
+ IamRoleArn?: string | undefined;
397
397
  }
398
398
  export declare const SNSActionEncoding: {
399
399
  readonly Base64: "Base64";
@@ -403,7 +403,7 @@ export type SNSActionEncoding =
403
403
  (typeof SNSActionEncoding)[keyof typeof SNSActionEncoding];
404
404
  export interface SNSAction {
405
405
  TopicArn: string | undefined;
406
- Encoding?: SNSActionEncoding;
406
+ Encoding?: SNSActionEncoding | undefined;
407
407
  }
408
408
  export declare const StopScope: {
409
409
  readonly RULE_SET: "RuleSet";
@@ -411,20 +411,20 @@ export declare const StopScope: {
411
411
  export type StopScope = (typeof StopScope)[keyof typeof StopScope];
412
412
  export interface StopAction {
413
413
  Scope: StopScope | undefined;
414
- TopicArn?: string;
414
+ TopicArn?: string | undefined;
415
415
  }
416
416
  export interface WorkmailAction {
417
- TopicArn?: string;
417
+ TopicArn?: string | undefined;
418
418
  OrganizationArn: string | undefined;
419
419
  }
420
420
  export interface ReceiptAction {
421
- S3Action?: S3Action;
422
- BounceAction?: BounceAction;
423
- WorkmailAction?: WorkmailAction;
424
- LambdaAction?: LambdaAction;
425
- StopAction?: StopAction;
426
- AddHeaderAction?: AddHeaderAction;
427
- SNSAction?: SNSAction;
421
+ S3Action?: S3Action | undefined;
422
+ BounceAction?: BounceAction | undefined;
423
+ WorkmailAction?: WorkmailAction | undefined;
424
+ LambdaAction?: LambdaAction | undefined;
425
+ StopAction?: StopAction | undefined;
426
+ AddHeaderAction?: AddHeaderAction | undefined;
427
+ SNSAction?: SNSAction | undefined;
428
428
  }
429
429
  export declare const TlsPolicy: {
430
430
  readonly Optional: "Optional";
@@ -433,22 +433,22 @@ export declare const TlsPolicy: {
433
433
  export type TlsPolicy = (typeof TlsPolicy)[keyof typeof TlsPolicy];
434
434
  export interface ReceiptRule {
435
435
  Name: string | undefined;
436
- Enabled?: boolean;
437
- TlsPolicy?: TlsPolicy;
438
- Recipients?: string[];
439
- Actions?: ReceiptAction[];
440
- ScanEnabled?: boolean;
436
+ Enabled?: boolean | undefined;
437
+ TlsPolicy?: TlsPolicy | undefined;
438
+ Recipients?: string[] | undefined;
439
+ Actions?: ReceiptAction[] | undefined;
440
+ ScanEnabled?: boolean | undefined;
441
441
  }
442
442
  export interface CreateReceiptRuleRequest {
443
443
  RuleSetName: string | undefined;
444
- After?: string;
444
+ After?: string | undefined;
445
445
  Rule: ReceiptRule | undefined;
446
446
  }
447
447
  export interface CreateReceiptRuleResponse {}
448
448
  export declare class InvalidLambdaFunctionException extends __BaseException {
449
449
  readonly name: "InvalidLambdaFunctionException";
450
450
  readonly $fault: "client";
451
- FunctionArn?: string;
451
+ FunctionArn?: string | undefined;
452
452
  constructor(
453
453
  opts: __ExceptionOptionType<InvalidLambdaFunctionException, __BaseException>
454
454
  );
@@ -456,7 +456,7 @@ export declare class InvalidLambdaFunctionException extends __BaseException {
456
456
  export declare class InvalidS3ConfigurationException extends __BaseException {
457
457
  readonly name: "InvalidS3ConfigurationException";
458
458
  readonly $fault: "client";
459
- Bucket?: string;
459
+ Bucket?: string | undefined;
460
460
  constructor(
461
461
  opts: __ExceptionOptionType<
462
462
  InvalidS3ConfigurationException,
@@ -467,7 +467,7 @@ export declare class InvalidS3ConfigurationException extends __BaseException {
467
467
  export declare class InvalidSnsTopicException extends __BaseException {
468
468
  readonly name: "InvalidSnsTopicException";
469
469
  readonly $fault: "client";
470
- Topic?: string;
470
+ Topic?: string | undefined;
471
471
  constructor(
472
472
  opts: __ExceptionOptionType<InvalidSnsTopicException, __BaseException>
473
473
  );
@@ -475,7 +475,7 @@ export declare class InvalidSnsTopicException extends __BaseException {
475
475
  export declare class RuleDoesNotExistException extends __BaseException {
476
476
  readonly name: "RuleDoesNotExistException";
477
477
  readonly $fault: "client";
478
- Name?: string;
478
+ Name?: string | undefined;
479
479
  constructor(
480
480
  opts: __ExceptionOptionType<RuleDoesNotExistException, __BaseException>
481
481
  );
@@ -486,9 +486,9 @@ export interface CreateReceiptRuleSetRequest {
486
486
  export interface CreateReceiptRuleSetResponse {}
487
487
  export interface Template {
488
488
  TemplateName: string | undefined;
489
- SubjectPart?: string;
490
- TextPart?: string;
491
- HtmlPart?: string;
489
+ SubjectPart?: string | undefined;
490
+ TextPart?: string | undefined;
491
+ HtmlPart?: string | undefined;
492
492
  }
493
493
  export interface CreateTemplateRequest {
494
494
  Template: Template | undefined;
@@ -497,7 +497,7 @@ export interface CreateTemplateResponse {}
497
497
  export declare class InvalidTemplateException extends __BaseException {
498
498
  readonly name: "InvalidTemplateException";
499
499
  readonly $fault: "client";
500
- TemplateName?: string;
500
+ TemplateName?: string | undefined;
501
501
  constructor(
502
502
  opts: __ExceptionOptionType<InvalidTemplateException, __BaseException>
503
503
  );
@@ -511,16 +511,16 @@ export declare const CustomMailFromStatus: {
511
511
  export type CustomMailFromStatus =
512
512
  (typeof CustomMailFromStatus)[keyof typeof CustomMailFromStatus];
513
513
  export interface CustomVerificationEmailTemplate {
514
- TemplateName?: string;
515
- FromEmailAddress?: string;
516
- TemplateSubject?: string;
517
- SuccessRedirectionURL?: string;
518
- FailureRedirectionURL?: string;
514
+ TemplateName?: string | undefined;
515
+ FromEmailAddress?: string | undefined;
516
+ TemplateSubject?: string | undefined;
517
+ SuccessRedirectionURL?: string | undefined;
518
+ FailureRedirectionURL?: string | undefined;
519
519
  }
520
520
  export declare class CustomVerificationEmailTemplateDoesNotExistException extends __BaseException {
521
521
  readonly name: "CustomVerificationEmailTemplateDoesNotExistException";
522
522
  readonly $fault: "client";
523
- CustomVerificationEmailTemplateName?: string;
523
+ CustomVerificationEmailTemplateName?: string | undefined;
524
524
  constructor(
525
525
  opts: __ExceptionOptionType<
526
526
  CustomVerificationEmailTemplateDoesNotExistException,
@@ -540,8 +540,8 @@ export interface DeleteConfigurationSetEventDestinationResponse {}
540
540
  export declare class EventDestinationDoesNotExistException extends __BaseException {
541
541
  readonly name: "EventDestinationDoesNotExistException";
542
542
  readonly $fault: "client";
543
- ConfigurationSetName?: string;
544
- EventDestinationName?: string;
543
+ ConfigurationSetName?: string | undefined;
544
+ EventDestinationName?: string | undefined;
545
545
  constructor(
546
546
  opts: __ExceptionOptionType<
547
547
  EventDestinationDoesNotExistException,
@@ -556,7 +556,7 @@ export interface DeleteConfigurationSetTrackingOptionsResponse {}
556
556
  export declare class TrackingOptionsDoesNotExistException extends __BaseException {
557
557
  readonly name: "TrackingOptionsDoesNotExistException";
558
558
  readonly $fault: "client";
559
- ConfigurationSetName?: string;
559
+ ConfigurationSetName?: string | undefined;
560
560
  constructor(
561
561
  opts: __ExceptionOptionType<
562
562
  TrackingOptionsDoesNotExistException,
@@ -597,46 +597,46 @@ export interface DeleteVerifiedEmailAddressRequest {
597
597
  EmailAddress: string | undefined;
598
598
  }
599
599
  export interface DeliveryOptions {
600
- TlsPolicy?: TlsPolicy;
600
+ TlsPolicy?: TlsPolicy | undefined;
601
601
  }
602
602
  export interface DescribeActiveReceiptRuleSetRequest {}
603
603
  export interface ReceiptRuleSetMetadata {
604
- Name?: string;
605
- CreatedTimestamp?: Date;
604
+ Name?: string | undefined;
605
+ CreatedTimestamp?: Date | undefined;
606
606
  }
607
607
  export interface DescribeActiveReceiptRuleSetResponse {
608
- Metadata?: ReceiptRuleSetMetadata;
609
- Rules?: ReceiptRule[];
608
+ Metadata?: ReceiptRuleSetMetadata | undefined;
609
+ Rules?: ReceiptRule[] | undefined;
610
610
  }
611
611
  export interface DescribeConfigurationSetRequest {
612
612
  ConfigurationSetName: string | undefined;
613
- ConfigurationSetAttributeNames?: ConfigurationSetAttribute[];
613
+ ConfigurationSetAttributeNames?: ConfigurationSetAttribute[] | undefined;
614
614
  }
615
615
  export interface ReputationOptions {
616
- SendingEnabled?: boolean;
617
- ReputationMetricsEnabled?: boolean;
618
- LastFreshStart?: Date;
616
+ SendingEnabled?: boolean | undefined;
617
+ ReputationMetricsEnabled?: boolean | undefined;
618
+ LastFreshStart?: Date | undefined;
619
619
  }
620
620
  export interface DescribeConfigurationSetResponse {
621
- ConfigurationSet?: ConfigurationSet;
622
- EventDestinations?: EventDestination[];
623
- TrackingOptions?: TrackingOptions;
624
- DeliveryOptions?: DeliveryOptions;
625
- ReputationOptions?: ReputationOptions;
621
+ ConfigurationSet?: ConfigurationSet | undefined;
622
+ EventDestinations?: EventDestination[] | undefined;
623
+ TrackingOptions?: TrackingOptions | undefined;
624
+ DeliveryOptions?: DeliveryOptions | undefined;
625
+ ReputationOptions?: ReputationOptions | undefined;
626
626
  }
627
627
  export interface DescribeReceiptRuleRequest {
628
628
  RuleSetName: string | undefined;
629
629
  RuleName: string | undefined;
630
630
  }
631
631
  export interface DescribeReceiptRuleResponse {
632
- Rule?: ReceiptRule;
632
+ Rule?: ReceiptRule | undefined;
633
633
  }
634
634
  export interface DescribeReceiptRuleSetRequest {
635
635
  RuleSetName: string | undefined;
636
636
  }
637
637
  export interface DescribeReceiptRuleSetResponse {
638
- Metadata?: ReceiptRuleSetMetadata;
639
- Rules?: ReceiptRule[];
638
+ Metadata?: ReceiptRuleSetMetadata | undefined;
639
+ Rules?: ReceiptRule[] | undefined;
640
640
  }
641
641
  export declare const VerificationStatus: {
642
642
  readonly Failed: "Failed";
@@ -650,21 +650,21 @@ export type VerificationStatus =
650
650
  export interface IdentityDkimAttributes {
651
651
  DkimEnabled: boolean | undefined;
652
652
  DkimVerificationStatus: VerificationStatus | undefined;
653
- DkimTokens?: string[];
653
+ DkimTokens?: string[] | undefined;
654
654
  }
655
655
  export interface GetAccountSendingEnabledResponse {
656
- Enabled?: boolean;
656
+ Enabled?: boolean | undefined;
657
657
  }
658
658
  export interface GetCustomVerificationEmailTemplateRequest {
659
659
  TemplateName: string | undefined;
660
660
  }
661
661
  export interface GetCustomVerificationEmailTemplateResponse {
662
- TemplateName?: string;
663
- FromEmailAddress?: string;
664
- TemplateSubject?: string;
665
- TemplateContent?: string;
666
- SuccessRedirectionURL?: string;
667
- FailureRedirectionURL?: string;
662
+ TemplateName?: string | undefined;
663
+ FromEmailAddress?: string | undefined;
664
+ TemplateSubject?: string | undefined;
665
+ TemplateContent?: string | undefined;
666
+ SuccessRedirectionURL?: string | undefined;
667
+ FailureRedirectionURL?: string | undefined;
668
668
  }
669
669
  export interface GetIdentityDkimAttributesRequest {
670
670
  Identities: string[] | undefined;
@@ -693,9 +693,9 @@ export interface IdentityNotificationAttributes {
693
693
  ComplaintTopic: string | undefined;
694
694
  DeliveryTopic: string | undefined;
695
695
  ForwardingEnabled: boolean | undefined;
696
- HeadersInBounceNotificationsEnabled?: boolean;
697
- HeadersInComplaintNotificationsEnabled?: boolean;
698
- HeadersInDeliveryNotificationsEnabled?: boolean;
696
+ HeadersInBounceNotificationsEnabled?: boolean | undefined;
697
+ HeadersInComplaintNotificationsEnabled?: boolean | undefined;
698
+ HeadersInDeliveryNotificationsEnabled?: boolean | undefined;
699
699
  }
700
700
  export interface GetIdentityNotificationAttributesResponse {
701
701
  NotificationAttributes:
@@ -714,7 +714,7 @@ export interface GetIdentityVerificationAttributesRequest {
714
714
  }
715
715
  export interface IdentityVerificationAttributes {
716
716
  VerificationStatus: VerificationStatus | undefined;
717
- VerificationToken?: string;
717
+ VerificationToken?: string | undefined;
718
718
  }
719
719
  export interface GetIdentityVerificationAttributesResponse {
720
720
  VerificationAttributes:
@@ -722,30 +722,30 @@ export interface GetIdentityVerificationAttributesResponse {
722
722
  | undefined;
723
723
  }
724
724
  export interface GetSendQuotaResponse {
725
- Max24HourSend?: number;
726
- MaxSendRate?: number;
727
- SentLast24Hours?: number;
725
+ Max24HourSend?: number | undefined;
726
+ MaxSendRate?: number | undefined;
727
+ SentLast24Hours?: number | undefined;
728
728
  }
729
729
  export interface SendDataPoint {
730
- Timestamp?: Date;
731
- DeliveryAttempts?: number;
732
- Bounces?: number;
733
- Complaints?: number;
734
- Rejects?: number;
730
+ Timestamp?: Date | undefined;
731
+ DeliveryAttempts?: number | undefined;
732
+ Bounces?: number | undefined;
733
+ Complaints?: number | undefined;
734
+ Rejects?: number | undefined;
735
735
  }
736
736
  export interface GetSendStatisticsResponse {
737
- SendDataPoints?: SendDataPoint[];
737
+ SendDataPoints?: SendDataPoint[] | undefined;
738
738
  }
739
739
  export interface GetTemplateRequest {
740
740
  TemplateName: string | undefined;
741
741
  }
742
742
  export interface GetTemplateResponse {
743
- Template?: Template;
743
+ Template?: Template | undefined;
744
744
  }
745
745
  export declare class TemplateDoesNotExistException extends __BaseException {
746
746
  readonly name: "TemplateDoesNotExistException";
747
747
  readonly $fault: "client";
748
- TemplateName?: string;
748
+ TemplateName?: string | undefined;
749
749
  constructor(
750
750
  opts: __ExceptionOptionType<TemplateDoesNotExistException, __BaseException>
751
751
  );
@@ -775,7 +775,7 @@ export declare class InvalidPolicyException extends __BaseException {
775
775
  export declare class InvalidRenderingParameterException extends __BaseException {
776
776
  readonly name: "InvalidRenderingParameterException";
777
777
  readonly $fault: "client";
778
- TemplateName?: string;
778
+ TemplateName?: string | undefined;
779
779
  constructor(
780
780
  opts: __ExceptionOptionType<
781
781
  InvalidRenderingParameterException,
@@ -784,29 +784,31 @@ export declare class InvalidRenderingParameterException extends __BaseException
784
784
  );
785
785
  }
786
786
  export interface ListConfigurationSetsRequest {
787
- NextToken?: string;
788
- MaxItems?: number;
787
+ NextToken?: string | undefined;
788
+ MaxItems?: number | undefined;
789
789
  }
790
790
  export interface ListConfigurationSetsResponse {
791
- ConfigurationSets?: ConfigurationSet[];
792
- NextToken?: string;
791
+ ConfigurationSets?: ConfigurationSet[] | undefined;
792
+ NextToken?: string | undefined;
793
793
  }
794
794
  export interface ListCustomVerificationEmailTemplatesRequest {
795
- NextToken?: string;
796
- MaxResults?: number;
795
+ NextToken?: string | undefined;
796
+ MaxResults?: number | undefined;
797
797
  }
798
798
  export interface ListCustomVerificationEmailTemplatesResponse {
799
- CustomVerificationEmailTemplates?: CustomVerificationEmailTemplate[];
800
- NextToken?: string;
799
+ CustomVerificationEmailTemplates?:
800
+ | CustomVerificationEmailTemplate[]
801
+ | undefined;
802
+ NextToken?: string | undefined;
801
803
  }
802
804
  export interface ListIdentitiesRequest {
803
- IdentityType?: IdentityType;
804
- NextToken?: string;
805
- MaxItems?: number;
805
+ IdentityType?: IdentityType | undefined;
806
+ NextToken?: string | undefined;
807
+ MaxItems?: number | undefined;
806
808
  }
807
809
  export interface ListIdentitiesResponse {
808
810
  Identities: string[] | undefined;
809
- NextToken?: string;
811
+ NextToken?: string | undefined;
810
812
  }
811
813
  export interface ListIdentityPoliciesRequest {
812
814
  Identity: string | undefined;
@@ -816,29 +818,29 @@ export interface ListIdentityPoliciesResponse {
816
818
  }
817
819
  export interface ListReceiptFiltersRequest {}
818
820
  export interface ListReceiptFiltersResponse {
819
- Filters?: ReceiptFilter[];
821
+ Filters?: ReceiptFilter[] | undefined;
820
822
  }
821
823
  export interface ListReceiptRuleSetsRequest {
822
- NextToken?: string;
824
+ NextToken?: string | undefined;
823
825
  }
824
826
  export interface ListReceiptRuleSetsResponse {
825
- RuleSets?: ReceiptRuleSetMetadata[];
826
- NextToken?: string;
827
+ RuleSets?: ReceiptRuleSetMetadata[] | undefined;
828
+ NextToken?: string | undefined;
827
829
  }
828
830
  export interface ListTemplatesRequest {
829
- NextToken?: string;
830
- MaxItems?: number;
831
+ NextToken?: string | undefined;
832
+ MaxItems?: number | undefined;
831
833
  }
832
834
  export interface TemplateMetadata {
833
- Name?: string;
834
- CreatedTimestamp?: Date;
835
+ Name?: string | undefined;
836
+ CreatedTimestamp?: Date | undefined;
835
837
  }
836
838
  export interface ListTemplatesResponse {
837
- TemplatesMetadata?: TemplateMetadata[];
838
- NextToken?: string;
839
+ TemplatesMetadata?: TemplateMetadata[] | undefined;
840
+ NextToken?: string | undefined;
839
841
  }
840
842
  export interface ListVerifiedEmailAddressesResponse {
841
- VerifiedEmailAddresses?: string[];
843
+ VerifiedEmailAddresses?: string[] | undefined;
842
844
  }
843
845
  export declare class MailFromDomainNotVerifiedException extends __BaseException {
844
846
  readonly name: "MailFromDomainNotVerifiedException";
@@ -856,8 +858,8 @@ export interface Message {
856
858
  }
857
859
  export interface MessageDsn {
858
860
  ReportingMta: string | undefined;
859
- ArrivalDate?: Date;
860
- ExtensionFields?: ExtensionField[];
861
+ ArrivalDate?: Date | undefined;
862
+ ExtensionFields?: ExtensionField[] | undefined;
861
863
  }
862
864
  export declare class MessageRejected extends __BaseException {
863
865
  readonly name: "MessageRejected";
@@ -867,7 +869,7 @@ export declare class MessageRejected extends __BaseException {
867
869
  export declare class MissingRenderingAttributeException extends __BaseException {
868
870
  readonly name: "MissingRenderingAttributeException";
869
871
  readonly $fault: "client";
870
- TemplateName?: string;
872
+ TemplateName?: string | undefined;
871
873
  constructor(
872
874
  opts: __ExceptionOptionType<
873
875
  MissingRenderingAttributeException,
@@ -894,7 +896,7 @@ export declare class ProductionAccessNotGrantedException extends __BaseException
894
896
  }
895
897
  export interface PutConfigurationSetDeliveryOptionsRequest {
896
898
  ConfigurationSetName: string | undefined;
897
- DeliveryOptions?: DeliveryOptions;
899
+ DeliveryOptions?: DeliveryOptions | undefined;
898
900
  }
899
901
  export interface PutConfigurationSetDeliveryOptionsResponse {}
900
902
  export interface PutIdentityPolicyRequest {
@@ -914,24 +916,24 @@ export interface ReorderReceiptRuleSetResponse {}
914
916
  export interface SendBounceRequest {
915
917
  OriginalMessageId: string | undefined;
916
918
  BounceSender: string | undefined;
917
- Explanation?: string;
918
- MessageDsn?: MessageDsn;
919
+ Explanation?: string | undefined;
920
+ MessageDsn?: MessageDsn | undefined;
919
921
  BouncedRecipientInfoList: BouncedRecipientInfo[] | undefined;
920
- BounceSenderArn?: string;
922
+ BounceSenderArn?: string | undefined;
921
923
  }
922
924
  export interface SendBounceResponse {
923
- MessageId?: string;
925
+ MessageId?: string | undefined;
924
926
  }
925
927
  export interface SendBulkTemplatedEmailRequest {
926
928
  Source: string | undefined;
927
- SourceArn?: string;
928
- ReplyToAddresses?: string[];
929
- ReturnPath?: string;
930
- ReturnPathArn?: string;
931
- ConfigurationSetName?: string;
932
- DefaultTags?: MessageTag[];
929
+ SourceArn?: string | undefined;
930
+ ReplyToAddresses?: string[] | undefined;
931
+ ReturnPath?: string | undefined;
932
+ ReturnPathArn?: string | undefined;
933
+ ConfigurationSetName?: string | undefined;
934
+ DefaultTags?: MessageTag[] | undefined;
933
935
  Template: string | undefined;
934
- TemplateArn?: string;
936
+ TemplateArn?: string | undefined;
935
937
  DefaultTemplateData: string | undefined;
936
938
  Destinations: BulkEmailDestination[] | undefined;
937
939
  }
@@ -941,34 +943,34 @@ export interface SendBulkTemplatedEmailResponse {
941
943
  export interface SendCustomVerificationEmailRequest {
942
944
  EmailAddress: string | undefined;
943
945
  TemplateName: string | undefined;
944
- ConfigurationSetName?: string;
946
+ ConfigurationSetName?: string | undefined;
945
947
  }
946
948
  export interface SendCustomVerificationEmailResponse {
947
- MessageId?: string;
949
+ MessageId?: string | undefined;
948
950
  }
949
951
  export interface SendEmailRequest {
950
952
  Source: string | undefined;
951
953
  Destination: Destination | undefined;
952
954
  Message: Message | undefined;
953
- ReplyToAddresses?: string[];
954
- ReturnPath?: string;
955
- SourceArn?: string;
956
- ReturnPathArn?: string;
957
- Tags?: MessageTag[];
958
- ConfigurationSetName?: string;
955
+ ReplyToAddresses?: string[] | undefined;
956
+ ReturnPath?: string | undefined;
957
+ SourceArn?: string | undefined;
958
+ ReturnPathArn?: string | undefined;
959
+ Tags?: MessageTag[] | undefined;
960
+ ConfigurationSetName?: string | undefined;
959
961
  }
960
962
  export interface SendEmailResponse {
961
963
  MessageId: string | undefined;
962
964
  }
963
965
  export interface SendRawEmailRequest {
964
- Source?: string;
965
- Destinations?: string[];
966
+ Source?: string | undefined;
967
+ Destinations?: string[] | undefined;
966
968
  RawMessage: RawMessage | undefined;
967
- FromArn?: string;
968
- SourceArn?: string;
969
- ReturnPathArn?: string;
970
- Tags?: MessageTag[];
971
- ConfigurationSetName?: string;
969
+ FromArn?: string | undefined;
970
+ SourceArn?: string | undefined;
971
+ ReturnPathArn?: string | undefined;
972
+ Tags?: MessageTag[] | undefined;
973
+ ConfigurationSetName?: string | undefined;
972
974
  }
973
975
  export interface SendRawEmailResponse {
974
976
  MessageId: string | undefined;
@@ -976,21 +978,21 @@ export interface SendRawEmailResponse {
976
978
  export interface SendTemplatedEmailRequest {
977
979
  Source: string | undefined;
978
980
  Destination: Destination | undefined;
979
- ReplyToAddresses?: string[];
980
- ReturnPath?: string;
981
- SourceArn?: string;
982
- ReturnPathArn?: string;
983
- Tags?: MessageTag[];
984
- ConfigurationSetName?: string;
981
+ ReplyToAddresses?: string[] | undefined;
982
+ ReturnPath?: string | undefined;
983
+ SourceArn?: string | undefined;
984
+ ReturnPathArn?: string | undefined;
985
+ Tags?: MessageTag[] | undefined;
986
+ ConfigurationSetName?: string | undefined;
985
987
  Template: string | undefined;
986
- TemplateArn?: string;
988
+ TemplateArn?: string | undefined;
987
989
  TemplateData: string | undefined;
988
990
  }
989
991
  export interface SendTemplatedEmailResponse {
990
992
  MessageId: string | undefined;
991
993
  }
992
994
  export interface SetActiveReceiptRuleSetRequest {
993
- RuleSetName?: string;
995
+ RuleSetName?: string | undefined;
994
996
  }
995
997
  export interface SetActiveReceiptRuleSetResponse {}
996
998
  export interface SetIdentityDkimEnabledRequest {
@@ -1011,20 +1013,20 @@ export interface SetIdentityHeadersInNotificationsEnabledRequest {
1011
1013
  export interface SetIdentityHeadersInNotificationsEnabledResponse {}
1012
1014
  export interface SetIdentityMailFromDomainRequest {
1013
1015
  Identity: string | undefined;
1014
- MailFromDomain?: string;
1015
- BehaviorOnMXFailure?: BehaviorOnMXFailure;
1016
+ MailFromDomain?: string | undefined;
1017
+ BehaviorOnMXFailure?: BehaviorOnMXFailure | undefined;
1016
1018
  }
1017
1019
  export interface SetIdentityMailFromDomainResponse {}
1018
1020
  export interface SetIdentityNotificationTopicRequest {
1019
1021
  Identity: string | undefined;
1020
1022
  NotificationType: NotificationType | undefined;
1021
- SnsTopic?: string;
1023
+ SnsTopic?: string | undefined;
1022
1024
  }
1023
1025
  export interface SetIdentityNotificationTopicResponse {}
1024
1026
  export interface SetReceiptRulePositionRequest {
1025
1027
  RuleSetName: string | undefined;
1026
1028
  RuleName: string | undefined;
1027
- After?: string;
1029
+ After?: string | undefined;
1028
1030
  }
1029
1031
  export interface SetReceiptRulePositionResponse {}
1030
1032
  export interface TestRenderTemplateRequest {
@@ -1032,10 +1034,10 @@ export interface TestRenderTemplateRequest {
1032
1034
  TemplateData: string | undefined;
1033
1035
  }
1034
1036
  export interface TestRenderTemplateResponse {
1035
- RenderedTemplate?: string;
1037
+ RenderedTemplate?: string | undefined;
1036
1038
  }
1037
1039
  export interface UpdateAccountSendingEnabledRequest {
1038
- Enabled?: boolean;
1040
+ Enabled?: boolean | undefined;
1039
1041
  }
1040
1042
  export interface UpdateConfigurationSetEventDestinationRequest {
1041
1043
  ConfigurationSetName: string | undefined;
@@ -1057,11 +1059,11 @@ export interface UpdateConfigurationSetTrackingOptionsRequest {
1057
1059
  export interface UpdateConfigurationSetTrackingOptionsResponse {}
1058
1060
  export interface UpdateCustomVerificationEmailTemplateRequest {
1059
1061
  TemplateName: string | undefined;
1060
- FromEmailAddress?: string;
1061
- TemplateSubject?: string;
1062
- TemplateContent?: string;
1063
- SuccessRedirectionURL?: string;
1064
- FailureRedirectionURL?: string;
1062
+ FromEmailAddress?: string | undefined;
1063
+ TemplateSubject?: string | undefined;
1064
+ TemplateContent?: string | undefined;
1065
+ SuccessRedirectionURL?: string | undefined;
1066
+ FailureRedirectionURL?: string | undefined;
1065
1067
  }
1066
1068
  export interface UpdateReceiptRuleRequest {
1067
1069
  RuleSetName: string | undefined;