aws-sdk-mailmanager 1.0.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.
data/sig/types.rbs ADDED
@@ -0,0 +1,1168 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MailManager
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AddHeaderAction
17
+ attr_accessor header_name: ::String
18
+ attr_accessor header_value: ::String
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class AddonInstance
23
+ attr_accessor addon_instance_arn: ::String
24
+ attr_accessor addon_instance_id: ::String
25
+ attr_accessor addon_name: ::String
26
+ attr_accessor addon_subscription_id: ::String
27
+ attr_accessor created_timestamp: ::Time
28
+ SENSITIVE: []
29
+ end
30
+
31
+ class AddonSubscription
32
+ attr_accessor addon_name: ::String
33
+ attr_accessor addon_subscription_arn: ::String
34
+ attr_accessor addon_subscription_id: ::String
35
+ attr_accessor created_timestamp: ::Time
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class Analysis
40
+ attr_accessor analyzer: ::String
41
+ attr_accessor result_field: ::String
42
+ SENSITIVE: []
43
+ end
44
+
45
+ class Archive
46
+ attr_accessor archive_id: ::String
47
+ attr_accessor archive_name: ::String
48
+ attr_accessor archive_state: ("ACTIVE" | "PENDING_DELETION")
49
+ attr_accessor last_updated_timestamp: ::Time
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class ArchiveAction
54
+ attr_accessor action_failure_policy: ("CONTINUE" | "DROP")
55
+ attr_accessor target_archive: ::String
56
+ SENSITIVE: []
57
+ end
58
+
59
+ class ArchiveBooleanExpression
60
+ attr_accessor evaluate: Types::ArchiveBooleanToEvaluate
61
+ attr_accessor operator: ("IS_TRUE" | "IS_FALSE")
62
+ SENSITIVE: []
63
+ end
64
+
65
+ class ArchiveBooleanToEvaluate
66
+ attr_accessor attribute: ("HAS_ATTACHMENTS")
67
+ attr_accessor unknown: untyped
68
+ SENSITIVE: []
69
+
70
+ class Attribute < ArchiveBooleanToEvaluate
71
+ end
72
+ class Unknown < ArchiveBooleanToEvaluate
73
+ end
74
+ end
75
+
76
+ class ArchiveFilterCondition
77
+ attr_accessor boolean_expression: Types::ArchiveBooleanExpression
78
+ attr_accessor string_expression: Types::ArchiveStringExpression
79
+ attr_accessor unknown: untyped
80
+ SENSITIVE: []
81
+
82
+ class BooleanExpression < ArchiveFilterCondition
83
+ end
84
+ class StringExpression < ArchiveFilterCondition
85
+ end
86
+ class Unknown < ArchiveFilterCondition
87
+ end
88
+ end
89
+
90
+ class ArchiveFilters
91
+ attr_accessor include: ::Array[Types::ArchiveFilterCondition]
92
+ attr_accessor unless: ::Array[Types::ArchiveFilterCondition]
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class ArchiveRetention
97
+ attr_accessor retention_period: ("THREE_MONTHS" | "SIX_MONTHS" | "NINE_MONTHS" | "ONE_YEAR" | "EIGHTEEN_MONTHS" | "TWO_YEARS" | "THIRTY_MONTHS" | "THREE_YEARS" | "FOUR_YEARS" | "FIVE_YEARS" | "SIX_YEARS" | "SEVEN_YEARS" | "EIGHT_YEARS" | "NINE_YEARS" | "TEN_YEARS" | "PERMANENT")
98
+ attr_accessor unknown: untyped
99
+ SENSITIVE: []
100
+
101
+ class RetentionPeriod < ArchiveRetention
102
+ end
103
+ class Unknown < ArchiveRetention
104
+ end
105
+ end
106
+
107
+ class ArchiveStringExpression
108
+ attr_accessor evaluate: Types::ArchiveStringToEvaluate
109
+ attr_accessor operator: ("CONTAINS")
110
+ attr_accessor values: ::Array[::String]
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class ArchiveStringToEvaluate
115
+ attr_accessor attribute: ("TO" | "FROM" | "CC" | "SUBJECT")
116
+ attr_accessor unknown: untyped
117
+ SENSITIVE: []
118
+
119
+ class Attribute < ArchiveStringToEvaluate
120
+ end
121
+ class Unknown < ArchiveStringToEvaluate
122
+ end
123
+ end
124
+
125
+ class ConflictException
126
+ attr_accessor message: ::String
127
+ SENSITIVE: []
128
+ end
129
+
130
+ class CreateAddonInstanceRequest
131
+ attr_accessor addon_subscription_id: ::String
132
+ attr_accessor client_token: ::String
133
+ attr_accessor tags: ::Array[Types::Tag]
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class CreateAddonInstanceResponse
138
+ attr_accessor addon_instance_id: ::String
139
+ SENSITIVE: []
140
+ end
141
+
142
+ class CreateAddonSubscriptionRequest
143
+ attr_accessor addon_name: ::String
144
+ attr_accessor client_token: ::String
145
+ attr_accessor tags: ::Array[Types::Tag]
146
+ SENSITIVE: []
147
+ end
148
+
149
+ class CreateAddonSubscriptionResponse
150
+ attr_accessor addon_subscription_id: ::String
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class CreateArchiveRequest
155
+ attr_accessor archive_name: ::String
156
+ attr_accessor client_token: ::String
157
+ attr_accessor kms_key_arn: ::String
158
+ attr_accessor retention: Types::ArchiveRetention
159
+ attr_accessor tags: ::Array[Types::Tag]
160
+ SENSITIVE: []
161
+ end
162
+
163
+ class CreateArchiveResponse
164
+ attr_accessor archive_id: ::String
165
+ SENSITIVE: []
166
+ end
167
+
168
+ class CreateIngressPointRequest
169
+ attr_accessor client_token: ::String
170
+ attr_accessor ingress_point_configuration: Types::IngressPointConfiguration
171
+ attr_accessor ingress_point_name: ::String
172
+ attr_accessor rule_set_id: ::String
173
+ attr_accessor tags: ::Array[Types::Tag]
174
+ attr_accessor traffic_policy_id: ::String
175
+ attr_accessor type: ("OPEN" | "AUTH")
176
+ SENSITIVE: []
177
+ end
178
+
179
+ class CreateIngressPointResponse
180
+ attr_accessor ingress_point_id: ::String
181
+ SENSITIVE: []
182
+ end
183
+
184
+ class CreateRelayRequest
185
+ attr_accessor authentication: Types::RelayAuthentication
186
+ attr_accessor client_token: ::String
187
+ attr_accessor relay_name: ::String
188
+ attr_accessor server_name: ::String
189
+ attr_accessor server_port: ::Integer
190
+ attr_accessor tags: ::Array[Types::Tag]
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class CreateRelayResponse
195
+ attr_accessor relay_id: ::String
196
+ SENSITIVE: []
197
+ end
198
+
199
+ class CreateRuleSetRequest
200
+ attr_accessor client_token: ::String
201
+ attr_accessor rule_set_name: ::String
202
+ attr_accessor rules: ::Array[Types::Rule]
203
+ attr_accessor tags: ::Array[Types::Tag]
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class CreateRuleSetResponse
208
+ attr_accessor rule_set_id: ::String
209
+ SENSITIVE: []
210
+ end
211
+
212
+ class CreateTrafficPolicyRequest
213
+ attr_accessor client_token: ::String
214
+ attr_accessor default_action: ("ALLOW" | "DENY")
215
+ attr_accessor max_message_size_bytes: ::Integer
216
+ attr_accessor policy_statements: ::Array[Types::PolicyStatement]
217
+ attr_accessor tags: ::Array[Types::Tag]
218
+ attr_accessor traffic_policy_name: ::String
219
+ SENSITIVE: []
220
+ end
221
+
222
+ class CreateTrafficPolicyResponse
223
+ attr_accessor traffic_policy_id: ::String
224
+ SENSITIVE: []
225
+ end
226
+
227
+ class DeleteAddonInstanceRequest
228
+ attr_accessor addon_instance_id: ::String
229
+ SENSITIVE: []
230
+ end
231
+
232
+ class DeleteAddonInstanceResponse < Aws::EmptyStructure
233
+ end
234
+
235
+ class DeleteAddonSubscriptionRequest
236
+ attr_accessor addon_subscription_id: ::String
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class DeleteAddonSubscriptionResponse < Aws::EmptyStructure
241
+ end
242
+
243
+ class DeleteArchiveRequest
244
+ attr_accessor archive_id: ::String
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class DeleteArchiveResponse < Aws::EmptyStructure
249
+ end
250
+
251
+ class DeleteIngressPointRequest
252
+ attr_accessor ingress_point_id: ::String
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class DeleteIngressPointResponse < Aws::EmptyStructure
257
+ end
258
+
259
+ class DeleteRelayRequest
260
+ attr_accessor relay_id: ::String
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class DeleteRelayResponse < Aws::EmptyStructure
265
+ end
266
+
267
+ class DeleteRuleSetRequest
268
+ attr_accessor rule_set_id: ::String
269
+ SENSITIVE: []
270
+ end
271
+
272
+ class DeleteRuleSetResponse < Aws::EmptyStructure
273
+ end
274
+
275
+ class DeleteTrafficPolicyRequest
276
+ attr_accessor traffic_policy_id: ::String
277
+ SENSITIVE: []
278
+ end
279
+
280
+ class DeleteTrafficPolicyResponse < Aws::EmptyStructure
281
+ end
282
+
283
+ class DeliverToMailboxAction
284
+ attr_accessor action_failure_policy: ("CONTINUE" | "DROP")
285
+ attr_accessor mailbox_arn: ::String
286
+ attr_accessor role_arn: ::String
287
+ SENSITIVE: []
288
+ end
289
+
290
+ class DropAction < Aws::EmptyStructure
291
+ end
292
+
293
+ class ExportDestinationConfiguration
294
+ attr_accessor s3: Types::S3ExportDestinationConfiguration
295
+ attr_accessor unknown: untyped
296
+ SENSITIVE: []
297
+
298
+ class S3 < ExportDestinationConfiguration
299
+ end
300
+ class Unknown < ExportDestinationConfiguration
301
+ end
302
+ end
303
+
304
+ class ExportStatus
305
+ attr_accessor completion_timestamp: ::Time
306
+ attr_accessor error_message: ::String
307
+ attr_accessor state: ("QUEUED" | "PREPROCESSING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED")
308
+ attr_accessor submission_timestamp: ::Time
309
+ SENSITIVE: []
310
+ end
311
+
312
+ class ExportSummary
313
+ attr_accessor export_id: ::String
314
+ attr_accessor status: Types::ExportStatus
315
+ SENSITIVE: []
316
+ end
317
+
318
+ class GetAddonInstanceRequest
319
+ attr_accessor addon_instance_id: ::String
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class GetAddonInstanceResponse
324
+ attr_accessor addon_instance_arn: ::String
325
+ attr_accessor addon_name: ::String
326
+ attr_accessor addon_subscription_id: ::String
327
+ attr_accessor created_timestamp: ::Time
328
+ SENSITIVE: []
329
+ end
330
+
331
+ class GetAddonSubscriptionRequest
332
+ attr_accessor addon_subscription_id: ::String
333
+ SENSITIVE: []
334
+ end
335
+
336
+ class GetAddonSubscriptionResponse
337
+ attr_accessor addon_name: ::String
338
+ attr_accessor addon_subscription_arn: ::String
339
+ attr_accessor created_timestamp: ::Time
340
+ SENSITIVE: []
341
+ end
342
+
343
+ class GetArchiveExportRequest
344
+ attr_accessor export_id: ::String
345
+ SENSITIVE: []
346
+ end
347
+
348
+ class GetArchiveExportResponse
349
+ attr_accessor archive_id: ::String
350
+ attr_accessor export_destination_configuration: Types::ExportDestinationConfiguration
351
+ attr_accessor filters: Types::ArchiveFilters
352
+ attr_accessor from_timestamp: ::Time
353
+ attr_accessor max_results: ::Integer
354
+ attr_accessor status: Types::ExportStatus
355
+ attr_accessor to_timestamp: ::Time
356
+ SENSITIVE: []
357
+ end
358
+
359
+ class GetArchiveMessageContentRequest
360
+ attr_accessor archived_message_id: ::String
361
+ SENSITIVE: []
362
+ end
363
+
364
+ class GetArchiveMessageContentResponse
365
+ attr_accessor body: Types::MessageBody
366
+ SENSITIVE: []
367
+ end
368
+
369
+ class GetArchiveMessageRequest
370
+ attr_accessor archived_message_id: ::String
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class GetArchiveMessageResponse
375
+ attr_accessor message_download_link: ::String
376
+ SENSITIVE: []
377
+ end
378
+
379
+ class GetArchiveRequest
380
+ attr_accessor archive_id: ::String
381
+ SENSITIVE: []
382
+ end
383
+
384
+ class GetArchiveResponse
385
+ attr_accessor archive_arn: ::String
386
+ attr_accessor archive_id: ::String
387
+ attr_accessor archive_name: ::String
388
+ attr_accessor archive_state: ("ACTIVE" | "PENDING_DELETION")
389
+ attr_accessor created_timestamp: ::Time
390
+ attr_accessor kms_key_arn: ::String
391
+ attr_accessor last_updated_timestamp: ::Time
392
+ attr_accessor retention: Types::ArchiveRetention
393
+ SENSITIVE: []
394
+ end
395
+
396
+ class GetArchiveSearchRequest
397
+ attr_accessor search_id: ::String
398
+ SENSITIVE: []
399
+ end
400
+
401
+ class GetArchiveSearchResponse
402
+ attr_accessor archive_id: ::String
403
+ attr_accessor filters: Types::ArchiveFilters
404
+ attr_accessor from_timestamp: ::Time
405
+ attr_accessor max_results: ::Integer
406
+ attr_accessor status: Types::SearchStatus
407
+ attr_accessor to_timestamp: ::Time
408
+ SENSITIVE: []
409
+ end
410
+
411
+ class GetArchiveSearchResultsRequest
412
+ attr_accessor search_id: ::String
413
+ SENSITIVE: []
414
+ end
415
+
416
+ class GetArchiveSearchResultsResponse
417
+ attr_accessor rows: ::Array[Types::Row]
418
+ SENSITIVE: []
419
+ end
420
+
421
+ class GetIngressPointRequest
422
+ attr_accessor ingress_point_id: ::String
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class GetIngressPointResponse
427
+ attr_accessor a_record: ::String
428
+ attr_accessor created_timestamp: ::Time
429
+ attr_accessor ingress_point_arn: ::String
430
+ attr_accessor ingress_point_auth_configuration: Types::IngressPointAuthConfiguration
431
+ attr_accessor ingress_point_id: ::String
432
+ attr_accessor ingress_point_name: ::String
433
+ attr_accessor last_updated_timestamp: ::Time
434
+ attr_accessor rule_set_id: ::String
435
+ attr_accessor status: ("PROVISIONING" | "DEPROVISIONING" | "UPDATING" | "ACTIVE" | "CLOSED" | "FAILED")
436
+ attr_accessor traffic_policy_id: ::String
437
+ attr_accessor type: ("OPEN" | "AUTH")
438
+ SENSITIVE: []
439
+ end
440
+
441
+ class GetRelayRequest
442
+ attr_accessor relay_id: ::String
443
+ SENSITIVE: []
444
+ end
445
+
446
+ class GetRelayResponse
447
+ attr_accessor authentication: Types::RelayAuthentication
448
+ attr_accessor created_timestamp: ::Time
449
+ attr_accessor last_modified_timestamp: ::Time
450
+ attr_accessor relay_arn: ::String
451
+ attr_accessor relay_id: ::String
452
+ attr_accessor relay_name: ::String
453
+ attr_accessor server_name: ::String
454
+ attr_accessor server_port: ::Integer
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class GetRuleSetRequest
459
+ attr_accessor rule_set_id: ::String
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class GetRuleSetResponse
464
+ attr_accessor created_date: ::Time
465
+ attr_accessor last_modification_date: ::Time
466
+ attr_accessor rule_set_arn: ::String
467
+ attr_accessor rule_set_id: ::String
468
+ attr_accessor rule_set_name: ::String
469
+ attr_accessor rules: ::Array[Types::Rule]
470
+ SENSITIVE: []
471
+ end
472
+
473
+ class GetTrafficPolicyRequest
474
+ attr_accessor traffic_policy_id: ::String
475
+ SENSITIVE: []
476
+ end
477
+
478
+ class GetTrafficPolicyResponse
479
+ attr_accessor created_timestamp: ::Time
480
+ attr_accessor default_action: ("ALLOW" | "DENY")
481
+ attr_accessor last_updated_timestamp: ::Time
482
+ attr_accessor max_message_size_bytes: ::Integer
483
+ attr_accessor policy_statements: ::Array[Types::PolicyStatement]
484
+ attr_accessor traffic_policy_arn: ::String
485
+ attr_accessor traffic_policy_id: ::String
486
+ attr_accessor traffic_policy_name: ::String
487
+ SENSITIVE: []
488
+ end
489
+
490
+ class IngressAnalysis
491
+ attr_accessor analyzer: ::String
492
+ attr_accessor result_field: ::String
493
+ SENSITIVE: []
494
+ end
495
+
496
+ class IngressBooleanExpression
497
+ attr_accessor evaluate: Types::IngressBooleanToEvaluate
498
+ attr_accessor operator: ("IS_TRUE" | "IS_FALSE")
499
+ SENSITIVE: []
500
+ end
501
+
502
+ class IngressBooleanToEvaluate
503
+ attr_accessor analysis: Types::IngressAnalysis
504
+ attr_accessor unknown: untyped
505
+ SENSITIVE: []
506
+
507
+ class Analysis < IngressBooleanToEvaluate
508
+ end
509
+ class Unknown < IngressBooleanToEvaluate
510
+ end
511
+ end
512
+
513
+ class IngressIpToEvaluate
514
+ attr_accessor attribute: ("SENDER_IP")
515
+ attr_accessor unknown: untyped
516
+ SENSITIVE: []
517
+
518
+ class Attribute < IngressIpToEvaluate
519
+ end
520
+ class Unknown < IngressIpToEvaluate
521
+ end
522
+ end
523
+
524
+ class IngressIpv4Expression
525
+ attr_accessor evaluate: Types::IngressIpToEvaluate
526
+ attr_accessor operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES")
527
+ attr_accessor values: ::Array[::String]
528
+ SENSITIVE: []
529
+ end
530
+
531
+ class IngressPoint
532
+ attr_accessor a_record: ::String
533
+ attr_accessor ingress_point_id: ::String
534
+ attr_accessor ingress_point_name: ::String
535
+ attr_accessor status: ("PROVISIONING" | "DEPROVISIONING" | "UPDATING" | "ACTIVE" | "CLOSED" | "FAILED")
536
+ attr_accessor type: ("OPEN" | "AUTH")
537
+ SENSITIVE: []
538
+ end
539
+
540
+ class IngressPointAuthConfiguration
541
+ attr_accessor ingress_point_password_configuration: Types::IngressPointPasswordConfiguration
542
+ attr_accessor secret_arn: ::String
543
+ SENSITIVE: []
544
+ end
545
+
546
+ class IngressPointConfiguration
547
+ attr_accessor secret_arn: ::String
548
+ attr_accessor smtp_password: ::String
549
+ attr_accessor unknown: untyped
550
+ SENSITIVE: [:smtp_password]
551
+
552
+ class SecretArn < IngressPointConfiguration
553
+ end
554
+ class SmtpPassword < IngressPointConfiguration
555
+ end
556
+ class Unknown < IngressPointConfiguration
557
+ end
558
+ end
559
+
560
+ class IngressPointPasswordConfiguration
561
+ attr_accessor previous_smtp_password_expiry_timestamp: ::Time
562
+ attr_accessor previous_smtp_password_version: ::String
563
+ attr_accessor smtp_password_version: ::String
564
+ SENSITIVE: []
565
+ end
566
+
567
+ class IngressStringExpression
568
+ attr_accessor evaluate: Types::IngressStringToEvaluate
569
+ attr_accessor operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS")
570
+ attr_accessor values: ::Array[::String]
571
+ SENSITIVE: []
572
+ end
573
+
574
+ class IngressStringToEvaluate
575
+ attr_accessor attribute: ("RECIPIENT")
576
+ attr_accessor unknown: untyped
577
+ SENSITIVE: []
578
+
579
+ class Attribute < IngressStringToEvaluate
580
+ end
581
+ class Unknown < IngressStringToEvaluate
582
+ end
583
+ end
584
+
585
+ class IngressTlsProtocolExpression
586
+ attr_accessor evaluate: Types::IngressTlsProtocolToEvaluate
587
+ attr_accessor operator: ("MINIMUM_TLS_VERSION" | "IS")
588
+ attr_accessor value: ("TLS1_2" | "TLS1_3")
589
+ SENSITIVE: []
590
+ end
591
+
592
+ class IngressTlsProtocolToEvaluate
593
+ attr_accessor attribute: ("TLS_PROTOCOL")
594
+ attr_accessor unknown: untyped
595
+ SENSITIVE: []
596
+
597
+ class Attribute < IngressTlsProtocolToEvaluate
598
+ end
599
+ class Unknown < IngressTlsProtocolToEvaluate
600
+ end
601
+ end
602
+
603
+ class ListAddonInstancesRequest
604
+ attr_accessor next_token: ::String
605
+ attr_accessor page_size: ::Integer
606
+ SENSITIVE: []
607
+ end
608
+
609
+ class ListAddonInstancesResponse
610
+ attr_accessor addon_instances: ::Array[Types::AddonInstance]
611
+ attr_accessor next_token: ::String
612
+ SENSITIVE: []
613
+ end
614
+
615
+ class ListAddonSubscriptionsRequest
616
+ attr_accessor next_token: ::String
617
+ attr_accessor page_size: ::Integer
618
+ SENSITIVE: []
619
+ end
620
+
621
+ class ListAddonSubscriptionsResponse
622
+ attr_accessor addon_subscriptions: ::Array[Types::AddonSubscription]
623
+ attr_accessor next_token: ::String
624
+ SENSITIVE: []
625
+ end
626
+
627
+ class ListArchiveExportsRequest
628
+ attr_accessor archive_id: ::String
629
+ attr_accessor next_token: ::String
630
+ attr_accessor page_size: ::Integer
631
+ SENSITIVE: []
632
+ end
633
+
634
+ class ListArchiveExportsResponse
635
+ attr_accessor exports: ::Array[Types::ExportSummary]
636
+ attr_accessor next_token: ::String
637
+ SENSITIVE: []
638
+ end
639
+
640
+ class ListArchiveSearchesRequest
641
+ attr_accessor archive_id: ::String
642
+ attr_accessor next_token: ::String
643
+ attr_accessor page_size: ::Integer
644
+ SENSITIVE: []
645
+ end
646
+
647
+ class ListArchiveSearchesResponse
648
+ attr_accessor next_token: ::String
649
+ attr_accessor searches: ::Array[Types::SearchSummary]
650
+ SENSITIVE: []
651
+ end
652
+
653
+ class ListArchivesRequest
654
+ attr_accessor next_token: ::String
655
+ attr_accessor page_size: ::Integer
656
+ SENSITIVE: []
657
+ end
658
+
659
+ class ListArchivesResponse
660
+ attr_accessor archives: ::Array[Types::Archive]
661
+ attr_accessor next_token: ::String
662
+ SENSITIVE: []
663
+ end
664
+
665
+ class ListIngressPointsRequest
666
+ attr_accessor next_token: ::String
667
+ attr_accessor page_size: ::Integer
668
+ SENSITIVE: []
669
+ end
670
+
671
+ class ListIngressPointsResponse
672
+ attr_accessor ingress_points: ::Array[Types::IngressPoint]
673
+ attr_accessor next_token: ::String
674
+ SENSITIVE: []
675
+ end
676
+
677
+ class ListRelaysRequest
678
+ attr_accessor next_token: ::String
679
+ attr_accessor page_size: ::Integer
680
+ SENSITIVE: []
681
+ end
682
+
683
+ class ListRelaysResponse
684
+ attr_accessor next_token: ::String
685
+ attr_accessor relays: ::Array[Types::Relay]
686
+ SENSITIVE: []
687
+ end
688
+
689
+ class ListRuleSetsRequest
690
+ attr_accessor next_token: ::String
691
+ attr_accessor page_size: ::Integer
692
+ SENSITIVE: []
693
+ end
694
+
695
+ class ListRuleSetsResponse
696
+ attr_accessor next_token: ::String
697
+ attr_accessor rule_sets: ::Array[Types::RuleSet]
698
+ SENSITIVE: []
699
+ end
700
+
701
+ class ListTagsForResourceRequest
702
+ attr_accessor resource_arn: ::String
703
+ SENSITIVE: []
704
+ end
705
+
706
+ class ListTagsForResourceResponse
707
+ attr_accessor tags: ::Array[Types::Tag]
708
+ SENSITIVE: []
709
+ end
710
+
711
+ class ListTrafficPoliciesRequest
712
+ attr_accessor next_token: ::String
713
+ attr_accessor page_size: ::Integer
714
+ SENSITIVE: []
715
+ end
716
+
717
+ class ListTrafficPoliciesResponse
718
+ attr_accessor next_token: ::String
719
+ attr_accessor traffic_policies: ::Array[Types::TrafficPolicy]
720
+ SENSITIVE: []
721
+ end
722
+
723
+ class MessageBody
724
+ attr_accessor html: ::String
725
+ attr_accessor message_malformed: bool
726
+ attr_accessor text: ::String
727
+ SENSITIVE: []
728
+ end
729
+
730
+ class NoAuthentication < Aws::EmptyStructure
731
+ end
732
+
733
+ class PolicyCondition
734
+ attr_accessor boolean_expression: Types::IngressBooleanExpression
735
+ attr_accessor ip_expression: Types::IngressIpv4Expression
736
+ attr_accessor string_expression: Types::IngressStringExpression
737
+ attr_accessor tls_expression: Types::IngressTlsProtocolExpression
738
+ attr_accessor unknown: untyped
739
+ SENSITIVE: []
740
+
741
+ class BooleanExpression < PolicyCondition
742
+ end
743
+ class IpExpression < PolicyCondition
744
+ end
745
+ class StringExpression < PolicyCondition
746
+ end
747
+ class TlsExpression < PolicyCondition
748
+ end
749
+ class Unknown < PolicyCondition
750
+ end
751
+ end
752
+
753
+ class PolicyStatement
754
+ attr_accessor action: ("ALLOW" | "DENY")
755
+ attr_accessor conditions: ::Array[Types::PolicyCondition]
756
+ SENSITIVE: []
757
+ end
758
+
759
+ class Relay
760
+ attr_accessor last_modified_timestamp: ::Time
761
+ attr_accessor relay_id: ::String
762
+ attr_accessor relay_name: ::String
763
+ SENSITIVE: []
764
+ end
765
+
766
+ class RelayAction
767
+ attr_accessor action_failure_policy: ("CONTINUE" | "DROP")
768
+ attr_accessor mail_from: ("REPLACE" | "PRESERVE")
769
+ attr_accessor relay: ::String
770
+ SENSITIVE: []
771
+ end
772
+
773
+ class RelayAuthentication
774
+ attr_accessor no_authentication: Types::NoAuthentication
775
+ attr_accessor secret_arn: ::String
776
+ attr_accessor unknown: untyped
777
+ SENSITIVE: []
778
+
779
+ class NoAuthentication < RelayAuthentication
780
+ end
781
+ class SecretArn < RelayAuthentication
782
+ end
783
+ class Unknown < RelayAuthentication
784
+ end
785
+ end
786
+
787
+ class ReplaceRecipientAction
788
+ attr_accessor replace_with: ::Array[::String]
789
+ SENSITIVE: []
790
+ end
791
+
792
+ class ResourceNotFoundException
793
+ attr_accessor message: ::String
794
+ SENSITIVE: []
795
+ end
796
+
797
+ class Row
798
+ attr_accessor archived_message_id: ::String
799
+ attr_accessor cc: ::String
800
+ attr_accessor date: ::String
801
+ attr_accessor from: ::String
802
+ attr_accessor has_attachments: bool
803
+ attr_accessor in_reply_to: ::String
804
+ attr_accessor message_id: ::String
805
+ attr_accessor received_headers: ::Array[::String]
806
+ attr_accessor received_timestamp: ::Time
807
+ attr_accessor subject: ::String
808
+ attr_accessor to: ::String
809
+ attr_accessor x_mailer: ::String
810
+ attr_accessor x_original_mailer: ::String
811
+ attr_accessor x_priority: ::String
812
+ SENSITIVE: []
813
+ end
814
+
815
+ class Rule
816
+ attr_accessor actions: ::Array[Types::RuleAction]
817
+ attr_accessor conditions: ::Array[Types::RuleCondition]
818
+ attr_accessor name: ::String
819
+ attr_accessor unless: ::Array[Types::RuleCondition]
820
+ SENSITIVE: []
821
+ end
822
+
823
+ class RuleAction
824
+ attr_accessor add_header: Types::AddHeaderAction
825
+ attr_accessor archive: Types::ArchiveAction
826
+ attr_accessor deliver_to_mailbox: Types::DeliverToMailboxAction
827
+ attr_accessor drop: Types::DropAction
828
+ attr_accessor relay: Types::RelayAction
829
+ attr_accessor replace_recipient: Types::ReplaceRecipientAction
830
+ attr_accessor send: Types::SendAction
831
+ attr_accessor write_to_s3: Types::S3Action
832
+ attr_accessor unknown: untyped
833
+ SENSITIVE: []
834
+
835
+ class AddHeader < RuleAction
836
+ end
837
+ class Archive < RuleAction
838
+ end
839
+ class DeliverToMailbox < RuleAction
840
+ end
841
+ class Drop < RuleAction
842
+ end
843
+ class Relay < RuleAction
844
+ end
845
+ class ReplaceRecipient < RuleAction
846
+ end
847
+ class Send < RuleAction
848
+ end
849
+ class WriteToS3 < RuleAction
850
+ end
851
+ class Unknown < RuleAction
852
+ end
853
+ end
854
+
855
+ class RuleBooleanExpression
856
+ attr_accessor evaluate: Types::RuleBooleanToEvaluate
857
+ attr_accessor operator: ("IS_TRUE" | "IS_FALSE")
858
+ SENSITIVE: []
859
+ end
860
+
861
+ class RuleBooleanToEvaluate
862
+ attr_accessor attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")
863
+ attr_accessor unknown: untyped
864
+ SENSITIVE: []
865
+
866
+ class Attribute < RuleBooleanToEvaluate
867
+ end
868
+ class Unknown < RuleBooleanToEvaluate
869
+ end
870
+ end
871
+
872
+ class RuleCondition
873
+ attr_accessor boolean_expression: Types::RuleBooleanExpression
874
+ attr_accessor dmarc_expression: Types::RuleDmarcExpression
875
+ attr_accessor ip_expression: Types::RuleIpExpression
876
+ attr_accessor number_expression: Types::RuleNumberExpression
877
+ attr_accessor string_expression: Types::RuleStringExpression
878
+ attr_accessor verdict_expression: Types::RuleVerdictExpression
879
+ attr_accessor unknown: untyped
880
+ SENSITIVE: []
881
+
882
+ class BooleanExpression < RuleCondition
883
+ end
884
+ class DmarcExpression < RuleCondition
885
+ end
886
+ class IpExpression < RuleCondition
887
+ end
888
+ class NumberExpression < RuleCondition
889
+ end
890
+ class StringExpression < RuleCondition
891
+ end
892
+ class VerdictExpression < RuleCondition
893
+ end
894
+ class Unknown < RuleCondition
895
+ end
896
+ end
897
+
898
+ class RuleDmarcExpression
899
+ attr_accessor operator: ("EQUALS" | "NOT_EQUALS")
900
+ attr_accessor values: ::Array[("NONE" | "QUARANTINE" | "REJECT")]
901
+ SENSITIVE: []
902
+ end
903
+
904
+ class RuleIpExpression
905
+ attr_accessor evaluate: Types::RuleIpToEvaluate
906
+ attr_accessor operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES")
907
+ attr_accessor values: ::Array[::String]
908
+ SENSITIVE: []
909
+ end
910
+
911
+ class RuleIpToEvaluate
912
+ attr_accessor attribute: ("SOURCE_IP")
913
+ attr_accessor unknown: untyped
914
+ SENSITIVE: []
915
+
916
+ class Attribute < RuleIpToEvaluate
917
+ end
918
+ class Unknown < RuleIpToEvaluate
919
+ end
920
+ end
921
+
922
+ class RuleNumberExpression
923
+ attr_accessor evaluate: Types::RuleNumberToEvaluate
924
+ attr_accessor operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL")
925
+ attr_accessor value: ::Float
926
+ SENSITIVE: []
927
+ end
928
+
929
+ class RuleNumberToEvaluate
930
+ attr_accessor attribute: ("MESSAGE_SIZE")
931
+ attr_accessor unknown: untyped
932
+ SENSITIVE: []
933
+
934
+ class Attribute < RuleNumberToEvaluate
935
+ end
936
+ class Unknown < RuleNumberToEvaluate
937
+ end
938
+ end
939
+
940
+ class RuleSet
941
+ attr_accessor last_modification_date: ::Time
942
+ attr_accessor rule_set_id: ::String
943
+ attr_accessor rule_set_name: ::String
944
+ SENSITIVE: []
945
+ end
946
+
947
+ class RuleStringExpression
948
+ attr_accessor evaluate: Types::RuleStringToEvaluate
949
+ attr_accessor operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS")
950
+ attr_accessor values: ::Array[::String]
951
+ SENSITIVE: []
952
+ end
953
+
954
+ class RuleStringToEvaluate
955
+ attr_accessor attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")
956
+ attr_accessor unknown: untyped
957
+ SENSITIVE: []
958
+
959
+ class Attribute < RuleStringToEvaluate
960
+ end
961
+ class Unknown < RuleStringToEvaluate
962
+ end
963
+ end
964
+
965
+ class RuleVerdictExpression
966
+ attr_accessor evaluate: Types::RuleVerdictToEvaluate
967
+ attr_accessor operator: ("EQUALS" | "NOT_EQUALS")
968
+ attr_accessor values: ::Array[("PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED")]
969
+ SENSITIVE: []
970
+ end
971
+
972
+ class RuleVerdictToEvaluate
973
+ attr_accessor analysis: Types::Analysis
974
+ attr_accessor attribute: ("SPF" | "DKIM")
975
+ attr_accessor unknown: untyped
976
+ SENSITIVE: []
977
+
978
+ class Analysis < RuleVerdictToEvaluate
979
+ end
980
+ class Attribute < RuleVerdictToEvaluate
981
+ end
982
+ class Unknown < RuleVerdictToEvaluate
983
+ end
984
+ end
985
+
986
+ class S3Action
987
+ attr_accessor action_failure_policy: ("CONTINUE" | "DROP")
988
+ attr_accessor role_arn: ::String
989
+ attr_accessor s3_bucket: ::String
990
+ attr_accessor s3_prefix: ::String
991
+ attr_accessor s3_sse_kms_key_id: ::String
992
+ SENSITIVE: []
993
+ end
994
+
995
+ class S3ExportDestinationConfiguration
996
+ attr_accessor s3_location: ::String
997
+ SENSITIVE: []
998
+ end
999
+
1000
+ class SearchStatus
1001
+ attr_accessor completion_timestamp: ::Time
1002
+ attr_accessor error_message: ::String
1003
+ attr_accessor state: ("QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED")
1004
+ attr_accessor submission_timestamp: ::Time
1005
+ SENSITIVE: []
1006
+ end
1007
+
1008
+ class SearchSummary
1009
+ attr_accessor search_id: ::String
1010
+ attr_accessor status: Types::SearchStatus
1011
+ SENSITIVE: []
1012
+ end
1013
+
1014
+ class SendAction
1015
+ attr_accessor action_failure_policy: ("CONTINUE" | "DROP")
1016
+ attr_accessor role_arn: ::String
1017
+ SENSITIVE: []
1018
+ end
1019
+
1020
+ class ServiceQuotaExceededException
1021
+ attr_accessor message: ::String
1022
+ SENSITIVE: []
1023
+ end
1024
+
1025
+ class StartArchiveExportRequest
1026
+ attr_accessor archive_id: ::String
1027
+ attr_accessor export_destination_configuration: Types::ExportDestinationConfiguration
1028
+ attr_accessor filters: Types::ArchiveFilters
1029
+ attr_accessor from_timestamp: ::Time
1030
+ attr_accessor max_results: ::Integer
1031
+ attr_accessor to_timestamp: ::Time
1032
+ SENSITIVE: []
1033
+ end
1034
+
1035
+ class StartArchiveExportResponse
1036
+ attr_accessor export_id: ::String
1037
+ SENSITIVE: []
1038
+ end
1039
+
1040
+ class StartArchiveSearchRequest
1041
+ attr_accessor archive_id: ::String
1042
+ attr_accessor filters: Types::ArchiveFilters
1043
+ attr_accessor from_timestamp: ::Time
1044
+ attr_accessor max_results: ::Integer
1045
+ attr_accessor to_timestamp: ::Time
1046
+ SENSITIVE: []
1047
+ end
1048
+
1049
+ class StartArchiveSearchResponse
1050
+ attr_accessor search_id: ::String
1051
+ SENSITIVE: []
1052
+ end
1053
+
1054
+ class StopArchiveExportRequest
1055
+ attr_accessor export_id: ::String
1056
+ SENSITIVE: []
1057
+ end
1058
+
1059
+ class StopArchiveExportResponse < Aws::EmptyStructure
1060
+ end
1061
+
1062
+ class StopArchiveSearchRequest
1063
+ attr_accessor search_id: ::String
1064
+ SENSITIVE: []
1065
+ end
1066
+
1067
+ class StopArchiveSearchResponse < Aws::EmptyStructure
1068
+ end
1069
+
1070
+ class Tag
1071
+ attr_accessor key: ::String
1072
+ attr_accessor value: ::String
1073
+ SENSITIVE: [:key, :value]
1074
+ end
1075
+
1076
+ class TagResourceRequest
1077
+ attr_accessor resource_arn: ::String
1078
+ attr_accessor tags: ::Array[Types::Tag]
1079
+ SENSITIVE: []
1080
+ end
1081
+
1082
+ class TagResourceResponse < Aws::EmptyStructure
1083
+ end
1084
+
1085
+ class ThrottlingException
1086
+ attr_accessor message: ::String
1087
+ SENSITIVE: []
1088
+ end
1089
+
1090
+ class TrafficPolicy
1091
+ attr_accessor default_action: ("ALLOW" | "DENY")
1092
+ attr_accessor traffic_policy_id: ::String
1093
+ attr_accessor traffic_policy_name: ::String
1094
+ SENSITIVE: []
1095
+ end
1096
+
1097
+ class UntagResourceRequest
1098
+ attr_accessor resource_arn: ::String
1099
+ attr_accessor tag_keys: ::Array[::String]
1100
+ SENSITIVE: []
1101
+ end
1102
+
1103
+ class UntagResourceResponse < Aws::EmptyStructure
1104
+ end
1105
+
1106
+ class UpdateArchiveRequest
1107
+ attr_accessor archive_id: ::String
1108
+ attr_accessor archive_name: ::String
1109
+ attr_accessor retention: Types::ArchiveRetention
1110
+ SENSITIVE: []
1111
+ end
1112
+
1113
+ class UpdateArchiveResponse < Aws::EmptyStructure
1114
+ end
1115
+
1116
+ class UpdateIngressPointRequest
1117
+ attr_accessor ingress_point_configuration: Types::IngressPointConfiguration
1118
+ attr_accessor ingress_point_id: ::String
1119
+ attr_accessor ingress_point_name: ::String
1120
+ attr_accessor rule_set_id: ::String
1121
+ attr_accessor status_to_update: ("ACTIVE" | "CLOSED")
1122
+ attr_accessor traffic_policy_id: ::String
1123
+ SENSITIVE: []
1124
+ end
1125
+
1126
+ class UpdateIngressPointResponse < Aws::EmptyStructure
1127
+ end
1128
+
1129
+ class UpdateRelayRequest
1130
+ attr_accessor authentication: Types::RelayAuthentication
1131
+ attr_accessor relay_id: ::String
1132
+ attr_accessor relay_name: ::String
1133
+ attr_accessor server_name: ::String
1134
+ attr_accessor server_port: ::Integer
1135
+ SENSITIVE: []
1136
+ end
1137
+
1138
+ class UpdateRelayResponse < Aws::EmptyStructure
1139
+ end
1140
+
1141
+ class UpdateRuleSetRequest
1142
+ attr_accessor rule_set_id: ::String
1143
+ attr_accessor rule_set_name: ::String
1144
+ attr_accessor rules: ::Array[Types::Rule]
1145
+ SENSITIVE: []
1146
+ end
1147
+
1148
+ class UpdateRuleSetResponse < Aws::EmptyStructure
1149
+ end
1150
+
1151
+ class UpdateTrafficPolicyRequest
1152
+ attr_accessor default_action: ("ALLOW" | "DENY")
1153
+ attr_accessor max_message_size_bytes: ::Integer
1154
+ attr_accessor policy_statements: ::Array[Types::PolicyStatement]
1155
+ attr_accessor traffic_policy_id: ::String
1156
+ attr_accessor traffic_policy_name: ::String
1157
+ SENSITIVE: []
1158
+ end
1159
+
1160
+ class UpdateTrafficPolicyResponse < Aws::EmptyStructure
1161
+ end
1162
+
1163
+ class ValidationException
1164
+ attr_accessor message: ::String
1165
+ SENSITIVE: []
1166
+ end
1167
+ end
1168
+ end