forked from aws-amplify/aws-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAWSSESResources.m
2572 lines (2560 loc) · 157 KB
/
AWSSESResources.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//
// Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License").
// You may not use this file except in compliance with the License.
// A copy of the License is located at
//
// http://aws.amazon.com/apache2.0
//
// or in the "license" file accompanying this file. This file is distributed
// on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.
//
#import "AWSSESResources.h"
#import <AWSCore/AWSLogging.h>
@interface AWSSESResources ()
@property (nonatomic, strong) NSDictionary *definitionDictionary;
@end
@implementation AWSSESResources
+ (instancetype)sharedInstance {
static AWSSESResources *_sharedResources = nil;
static dispatch_once_t once_token;
dispatch_once(&once_token, ^{
_sharedResources = [AWSSESResources new];
});
return _sharedResources;
}
- (NSDictionary *)JSONObject {
return self.definitionDictionary;
}
- (instancetype)init {
if (self = [super init]) {
//init method
NSError *error = nil;
_definitionDictionary = [NSJSONSerialization JSONObjectWithData:[[self definitionString] dataUsingEncoding:NSUTF8StringEncoding]
options:kNilOptions
error:&error];
if (_definitionDictionary == nil) {
if (error) {
AWSLogError(@"Failed to parse JSON service definition: %@",error);
}
}
}
return self;
}
- (NSString *)definitionString {
return @"{\
\"version\":\"2.0\",\
\"metadata\":{\
\"apiVersion\":\"2010-12-01\",\
\"endpointPrefix\":\"email\",\
\"protocol\":\"query\",\
\"serviceAbbreviation\":\"Amazon SES\",\
\"serviceFullName\":\"Amazon Simple Email Service\",\
\"signatureVersion\":\"v4\",\
\"signingName\":\"ses\",\
\"xmlNamespace\":\"http://ses.amazonaws.com/doc/2010-12-01/\"\
},\
\"operations\":{\
\"CloneReceiptRuleSet\":{\
\"name\":\"CloneReceiptRuleSet\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"CloneReceiptRuleSetRequest\"},\
\"output\":{\
\"shape\":\"CloneReceiptRuleSetResponse\",\
\"resultWrapper\":\"CloneReceiptRuleSetResult\"\
},\
\"errors\":[\
{\"shape\":\"RuleSetDoesNotExistException\"},\
{\"shape\":\"AlreadyExistsException\"},\
{\"shape\":\"LimitExceededException\"}\
],\
\"documentation\":\"<p>Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.</p> <p>For information about setting up rule sets, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"CreateReceiptFilter\":{\
\"name\":\"CreateReceiptFilter\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"CreateReceiptFilterRequest\"},\
\"output\":{\
\"shape\":\"CreateReceiptFilterResponse\",\
\"resultWrapper\":\"CreateReceiptFilterResult\"\
},\
\"errors\":[\
{\"shape\":\"LimitExceededException\"},\
{\"shape\":\"AlreadyExistsException\"}\
],\
\"documentation\":\"<p>Creates a new IP address filter.</p> <p>For information about setting up IP address filters, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"CreateReceiptRule\":{\
\"name\":\"CreateReceiptRule\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"CreateReceiptRuleRequest\"},\
\"output\":{\
\"shape\":\"CreateReceiptRuleResponse\",\
\"resultWrapper\":\"CreateReceiptRuleResult\"\
},\
\"errors\":[\
{\"shape\":\"InvalidSnsTopicException\"},\
{\"shape\":\"InvalidS3ConfigurationException\"},\
{\"shape\":\"InvalidLambdaFunctionException\"},\
{\"shape\":\"AlreadyExistsException\"},\
{\"shape\":\"RuleDoesNotExistException\"},\
{\"shape\":\"RuleSetDoesNotExistException\"},\
{\"shape\":\"LimitExceededException\"}\
],\
\"documentation\":\"<p>Creates a receipt rule.</p> <p>For information about setting up receipt rules, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"CreateReceiptRuleSet\":{\
\"name\":\"CreateReceiptRuleSet\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"CreateReceiptRuleSetRequest\"},\
\"output\":{\
\"shape\":\"CreateReceiptRuleSetResponse\",\
\"resultWrapper\":\"CreateReceiptRuleSetResult\"\
},\
\"errors\":[\
{\"shape\":\"AlreadyExistsException\"},\
{\"shape\":\"LimitExceededException\"}\
],\
\"documentation\":\"<p>Creates an empty receipt rule set.</p> <p>For information about setting up receipt rule sets, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"DeleteIdentity\":{\
\"name\":\"DeleteIdentity\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"DeleteIdentityRequest\"},\
\"output\":{\
\"shape\":\"DeleteIdentityResponse\",\
\"resultWrapper\":\"DeleteIdentityResult\"\
},\
\"documentation\":\"<p>Deletes the specified identity (an email address or a domain) from the list of verified identities.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"DeleteIdentityPolicy\":{\
\"name\":\"DeleteIdentityPolicy\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"DeleteIdentityPolicyRequest\"},\
\"output\":{\
\"shape\":\"DeleteIdentityPolicyResponse\",\
\"resultWrapper\":\"DeleteIdentityPolicyResult\"\
},\
\"documentation\":\"<p>Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.</p> <note> <p>This API is for the identity owner only. If you have not verified the identity, this API will return an error.</p> </note> <p>Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"DeleteReceiptFilter\":{\
\"name\":\"DeleteReceiptFilter\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"DeleteReceiptFilterRequest\"},\
\"output\":{\
\"shape\":\"DeleteReceiptFilterResponse\",\
\"resultWrapper\":\"DeleteReceiptFilterResult\"\
},\
\"documentation\":\"<p>Deletes the specified IP address filter.</p> <p>For information about managing IP address filters, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-ip-filters.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"DeleteReceiptRule\":{\
\"name\":\"DeleteReceiptRule\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"DeleteReceiptRuleRequest\"},\
\"output\":{\
\"shape\":\"DeleteReceiptRuleResponse\",\
\"resultWrapper\":\"DeleteReceiptRuleResult\"\
},\
\"errors\":[\
{\"shape\":\"RuleSetDoesNotExistException\"}\
],\
\"documentation\":\"<p>Deletes the specified receipt rule.</p> <p>For information about managing receipt rules, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"DeleteReceiptRuleSet\":{\
\"name\":\"DeleteReceiptRuleSet\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"DeleteReceiptRuleSetRequest\"},\
\"output\":{\
\"shape\":\"DeleteReceiptRuleSetResponse\",\
\"resultWrapper\":\"DeleteReceiptRuleSetResult\"\
},\
\"errors\":[\
{\"shape\":\"CannotDeleteException\"}\
],\
\"documentation\":\"<p>Deletes the specified receipt rule set and all of the receipt rules it contains.</p> <note> <p>The currently active rule set cannot be deleted.</p> </note> <p>For information about managing receipt rule sets, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"DeleteVerifiedEmailAddress\":{\
\"name\":\"DeleteVerifiedEmailAddress\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"DeleteVerifiedEmailAddressRequest\"},\
\"documentation\":\"<p>Deletes the specified email address from the list of verified addresses.</p> <important> <p>The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.</p> </important> <p>This action is throttled at one request per second.</p>\"\
},\
\"DescribeActiveReceiptRuleSet\":{\
\"name\":\"DescribeActiveReceiptRuleSet\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"DescribeActiveReceiptRuleSetRequest\"},\
\"output\":{\
\"shape\":\"DescribeActiveReceiptRuleSetResponse\",\
\"resultWrapper\":\"DescribeActiveReceiptRuleSetResult\"\
},\
\"documentation\":\"<p>Returns the metadata and receipt rules for the receipt rule set that is currently active.</p> <p>For information about setting up receipt rule sets, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"DescribeReceiptRule\":{\
\"name\":\"DescribeReceiptRule\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"DescribeReceiptRuleRequest\"},\
\"output\":{\
\"shape\":\"DescribeReceiptRuleResponse\",\
\"resultWrapper\":\"DescribeReceiptRuleResult\"\
},\
\"errors\":[\
{\"shape\":\"RuleDoesNotExistException\"},\
{\"shape\":\"RuleSetDoesNotExistException\"}\
],\
\"documentation\":\"<p>Returns the details of the specified receipt rule.</p> <p>For information about setting up receipt rules, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"DescribeReceiptRuleSet\":{\
\"name\":\"DescribeReceiptRuleSet\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"DescribeReceiptRuleSetRequest\"},\
\"output\":{\
\"shape\":\"DescribeReceiptRuleSetResponse\",\
\"resultWrapper\":\"DescribeReceiptRuleSetResult\"\
},\
\"errors\":[\
{\"shape\":\"RuleSetDoesNotExistException\"}\
],\
\"documentation\":\"<p>Returns the details of the specified receipt rule set.</p> <p>For information about managing receipt rule sets, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"GetIdentityDkimAttributes\":{\
\"name\":\"GetIdentityDkimAttributes\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"GetIdentityDkimAttributesRequest\"},\
\"output\":{\
\"shape\":\"GetIdentityDkimAttributesResponse\",\
\"resultWrapper\":\"GetIdentityDkimAttributesResult\"\
},\
\"documentation\":\"<p>Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.</p> <p>This action takes a list of identities as input and returns the following information for each:</p> <ul> <li> <p>Whether Easy DKIM signing is enabled or disabled.</p> </li> <li> <p>A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.</p> </li> <li> <p>Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses.</p> </li> </ul> <p>This action is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.</p> <p>For more information about creating DNS records using DKIM tokens, go to the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"GetIdentityMailFromDomainAttributes\":{\
\"name\":\"GetIdentityMailFromDomainAttributes\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"GetIdentityMailFromDomainAttributesRequest\"},\
\"output\":{\
\"shape\":\"GetIdentityMailFromDomainAttributesResponse\",\
\"resultWrapper\":\"GetIdentityMailFromDomainAttributesResult\"\
},\
\"documentation\":\"<p>Returns the custom MAIL FROM attributes for a list of identities (email addresses and/or domains).</p> <p>This action is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time.</p>\"\
},\
\"GetIdentityNotificationAttributes\":{\
\"name\":\"GetIdentityNotificationAttributes\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"GetIdentityNotificationAttributesRequest\"},\
\"output\":{\
\"shape\":\"GetIdentityNotificationAttributesResponse\",\
\"resultWrapper\":\"GetIdentityNotificationAttributesResult\"\
},\
\"documentation\":\"<p>Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.</p> <p>This action is throttled at one request per second and can only get notification attributes for up to 100 identities at a time.</p> <p>For more information about using notifications with Amazon SES, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"GetIdentityPolicies\":{\
\"name\":\"GetIdentityPolicies\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"GetIdentityPoliciesRequest\"},\
\"output\":{\
\"shape\":\"GetIdentityPoliciesResponse\",\
\"resultWrapper\":\"GetIdentityPoliciesResult\"\
},\
\"documentation\":\"<p>Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.</p> <note> <p>This API is for the identity owner only. If you have not verified the identity, this API will return an error.</p> </note> <p>Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"GetIdentityVerificationAttributes\":{\
\"name\":\"GetIdentityVerificationAttributes\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"GetIdentityVerificationAttributesRequest\"},\
\"output\":{\
\"shape\":\"GetIdentityVerificationAttributesResponse\",\
\"resultWrapper\":\"GetIdentityVerificationAttributesResult\"\
},\
\"documentation\":\"<p>Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.</p> <p>This action is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.</p>\"\
},\
\"GetSendQuota\":{\
\"name\":\"GetSendQuota\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"output\":{\
\"shape\":\"GetSendQuotaResponse\",\
\"resultWrapper\":\"GetSendQuotaResult\"\
},\
\"documentation\":\"<p>Returns the user's current sending limits.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"GetSendStatistics\":{\
\"name\":\"GetSendStatistics\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"output\":{\
\"shape\":\"GetSendStatisticsResponse\",\
\"resultWrapper\":\"GetSendStatisticsResult\"\
},\
\"documentation\":\"<p>Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.</p> <p>Each data point in the list contains statistics for a 15-minute interval.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"ListIdentities\":{\
\"name\":\"ListIdentities\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"ListIdentitiesRequest\"},\
\"output\":{\
\"shape\":\"ListIdentitiesResponse\",\
\"resultWrapper\":\"ListIdentitiesResult\"\
},\
\"documentation\":\"<p>Returns a list containing all of the identities (email addresses and domains) for your AWS account, regardless of verification status.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"ListIdentityPolicies\":{\
\"name\":\"ListIdentityPolicies\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"ListIdentityPoliciesRequest\"},\
\"output\":{\
\"shape\":\"ListIdentityPoliciesResponse\",\
\"resultWrapper\":\"ListIdentityPoliciesResult\"\
},\
\"documentation\":\"<p>Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This API returns only a list. If you want the actual policy content, you can use <code>GetIdentityPolicies</code>.</p> <note> <p>This API is for the identity owner only. If you have not verified the identity, this API will return an error.</p> </note> <p>Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"ListReceiptFilters\":{\
\"name\":\"ListReceiptFilters\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"ListReceiptFiltersRequest\"},\
\"output\":{\
\"shape\":\"ListReceiptFiltersResponse\",\
\"resultWrapper\":\"ListReceiptFiltersResult\"\
},\
\"documentation\":\"<p>Lists the IP address filters associated with your AWS account.</p> <p>For information about managing IP address filters, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-ip-filters.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"ListReceiptRuleSets\":{\
\"name\":\"ListReceiptRuleSets\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"ListReceiptRuleSetsRequest\"},\
\"output\":{\
\"shape\":\"ListReceiptRuleSetsResponse\",\
\"resultWrapper\":\"ListReceiptRuleSetsResult\"\
},\
\"documentation\":\"<p>Lists the receipt rule sets that exist under your AWS account. If there are additional receipt rule sets to be retrieved, you will receive a <code>NextToken</code> that you can provide to the next call to <code>ListReceiptRuleSets</code> to retrieve the additional entries.</p> <p>For information about managing receipt rule sets, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"ListVerifiedEmailAddresses\":{\
\"name\":\"ListVerifiedEmailAddresses\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"output\":{\
\"shape\":\"ListVerifiedEmailAddressesResponse\",\
\"resultWrapper\":\"ListVerifiedEmailAddressesResult\"\
},\
\"documentation\":\"<p>Returns a list containing all of the email addresses that have been verified.</p> <important> <p>The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred.</p> </important> <p>This action is throttled at one request per second.</p>\"\
},\
\"PutIdentityPolicy\":{\
\"name\":\"PutIdentityPolicy\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"PutIdentityPolicyRequest\"},\
\"output\":{\
\"shape\":\"PutIdentityPolicyResponse\",\
\"resultWrapper\":\"PutIdentityPolicyResult\"\
},\
\"errors\":[\
{\"shape\":\"InvalidPolicyException\"}\
],\
\"documentation\":\"<p>Adds or updates a sending authorization policy for the specified identity (an email address or a domain).</p> <note> <p>This API is for the identity owner only. If you have not verified the identity, this API will return an error.</p> </note> <p>Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"ReorderReceiptRuleSet\":{\
\"name\":\"ReorderReceiptRuleSet\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"ReorderReceiptRuleSetRequest\"},\
\"output\":{\
\"shape\":\"ReorderReceiptRuleSetResponse\",\
\"resultWrapper\":\"ReorderReceiptRuleSetResult\"\
},\
\"errors\":[\
{\"shape\":\"RuleSetDoesNotExistException\"},\
{\"shape\":\"RuleDoesNotExistException\"}\
],\
\"documentation\":\"<p>Reorders the receipt rules within a receipt rule set.</p> <note> <p>All of the rules in the rule set must be represented in this request. That is, this API will return an error if the reorder request doesn't explicitly position all of the rules.</p> </note> <p>For information about managing receipt rule sets, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"SendBounce\":{\
\"name\":\"SendBounce\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SendBounceRequest\"},\
\"output\":{\
\"shape\":\"SendBounceResponse\",\
\"resultWrapper\":\"SendBounceResult\"\
},\
\"errors\":[\
{\"shape\":\"MessageRejected\"}\
],\
\"documentation\":\"<p>Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this API on an email up to 24 hours after you receive it.</p> <note> <p>You cannot use this API to send generic bounces for mail that was not received by Amazon SES.</p> </note> <p>For information about receiving email through Amazon SES, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"SendEmail\":{\
\"name\":\"SendEmail\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SendEmailRequest\"},\
\"output\":{\
\"shape\":\"SendEmailResponse\",\
\"resultWrapper\":\"SendEmailResult\"\
},\
\"errors\":[\
{\"shape\":\"MessageRejected\"},\
{\"shape\":\"MailFromDomainNotVerifiedException\"}\
],\
\"documentation\":\"<p>Composes an email message based on input data, and then immediately queues the message for sending.</p> <p>There are several important points to know about <code>SendEmail</code>:</p> <ul> <li> <p>You can only send email from verified email addresses and domains; otherwise, you will get an \\\"Email address not verified\\\" error. If your account is still in the Amazon SES sandbox, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html\\\">Amazon SES Developer Guide</a>.</p> </li> <li> <p>The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.</p> </li> <li> <p>Amazon SES has a limit on the total number of recipients per message. The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.</p> </li> <li> <p>For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html\\\">Amazon SES Developer Guide</a>.</p> </li> </ul>\"\
},\
\"SendRawEmail\":{\
\"name\":\"SendRawEmail\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SendRawEmailRequest\"},\
\"output\":{\
\"shape\":\"SendRawEmailResponse\",\
\"resultWrapper\":\"SendRawEmailResult\"\
},\
\"errors\":[\
{\"shape\":\"MessageRejected\"},\
{\"shape\":\"MailFromDomainNotVerifiedException\"}\
],\
\"documentation\":\"<p>Sends an email message, with header and content specified by the client. The <code>SendRawEmail</code> action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent. </p> <p>There are several important points to know about <code>SendRawEmail</code>:</p> <ul> <li> <p>You can only send email from verified email addresses and domains; otherwise, you will get an \\\"Email address not verified\\\" error. If your account is still in the Amazon SES sandbox, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html\\\">Amazon SES Developer Guide</a>.</p> </li> <li> <p>The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.</p> </li> <li> <p>Amazon SES has a limit on the total number of recipients per message. The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.</p> </li> <li> <p>The To:, CC:, and BCC: headers in the raw message can contain a group list. Note that each recipient in a group list counts towards the 50-recipient limit.</p> </li> <li> <p>Amazon SES overrides any Message-ID and Date headers you provide.</p> </li> <li> <p>For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html\\\">Amazon SES Developer Guide</a>.</p> </li> <li> <p>If you are using sending authorization to send on behalf of another user, <code>SendRawEmail</code> enables you to specify the cross-account identity for the email's \\\"Source,\\\" \\\"From,\\\" and \\\"Return-Path\\\" parameters in one of two ways: you can pass optional parameters <code>SourceArn</code>, <code>FromArn</code>, and/or <code>ReturnPathArn</code> to the API, or you can include the following X-headers in the header of your raw email:</p> <ul> <li> <p> <code>X-SES-SOURCE-ARN</code> </p> </li> <li> <p> <code>X-SES-FROM-ARN</code> </p> </li> <li> <p> <code>X-SES-RETURN-PATH-ARN</code> </p> </li> </ul> <important> <p>Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email.</p> </important> <p>For the most common sending authorization use case, we recommend that you specify the <code>SourceIdentityArn</code> and do not specify either the <code>FromIdentityArn</code> or <code>ReturnPathIdentityArn</code>. (The same note applies to the corresponding X-headers.) If you only specify the <code>SourceIdentityArn</code>, Amazon SES will simply set the \\\"From\\\" address and the \\\"Return Path\\\" address to the identity specified in <code>SourceIdentityArn</code>. For more information about sending authorization, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html\\\">Amazon SES Developer Guide</a>.</p> </li> </ul>\"\
},\
\"SetActiveReceiptRuleSet\":{\
\"name\":\"SetActiveReceiptRuleSet\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SetActiveReceiptRuleSetRequest\"},\
\"output\":{\
\"shape\":\"SetActiveReceiptRuleSetResponse\",\
\"resultWrapper\":\"SetActiveReceiptRuleSetResult\"\
},\
\"errors\":[\
{\"shape\":\"RuleSetDoesNotExistException\"}\
],\
\"documentation\":\"<p>Sets the specified receipt rule set as the active receipt rule set.</p> <note> <p>To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null.</p> </note> <p>For information about managing receipt rule sets, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"SetIdentityDkimEnabled\":{\
\"name\":\"SetIdentityDkimEnabled\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SetIdentityDkimEnabledRequest\"},\
\"output\":{\
\"shape\":\"SetIdentityDkimEnabledResponse\",\
\"resultWrapper\":\"SetIdentityDkimEnabledResult\"\
},\
\"documentation\":\"<p>Enables or disables Easy DKIM signing of email sent from an identity:</p> <ul> <li> <p>If Easy DKIM signing is enabled for a domain name identity (e.g., <code>example.com</code>), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g., <code>user@example.com</code>).</p> </li> <li> <p>If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address.</p> </li> </ul> <p>For email addresses (e.g., <code>user@example.com</code>), you can only enable Easy DKIM signing if the corresponding domain (e.g., <code>example.com</code>) has been set up for Easy DKIM using the AWS Console or the <code>VerifyDomainDkim</code> action.</p> <p>This action is throttled at one request per second.</p> <p>For more information about Easy DKIM signing, go to the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"SetIdentityFeedbackForwardingEnabled\":{\
\"name\":\"SetIdentityFeedbackForwardingEnabled\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SetIdentityFeedbackForwardingEnabledRequest\"},\
\"output\":{\
\"shape\":\"SetIdentityFeedbackForwardingEnabledResponse\",\
\"resultWrapper\":\"SetIdentityFeedbackForwardingEnabledResult\"\
},\
\"documentation\":\"<p>Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.</p> <note> <p>Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.</p> </note> <p>This action is throttled at one request per second.</p> <p>For more information about using notifications with Amazon SES, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"SetIdentityHeadersInNotificationsEnabled\":{\
\"name\":\"SetIdentityHeadersInNotificationsEnabled\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SetIdentityHeadersInNotificationsEnabledRequest\"},\
\"output\":{\
\"shape\":\"SetIdentityHeadersInNotificationsEnabledResponse\",\
\"resultWrapper\":\"SetIdentityHeadersInNotificationsEnabledResult\"\
},\
\"documentation\":\"<p>Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.</p> <p>This action is throttled at one request per second.</p> <p>For more information about using notifications with Amazon SES, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"SetIdentityMailFromDomain\":{\
\"name\":\"SetIdentityMailFromDomain\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SetIdentityMailFromDomainRequest\"},\
\"output\":{\
\"shape\":\"SetIdentityMailFromDomainResponse\",\
\"resultWrapper\":\"SetIdentityMailFromDomainResult\"\
},\
\"documentation\":\"<p>Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).</p> <important> <p>To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-set.html\\\">Amazon SES Developer Guide</a>.</p> </important> <p>This action is throttled at one request per second.</p>\"\
},\
\"SetIdentityNotificationTopic\":{\
\"name\":\"SetIdentityNotificationTopic\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SetIdentityNotificationTopicRequest\"},\
\"output\":{\
\"shape\":\"SetIdentityNotificationTopicResponse\",\
\"resultWrapper\":\"SetIdentityNotificationTopicResult\"\
},\
\"documentation\":\"<p>Given an identity (an email address or a domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the <code>Source</code>.</p> <note> <p>Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see <code>SetIdentityFeedbackForwardingEnabled</code>.</p> </note> <p>This action is throttled at one request per second.</p> <p>For more information about feedback notification, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"SetReceiptRulePosition\":{\
\"name\":\"SetReceiptRulePosition\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"SetReceiptRulePositionRequest\"},\
\"output\":{\
\"shape\":\"SetReceiptRulePositionResponse\",\
\"resultWrapper\":\"SetReceiptRulePositionResult\"\
},\
\"errors\":[\
{\"shape\":\"RuleSetDoesNotExistException\"},\
{\"shape\":\"RuleDoesNotExistException\"}\
],\
\"documentation\":\"<p>Sets the position of the specified receipt rule in the receipt rule set.</p> <p>For information about managing receipt rules, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"UpdateReceiptRule\":{\
\"name\":\"UpdateReceiptRule\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"UpdateReceiptRuleRequest\"},\
\"output\":{\
\"shape\":\"UpdateReceiptRuleResponse\",\
\"resultWrapper\":\"UpdateReceiptRuleResult\"\
},\
\"errors\":[\
{\"shape\":\"InvalidSnsTopicException\"},\
{\"shape\":\"InvalidS3ConfigurationException\"},\
{\"shape\":\"InvalidLambdaFunctionException\"},\
{\"shape\":\"RuleSetDoesNotExistException\"},\
{\"shape\":\"RuleDoesNotExistException\"},\
{\"shape\":\"LimitExceededException\"}\
],\
\"documentation\":\"<p>Updates a receipt rule.</p> <p>For information about managing receipt rules, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html\\\">Amazon SES Developer Guide</a>.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"VerifyDomainDkim\":{\
\"name\":\"VerifyDomainDkim\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"VerifyDomainDkimRequest\"},\
\"output\":{\
\"shape\":\"VerifyDomainDkimResponse\",\
\"resultWrapper\":\"VerifyDomainDkimResult\"\
},\
\"documentation\":\"<p>Returns a set of DKIM tokens for a domain. DKIM <i>tokens</i> are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.</p> <p>This action is throttled at one request per second.</p> <p>To enable or disable Easy DKIM signing for a domain, use the <code>SetIdentityDkimEnabled</code> action.</p> <p>For more information about creating DNS records using DKIM tokens, go to the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"VerifyDomainIdentity\":{\
\"name\":\"VerifyDomainIdentity\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"VerifyDomainIdentityRequest\"},\
\"output\":{\
\"shape\":\"VerifyDomainIdentityResponse\",\
\"resultWrapper\":\"VerifyDomainIdentityResult\"\
},\
\"documentation\":\"<p>Verifies a domain.</p> <p>This action is throttled at one request per second.</p>\"\
},\
\"VerifyEmailAddress\":{\
\"name\":\"VerifyEmailAddress\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"VerifyEmailAddressRequest\"},\
\"documentation\":\"<p>Verifies an email address. This action causes a confirmation email message to be sent to the specified address.</p> <important> <p>The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.</p> </important> <p>This action is throttled at one request per second.</p>\"\
},\
\"VerifyEmailIdentity\":{\
\"name\":\"VerifyEmailIdentity\",\
\"http\":{\
\"method\":\"POST\",\
\"requestUri\":\"/\"\
},\
\"input\":{\"shape\":\"VerifyEmailIdentityRequest\"},\
\"output\":{\
\"shape\":\"VerifyEmailIdentityResponse\",\
\"resultWrapper\":\"VerifyEmailIdentityResult\"\
},\
\"documentation\":\"<p>Verifies an email address. This action causes a confirmation email message to be sent to the specified address.</p> <p>This action is throttled at one request per second.</p>\"\
}\
},\
\"shapes\":{\
\"AddHeaderAction\":{\
\"type\":\"structure\",\
\"required\":[\
\"HeaderName\",\
\"HeaderValue\"\
],\
\"members\":{\
\"HeaderName\":{\
\"shape\":\"HeaderName\",\
\"documentation\":\"<p>The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.</p>\"\
},\
\"HeaderValue\":{\
\"shape\":\"HeaderValue\",\
\"documentation\":\"<p>Must be less than 2048 characters, and must not contain newline characters (\\\"\\\\r\\\" or \\\"\\\\n\\\").</p>\"\
}\
},\
\"documentation\":\"<p>When included in a receipt rule, this action adds a header to the received email.</p> <p>For information about adding a header using a receipt rule, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-add-header.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"Address\":{\"type\":\"string\"},\
\"AddressList\":{\
\"type\":\"list\",\
\"member\":{\"shape\":\"Address\"}\
},\
\"AlreadyExistsException\":{\
\"type\":\"structure\",\
\"members\":{\
\"Name\":{\"shape\":\"RuleOrRuleSetName\"}\
},\
\"documentation\":\"<p>Indicates that a resource could not be created due to a naming conflict.</p>\",\
\"error\":{\
\"code\":\"AlreadyExists\",\
\"httpStatusCode\":400,\
\"senderFault\":true\
},\
\"exception\":true\
},\
\"AmazonResourceName\":{\"type\":\"string\"},\
\"ArrivalDate\":{\"type\":\"timestamp\"},\
\"BehaviorOnMXFailure\":{\
\"type\":\"string\",\
\"enum\":[\
\"UseDefaultValue\",\
\"RejectMessage\"\
]\
},\
\"Body\":{\
\"type\":\"structure\",\
\"members\":{\
\"Text\":{\
\"shape\":\"Content\",\
\"documentation\":\"<p>The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).</p>\"\
},\
\"Html\":{\
\"shape\":\"Content\",\
\"documentation\":\"<p>The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.</p>\"\
}\
},\
\"documentation\":\"<p>Represents the body of the message. You can specify text, HTML, or both. If you use both, then the message should display correctly in the widest variety of email clients.</p>\"\
},\
\"BounceAction\":{\
\"type\":\"structure\",\
\"required\":[\
\"SmtpReplyCode\",\
\"Message\",\
\"Sender\"\
],\
\"members\":{\
\"TopicArn\":{\
\"shape\":\"AmazonResourceName\",\
\"documentation\":\"<p>The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is <code>arn:aws:sns:us-west-2:123456789012:MyTopic</code>. For more information about Amazon SNS topics, see the <a href=\\\"http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html\\\">Amazon SNS Developer Guide</a>.</p>\"\
},\
\"SmtpReplyCode\":{\
\"shape\":\"BounceSmtpReplyCode\",\
\"documentation\":\"<p>The SMTP reply code, as defined by <a href=\\\"https://tools.ietf.org/html/rfc5321\\\">RFC 5321</a>.</p>\"\
},\
\"StatusCode\":{\
\"shape\":\"BounceStatusCode\",\
\"documentation\":\"<p>The SMTP enhanced status code, as defined by <a href=\\\"https://tools.ietf.org/html/rfc3463\\\">RFC 3463</a>.</p>\"\
},\
\"Message\":{\
\"shape\":\"BounceMessage\",\
\"documentation\":\"<p>Human-readable text to include in the bounce message.</p>\"\
},\
\"Sender\":{\
\"shape\":\"Address\",\
\"documentation\":\"<p>The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.</p>\"\
}\
},\
\"documentation\":\"<p>When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).</p> <p>For information about sending a bounce message in response to a received email, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-bounce.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"BounceMessage\":{\"type\":\"string\"},\
\"BounceSmtpReplyCode\":{\"type\":\"string\"},\
\"BounceStatusCode\":{\"type\":\"string\"},\
\"BounceType\":{\
\"type\":\"string\",\
\"enum\":[\
\"DoesNotExist\",\
\"MessageTooLarge\",\
\"ExceededQuota\",\
\"ContentRejected\",\
\"Undefined\",\
\"TemporaryFailure\"\
]\
},\
\"BouncedRecipientInfo\":{\
\"type\":\"structure\",\
\"required\":[\"Recipient\"],\
\"members\":{\
\"Recipient\":{\
\"shape\":\"Address\",\
\"documentation\":\"<p>The email address of the recipient of the bounced email.</p>\"\
},\
\"RecipientArn\":{\
\"shape\":\"AmazonResourceName\",\
\"documentation\":\"<p>This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"BounceType\":{\
\"shape\":\"BounceType\",\
\"documentation\":\"<p>The reason for the bounce. You must provide either this parameter or <code>RecipientDsnFields</code>.</p>\"\
},\
\"RecipientDsnFields\":{\
\"shape\":\"RecipientDsnFields\",\
\"documentation\":\"<p>Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a <code>BounceType</code>. You must provide either this parameter or <code>BounceType</code>.</p>\"\
}\
},\
\"documentation\":\"<p>Recipient-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.</p> <p>For information about receiving email through Amazon SES, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"BouncedRecipientInfoList\":{\
\"type\":\"list\",\
\"member\":{\"shape\":\"BouncedRecipientInfo\"}\
},\
\"CannotDeleteException\":{\
\"type\":\"structure\",\
\"members\":{\
\"Name\":{\"shape\":\"RuleOrRuleSetName\"}\
},\
\"documentation\":\"<p>Indicates that the delete operation could not be completed.</p>\",\
\"error\":{\
\"code\":\"CannotDelete\",\
\"httpStatusCode\":400,\
\"senderFault\":true\
},\
\"exception\":true\
},\
\"Charset\":{\"type\":\"string\"},\
\"Cidr\":{\"type\":\"string\"},\
\"CloneReceiptRuleSetRequest\":{\
\"type\":\"structure\",\
\"required\":[\
\"RuleSetName\",\
\"OriginalRuleSetName\"\
],\
\"members\":{\
\"RuleSetName\":{\
\"shape\":\"ReceiptRuleSetName\",\
\"documentation\":\"<p>The name of the rule set to create. The name must:</p> <ul> <li> <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).</p> </li> <li> <p>Start and end with a letter or number.</p> </li> <li> <p>Contain less than 64 characters.</p> </li> </ul>\"\
},\
\"OriginalRuleSetName\":{\
\"shape\":\"ReceiptRuleSetName\",\
\"documentation\":\"<p>The name of the rule set to clone.</p>\"\
}\
},\
\"documentation\":\"<p>Represents a request to create a receipt rule set by cloning an existing one. You use receipt rule sets to receive email with Amazon SES. For more information, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"CloneReceiptRuleSetResponse\":{\
\"type\":\"structure\",\
\"members\":{\
},\
\"documentation\":\"<p>An empty element returned on a successful request.</p>\"\
},\
\"Content\":{\
\"type\":\"structure\",\
\"required\":[\"Data\"],\
\"members\":{\
\"Data\":{\
\"shape\":\"MessageData\",\
\"documentation\":\"<p>The textual data of the content.</p>\"\
},\
\"Charset\":{\
\"shape\":\"Charset\",\
\"documentation\":\"<p>The character set of the content.</p>\"\
}\
},\
\"documentation\":\"<p>Represents textual data, plus an optional character set specification.</p> <p>By default, the text must be 7-bit ASCII, due to the constraints of the SMTP protocol. If the text must contain any other characters, then you must also specify a character set. Examples include UTF-8, ISO-8859-1, and Shift_JIS.</p>\"\
},\
\"Counter\":{\"type\":\"long\"},\
\"CreateReceiptFilterRequest\":{\
\"type\":\"structure\",\
\"required\":[\"Filter\"],\
\"members\":{\
\"Filter\":{\
\"shape\":\"ReceiptFilter\",\
\"documentation\":\"<p>A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.</p>\"\
}\
},\
\"documentation\":\"<p>Represents a request to create a new IP address filter. You use IP address filters when you receive email with Amazon SES. For more information, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"CreateReceiptFilterResponse\":{\
\"type\":\"structure\",\
\"members\":{\
},\
\"documentation\":\"<p>An empty element returned on a successful request.</p>\"\
},\
\"CreateReceiptRuleRequest\":{\
\"type\":\"structure\",\
\"required\":[\
\"RuleSetName\",\
\"Rule\"\
],\
\"members\":{\
\"RuleSetName\":{\
\"shape\":\"ReceiptRuleSetName\",\
\"documentation\":\"<p>The name of the rule set to which to add the rule.</p>\"\
},\
\"After\":{\
\"shape\":\"ReceiptRuleName\",\
\"documentation\":\"<p>The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.</p>\"\
},\
\"Rule\":{\
\"shape\":\"ReceiptRule\",\
\"documentation\":\"<p>A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.</p>\"\
}\
},\
\"documentation\":\"<p>Represents a request to create a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"CreateReceiptRuleResponse\":{\
\"type\":\"structure\",\
\"members\":{\
},\
\"documentation\":\"<p>An empty element returned on a successful request.</p>\"\
},\
\"CreateReceiptRuleSetRequest\":{\
\"type\":\"structure\",\
\"required\":[\"RuleSetName\"],\
\"members\":{\
\"RuleSetName\":{\
\"shape\":\"ReceiptRuleSetName\",\
\"documentation\":\"<p>The name of the rule set to create. The name must:</p> <ul> <li> <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).</p> </li> <li> <p>Start and end with a letter or number.</p> </li> <li> <p>Contain less than 64 characters.</p> </li> </ul>\"\
}\
},\
\"documentation\":\"<p>Represents a request to create an empty receipt rule set. You use receipt rule sets to receive email with Amazon SES. For more information, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"CreateReceiptRuleSetResponse\":{\
\"type\":\"structure\",\
\"members\":{\
},\
\"documentation\":\"<p>An empty element returned on a successful request.</p>\"\
},\
\"CustomMailFromStatus\":{\
\"type\":\"string\",\
\"enum\":[\
\"Pending\",\
\"Success\",\
\"Failed\",\
\"TemporaryFailure\"\
]\
},\
\"DeleteIdentityPolicyRequest\":{\
\"type\":\"structure\",\
\"required\":[\
\"Identity\",\
\"PolicyName\"\
],\
\"members\":{\
\"Identity\":{\
\"shape\":\"Identity\",\
\"documentation\":\"<p>The identity that is associated with the policy that you want to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: <code>user@example.com</code>, <code>example.com</code>, <code>arn:aws:ses:us-east-1:123456789012:identity/example.com</code>.</p> <p>To successfully call this API, you must own the identity.</p>\"\
},\
\"PolicyName\":{\
\"shape\":\"PolicyName\",\
\"documentation\":\"<p>The name of the policy to be deleted.</p>\"\
}\
},\
\"documentation\":\"<p>Represents a request to delete a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"DeleteIdentityPolicyResponse\":{\
\"type\":\"structure\",\
\"members\":{\
},\
\"documentation\":\"<p>An empty element returned on a successful request.</p>\"\
},\
\"DeleteIdentityRequest\":{\
\"type\":\"structure\",\
\"required\":[\"Identity\"],\
\"members\":{\
\"Identity\":{\
\"shape\":\"Identity\",\
\"documentation\":\"<p>The identity to be removed from the list of identities for the AWS Account.</p>\"\
}\
},\
\"documentation\":\"<p>Represents a request to delete one of your Amazon SES identities (an email address or domain).</p>\"\
},\
\"DeleteIdentityResponse\":{\
\"type\":\"structure\",\
\"members\":{\
},\
\"documentation\":\"<p>An empty element returned on a successful request.</p>\"\
},\
\"DeleteReceiptFilterRequest\":{\
\"type\":\"structure\",\
\"required\":[\"FilterName\"],\
\"members\":{\
\"FilterName\":{\
\"shape\":\"ReceiptFilterName\",\
\"documentation\":\"<p>The name of the IP address filter to delete.</p>\"\
}\
},\
\"documentation\":\"<p>Represents a request to delete an IP address filter. You use IP address filters when you receive email with Amazon SES. For more information, see the <a href=\\\"http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html\\\">Amazon SES Developer Guide</a>.</p>\"\
},\
\"DeleteReceiptFilterResponse\":{\
\"type\":\"structure\",\
\"members\":{\
},\
\"documentation\":\"<p>An empty element returned on a successful request.</p>\"\
},\
\"DeleteReceiptRuleRequest\":{\
\"type\":\"structure\",\
\"required\":[\
\"RuleSetName\",\
\"RuleName\"\
],\
\"members\":{\
\"RuleSetName\":{\
\"shape\":\"ReceiptRuleSetName\",\