aws-sdk-mailmanager 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,1135 @@
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
9
+ module MailManager
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _CreateAddonInstanceResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAddonInstanceResponse]
78
+ def addon_instance_id: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_addon_instance-instance_method
81
+ def create_addon_instance: (
82
+ addon_subscription_id: ::String,
83
+ ?client_token: ::String,
84
+ ?tags: Array[
85
+ {
86
+ key: ::String,
87
+ value: ::String
88
+ },
89
+ ]
90
+ ) -> _CreateAddonInstanceResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAddonInstanceResponseSuccess
92
+
93
+ interface _CreateAddonSubscriptionResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAddonSubscriptionResponse]
95
+ def addon_subscription_id: () -> ::String
96
+ end
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_addon_subscription-instance_method
98
+ def create_addon_subscription: (
99
+ addon_name: ::String,
100
+ ?client_token: ::String,
101
+ ?tags: Array[
102
+ {
103
+ key: ::String,
104
+ value: ::String
105
+ },
106
+ ]
107
+ ) -> _CreateAddonSubscriptionResponseSuccess
108
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAddonSubscriptionResponseSuccess
109
+
110
+ interface _CreateArchiveResponseSuccess
111
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateArchiveResponse]
112
+ def archive_id: () -> ::String
113
+ end
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_archive-instance_method
115
+ def create_archive: (
116
+ archive_name: ::String,
117
+ ?client_token: ::String,
118
+ ?kms_key_arn: ::String,
119
+ ?retention: {
120
+ 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")?
121
+ },
122
+ ?tags: Array[
123
+ {
124
+ key: ::String,
125
+ value: ::String
126
+ },
127
+ ]
128
+ ) -> _CreateArchiveResponseSuccess
129
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateArchiveResponseSuccess
130
+
131
+ interface _CreateIngressPointResponseSuccess
132
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateIngressPointResponse]
133
+ def ingress_point_id: () -> ::String
134
+ end
135
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_ingress_point-instance_method
136
+ def create_ingress_point: (
137
+ ?client_token: ::String,
138
+ ?ingress_point_configuration: {
139
+ secret_arn: ::String?,
140
+ smtp_password: ::String?
141
+ },
142
+ ingress_point_name: ::String,
143
+ rule_set_id: ::String,
144
+ ?tags: Array[
145
+ {
146
+ key: ::String,
147
+ value: ::String
148
+ },
149
+ ],
150
+ traffic_policy_id: ::String,
151
+ type: ("OPEN" | "AUTH")
152
+ ) -> _CreateIngressPointResponseSuccess
153
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIngressPointResponseSuccess
154
+
155
+ interface _CreateRelayResponseSuccess
156
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRelayResponse]
157
+ def relay_id: () -> ::String
158
+ end
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_relay-instance_method
160
+ def create_relay: (
161
+ authentication: {
162
+ no_authentication: {
163
+ }?,
164
+ secret_arn: ::String?
165
+ },
166
+ ?client_token: ::String,
167
+ relay_name: ::String,
168
+ server_name: ::String,
169
+ server_port: ::Integer,
170
+ ?tags: Array[
171
+ {
172
+ key: ::String,
173
+ value: ::String
174
+ },
175
+ ]
176
+ ) -> _CreateRelayResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRelayResponseSuccess
178
+
179
+ interface _CreateRuleSetResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleSetResponse]
181
+ def rule_set_id: () -> ::String
182
+ end
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_rule_set-instance_method
184
+ def create_rule_set: (
185
+ ?client_token: ::String,
186
+ rule_set_name: ::String,
187
+ rules: Array[
188
+ {
189
+ actions: Array[
190
+ {
191
+ add_header: {
192
+ header_name: ::String,
193
+ header_value: ::String
194
+ }?,
195
+ archive: {
196
+ action_failure_policy: ("CONTINUE" | "DROP")?,
197
+ target_archive: ::String
198
+ }?,
199
+ deliver_to_mailbox: {
200
+ action_failure_policy: ("CONTINUE" | "DROP")?,
201
+ mailbox_arn: ::String,
202
+ role_arn: ::String
203
+ }?,
204
+ drop: {
205
+ }?,
206
+ relay: {
207
+ action_failure_policy: ("CONTINUE" | "DROP")?,
208
+ mail_from: ("REPLACE" | "PRESERVE")?,
209
+ relay: ::String
210
+ }?,
211
+ replace_recipient: {
212
+ replace_with: Array[::String]?
213
+ }?,
214
+ send: {
215
+ action_failure_policy: ("CONTINUE" | "DROP")?,
216
+ role_arn: ::String
217
+ }?,
218
+ write_to_s3: {
219
+ action_failure_policy: ("CONTINUE" | "DROP")?,
220
+ role_arn: ::String,
221
+ s3_bucket: ::String,
222
+ s3_prefix: ::String?,
223
+ s3_sse_kms_key_id: ::String?
224
+ }?
225
+ },
226
+ ],
227
+ conditions: Array[
228
+ {
229
+ boolean_expression: {
230
+ evaluate: {
231
+ attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?
232
+ },
233
+ operator: ("IS_TRUE" | "IS_FALSE")
234
+ }?,
235
+ dmarc_expression: {
236
+ operator: ("EQUALS" | "NOT_EQUALS"),
237
+ values: Array[("NONE" | "QUARANTINE" | "REJECT")]
238
+ }?,
239
+ ip_expression: {
240
+ evaluate: {
241
+ attribute: ("SOURCE_IP")?
242
+ },
243
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
244
+ values: Array[::String]
245
+ }?,
246
+ number_expression: {
247
+ evaluate: {
248
+ attribute: ("MESSAGE_SIZE")?
249
+ },
250
+ operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL"),
251
+ value: ::Float
252
+ }?,
253
+ string_expression: {
254
+ evaluate: {
255
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
256
+ },
257
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
258
+ values: Array[::String]
259
+ }?,
260
+ verdict_expression: {
261
+ evaluate: {
262
+ analysis: {
263
+ analyzer: ::String,
264
+ result_field: ::String
265
+ }?,
266
+ attribute: ("SPF" | "DKIM")?
267
+ },
268
+ operator: ("EQUALS" | "NOT_EQUALS"),
269
+ values: Array[("PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED")]
270
+ }?
271
+ },
272
+ ]?,
273
+ name: ::String?,
274
+ unless: Array[
275
+ {
276
+ boolean_expression: {
277
+ evaluate: {
278
+ attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?
279
+ },
280
+ operator: ("IS_TRUE" | "IS_FALSE")
281
+ }?,
282
+ dmarc_expression: {
283
+ operator: ("EQUALS" | "NOT_EQUALS"),
284
+ values: Array[("NONE" | "QUARANTINE" | "REJECT")]
285
+ }?,
286
+ ip_expression: {
287
+ evaluate: {
288
+ attribute: ("SOURCE_IP")?
289
+ },
290
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
291
+ values: Array[::String]
292
+ }?,
293
+ number_expression: {
294
+ evaluate: {
295
+ attribute: ("MESSAGE_SIZE")?
296
+ },
297
+ operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL"),
298
+ value: ::Float
299
+ }?,
300
+ string_expression: {
301
+ evaluate: {
302
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
303
+ },
304
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
305
+ values: Array[::String]
306
+ }?,
307
+ verdict_expression: {
308
+ evaluate: {
309
+ analysis: {
310
+ analyzer: ::String,
311
+ result_field: ::String
312
+ }?,
313
+ attribute: ("SPF" | "DKIM")?
314
+ },
315
+ operator: ("EQUALS" | "NOT_EQUALS"),
316
+ values: Array[("PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED")]
317
+ }?
318
+ },
319
+ ]?
320
+ },
321
+ ],
322
+ ?tags: Array[
323
+ {
324
+ key: ::String,
325
+ value: ::String
326
+ },
327
+ ]
328
+ ) -> _CreateRuleSetResponseSuccess
329
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleSetResponseSuccess
330
+
331
+ interface _CreateTrafficPolicyResponseSuccess
332
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTrafficPolicyResponse]
333
+ def traffic_policy_id: () -> ::String
334
+ end
335
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_traffic_policy-instance_method
336
+ def create_traffic_policy: (
337
+ ?client_token: ::String,
338
+ default_action: ("ALLOW" | "DENY"),
339
+ ?max_message_size_bytes: ::Integer,
340
+ policy_statements: Array[
341
+ {
342
+ action: ("ALLOW" | "DENY"),
343
+ conditions: Array[
344
+ {
345
+ boolean_expression: {
346
+ evaluate: {
347
+ analysis: {
348
+ analyzer: ::String,
349
+ result_field: ::String
350
+ }?
351
+ },
352
+ operator: ("IS_TRUE" | "IS_FALSE")
353
+ }?,
354
+ ip_expression: {
355
+ evaluate: {
356
+ attribute: ("SENDER_IP")?
357
+ },
358
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
359
+ values: Array[::String]
360
+ }?,
361
+ string_expression: {
362
+ evaluate: {
363
+ attribute: ("RECIPIENT")?
364
+ },
365
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
366
+ values: Array[::String]
367
+ }?,
368
+ tls_expression: {
369
+ evaluate: {
370
+ attribute: ("TLS_PROTOCOL")?
371
+ },
372
+ operator: ("MINIMUM_TLS_VERSION" | "IS"),
373
+ value: ("TLS1_2" | "TLS1_3")
374
+ }?
375
+ },
376
+ ]
377
+ },
378
+ ],
379
+ ?tags: Array[
380
+ {
381
+ key: ::String,
382
+ value: ::String
383
+ },
384
+ ],
385
+ traffic_policy_name: ::String
386
+ ) -> _CreateTrafficPolicyResponseSuccess
387
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrafficPolicyResponseSuccess
388
+
389
+ interface _DeleteAddonInstanceResponseSuccess
390
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAddonInstanceResponse]
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#delete_addon_instance-instance_method
393
+ def delete_addon_instance: (
394
+ addon_instance_id: ::String
395
+ ) -> _DeleteAddonInstanceResponseSuccess
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAddonInstanceResponseSuccess
397
+
398
+ interface _DeleteAddonSubscriptionResponseSuccess
399
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAddonSubscriptionResponse]
400
+ end
401
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#delete_addon_subscription-instance_method
402
+ def delete_addon_subscription: (
403
+ addon_subscription_id: ::String
404
+ ) -> _DeleteAddonSubscriptionResponseSuccess
405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAddonSubscriptionResponseSuccess
406
+
407
+ interface _DeleteArchiveResponseSuccess
408
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteArchiveResponse]
409
+ end
410
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#delete_archive-instance_method
411
+ def delete_archive: (
412
+ archive_id: ::String
413
+ ) -> _DeleteArchiveResponseSuccess
414
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteArchiveResponseSuccess
415
+
416
+ interface _DeleteIngressPointResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIngressPointResponse]
418
+ end
419
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#delete_ingress_point-instance_method
420
+ def delete_ingress_point: (
421
+ ingress_point_id: ::String
422
+ ) -> _DeleteIngressPointResponseSuccess
423
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIngressPointResponseSuccess
424
+
425
+ interface _DeleteRelayResponseSuccess
426
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRelayResponse]
427
+ end
428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#delete_relay-instance_method
429
+ def delete_relay: (
430
+ relay_id: ::String
431
+ ) -> _DeleteRelayResponseSuccess
432
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRelayResponseSuccess
433
+
434
+ interface _DeleteRuleSetResponseSuccess
435
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRuleSetResponse]
436
+ end
437
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#delete_rule_set-instance_method
438
+ def delete_rule_set: (
439
+ rule_set_id: ::String
440
+ ) -> _DeleteRuleSetResponseSuccess
441
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRuleSetResponseSuccess
442
+
443
+ interface _DeleteTrafficPolicyResponseSuccess
444
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTrafficPolicyResponse]
445
+ end
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#delete_traffic_policy-instance_method
447
+ def delete_traffic_policy: (
448
+ traffic_policy_id: ::String
449
+ ) -> _DeleteTrafficPolicyResponseSuccess
450
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTrafficPolicyResponseSuccess
451
+
452
+ interface _GetAddonInstanceResponseSuccess
453
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAddonInstanceResponse]
454
+ def addon_instance_arn: () -> ::String
455
+ def addon_name: () -> ::String
456
+ def addon_subscription_id: () -> ::String
457
+ def created_timestamp: () -> ::Time
458
+ end
459
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_addon_instance-instance_method
460
+ def get_addon_instance: (
461
+ addon_instance_id: ::String
462
+ ) -> _GetAddonInstanceResponseSuccess
463
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAddonInstanceResponseSuccess
464
+
465
+ interface _GetAddonSubscriptionResponseSuccess
466
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAddonSubscriptionResponse]
467
+ def addon_name: () -> ::String
468
+ def addon_subscription_arn: () -> ::String
469
+ def created_timestamp: () -> ::Time
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_addon_subscription-instance_method
472
+ def get_addon_subscription: (
473
+ addon_subscription_id: ::String
474
+ ) -> _GetAddonSubscriptionResponseSuccess
475
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAddonSubscriptionResponseSuccess
476
+
477
+ interface _GetArchiveResponseSuccess
478
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveResponse]
479
+ def archive_arn: () -> ::String
480
+ def archive_id: () -> ::String
481
+ def archive_name: () -> ::String
482
+ def archive_state: () -> ("ACTIVE" | "PENDING_DELETION")
483
+ def created_timestamp: () -> ::Time
484
+ def kms_key_arn: () -> ::String
485
+ def last_updated_timestamp: () -> ::Time
486
+ def retention: () -> Types::ArchiveRetention
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive-instance_method
489
+ def get_archive: (
490
+ archive_id: ::String
491
+ ) -> _GetArchiveResponseSuccess
492
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetArchiveResponseSuccess
493
+
494
+ interface _GetArchiveExportResponseSuccess
495
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveExportResponse]
496
+ def archive_id: () -> ::String
497
+ def export_destination_configuration: () -> Types::ExportDestinationConfiguration
498
+ def filters: () -> Types::ArchiveFilters
499
+ def from_timestamp: () -> ::Time
500
+ def max_results: () -> ::Integer
501
+ def status: () -> Types::ExportStatus
502
+ def to_timestamp: () -> ::Time
503
+ end
504
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive_export-instance_method
505
+ def get_archive_export: (
506
+ export_id: ::String
507
+ ) -> _GetArchiveExportResponseSuccess
508
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetArchiveExportResponseSuccess
509
+
510
+ interface _GetArchiveMessageResponseSuccess
511
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveMessageResponse]
512
+ def message_download_link: () -> ::String
513
+ end
514
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive_message-instance_method
515
+ def get_archive_message: (
516
+ archived_message_id: ::String
517
+ ) -> _GetArchiveMessageResponseSuccess
518
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetArchiveMessageResponseSuccess
519
+
520
+ interface _GetArchiveMessageContentResponseSuccess
521
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveMessageContentResponse]
522
+ def body: () -> Types::MessageBody
523
+ end
524
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive_message_content-instance_method
525
+ def get_archive_message_content: (
526
+ archived_message_id: ::String
527
+ ) -> _GetArchiveMessageContentResponseSuccess
528
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetArchiveMessageContentResponseSuccess
529
+
530
+ interface _GetArchiveSearchResponseSuccess
531
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveSearchResponse]
532
+ def archive_id: () -> ::String
533
+ def filters: () -> Types::ArchiveFilters
534
+ def from_timestamp: () -> ::Time
535
+ def max_results: () -> ::Integer
536
+ def status: () -> Types::SearchStatus
537
+ def to_timestamp: () -> ::Time
538
+ end
539
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive_search-instance_method
540
+ def get_archive_search: (
541
+ search_id: ::String
542
+ ) -> _GetArchiveSearchResponseSuccess
543
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetArchiveSearchResponseSuccess
544
+
545
+ interface _GetArchiveSearchResultsResponseSuccess
546
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveSearchResultsResponse]
547
+ def rows: () -> ::Array[Types::Row]
548
+ end
549
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive_search_results-instance_method
550
+ def get_archive_search_results: (
551
+ search_id: ::String
552
+ ) -> _GetArchiveSearchResultsResponseSuccess
553
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetArchiveSearchResultsResponseSuccess
554
+
555
+ interface _GetIngressPointResponseSuccess
556
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIngressPointResponse]
557
+ def a_record: () -> ::String
558
+ def created_timestamp: () -> ::Time
559
+ def ingress_point_arn: () -> ::String
560
+ def ingress_point_auth_configuration: () -> Types::IngressPointAuthConfiguration
561
+ def ingress_point_id: () -> ::String
562
+ def ingress_point_name: () -> ::String
563
+ def last_updated_timestamp: () -> ::Time
564
+ def rule_set_id: () -> ::String
565
+ def status: () -> ("PROVISIONING" | "DEPROVISIONING" | "UPDATING" | "ACTIVE" | "CLOSED" | "FAILED")
566
+ def traffic_policy_id: () -> ::String
567
+ def type: () -> ("OPEN" | "AUTH")
568
+ end
569
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_ingress_point-instance_method
570
+ def get_ingress_point: (
571
+ ingress_point_id: ::String
572
+ ) -> _GetIngressPointResponseSuccess
573
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIngressPointResponseSuccess
574
+
575
+ interface _GetRelayResponseSuccess
576
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRelayResponse]
577
+ def authentication: () -> Types::RelayAuthentication
578
+ def created_timestamp: () -> ::Time
579
+ def last_modified_timestamp: () -> ::Time
580
+ def relay_arn: () -> ::String
581
+ def relay_id: () -> ::String
582
+ def relay_name: () -> ::String
583
+ def server_name: () -> ::String
584
+ def server_port: () -> ::Integer
585
+ end
586
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_relay-instance_method
587
+ def get_relay: (
588
+ relay_id: ::String
589
+ ) -> _GetRelayResponseSuccess
590
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRelayResponseSuccess
591
+
592
+ interface _GetRuleSetResponseSuccess
593
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRuleSetResponse]
594
+ def created_date: () -> ::Time
595
+ def last_modification_date: () -> ::Time
596
+ def rule_set_arn: () -> ::String
597
+ def rule_set_id: () -> ::String
598
+ def rule_set_name: () -> ::String
599
+ def rules: () -> ::Array[Types::Rule]
600
+ end
601
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_rule_set-instance_method
602
+ def get_rule_set: (
603
+ rule_set_id: ::String
604
+ ) -> _GetRuleSetResponseSuccess
605
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRuleSetResponseSuccess
606
+
607
+ interface _GetTrafficPolicyResponseSuccess
608
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTrafficPolicyResponse]
609
+ def created_timestamp: () -> ::Time
610
+ def default_action: () -> ("ALLOW" | "DENY")
611
+ def last_updated_timestamp: () -> ::Time
612
+ def max_message_size_bytes: () -> ::Integer
613
+ def policy_statements: () -> ::Array[Types::PolicyStatement]
614
+ def traffic_policy_arn: () -> ::String
615
+ def traffic_policy_id: () -> ::String
616
+ def traffic_policy_name: () -> ::String
617
+ end
618
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_traffic_policy-instance_method
619
+ def get_traffic_policy: (
620
+ traffic_policy_id: ::String
621
+ ) -> _GetTrafficPolicyResponseSuccess
622
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTrafficPolicyResponseSuccess
623
+
624
+ interface _ListAddonInstancesResponseSuccess
625
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAddonInstancesResponse]
626
+ def addon_instances: () -> ::Array[Types::AddonInstance]
627
+ def next_token: () -> ::String
628
+ end
629
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_addon_instances-instance_method
630
+ def list_addon_instances: (
631
+ ?next_token: ::String,
632
+ ?page_size: ::Integer
633
+ ) -> _ListAddonInstancesResponseSuccess
634
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAddonInstancesResponseSuccess
635
+
636
+ interface _ListAddonSubscriptionsResponseSuccess
637
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAddonSubscriptionsResponse]
638
+ def addon_subscriptions: () -> ::Array[Types::AddonSubscription]
639
+ def next_token: () -> ::String
640
+ end
641
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_addon_subscriptions-instance_method
642
+ def list_addon_subscriptions: (
643
+ ?next_token: ::String,
644
+ ?page_size: ::Integer
645
+ ) -> _ListAddonSubscriptionsResponseSuccess
646
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAddonSubscriptionsResponseSuccess
647
+
648
+ interface _ListArchiveExportsResponseSuccess
649
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListArchiveExportsResponse]
650
+ def exports: () -> ::Array[Types::ExportSummary]
651
+ def next_token: () -> ::String
652
+ end
653
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_archive_exports-instance_method
654
+ def list_archive_exports: (
655
+ archive_id: ::String,
656
+ ?next_token: ::String,
657
+ ?page_size: ::Integer
658
+ ) -> _ListArchiveExportsResponseSuccess
659
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListArchiveExportsResponseSuccess
660
+
661
+ interface _ListArchiveSearchesResponseSuccess
662
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListArchiveSearchesResponse]
663
+ def next_token: () -> ::String
664
+ def searches: () -> ::Array[Types::SearchSummary]
665
+ end
666
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_archive_searches-instance_method
667
+ def list_archive_searches: (
668
+ archive_id: ::String,
669
+ ?next_token: ::String,
670
+ ?page_size: ::Integer
671
+ ) -> _ListArchiveSearchesResponseSuccess
672
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListArchiveSearchesResponseSuccess
673
+
674
+ interface _ListArchivesResponseSuccess
675
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListArchivesResponse]
676
+ def archives: () -> ::Array[Types::Archive]
677
+ def next_token: () -> ::String
678
+ end
679
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_archives-instance_method
680
+ def list_archives: (
681
+ ?next_token: ::String,
682
+ ?page_size: ::Integer
683
+ ) -> _ListArchivesResponseSuccess
684
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListArchivesResponseSuccess
685
+
686
+ interface _ListIngressPointsResponseSuccess
687
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIngressPointsResponse]
688
+ def ingress_points: () -> ::Array[Types::IngressPoint]
689
+ def next_token: () -> ::String
690
+ end
691
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_ingress_points-instance_method
692
+ def list_ingress_points: (
693
+ ?next_token: ::String,
694
+ ?page_size: ::Integer
695
+ ) -> _ListIngressPointsResponseSuccess
696
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIngressPointsResponseSuccess
697
+
698
+ interface _ListRelaysResponseSuccess
699
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRelaysResponse]
700
+ def next_token: () -> ::String
701
+ def relays: () -> ::Array[Types::Relay]
702
+ end
703
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_relays-instance_method
704
+ def list_relays: (
705
+ ?next_token: ::String,
706
+ ?page_size: ::Integer
707
+ ) -> _ListRelaysResponseSuccess
708
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRelaysResponseSuccess
709
+
710
+ interface _ListRuleSetsResponseSuccess
711
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleSetsResponse]
712
+ def next_token: () -> ::String
713
+ def rule_sets: () -> ::Array[Types::RuleSet]
714
+ end
715
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_rule_sets-instance_method
716
+ def list_rule_sets: (
717
+ ?next_token: ::String,
718
+ ?page_size: ::Integer
719
+ ) -> _ListRuleSetsResponseSuccess
720
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleSetsResponseSuccess
721
+
722
+ interface _ListTagsForResourceResponseSuccess
723
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
724
+ def tags: () -> ::Array[Types::Tag]
725
+ end
726
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_tags_for_resource-instance_method
727
+ def list_tags_for_resource: (
728
+ resource_arn: ::String
729
+ ) -> _ListTagsForResourceResponseSuccess
730
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
731
+
732
+ interface _ListTrafficPoliciesResponseSuccess
733
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTrafficPoliciesResponse]
734
+ def next_token: () -> ::String
735
+ def traffic_policies: () -> ::Array[Types::TrafficPolicy]
736
+ end
737
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_traffic_policies-instance_method
738
+ def list_traffic_policies: (
739
+ ?next_token: ::String,
740
+ ?page_size: ::Integer
741
+ ) -> _ListTrafficPoliciesResponseSuccess
742
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrafficPoliciesResponseSuccess
743
+
744
+ interface _StartArchiveExportResponseSuccess
745
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartArchiveExportResponse]
746
+ def export_id: () -> ::String
747
+ end
748
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#start_archive_export-instance_method
749
+ def start_archive_export: (
750
+ archive_id: ::String,
751
+ export_destination_configuration: {
752
+ s3: {
753
+ s3_location: ::String?
754
+ }?
755
+ },
756
+ ?filters: {
757
+ include: Array[
758
+ {
759
+ boolean_expression: {
760
+ evaluate: {
761
+ attribute: ("HAS_ATTACHMENTS")?
762
+ },
763
+ operator: ("IS_TRUE" | "IS_FALSE")
764
+ }?,
765
+ string_expression: {
766
+ evaluate: {
767
+ attribute: ("TO" | "FROM" | "CC" | "SUBJECT")?
768
+ },
769
+ operator: ("CONTAINS"),
770
+ values: Array[::String]
771
+ }?
772
+ },
773
+ ]?,
774
+ unless: Array[
775
+ {
776
+ boolean_expression: {
777
+ evaluate: {
778
+ attribute: ("HAS_ATTACHMENTS")?
779
+ },
780
+ operator: ("IS_TRUE" | "IS_FALSE")
781
+ }?,
782
+ string_expression: {
783
+ evaluate: {
784
+ attribute: ("TO" | "FROM" | "CC" | "SUBJECT")?
785
+ },
786
+ operator: ("CONTAINS"),
787
+ values: Array[::String]
788
+ }?
789
+ },
790
+ ]?
791
+ },
792
+ from_timestamp: ::Time,
793
+ ?max_results: ::Integer,
794
+ to_timestamp: ::Time
795
+ ) -> _StartArchiveExportResponseSuccess
796
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartArchiveExportResponseSuccess
797
+
798
+ interface _StartArchiveSearchResponseSuccess
799
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartArchiveSearchResponse]
800
+ def search_id: () -> ::String
801
+ end
802
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#start_archive_search-instance_method
803
+ def start_archive_search: (
804
+ archive_id: ::String,
805
+ ?filters: {
806
+ include: Array[
807
+ {
808
+ boolean_expression: {
809
+ evaluate: {
810
+ attribute: ("HAS_ATTACHMENTS")?
811
+ },
812
+ operator: ("IS_TRUE" | "IS_FALSE")
813
+ }?,
814
+ string_expression: {
815
+ evaluate: {
816
+ attribute: ("TO" | "FROM" | "CC" | "SUBJECT")?
817
+ },
818
+ operator: ("CONTAINS"),
819
+ values: Array[::String]
820
+ }?
821
+ },
822
+ ]?,
823
+ unless: Array[
824
+ {
825
+ boolean_expression: {
826
+ evaluate: {
827
+ attribute: ("HAS_ATTACHMENTS")?
828
+ },
829
+ operator: ("IS_TRUE" | "IS_FALSE")
830
+ }?,
831
+ string_expression: {
832
+ evaluate: {
833
+ attribute: ("TO" | "FROM" | "CC" | "SUBJECT")?
834
+ },
835
+ operator: ("CONTAINS"),
836
+ values: Array[::String]
837
+ }?
838
+ },
839
+ ]?
840
+ },
841
+ from_timestamp: ::Time,
842
+ max_results: ::Integer,
843
+ to_timestamp: ::Time
844
+ ) -> _StartArchiveSearchResponseSuccess
845
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartArchiveSearchResponseSuccess
846
+
847
+ interface _StopArchiveExportResponseSuccess
848
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopArchiveExportResponse]
849
+ end
850
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#stop_archive_export-instance_method
851
+ def stop_archive_export: (
852
+ export_id: ::String
853
+ ) -> _StopArchiveExportResponseSuccess
854
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopArchiveExportResponseSuccess
855
+
856
+ interface _StopArchiveSearchResponseSuccess
857
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopArchiveSearchResponse]
858
+ end
859
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#stop_archive_search-instance_method
860
+ def stop_archive_search: (
861
+ search_id: ::String
862
+ ) -> _StopArchiveSearchResponseSuccess
863
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopArchiveSearchResponseSuccess
864
+
865
+ interface _TagResourceResponseSuccess
866
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
867
+ end
868
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#tag_resource-instance_method
869
+ def tag_resource: (
870
+ resource_arn: ::String,
871
+ tags: Array[
872
+ {
873
+ key: ::String,
874
+ value: ::String
875
+ },
876
+ ]
877
+ ) -> _TagResourceResponseSuccess
878
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
879
+
880
+ interface _UntagResourceResponseSuccess
881
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
882
+ end
883
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#untag_resource-instance_method
884
+ def untag_resource: (
885
+ resource_arn: ::String,
886
+ tag_keys: Array[::String]
887
+ ) -> _UntagResourceResponseSuccess
888
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
889
+
890
+ interface _UpdateArchiveResponseSuccess
891
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateArchiveResponse]
892
+ end
893
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#update_archive-instance_method
894
+ def update_archive: (
895
+ archive_id: ::String,
896
+ ?archive_name: ::String,
897
+ ?retention: {
898
+ 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")?
899
+ }
900
+ ) -> _UpdateArchiveResponseSuccess
901
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateArchiveResponseSuccess
902
+
903
+ interface _UpdateIngressPointResponseSuccess
904
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIngressPointResponse]
905
+ end
906
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#update_ingress_point-instance_method
907
+ def update_ingress_point: (
908
+ ?ingress_point_configuration: {
909
+ secret_arn: ::String?,
910
+ smtp_password: ::String?
911
+ },
912
+ ingress_point_id: ::String,
913
+ ?ingress_point_name: ::String,
914
+ ?rule_set_id: ::String,
915
+ ?status_to_update: ("ACTIVE" | "CLOSED"),
916
+ ?traffic_policy_id: ::String
917
+ ) -> _UpdateIngressPointResponseSuccess
918
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIngressPointResponseSuccess
919
+
920
+ interface _UpdateRelayResponseSuccess
921
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRelayResponse]
922
+ end
923
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#update_relay-instance_method
924
+ def update_relay: (
925
+ ?authentication: {
926
+ no_authentication: {
927
+ }?,
928
+ secret_arn: ::String?
929
+ },
930
+ relay_id: ::String,
931
+ ?relay_name: ::String,
932
+ ?server_name: ::String,
933
+ ?server_port: ::Integer
934
+ ) -> _UpdateRelayResponseSuccess
935
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRelayResponseSuccess
936
+
937
+ interface _UpdateRuleSetResponseSuccess
938
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleSetResponse]
939
+ end
940
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#update_rule_set-instance_method
941
+ def update_rule_set: (
942
+ rule_set_id: ::String,
943
+ ?rule_set_name: ::String,
944
+ ?rules: Array[
945
+ {
946
+ actions: Array[
947
+ {
948
+ add_header: {
949
+ header_name: ::String,
950
+ header_value: ::String
951
+ }?,
952
+ archive: {
953
+ action_failure_policy: ("CONTINUE" | "DROP")?,
954
+ target_archive: ::String
955
+ }?,
956
+ deliver_to_mailbox: {
957
+ action_failure_policy: ("CONTINUE" | "DROP")?,
958
+ mailbox_arn: ::String,
959
+ role_arn: ::String
960
+ }?,
961
+ drop: {
962
+ }?,
963
+ relay: {
964
+ action_failure_policy: ("CONTINUE" | "DROP")?,
965
+ mail_from: ("REPLACE" | "PRESERVE")?,
966
+ relay: ::String
967
+ }?,
968
+ replace_recipient: {
969
+ replace_with: Array[::String]?
970
+ }?,
971
+ send: {
972
+ action_failure_policy: ("CONTINUE" | "DROP")?,
973
+ role_arn: ::String
974
+ }?,
975
+ write_to_s3: {
976
+ action_failure_policy: ("CONTINUE" | "DROP")?,
977
+ role_arn: ::String,
978
+ s3_bucket: ::String,
979
+ s3_prefix: ::String?,
980
+ s3_sse_kms_key_id: ::String?
981
+ }?
982
+ },
983
+ ],
984
+ conditions: Array[
985
+ {
986
+ boolean_expression: {
987
+ evaluate: {
988
+ attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?
989
+ },
990
+ operator: ("IS_TRUE" | "IS_FALSE")
991
+ }?,
992
+ dmarc_expression: {
993
+ operator: ("EQUALS" | "NOT_EQUALS"),
994
+ values: Array[("NONE" | "QUARANTINE" | "REJECT")]
995
+ }?,
996
+ ip_expression: {
997
+ evaluate: {
998
+ attribute: ("SOURCE_IP")?
999
+ },
1000
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
1001
+ values: Array[::String]
1002
+ }?,
1003
+ number_expression: {
1004
+ evaluate: {
1005
+ attribute: ("MESSAGE_SIZE")?
1006
+ },
1007
+ operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL"),
1008
+ value: ::Float
1009
+ }?,
1010
+ string_expression: {
1011
+ evaluate: {
1012
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
1013
+ },
1014
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1015
+ values: Array[::String]
1016
+ }?,
1017
+ verdict_expression: {
1018
+ evaluate: {
1019
+ analysis: {
1020
+ analyzer: ::String,
1021
+ result_field: ::String
1022
+ }?,
1023
+ attribute: ("SPF" | "DKIM")?
1024
+ },
1025
+ operator: ("EQUALS" | "NOT_EQUALS"),
1026
+ values: Array[("PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED")]
1027
+ }?
1028
+ },
1029
+ ]?,
1030
+ name: ::String?,
1031
+ unless: Array[
1032
+ {
1033
+ boolean_expression: {
1034
+ evaluate: {
1035
+ attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?
1036
+ },
1037
+ operator: ("IS_TRUE" | "IS_FALSE")
1038
+ }?,
1039
+ dmarc_expression: {
1040
+ operator: ("EQUALS" | "NOT_EQUALS"),
1041
+ values: Array[("NONE" | "QUARANTINE" | "REJECT")]
1042
+ }?,
1043
+ ip_expression: {
1044
+ evaluate: {
1045
+ attribute: ("SOURCE_IP")?
1046
+ },
1047
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
1048
+ values: Array[::String]
1049
+ }?,
1050
+ number_expression: {
1051
+ evaluate: {
1052
+ attribute: ("MESSAGE_SIZE")?
1053
+ },
1054
+ operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL"),
1055
+ value: ::Float
1056
+ }?,
1057
+ string_expression: {
1058
+ evaluate: {
1059
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
1060
+ },
1061
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1062
+ values: Array[::String]
1063
+ }?,
1064
+ verdict_expression: {
1065
+ evaluate: {
1066
+ analysis: {
1067
+ analyzer: ::String,
1068
+ result_field: ::String
1069
+ }?,
1070
+ attribute: ("SPF" | "DKIM")?
1071
+ },
1072
+ operator: ("EQUALS" | "NOT_EQUALS"),
1073
+ values: Array[("PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED")]
1074
+ }?
1075
+ },
1076
+ ]?
1077
+ },
1078
+ ]
1079
+ ) -> _UpdateRuleSetResponseSuccess
1080
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleSetResponseSuccess
1081
+
1082
+ interface _UpdateTrafficPolicyResponseSuccess
1083
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTrafficPolicyResponse]
1084
+ end
1085
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#update_traffic_policy-instance_method
1086
+ def update_traffic_policy: (
1087
+ ?default_action: ("ALLOW" | "DENY"),
1088
+ ?max_message_size_bytes: ::Integer,
1089
+ ?policy_statements: Array[
1090
+ {
1091
+ action: ("ALLOW" | "DENY"),
1092
+ conditions: Array[
1093
+ {
1094
+ boolean_expression: {
1095
+ evaluate: {
1096
+ analysis: {
1097
+ analyzer: ::String,
1098
+ result_field: ::String
1099
+ }?
1100
+ },
1101
+ operator: ("IS_TRUE" | "IS_FALSE")
1102
+ }?,
1103
+ ip_expression: {
1104
+ evaluate: {
1105
+ attribute: ("SENDER_IP")?
1106
+ },
1107
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
1108
+ values: Array[::String]
1109
+ }?,
1110
+ string_expression: {
1111
+ evaluate: {
1112
+ attribute: ("RECIPIENT")?
1113
+ },
1114
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1115
+ values: Array[::String]
1116
+ }?,
1117
+ tls_expression: {
1118
+ evaluate: {
1119
+ attribute: ("TLS_PROTOCOL")?
1120
+ },
1121
+ operator: ("MINIMUM_TLS_VERSION" | "IS"),
1122
+ value: ("TLS1_2" | "TLS1_3")
1123
+ }?
1124
+ },
1125
+ ]
1126
+ },
1127
+ ],
1128
+ traffic_policy_id: ::String,
1129
+ ?traffic_policy_name: ::String
1130
+ ) -> _UpdateTrafficPolicyResponseSuccess
1131
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTrafficPolicyResponseSuccess
1132
+ end
1133
+ end
1134
+ end
1135
+