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