aws-sdk-mailmanager 1.27.0 → 1.29.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/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -84,8 +85,8 @@ module Aws
84
85
  end
85
86
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_addon_instance-instance_method
86
87
  def create_addon_instance: (
87
- addon_subscription_id: ::String,
88
88
  ?client_token: ::String,
89
+ addon_subscription_id: ::String,
89
90
  ?tags: Array[
90
91
  {
91
92
  key: ::String,
@@ -101,8 +102,8 @@ module Aws
101
102
  end
102
103
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_addon_subscription-instance_method
103
104
  def create_addon_subscription: (
104
- addon_name: ::String,
105
105
  ?client_token: ::String,
106
+ addon_name: ::String,
106
107
  ?tags: Array[
107
108
  {
108
109
  key: ::String,
@@ -118,8 +119,8 @@ module Aws
118
119
  end
119
120
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_address_list-instance_method
120
121
  def create_address_list: (
121
- address_list_name: ::String,
122
122
  ?client_token: ::String,
123
+ address_list_name: ::String,
123
124
  ?tags: Array[
124
125
  {
125
126
  key: ::String,
@@ -136,12 +137,12 @@ module Aws
136
137
  end
137
138
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_address_list_import_job-instance_method
138
139
  def create_address_list_import_job: (
139
- address_list_id: ::String,
140
140
  ?client_token: ::String,
141
+ address_list_id: ::String,
142
+ name: ::String,
141
143
  import_data_format: {
142
144
  import_data_type: ("CSV" | "JSON")
143
- },
144
- name: ::String
145
+ }
145
146
  ) -> _CreateAddressListImportJobResponseSuccess
146
147
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAddressListImportJobResponseSuccess
147
148
 
@@ -151,12 +152,12 @@ module Aws
151
152
  end
152
153
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_archive-instance_method
153
154
  def create_archive: (
154
- archive_name: ::String,
155
155
  ?client_token: ::String,
156
- ?kms_key_arn: ::String,
156
+ archive_name: ::String,
157
157
  ?retention: {
158
158
  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")?
159
159
  },
160
+ ?kms_key_arn: ::String,
160
161
  ?tags: Array[
161
162
  {
162
163
  key: ::String,
@@ -173,28 +174,28 @@ module Aws
173
174
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_ingress_point-instance_method
174
175
  def create_ingress_point: (
175
176
  ?client_token: ::String,
177
+ ingress_point_name: ::String,
178
+ type: ("OPEN" | "AUTH"),
179
+ rule_set_id: ::String,
180
+ traffic_policy_id: ::String,
176
181
  ?ingress_point_configuration: {
177
- secret_arn: ::String?,
178
- smtp_password: ::String?
182
+ smtp_password: ::String?,
183
+ secret_arn: ::String?
179
184
  },
180
- ingress_point_name: ::String,
181
185
  ?network_configuration: {
182
- private_network_configuration: {
183
- vpc_endpoint_id: ::String
184
- }?,
185
186
  public_network_configuration: {
186
187
  ip_type: ("IPV4" | "DUAL_STACK")
188
+ }?,
189
+ private_network_configuration: {
190
+ vpc_endpoint_id: ::String
187
191
  }?
188
192
  },
189
- rule_set_id: ::String,
190
193
  ?tags: Array[
191
194
  {
192
195
  key: ::String,
193
196
  value: ::String
194
197
  },
195
- ],
196
- traffic_policy_id: ::String,
197
- type: ("OPEN" | "AUTH")
198
+ ]
198
199
  ) -> _CreateIngressPointResponseSuccess
199
200
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIngressPointResponseSuccess
200
201
 
@@ -204,15 +205,15 @@ module Aws
204
205
  end
205
206
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_relay-instance_method
206
207
  def create_relay: (
207
- authentication: {
208
- no_authentication: {
209
- }?,
210
- secret_arn: ::String?
211
- },
212
208
  ?client_token: ::String,
213
209
  relay_name: ::String,
214
210
  server_name: ::String,
215
211
  server_port: ::Integer,
212
+ authentication: {
213
+ secret_arn: ::String?,
214
+ no_authentication: {
215
+ }?
216
+ },
216
217
  ?tags: Array[
217
218
  {
218
219
  key: ::String,
@@ -232,82 +233,33 @@ module Aws
232
233
  rule_set_name: ::String,
233
234
  rules: Array[
234
235
  {
235
- actions: Array[
236
- {
237
- add_header: {
238
- header_name: ::String,
239
- header_value: ::String
240
- }?,
241
- archive: {
242
- action_failure_policy: ("CONTINUE" | "DROP")?,
243
- target_archive: ::String
244
- }?,
245
- deliver_to_mailbox: {
246
- action_failure_policy: ("CONTINUE" | "DROP")?,
247
- mailbox_arn: ::String,
248
- role_arn: ::String
249
- }?,
250
- deliver_to_q_business: {
251
- action_failure_policy: ("CONTINUE" | "DROP")?,
252
- application_id: ::String,
253
- index_id: ::String,
254
- role_arn: ::String
255
- }?,
256
- drop: {
257
- }?,
258
- publish_to_sns: {
259
- action_failure_policy: ("CONTINUE" | "DROP")?,
260
- encoding: ("UTF-8" | "BASE64")?,
261
- payload_type: ("HEADERS" | "CONTENT")?,
262
- role_arn: ::String,
263
- topic_arn: ::String
264
- }?,
265
- relay: {
266
- action_failure_policy: ("CONTINUE" | "DROP")?,
267
- mail_from: ("REPLACE" | "PRESERVE")?,
268
- relay: ::String
269
- }?,
270
- replace_recipient: {
271
- replace_with: Array[::String]?
272
- }?,
273
- send: {
274
- action_failure_policy: ("CONTINUE" | "DROP")?,
275
- role_arn: ::String
276
- }?,
277
- write_to_s3: {
278
- action_failure_policy: ("CONTINUE" | "DROP")?,
279
- role_arn: ::String,
280
- s3_bucket: ::String,
281
- s3_prefix: ::String?,
282
- s3_sse_kms_key_id: ::String?
283
- }?
284
- },
285
- ],
236
+ name: ::String?,
286
237
  conditions: Array[
287
238
  {
288
239
  boolean_expression: {
289
240
  evaluate: {
241
+ attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?,
290
242
  analysis: {
291
243
  analyzer: ::String,
292
244
  result_field: ::String
293
245
  }?,
294
- attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?,
295
246
  is_in_address_list: {
296
- address_lists: Array[::String],
297
- attribute: ("RECIPIENT" | "MAIL_FROM" | "SENDER" | "FROM" | "TO" | "CC")
247
+ attribute: ("RECIPIENT" | "MAIL_FROM" | "SENDER" | "FROM" | "TO" | "CC"),
248
+ address_lists: Array[::String]
298
249
  }?
299
250
  },
300
251
  operator: ("IS_TRUE" | "IS_FALSE")
301
252
  }?,
302
- dmarc_expression: {
303
- operator: ("EQUALS" | "NOT_EQUALS"),
304
- values: Array[("NONE" | "QUARANTINE" | "REJECT")]
305
- }?,
306
- ip_expression: {
253
+ string_expression: {
307
254
  evaluate: {
308
- attribute: ("SOURCE_IP")?
255
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
256
+ mime_header_attribute: ::String?,
257
+ analysis: {
258
+ analyzer: ::String,
259
+ result_field: ::String
260
+ }?
309
261
  },
310
- operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
262
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
311
263
  values: Array[::String]
312
264
  }?,
313
265
  number_expression: {
@@ -317,57 +269,56 @@ module Aws
317
269
  operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL"),
318
270
  value: ::Float
319
271
  }?,
320
- string_expression: {
272
+ ip_expression: {
321
273
  evaluate: {
322
- analysis: {
323
- analyzer: ::String,
324
- result_field: ::String
325
- }?,
326
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
327
- mime_header_attribute: ::String?
274
+ attribute: ("SOURCE_IP")?
328
275
  },
329
- operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
276
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
330
277
  values: Array[::String]
331
278
  }?,
332
279
  verdict_expression: {
333
280
  evaluate: {
281
+ attribute: ("SPF" | "DKIM")?,
334
282
  analysis: {
335
283
  analyzer: ::String,
336
284
  result_field: ::String
337
- }?,
338
- attribute: ("SPF" | "DKIM")?
285
+ }?
339
286
  },
340
287
  operator: ("EQUALS" | "NOT_EQUALS"),
341
288
  values: Array[("PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED")]
289
+ }?,
290
+ dmarc_expression: {
291
+ operator: ("EQUALS" | "NOT_EQUALS"),
292
+ values: Array[("NONE" | "QUARANTINE" | "REJECT")]
342
293
  }?
343
294
  },
344
295
  ]?,
345
- name: ::String?,
346
296
  unless: Array[
347
297
  {
348
298
  boolean_expression: {
349
299
  evaluate: {
300
+ attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?,
350
301
  analysis: {
351
302
  analyzer: ::String,
352
303
  result_field: ::String
353
304
  }?,
354
- attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?,
355
305
  is_in_address_list: {
356
- address_lists: Array[::String],
357
- attribute: ("RECIPIENT" | "MAIL_FROM" | "SENDER" | "FROM" | "TO" | "CC")
306
+ attribute: ("RECIPIENT" | "MAIL_FROM" | "SENDER" | "FROM" | "TO" | "CC"),
307
+ address_lists: Array[::String]
358
308
  }?
359
309
  },
360
310
  operator: ("IS_TRUE" | "IS_FALSE")
361
311
  }?,
362
- dmarc_expression: {
363
- operator: ("EQUALS" | "NOT_EQUALS"),
364
- values: Array[("NONE" | "QUARANTINE" | "REJECT")]
365
- }?,
366
- ip_expression: {
312
+ string_expression: {
367
313
  evaluate: {
368
- attribute: ("SOURCE_IP")?
314
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
315
+ mime_header_attribute: ::String?,
316
+ analysis: {
317
+ analyzer: ::String,
318
+ result_field: ::String
319
+ }?
369
320
  },
370
- operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
321
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
371
322
  values: Array[::String]
372
323
  }?,
373
324
  number_expression: {
@@ -377,31 +328,81 @@ module Aws
377
328
  operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL"),
378
329
  value: ::Float
379
330
  }?,
380
- string_expression: {
331
+ ip_expression: {
381
332
  evaluate: {
382
- analysis: {
383
- analyzer: ::String,
384
- result_field: ::String
385
- }?,
386
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
387
- mime_header_attribute: ::String?
333
+ attribute: ("SOURCE_IP")?
388
334
  },
389
- operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
335
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
390
336
  values: Array[::String]
391
337
  }?,
392
338
  verdict_expression: {
393
339
  evaluate: {
340
+ attribute: ("SPF" | "DKIM")?,
394
341
  analysis: {
395
342
  analyzer: ::String,
396
343
  result_field: ::String
397
- }?,
398
- attribute: ("SPF" | "DKIM")?
344
+ }?
399
345
  },
400
346
  operator: ("EQUALS" | "NOT_EQUALS"),
401
347
  values: Array[("PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED")]
348
+ }?,
349
+ dmarc_expression: {
350
+ operator: ("EQUALS" | "NOT_EQUALS"),
351
+ values: Array[("NONE" | "QUARANTINE" | "REJECT")]
352
+ }?
353
+ },
354
+ ]?,
355
+ actions: Array[
356
+ {
357
+ drop: {
358
+ }?,
359
+ relay: {
360
+ action_failure_policy: ("CONTINUE" | "DROP")?,
361
+ relay: ::String,
362
+ mail_from: ("REPLACE" | "PRESERVE")?
363
+ }?,
364
+ archive: {
365
+ action_failure_policy: ("CONTINUE" | "DROP")?,
366
+ target_archive: ::String
367
+ }?,
368
+ write_to_s3: {
369
+ action_failure_policy: ("CONTINUE" | "DROP")?,
370
+ role_arn: ::String,
371
+ s3_bucket: ::String,
372
+ s3_prefix: ::String?,
373
+ s3_sse_kms_key_id: ::String?
374
+ }?,
375
+ send: {
376
+ action_failure_policy: ("CONTINUE" | "DROP")?,
377
+ role_arn: ::String
378
+ }?,
379
+ add_header: {
380
+ header_name: ::String,
381
+ header_value: ::String
382
+ }?,
383
+ replace_recipient: {
384
+ replace_with: Array[::String]?
385
+ }?,
386
+ deliver_to_mailbox: {
387
+ action_failure_policy: ("CONTINUE" | "DROP")?,
388
+ mailbox_arn: ::String,
389
+ role_arn: ::String
390
+ }?,
391
+ deliver_to_q_business: {
392
+ action_failure_policy: ("CONTINUE" | "DROP")?,
393
+ application_id: ::String,
394
+ index_id: ::String,
395
+ role_arn: ::String
396
+ }?,
397
+ publish_to_sns: {
398
+ action_failure_policy: ("CONTINUE" | "DROP")?,
399
+ topic_arn: ::String,
400
+ role_arn: ::String,
401
+ encoding: ("UTF-8" | "BASE64")?,
402
+ payload_type: ("HEADERS" | "CONTENT")?
402
403
  }?
403
404
  },
404
- ]?
405
+ ]
405
406
  },
406
407
  ],
407
408
  ?tags: Array[
@@ -420,25 +421,21 @@ module Aws
420
421
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#create_traffic_policy-instance_method
421
422
  def create_traffic_policy: (
422
423
  ?client_token: ::String,
423
- default_action: ("ALLOW" | "DENY"),
424
- ?max_message_size_bytes: ::Integer,
424
+ traffic_policy_name: ::String,
425
425
  policy_statements: Array[
426
426
  {
427
- action: ("ALLOW" | "DENY"),
428
427
  conditions: Array[
429
428
  {
430
- boolean_expression: {
429
+ string_expression: {
431
430
  evaluate: {
431
+ attribute: ("RECIPIENT")?,
432
432
  analysis: {
433
433
  analyzer: ::String,
434
434
  result_field: ::String
435
- }?,
436
- is_in_address_list: {
437
- address_lists: Array[::String],
438
- attribute: ("RECIPIENT")
439
435
  }?
440
436
  },
441
- operator: ("IS_TRUE" | "IS_FALSE")
437
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
438
+ values: Array[::String]
442
439
  }?,
443
440
  ip_expression: {
444
441
  evaluate: {
@@ -454,35 +451,39 @@ module Aws
454
451
  operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
455
452
  values: Array[::String]
456
453
  }?,
457
- string_expression: {
458
- evaluate: {
459
- analysis: {
460
- analyzer: ::String,
461
- result_field: ::String
462
- }?,
463
- attribute: ("RECIPIENT")?
464
- },
465
- operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
466
- values: Array[::String]
467
- }?,
468
454
  tls_expression: {
469
455
  evaluate: {
470
456
  attribute: ("TLS_PROTOCOL")?
471
457
  },
472
458
  operator: ("MINIMUM_TLS_VERSION" | "IS"),
473
459
  value: ("TLS1_2" | "TLS1_3")
460
+ }?,
461
+ boolean_expression: {
462
+ evaluate: {
463
+ analysis: {
464
+ analyzer: ::String,
465
+ result_field: ::String
466
+ }?,
467
+ is_in_address_list: {
468
+ attribute: ("RECIPIENT"),
469
+ address_lists: Array[::String]
470
+ }?
471
+ },
472
+ operator: ("IS_TRUE" | "IS_FALSE")
474
473
  }?
475
474
  },
476
- ]
475
+ ],
476
+ action: ("ALLOW" | "DENY")
477
477
  },
478
478
  ],
479
+ default_action: ("ALLOW" | "DENY"),
480
+ ?max_message_size_bytes: ::Integer,
479
481
  ?tags: Array[
480
482
  {
481
483
  key: ::String,
482
484
  value: ::String
483
485
  },
484
- ],
485
- traffic_policy_name: ::String
486
+ ]
486
487
  ) -> _CreateTrafficPolicyResponseSuccess
487
488
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrafficPolicyResponseSuccess
488
489
 
@@ -563,16 +564,16 @@ module Aws
563
564
  end
564
565
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#deregister_member_from_address_list-instance_method
565
566
  def deregister_member_from_address_list: (
566
- address: ::String,
567
- address_list_id: ::String
567
+ address_list_id: ::String,
568
+ address: ::String
568
569
  ) -> _DeregisterMemberFromAddressListResponseSuccess
569
570
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterMemberFromAddressListResponseSuccess
570
571
 
571
572
  interface _GetAddonInstanceResponseSuccess
572
573
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAddonInstanceResponse]
573
- def addon_instance_arn: () -> ::String
574
- def addon_name: () -> ::String
575
574
  def addon_subscription_id: () -> ::String
575
+ def addon_name: () -> ::String
576
+ def addon_instance_arn: () -> ::String
576
577
  def created_timestamp: () -> ::Time
577
578
  end
578
579
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_addon_instance-instance_method
@@ -595,8 +596,8 @@ module Aws
595
596
 
596
597
  interface _GetAddressListResponseSuccess
597
598
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAddressListResponse]
598
- def address_list_arn: () -> ::String
599
599
  def address_list_id: () -> ::String
600
+ def address_list_arn: () -> ::String
600
601
  def address_list_name: () -> ::String
601
602
  def created_timestamp: () -> ::Time
602
603
  def last_updated_timestamp: () -> ::Time
@@ -609,17 +610,17 @@ module Aws
609
610
 
610
611
  interface _GetAddressListImportJobResponseSuccess
611
612
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAddressListImportJobResponse]
612
- def address_list_id: () -> ::String
613
- def completed_timestamp: () -> ::Time
614
- def created_timestamp: () -> ::Time
615
- def failed_items_count: () -> ::Integer
616
- def import_data_format: () -> Types::ImportDataFormat
617
- def imported_items_count: () -> ::Integer
618
613
  def job_id: () -> ::String
619
614
  def name: () -> ::String
615
+ def status: () -> ("CREATED" | "PROCESSING" | "COMPLETED" | "FAILED" | "STOPPED")
620
616
  def pre_signed_url: () -> ::String
617
+ def imported_items_count: () -> ::Integer
618
+ def failed_items_count: () -> ::Integer
619
+ def import_data_format: () -> Types::ImportDataFormat
620
+ def address_list_id: () -> ::String
621
+ def created_timestamp: () -> ::Time
621
622
  def start_timestamp: () -> ::Time
622
- def status: () -> ("CREATED" | "PROCESSING" | "COMPLETED" | "FAILED" | "STOPPED")
623
+ def completed_timestamp: () -> ::Time
623
624
  end
624
625
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_address_list_import_job-instance_method
625
626
  def get_address_list_import_job: (
@@ -629,14 +630,14 @@ module Aws
629
630
 
630
631
  interface _GetArchiveResponseSuccess
631
632
  include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveResponse]
632
- def archive_arn: () -> ::String
633
633
  def archive_id: () -> ::String
634
634
  def archive_name: () -> ::String
635
+ def archive_arn: () -> ::String
635
636
  def archive_state: () -> ("ACTIVE" | "PENDING_DELETION")
637
+ def retention: () -> Types::ArchiveRetention
636
638
  def created_timestamp: () -> ::Time
637
- def kms_key_arn: () -> ::String
638
639
  def last_updated_timestamp: () -> ::Time
639
- def retention: () -> Types::ArchiveRetention
640
+ def kms_key_arn: () -> ::String
640
641
  end
641
642
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive-instance_method
642
643
  def get_archive: (
@@ -647,12 +648,12 @@ module Aws
647
648
  interface _GetArchiveExportResponseSuccess
648
649
  include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveExportResponse]
649
650
  def archive_id: () -> ::String
650
- def export_destination_configuration: () -> Types::ExportDestinationConfiguration
651
651
  def filters: () -> Types::ArchiveFilters
652
652
  def from_timestamp: () -> ::Time
653
+ def to_timestamp: () -> ::Time
653
654
  def max_results: () -> ::Integer
655
+ def export_destination_configuration: () -> Types::ExportDestinationConfiguration
654
656
  def status: () -> Types::ExportStatus
655
- def to_timestamp: () -> ::Time
656
657
  end
657
658
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive_export-instance_method
658
659
  def get_archive_export: (
@@ -662,9 +663,9 @@ module Aws
662
663
 
663
664
  interface _GetArchiveMessageResponseSuccess
664
665
  include ::Seahorse::Client::_ResponseSuccess[Types::GetArchiveMessageResponse]
665
- def envelope: () -> Types::Envelope
666
666
  def message_download_link: () -> ::String
667
667
  def metadata: () -> Types::Metadata
668
+ def envelope: () -> Types::Envelope
668
669
  end
669
670
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive_message-instance_method
670
671
  def get_archive_message: (
@@ -687,9 +688,9 @@ module Aws
687
688
  def archive_id: () -> ::String
688
689
  def filters: () -> Types::ArchiveFilters
689
690
  def from_timestamp: () -> ::Time
691
+ def to_timestamp: () -> ::Time
690
692
  def max_results: () -> ::Integer
691
693
  def status: () -> Types::SearchStatus
692
- def to_timestamp: () -> ::Time
693
694
  end
694
695
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_archive_search-instance_method
695
696
  def get_archive_search: (
@@ -709,18 +710,18 @@ module Aws
709
710
 
710
711
  interface _GetIngressPointResponseSuccess
711
712
  include ::Seahorse::Client::_ResponseSuccess[Types::GetIngressPointResponse]
712
- def a_record: () -> ::String
713
- def created_timestamp: () -> ::Time
714
- def ingress_point_arn: () -> ::String
715
- def ingress_point_auth_configuration: () -> Types::IngressPointAuthConfiguration
716
713
  def ingress_point_id: () -> ::String
717
714
  def ingress_point_name: () -> ::String
718
- def last_updated_timestamp: () -> ::Time
719
- def network_configuration: () -> Types::NetworkConfiguration
720
- def rule_set_id: () -> ::String
715
+ def ingress_point_arn: () -> ::String
721
716
  def status: () -> ("PROVISIONING" | "DEPROVISIONING" | "UPDATING" | "ACTIVE" | "CLOSED" | "FAILED")
722
- def traffic_policy_id: () -> ::String
723
717
  def type: () -> ("OPEN" | "AUTH")
718
+ def a_record: () -> ::String
719
+ def rule_set_id: () -> ::String
720
+ def traffic_policy_id: () -> ::String
721
+ def ingress_point_auth_configuration: () -> Types::IngressPointAuthConfiguration
722
+ def network_configuration: () -> Types::NetworkConfiguration
723
+ def created_timestamp: () -> ::Time
724
+ def last_updated_timestamp: () -> ::Time
724
725
  end
725
726
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_ingress_point-instance_method
726
727
  def get_ingress_point: (
@@ -735,21 +736,21 @@ module Aws
735
736
  end
736
737
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_member_of_address_list-instance_method
737
738
  def get_member_of_address_list: (
738
- address: ::String,
739
- address_list_id: ::String
739
+ address_list_id: ::String,
740
+ address: ::String
740
741
  ) -> _GetMemberOfAddressListResponseSuccess
741
742
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMemberOfAddressListResponseSuccess
742
743
 
743
744
  interface _GetRelayResponseSuccess
744
745
  include ::Seahorse::Client::_ResponseSuccess[Types::GetRelayResponse]
745
- def authentication: () -> Types::RelayAuthentication
746
- def created_timestamp: () -> ::Time
747
- def last_modified_timestamp: () -> ::Time
748
- def relay_arn: () -> ::String
749
746
  def relay_id: () -> ::String
747
+ def relay_arn: () -> ::String
750
748
  def relay_name: () -> ::String
751
749
  def server_name: () -> ::String
752
750
  def server_port: () -> ::Integer
751
+ def authentication: () -> Types::RelayAuthentication
752
+ def created_timestamp: () -> ::Time
753
+ def last_modified_timestamp: () -> ::Time
753
754
  end
754
755
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_relay-instance_method
755
756
  def get_relay: (
@@ -759,11 +760,11 @@ module Aws
759
760
 
760
761
  interface _GetRuleSetResponseSuccess
761
762
  include ::Seahorse::Client::_ResponseSuccess[Types::GetRuleSetResponse]
762
- def created_date: () -> ::Time
763
- def last_modification_date: () -> ::Time
764
- def rule_set_arn: () -> ::String
765
763
  def rule_set_id: () -> ::String
764
+ def rule_set_arn: () -> ::String
766
765
  def rule_set_name: () -> ::String
766
+ def created_date: () -> ::Time
767
+ def last_modification_date: () -> ::Time
767
768
  def rules: () -> ::Array[Types::Rule]
768
769
  end
769
770
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_rule_set-instance_method
@@ -774,14 +775,14 @@ module Aws
774
775
 
775
776
  interface _GetTrafficPolicyResponseSuccess
776
777
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTrafficPolicyResponse]
777
- def created_timestamp: () -> ::Time
778
+ def traffic_policy_name: () -> ::String
779
+ def traffic_policy_id: () -> ::String
780
+ def traffic_policy_arn: () -> ::String
781
+ def policy_statements: () -> ::Array[Types::PolicyStatement]
782
+ def max_message_size_bytes: () -> ::Integer
778
783
  def default_action: () -> ("ALLOW" | "DENY")
784
+ def created_timestamp: () -> ::Time
779
785
  def last_updated_timestamp: () -> ::Time
780
- def max_message_size_bytes: () -> ::Integer
781
- def policy_statements: () -> ::Array[Types::PolicyStatement]
782
- def traffic_policy_arn: () -> ::String
783
- def traffic_policy_id: () -> ::String
784
- def traffic_policy_name: () -> ::String
785
786
  end
786
787
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#get_traffic_policy-instance_method
787
788
  def get_traffic_policy: (
@@ -853,8 +854,8 @@ module Aws
853
854
 
854
855
  interface _ListArchiveSearchesResponseSuccess
855
856
  include ::Seahorse::Client::_ResponseSuccess[Types::ListArchiveSearchesResponse]
856
- def next_token: () -> ::String
857
857
  def searches: () -> ::Array[Types::SearchSummary]
858
+ def next_token: () -> ::String
858
859
  end
859
860
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_archive_searches-instance_method
860
861
  def list_archive_searches: (
@@ -883,8 +884,8 @@ module Aws
883
884
  end
884
885
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_ingress_points-instance_method
885
886
  def list_ingress_points: (
886
- ?next_token: ::String,
887
- ?page_size: ::Integer
887
+ ?page_size: ::Integer,
888
+ ?next_token: ::String
888
889
  ) -> _ListIngressPointsResponseSuccess
889
890
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIngressPointsResponseSuccess
890
891
 
@@ -906,20 +907,20 @@ module Aws
906
907
 
907
908
  interface _ListRelaysResponseSuccess
908
909
  include ::Seahorse::Client::_ResponseSuccess[Types::ListRelaysResponse]
909
- def next_token: () -> ::String
910
910
  def relays: () -> ::Array[Types::Relay]
911
+ def next_token: () -> ::String
911
912
  end
912
913
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_relays-instance_method
913
914
  def list_relays: (
914
- ?next_token: ::String,
915
- ?page_size: ::Integer
915
+ ?page_size: ::Integer,
916
+ ?next_token: ::String
916
917
  ) -> _ListRelaysResponseSuccess
917
918
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRelaysResponseSuccess
918
919
 
919
920
  interface _ListRuleSetsResponseSuccess
920
921
  include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleSetsResponse]
921
- def next_token: () -> ::String
922
922
  def rule_sets: () -> ::Array[Types::RuleSet]
923
+ def next_token: () -> ::String
923
924
  end
924
925
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_rule_sets-instance_method
925
926
  def list_rule_sets: (
@@ -940,13 +941,13 @@ module Aws
940
941
 
941
942
  interface _ListTrafficPoliciesResponseSuccess
942
943
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTrafficPoliciesResponse]
943
- def next_token: () -> ::String
944
944
  def traffic_policies: () -> ::Array[Types::TrafficPolicy]
945
+ def next_token: () -> ::String
945
946
  end
946
947
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#list_traffic_policies-instance_method
947
948
  def list_traffic_policies: (
948
- ?next_token: ::String,
949
- ?page_size: ::Integer
949
+ ?page_size: ::Integer,
950
+ ?next_token: ::String
950
951
  ) -> _ListTrafficPoliciesResponseSuccess
951
952
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrafficPoliciesResponseSuccess
952
953
 
@@ -955,8 +956,8 @@ module Aws
955
956
  end
956
957
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#register_member_to_address_list-instance_method
957
958
  def register_member_to_address_list: (
958
- address: ::String,
959
- address_list_id: ::String
959
+ address_list_id: ::String,
960
+ address: ::String
960
961
  ) -> _RegisterMemberToAddressListResponseSuccess
961
962
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterMemberToAddressListResponseSuccess
962
963
 
@@ -976,51 +977,51 @@ module Aws
976
977
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#start_archive_export-instance_method
977
978
  def start_archive_export: (
978
979
  archive_id: ::String,
979
- export_destination_configuration: {
980
- s3: {
981
- s3_location: ::String?
982
- }?
983
- },
984
980
  ?filters: {
985
981
  include: Array[
986
982
  {
987
- boolean_expression: {
988
- evaluate: {
989
- attribute: ("HAS_ATTACHMENTS")?
990
- },
991
- operator: ("IS_TRUE" | "IS_FALSE")
992
- }?,
993
983
  string_expression: {
994
984
  evaluate: {
995
985
  attribute: ("TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM")?
996
986
  },
997
987
  operator: ("CONTAINS"),
998
988
  values: Array[::String]
999
- }?
1000
- },
1001
- ]?,
1002
- unless: Array[
1003
- {
989
+ }?,
1004
990
  boolean_expression: {
1005
991
  evaluate: {
1006
992
  attribute: ("HAS_ATTACHMENTS")?
1007
993
  },
1008
994
  operator: ("IS_TRUE" | "IS_FALSE")
1009
- }?,
995
+ }?
996
+ },
997
+ ]?,
998
+ unless: Array[
999
+ {
1010
1000
  string_expression: {
1011
1001
  evaluate: {
1012
1002
  attribute: ("TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM")?
1013
1003
  },
1014
1004
  operator: ("CONTAINS"),
1015
1005
  values: Array[::String]
1006
+ }?,
1007
+ boolean_expression: {
1008
+ evaluate: {
1009
+ attribute: ("HAS_ATTACHMENTS")?
1010
+ },
1011
+ operator: ("IS_TRUE" | "IS_FALSE")
1016
1012
  }?
1017
1013
  },
1018
1014
  ]?
1019
1015
  },
1020
1016
  from_timestamp: ::Time,
1021
- ?include_metadata: bool,
1017
+ to_timestamp: ::Time,
1022
1018
  ?max_results: ::Integer,
1023
- to_timestamp: ::Time
1019
+ export_destination_configuration: {
1020
+ s3: {
1021
+ s3_location: ::String?
1022
+ }?
1023
+ },
1024
+ ?include_metadata: bool
1024
1025
  ) -> _StartArchiveExportResponseSuccess
1025
1026
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartArchiveExportResponseSuccess
1026
1027
 
@@ -1034,42 +1035,42 @@ module Aws
1034
1035
  ?filters: {
1035
1036
  include: Array[
1036
1037
  {
1037
- boolean_expression: {
1038
- evaluate: {
1039
- attribute: ("HAS_ATTACHMENTS")?
1040
- },
1041
- operator: ("IS_TRUE" | "IS_FALSE")
1042
- }?,
1043
1038
  string_expression: {
1044
1039
  evaluate: {
1045
1040
  attribute: ("TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM")?
1046
1041
  },
1047
1042
  operator: ("CONTAINS"),
1048
1043
  values: Array[::String]
1049
- }?
1050
- },
1051
- ]?,
1052
- unless: Array[
1053
- {
1044
+ }?,
1054
1045
  boolean_expression: {
1055
1046
  evaluate: {
1056
1047
  attribute: ("HAS_ATTACHMENTS")?
1057
1048
  },
1058
1049
  operator: ("IS_TRUE" | "IS_FALSE")
1059
- }?,
1050
+ }?
1051
+ },
1052
+ ]?,
1053
+ unless: Array[
1054
+ {
1060
1055
  string_expression: {
1061
1056
  evaluate: {
1062
1057
  attribute: ("TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM")?
1063
1058
  },
1064
1059
  operator: ("CONTAINS"),
1065
1060
  values: Array[::String]
1061
+ }?,
1062
+ boolean_expression: {
1063
+ evaluate: {
1064
+ attribute: ("HAS_ATTACHMENTS")?
1065
+ },
1066
+ operator: ("IS_TRUE" | "IS_FALSE")
1066
1067
  }?
1067
1068
  },
1068
1069
  ]?
1069
1070
  },
1070
1071
  from_timestamp: ::Time,
1071
- max_results: ::Integer,
1072
- to_timestamp: ::Time
1072
+ to_timestamp: ::Time,
1073
+ max_results: ::Integer
1073
1074
  ) -> _StartArchiveSearchResponseSuccess
1074
1075
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartArchiveSearchResponseSuccess
1075
1076
 
@@ -1143,15 +1144,15 @@ module Aws
1143
1144
  end
1144
1145
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#update_ingress_point-instance_method
1145
1146
  def update_ingress_point: (
1146
- ?ingress_point_configuration: {
1147
- secret_arn: ::String?,
1148
- smtp_password: ::String?
1149
- },
1150
1147
  ingress_point_id: ::String,
1151
1148
  ?ingress_point_name: ::String,
1152
- ?rule_set_id: ::String,
1153
1149
  ?status_to_update: ("ACTIVE" | "CLOSED"),
1154
- ?traffic_policy_id: ::String
1150
+ ?rule_set_id: ::String,
1151
+ ?traffic_policy_id: ::String,
1152
+ ?ingress_point_configuration: {
1153
+ smtp_password: ::String?,
1154
+ secret_arn: ::String?
1155
+ }
1155
1156
  ) -> _UpdateIngressPointResponseSuccess
1156
1157
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIngressPointResponseSuccess
1157
1158
 
@@ -1160,15 +1161,15 @@ module Aws
1160
1161
  end
1161
1162
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#update_relay-instance_method
1162
1163
  def update_relay: (
1163
- ?authentication: {
1164
- no_authentication: {
1165
- }?,
1166
- secret_arn: ::String?
1167
- },
1168
1164
  relay_id: ::String,
1169
1165
  ?relay_name: ::String,
1170
1166
  ?server_name: ::String,
1171
- ?server_port: ::Integer
1167
+ ?server_port: ::Integer,
1168
+ ?authentication: {
1169
+ secret_arn: ::String?,
1170
+ no_authentication: {
1171
+ }?
1172
+ }
1172
1173
  ) -> _UpdateRelayResponseSuccess
1173
1174
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRelayResponseSuccess
1174
1175
 
@@ -1181,82 +1182,33 @@ module Aws
1181
1182
  ?rule_set_name: ::String,
1182
1183
  ?rules: Array[
1183
1184
  {
1184
- actions: Array[
1185
- {
1186
- add_header: {
1187
- header_name: ::String,
1188
- header_value: ::String
1189
- }?,
1190
- archive: {
1191
- action_failure_policy: ("CONTINUE" | "DROP")?,
1192
- target_archive: ::String
1193
- }?,
1194
- deliver_to_mailbox: {
1195
- action_failure_policy: ("CONTINUE" | "DROP")?,
1196
- mailbox_arn: ::String,
1197
- role_arn: ::String
1198
- }?,
1199
- deliver_to_q_business: {
1200
- action_failure_policy: ("CONTINUE" | "DROP")?,
1201
- application_id: ::String,
1202
- index_id: ::String,
1203
- role_arn: ::String
1204
- }?,
1205
- drop: {
1206
- }?,
1207
- publish_to_sns: {
1208
- action_failure_policy: ("CONTINUE" | "DROP")?,
1209
- encoding: ("UTF-8" | "BASE64")?,
1210
- payload_type: ("HEADERS" | "CONTENT")?,
1211
- role_arn: ::String,
1212
- topic_arn: ::String
1213
- }?,
1214
- relay: {
1215
- action_failure_policy: ("CONTINUE" | "DROP")?,
1216
- mail_from: ("REPLACE" | "PRESERVE")?,
1217
- relay: ::String
1218
- }?,
1219
- replace_recipient: {
1220
- replace_with: Array[::String]?
1221
- }?,
1222
- send: {
1223
- action_failure_policy: ("CONTINUE" | "DROP")?,
1224
- role_arn: ::String
1225
- }?,
1226
- write_to_s3: {
1227
- action_failure_policy: ("CONTINUE" | "DROP")?,
1228
- role_arn: ::String,
1229
- s3_bucket: ::String,
1230
- s3_prefix: ::String?,
1231
- s3_sse_kms_key_id: ::String?
1232
- }?
1233
- },
1234
- ],
1185
+ name: ::String?,
1235
1186
  conditions: Array[
1236
1187
  {
1237
1188
  boolean_expression: {
1238
1189
  evaluate: {
1190
+ attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?,
1239
1191
  analysis: {
1240
1192
  analyzer: ::String,
1241
1193
  result_field: ::String
1242
1194
  }?,
1243
- attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?,
1244
1195
  is_in_address_list: {
1245
- address_lists: Array[::String],
1246
- attribute: ("RECIPIENT" | "MAIL_FROM" | "SENDER" | "FROM" | "TO" | "CC")
1196
+ attribute: ("RECIPIENT" | "MAIL_FROM" | "SENDER" | "FROM" | "TO" | "CC"),
1197
+ address_lists: Array[::String]
1247
1198
  }?
1248
1199
  },
1249
1200
  operator: ("IS_TRUE" | "IS_FALSE")
1250
1201
  }?,
1251
- dmarc_expression: {
1252
- operator: ("EQUALS" | "NOT_EQUALS"),
1253
- values: Array[("NONE" | "QUARANTINE" | "REJECT")]
1254
- }?,
1255
- ip_expression: {
1202
+ string_expression: {
1256
1203
  evaluate: {
1257
- attribute: ("SOURCE_IP")?
1204
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
1205
+ mime_header_attribute: ::String?,
1206
+ analysis: {
1207
+ analyzer: ::String,
1208
+ result_field: ::String
1209
+ }?
1258
1210
  },
1259
- operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
1211
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1260
1212
  values: Array[::String]
1261
1213
  }?,
1262
1214
  number_expression: {
@@ -1266,57 +1218,56 @@ module Aws
1266
1218
  operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL"),
1267
1219
  value: ::Float
1268
1220
  }?,
1269
- string_expression: {
1221
+ ip_expression: {
1270
1222
  evaluate: {
1271
- analysis: {
1272
- analyzer: ::String,
1273
- result_field: ::String
1274
- }?,
1275
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
1276
- mime_header_attribute: ::String?
1223
+ attribute: ("SOURCE_IP")?
1277
1224
  },
1278
- operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1225
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
1279
1226
  values: Array[::String]
1280
1227
  }?,
1281
1228
  verdict_expression: {
1282
1229
  evaluate: {
1230
+ attribute: ("SPF" | "DKIM")?,
1283
1231
  analysis: {
1284
1232
  analyzer: ::String,
1285
1233
  result_field: ::String
1286
- }?,
1287
- attribute: ("SPF" | "DKIM")?
1234
+ }?
1288
1235
  },
1289
1236
  operator: ("EQUALS" | "NOT_EQUALS"),
1290
1237
  values: Array[("PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED")]
1238
+ }?,
1239
+ dmarc_expression: {
1240
+ operator: ("EQUALS" | "NOT_EQUALS"),
1241
+ values: Array[("NONE" | "QUARANTINE" | "REJECT")]
1291
1242
  }?
1292
1243
  },
1293
1244
  ]?,
1294
- name: ::String?,
1295
1245
  unless: Array[
1296
1246
  {
1297
1247
  boolean_expression: {
1298
1248
  evaluate: {
1249
+ attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?,
1299
1250
  analysis: {
1300
1251
  analyzer: ::String,
1301
1252
  result_field: ::String
1302
1253
  }?,
1303
- attribute: ("READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED")?,
1304
1254
  is_in_address_list: {
1305
- address_lists: Array[::String],
1306
- attribute: ("RECIPIENT" | "MAIL_FROM" | "SENDER" | "FROM" | "TO" | "CC")
1255
+ attribute: ("RECIPIENT" | "MAIL_FROM" | "SENDER" | "FROM" | "TO" | "CC"),
1256
+ address_lists: Array[::String]
1307
1257
  }?
1308
1258
  },
1309
1259
  operator: ("IS_TRUE" | "IS_FALSE")
1310
1260
  }?,
1311
- dmarc_expression: {
1312
- operator: ("EQUALS" | "NOT_EQUALS"),
1313
- values: Array[("NONE" | "QUARANTINE" | "REJECT")]
1314
- }?,
1315
- ip_expression: {
1261
+ string_expression: {
1316
1262
  evaluate: {
1317
- attribute: ("SOURCE_IP")?
1263
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
1264
+ mime_header_attribute: ::String?,
1265
+ analysis: {
1266
+ analyzer: ::String,
1267
+ result_field: ::String
1268
+ }?
1318
1269
  },
1319
- operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
1270
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1320
1271
  values: Array[::String]
1321
1272
  }?,
1322
1273
  number_expression: {
@@ -1326,31 +1277,81 @@ module Aws
1326
1277
  operator: ("EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL"),
1327
1278
  value: ::Float
1328
1279
  }?,
1329
- string_expression: {
1280
+ ip_expression: {
1330
1281
  evaluate: {
1331
- analysis: {
1332
- analyzer: ::String,
1333
- result_field: ::String
1334
- }?,
1335
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
1336
- mime_header_attribute: ::String?
1282
+ attribute: ("SOURCE_IP")?
1337
1283
  },
1338
- operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1284
+ operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
1339
1285
  values: Array[::String]
1340
1286
  }?,
1341
1287
  verdict_expression: {
1342
1288
  evaluate: {
1289
+ attribute: ("SPF" | "DKIM")?,
1343
1290
  analysis: {
1344
1291
  analyzer: ::String,
1345
1292
  result_field: ::String
1346
- }?,
1347
- attribute: ("SPF" | "DKIM")?
1293
+ }?
1348
1294
  },
1349
1295
  operator: ("EQUALS" | "NOT_EQUALS"),
1350
1296
  values: Array[("PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED")]
1297
+ }?,
1298
+ dmarc_expression: {
1299
+ operator: ("EQUALS" | "NOT_EQUALS"),
1300
+ values: Array[("NONE" | "QUARANTINE" | "REJECT")]
1301
+ }?
1302
+ },
1303
+ ]?,
1304
+ actions: Array[
1305
+ {
1306
+ drop: {
1307
+ }?,
1308
+ relay: {
1309
+ action_failure_policy: ("CONTINUE" | "DROP")?,
1310
+ relay: ::String,
1311
+ mail_from: ("REPLACE" | "PRESERVE")?
1312
+ }?,
1313
+ archive: {
1314
+ action_failure_policy: ("CONTINUE" | "DROP")?,
1315
+ target_archive: ::String
1316
+ }?,
1317
+ write_to_s3: {
1318
+ action_failure_policy: ("CONTINUE" | "DROP")?,
1319
+ role_arn: ::String,
1320
+ s3_bucket: ::String,
1321
+ s3_prefix: ::String?,
1322
+ s3_sse_kms_key_id: ::String?
1323
+ }?,
1324
+ send: {
1325
+ action_failure_policy: ("CONTINUE" | "DROP")?,
1326
+ role_arn: ::String
1327
+ }?,
1328
+ add_header: {
1329
+ header_name: ::String,
1330
+ header_value: ::String
1331
+ }?,
1332
+ replace_recipient: {
1333
+ replace_with: Array[::String]?
1334
+ }?,
1335
+ deliver_to_mailbox: {
1336
+ action_failure_policy: ("CONTINUE" | "DROP")?,
1337
+ mailbox_arn: ::String,
1338
+ role_arn: ::String
1339
+ }?,
1340
+ deliver_to_q_business: {
1341
+ action_failure_policy: ("CONTINUE" | "DROP")?,
1342
+ application_id: ::String,
1343
+ index_id: ::String,
1344
+ role_arn: ::String
1345
+ }?,
1346
+ publish_to_sns: {
1347
+ action_failure_policy: ("CONTINUE" | "DROP")?,
1348
+ topic_arn: ::String,
1349
+ role_arn: ::String,
1350
+ encoding: ("UTF-8" | "BASE64")?,
1351
+ payload_type: ("HEADERS" | "CONTENT")?
1351
1352
  }?
1352
1353
  },
1353
- ]?
1354
+ ]
1354
1355
  },
1355
1356
  ]
1356
1357
  ) -> _UpdateRuleSetResponseSuccess
@@ -1361,25 +1362,22 @@ module Aws
1361
1362
  end
1362
1363
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MailManager/Client.html#update_traffic_policy-instance_method
1363
1364
  def update_traffic_policy: (
1364
- ?default_action: ("ALLOW" | "DENY"),
1365
- ?max_message_size_bytes: ::Integer,
1365
+ traffic_policy_id: ::String,
1366
+ ?traffic_policy_name: ::String,
1366
1367
  ?policy_statements: Array[
1367
1368
  {
1368
- action: ("ALLOW" | "DENY"),
1369
1369
  conditions: Array[
1370
1370
  {
1371
- boolean_expression: {
1371
+ string_expression: {
1372
1372
  evaluate: {
1373
+ attribute: ("RECIPIENT")?,
1373
1374
  analysis: {
1374
1375
  analyzer: ::String,
1375
1376
  result_field: ::String
1376
- }?,
1377
- is_in_address_list: {
1378
- address_lists: Array[::String],
1379
- attribute: ("RECIPIENT")
1380
1377
  }?
1381
1378
  },
1382
- operator: ("IS_TRUE" | "IS_FALSE")
1379
+ operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1380
+ values: Array[::String]
1383
1381
  }?,
1384
1382
  ip_expression: {
1385
1383
  evaluate: {
@@ -1395,30 +1393,33 @@ module Aws
1395
1393
  operator: ("CIDR_MATCHES" | "NOT_CIDR_MATCHES"),
1396
1394
  values: Array[::String]
1397
1395
  }?,
1398
- string_expression: {
1399
- evaluate: {
1400
- analysis: {
1401
- analyzer: ::String,
1402
- result_field: ::String
1403
- }?,
1404
- attribute: ("RECIPIENT")?
1405
- },
1406
- operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1407
- values: Array[::String]
1408
- }?,
1409
1396
  tls_expression: {
1410
1397
  evaluate: {
1411
1398
  attribute: ("TLS_PROTOCOL")?
1412
1399
  },
1413
1400
  operator: ("MINIMUM_TLS_VERSION" | "IS"),
1414
1401
  value: ("TLS1_2" | "TLS1_3")
1402
+ }?,
1403
+ boolean_expression: {
1404
+ evaluate: {
1405
+ analysis: {
1406
+ analyzer: ::String,
1407
+ result_field: ::String
1408
+ }?,
1409
+ is_in_address_list: {
1410
+ attribute: ("RECIPIENT"),
1411
+ address_lists: Array[::String]
1412
+ }?
1413
+ },
1414
+ operator: ("IS_TRUE" | "IS_FALSE")
1415
1415
  }?
1416
1416
  },
1417
- ]
1417
+ ],
1418
+ action: ("ALLOW" | "DENY")
1418
1419
  },
1419
1420
  ],
1420
- traffic_policy_id: ::String,
1421
- ?traffic_policy_name: ::String
1421
+ ?default_action: ("ALLOW" | "DENY"),
1422
+ ?max_message_size_bytes: ::Integer
1422
1423
  ) -> _UpdateTrafficPolicyResponseSuccess
1423
1424
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTrafficPolicyResponseSuccess
1424
1425
  end