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.
@@ -480,11 +480,6 @@ module Aws::MailManager
480
480
  # request. The resulting Amazon Resource Name (ARN) can be used in a
481
481
  # conditional statement for a rule set or traffic policy.
482
482
  #
483
- # @option params [required, String] :addon_subscription_id
484
- # The unique ID of a previously created subscription that an Add On
485
- # instance is created for. You can only have one instance per
486
- # subscription.
487
- #
488
483
  # @option params [String] :client_token
489
484
  # A unique token that Amazon SES uses to recognize subsequent retries of
490
485
  # the same request.
@@ -492,6 +487,11 @@ module Aws::MailManager
492
487
  # **A suitable default value is auto-generated.** You should normally
493
488
  # not need to pass this option.**
494
489
  #
490
+ # @option params [required, String] :addon_subscription_id
491
+ # The unique ID of a previously created subscription that an Add On
492
+ # instance is created for. You can only have one instance per
493
+ # subscription.
494
+ #
495
495
  # @option params [Array<Types::Tag>] :tags
496
496
  # The tags used to organize, track, or control access for the resource.
497
497
  # For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
@@ -504,8 +504,8 @@ module Aws::MailManager
504
504
  # @example Request syntax with placeholder values
505
505
  #
506
506
  # resp = client.create_addon_instance({
507
- # addon_subscription_id: "AddonSubscriptionId", # required
508
507
  # client_token: "IdempotencyToken",
508
+ # addon_subscription_id: "AddonSubscriptionId", # required
509
509
  # tags: [
510
510
  # {
511
511
  # key: "TagKey", # required
@@ -531,10 +531,6 @@ module Aws::MailManager
531
531
  # its terms of use and additional pricing. The subscription can then be
532
532
  # used to create an instance for use in rule sets or traffic policies.
533
533
  #
534
- # @option params [required, String] :addon_name
535
- # The name of the Add On to subscribe to. You can only have one
536
- # subscription for each Add On name.
537
- #
538
534
  # @option params [String] :client_token
539
535
  # A unique token that Amazon SES uses to recognize subsequent retries of
540
536
  # the same request.
@@ -542,6 +538,10 @@ module Aws::MailManager
542
538
  # **A suitable default value is auto-generated.** You should normally
543
539
  # not need to pass this option.**
544
540
  #
541
+ # @option params [required, String] :addon_name
542
+ # The name of the Add On to subscribe to. You can only have one
543
+ # subscription for each Add On name.
544
+ #
545
545
  # @option params [Array<Types::Tag>] :tags
546
546
  # The tags used to organize, track, or control access for the resource.
547
547
  # For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
@@ -554,8 +554,8 @@ module Aws::MailManager
554
554
  # @example Request syntax with placeholder values
555
555
  #
556
556
  # resp = client.create_addon_subscription({
557
- # addon_name: "AddonName", # required
558
557
  # client_token: "IdempotencyToken",
558
+ # addon_name: "AddonName", # required
559
559
  # tags: [
560
560
  # {
561
561
  # key: "TagKey", # required
@@ -579,9 +579,6 @@ module Aws::MailManager
579
579
 
580
580
  # Creates a new address list.
581
581
  #
582
- # @option params [required, String] :address_list_name
583
- # A user-friendly name for the address list.
584
- #
585
582
  # @option params [String] :client_token
586
583
  # A unique token that Amazon SES uses to recognize subsequent retries of
587
584
  # the same request.
@@ -589,6 +586,9 @@ module Aws::MailManager
589
586
  # **A suitable default value is auto-generated.** You should normally
590
587
  # not need to pass this option.**
591
588
  #
589
+ # @option params [required, String] :address_list_name
590
+ # A user-friendly name for the address list.
591
+ #
592
592
  # @option params [Array<Types::Tag>] :tags
593
593
  # The tags used to organize, track, or control access for the resource.
594
594
  # For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
@@ -601,8 +601,8 @@ module Aws::MailManager
601
601
  # @example Request syntax with placeholder values
602
602
  #
603
603
  # resp = client.create_address_list({
604
- # address_list_name: "AddressListName", # required
605
604
  # client_token: "IdempotencyToken",
605
+ # address_list_name: "AddressListName", # required
606
606
  # tags: [
607
607
  # {
608
608
  # key: "TagKey", # required
@@ -626,9 +626,6 @@ module Aws::MailManager
626
626
 
627
627
  # Creates an import job for an address list.
628
628
  #
629
- # @option params [required, String] :address_list_id
630
- # The unique identifier of the address list for importing addresses to.
631
- #
632
629
  # @option params [String] :client_token
633
630
  # A unique token that Amazon SES uses to recognize subsequent retries of
634
631
  # the same request.
@@ -636,12 +633,15 @@ module Aws::MailManager
636
633
  # **A suitable default value is auto-generated.** You should normally
637
634
  # not need to pass this option.**
638
635
  #
639
- # @option params [required, Types::ImportDataFormat] :import_data_format
640
- # The format of the input for an import job.
636
+ # @option params [required, String] :address_list_id
637
+ # The unique identifier of the address list for importing addresses to.
641
638
  #
642
639
  # @option params [required, String] :name
643
640
  # A user-friendly name for the import job.
644
641
  #
642
+ # @option params [required, Types::ImportDataFormat] :import_data_format
643
+ # The format of the input for an import job.
644
+ #
645
645
  # @return [Types::CreateAddressListImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
646
646
  #
647
647
  # * {Types::CreateAddressListImportJobResponse#job_id #job_id} => String
@@ -650,12 +650,12 @@ module Aws::MailManager
650
650
  # @example Request syntax with placeholder values
651
651
  #
652
652
  # resp = client.create_address_list_import_job({
653
- # address_list_id: "AddressListId", # required
654
653
  # client_token: "IdempotencyToken",
654
+ # address_list_id: "AddressListId", # required
655
+ # name: "JobName", # required
655
656
  # import_data_format: { # required
656
657
  # import_data_type: "CSV", # required, accepts CSV, JSON
657
658
  # },
658
- # name: "JobName", # required
659
659
  # })
660
660
  #
661
661
  # @example Response structure
@@ -674,23 +674,23 @@ module Aws::MailManager
674
674
 
675
675
  # Creates a new email archive resource for storing and retaining emails.
676
676
  #
677
- # @option params [required, String] :archive_name
678
- # A unique name for the new archive.
679
- #
680
677
  # @option params [String] :client_token
681
678
  # A unique token Amazon SES uses to recognize retries of this request.
682
679
  #
683
680
  # **A suitable default value is auto-generated.** You should normally
684
681
  # not need to pass this option.**
685
682
  #
686
- # @option params [String] :kms_key_arn
687
- # The Amazon Resource Name (ARN) of the KMS key for encrypting emails in
688
- # the archive.
683
+ # @option params [required, String] :archive_name
684
+ # A unique name for the new archive.
689
685
  #
690
686
  # @option params [Types::ArchiveRetention] :retention
691
687
  # The period for retaining emails in the archive before automatic
692
688
  # deletion.
693
689
  #
690
+ # @option params [String] :kms_key_arn
691
+ # The Amazon Resource Name (ARN) of the KMS key for encrypting emails in
692
+ # the archive.
693
+ #
694
694
  # @option params [Array<Types::Tag>] :tags
695
695
  # The tags used to organize, track, or control access for the resource.
696
696
  # For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
@@ -703,12 +703,12 @@ module Aws::MailManager
703
703
  # @example Request syntax with placeholder values
704
704
  #
705
705
  # resp = client.create_archive({
706
- # archive_name: "ArchiveNameString", # required
707
706
  # client_token: "IdempotencyToken",
708
- # kms_key_arn: "KmsKeyArn",
707
+ # archive_name: "ArchiveNameString", # required
709
708
  # retention: {
710
709
  # retention_period: "THREE_MONTHS", # accepts 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
711
710
  # },
711
+ # kms_key_arn: "KmsKeyArn",
712
712
  # tags: [
713
713
  # {
714
714
  # key: "TagKey", # required
@@ -739,64 +739,131 @@ module Aws::MailManager
739
739
  # **A suitable default value is auto-generated.** You should normally
740
740
  # not need to pass this option.**
741
741
  #
742
+ # @option params [required, String] :ingress_point_name
743
+ # A user friendly name for an ingress endpoint resource.
744
+ #
745
+ # @option params [required, String] :type
746
+ # The type of the ingress endpoint to create.
747
+ #
748
+ # @option params [required, String] :rule_set_id
749
+ # The identifier of an existing rule set that you attach to an ingress
750
+ # endpoint resource.
751
+ #
752
+ # @option params [required, String] :traffic_policy_id
753
+ # The identifier of an existing traffic policy that you attach to an
754
+ # ingress endpoint resource.
755
+ #
742
756
  # @option params [Types::IngressPointConfiguration] :ingress_point_configuration
743
757
  # If you choose an Authenticated ingress endpoint, you must configure
744
758
  # either an SMTP password or a secret ARN.
745
759
  #
746
- # @option params [required, String] :ingress_point_name
747
- # A user friendly name for an ingress endpoint resource.
748
- #
749
760
  # @option params [Types::NetworkConfiguration] :network_configuration
750
761
  # Specifies the network configuration for the ingress point. This allows
751
762
  # you to create an IPv4-only, Dual-Stack, or PrivateLink type of ingress
752
763
  # point. If not specified, the default network type is IPv4-only.
753
764
  #
754
- # @option params [required, String] :rule_set_id
755
- # The identifier of an existing rule set that you attach to an ingress
756
- # endpoint resource.
757
- #
758
765
  # @option params [Array<Types::Tag>] :tags
759
766
  # The tags used to organize, track, or control access for the resource.
760
767
  # For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
761
768
  # }.
762
769
  #
763
- # @option params [required, String] :traffic_policy_id
764
- # The identifier of an existing traffic policy that you attach to an
765
- # ingress endpoint resource.
766
- #
767
- # @option params [required, String] :type
768
- # The type of the ingress endpoint to create.
769
- #
770
770
  # @return [Types::CreateIngressPointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
771
771
  #
772
772
  # * {Types::CreateIngressPointResponse#ingress_point_id #ingress_point_id} => String
773
773
  #
774
+ #
775
+ # @example Example: Create Open IngressPoint
776
+ #
777
+ # resp = client.create_ingress_point({
778
+ # ingress_point_name: "ingressPointName",
779
+ # rule_set_id: "rs-12345",
780
+ # tags: [
781
+ # {
782
+ # key: "key",
783
+ # value: "value",
784
+ # },
785
+ # ],
786
+ # traffic_policy_id: "tp-12345",
787
+ # type: "OPEN",
788
+ # })
789
+ #
790
+ # resp.to_h outputs the following:
791
+ # {
792
+ # ingress_point_id: "inp-12345",
793
+ # }
794
+ #
795
+ # @example Example: Create Auth IngressPoint with Password
796
+ #
797
+ # resp = client.create_ingress_point({
798
+ # ingress_point_configuration: {
799
+ # smtp_password: "smtpPassword",
800
+ # },
801
+ # ingress_point_name: "ingressPointName",
802
+ # rule_set_id: "rs-12345",
803
+ # tags: [
804
+ # {
805
+ # key: "key",
806
+ # value: "value",
807
+ # },
808
+ # ],
809
+ # traffic_policy_id: "tp-12345",
810
+ # type: "AUTH",
811
+ # })
812
+ #
813
+ # resp.to_h outputs the following:
814
+ # {
815
+ # ingress_point_id: "inp-12345",
816
+ # }
817
+ #
818
+ # @example Example: Create Auth IngressPoint with SecretsManager Secret
819
+ #
820
+ # resp = client.create_ingress_point({
821
+ # ingress_point_configuration: {
822
+ # secret_arn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde",
823
+ # },
824
+ # ingress_point_name: "ingressPointName",
825
+ # rule_set_id: "rs-12345",
826
+ # tags: [
827
+ # {
828
+ # key: "key",
829
+ # value: "value",
830
+ # },
831
+ # ],
832
+ # traffic_policy_id: "tp-12345",
833
+ # type: "AUTH",
834
+ # })
835
+ #
836
+ # resp.to_h outputs the following:
837
+ # {
838
+ # ingress_point_id: "inp-12345",
839
+ # }
840
+ #
774
841
  # @example Request syntax with placeholder values
775
842
  #
776
843
  # resp = client.create_ingress_point({
777
844
  # client_token: "IdempotencyToken",
845
+ # ingress_point_name: "IngressPointName", # required
846
+ # type: "OPEN", # required, accepts OPEN, AUTH
847
+ # rule_set_id: "RuleSetId", # required
848
+ # traffic_policy_id: "TrafficPolicyId", # required
778
849
  # ingress_point_configuration: {
779
- # secret_arn: "SecretArn",
780
850
  # smtp_password: "SmtpPassword",
851
+ # secret_arn: "SecretArn",
781
852
  # },
782
- # ingress_point_name: "IngressPointName", # required
783
853
  # network_configuration: {
784
- # private_network_configuration: {
785
- # vpc_endpoint_id: "VpcEndpointId", # required
786
- # },
787
854
  # public_network_configuration: {
788
855
  # ip_type: "IPV4", # required, accepts IPV4, DUAL_STACK
789
856
  # },
857
+ # private_network_configuration: {
858
+ # vpc_endpoint_id: "VpcEndpointId", # required
859
+ # },
790
860
  # },
791
- # rule_set_id: "RuleSetId", # required
792
861
  # tags: [
793
862
  # {
794
863
  # key: "TagKey", # required
795
864
  # value: "TagValue", # required
796
865
  # },
797
866
  # ],
798
- # traffic_policy_id: "TrafficPolicyId", # required
799
- # type: "OPEN", # required, accepts OPEN, AUTH
800
867
  # })
801
868
  #
802
869
  # @example Response structure
@@ -815,10 +882,6 @@ module Aws::MailManager
815
882
  # Creates a relay resource which can be used in rules to relay incoming
816
883
  # emails to defined relay destinations.
817
884
  #
818
- # @option params [required, Types::RelayAuthentication] :authentication
819
- # Authentication for the relay destination server—specify the secretARN
820
- # where the SMTP credentials are stored.
821
- #
822
885
  # @option params [String] :client_token
823
886
  # A unique token that Amazon SES uses to recognize subsequent retries of
824
887
  # the same request.
@@ -835,6 +898,10 @@ module Aws::MailManager
835
898
  # @option params [required, Integer] :server_port
836
899
  # The destination relay server port.
837
900
  #
901
+ # @option params [required, Types::RelayAuthentication] :authentication
902
+ # Authentication for the relay destination server—specify the secretARN
903
+ # where the SMTP credentials are stored.
904
+ #
838
905
  # @option params [Array<Types::Tag>] :tags
839
906
  # The tags used to organize, track, or control access for the resource.
840
907
  # For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
@@ -847,15 +914,15 @@ module Aws::MailManager
847
914
  # @example Request syntax with placeholder values
848
915
  #
849
916
  # resp = client.create_relay({
850
- # authentication: { # required
851
- # no_authentication: {
852
- # },
853
- # secret_arn: "SecretArn",
854
- # },
855
917
  # client_token: "IdempotencyToken",
856
918
  # relay_name: "RelayName", # required
857
919
  # server_name: "RelayServerName", # required
858
920
  # server_port: 1, # required
921
+ # authentication: { # required
922
+ # secret_arn: "SecretArn",
923
+ # no_authentication: {
924
+ # },
925
+ # },
859
926
  # tags: [
860
927
  # {
861
928
  # key: "TagKey", # required
@@ -908,83 +975,34 @@ module Aws::MailManager
908
975
  # rule_set_name: "RuleSetName", # required
909
976
  # rules: [ # required
910
977
  # {
911
- # actions: [ # required
912
- # {
913
- # add_header: {
914
- # header_name: "HeaderName", # required
915
- # header_value: "HeaderValue", # required
916
- # },
917
- # archive: {
918
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
919
- # target_archive: "NameOrArn", # required
920
- # },
921
- # deliver_to_mailbox: {
922
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
923
- # mailbox_arn: "NameOrArn", # required
924
- # role_arn: "IamRoleArn", # required
925
- # },
926
- # deliver_to_q_business: {
927
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
928
- # application_id: "QBusinessApplicationId", # required
929
- # index_id: "QBusinessIndexId", # required
930
- # role_arn: "IamRoleArn", # required
931
- # },
932
- # drop: {
933
- # },
934
- # publish_to_sns: {
935
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
936
- # encoding: "UTF-8", # accepts UTF-8, BASE64
937
- # payload_type: "HEADERS", # accepts HEADERS, CONTENT
938
- # role_arn: "IamRoleArn", # required
939
- # topic_arn: "SnsTopicArn", # required
940
- # },
941
- # relay: {
942
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
943
- # mail_from: "REPLACE", # accepts REPLACE, PRESERVE
944
- # relay: "IdOrArn", # required
945
- # },
946
- # replace_recipient: {
947
- # replace_with: ["EmailAddress"],
948
- # },
949
- # send: {
950
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
951
- # role_arn: "IamRoleArn", # required
952
- # },
953
- # write_to_s3: {
954
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
955
- # role_arn: "IamRoleArn", # required
956
- # s3_bucket: "S3Bucket", # required
957
- # s3_prefix: "S3Prefix",
958
- # s3_sse_kms_key_id: "KmsKeyId",
959
- # },
960
- # },
961
- # ],
978
+ # name: "RuleName",
962
979
  # conditions: [
963
980
  # {
964
981
  # boolean_expression: {
965
982
  # evaluate: { # required
983
+ # attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
966
984
  # analysis: {
967
985
  # analyzer: "AnalyzerArn", # required
968
986
  # result_field: "ResultField", # required
969
987
  # },
970
- # attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
971
988
  # is_in_address_list: {
972
- # address_lists: ["AddressListArn"], # required
973
989
  # attribute: "RECIPIENT", # required, accepts RECIPIENT, MAIL_FROM, SENDER, FROM, TO, CC
990
+ # address_lists: ["AddressListArn"], # required
974
991
  # },
975
992
  # },
976
993
  # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
977
994
  # },
978
- # dmarc_expression: {
979
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
980
- # values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
981
- # },
982
- # ip_expression: {
995
+ # string_expression: {
983
996
  # evaluate: { # required
984
- # attribute: "SOURCE_IP", # accepts SOURCE_IP
997
+ # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
998
+ # mime_header_attribute: "MimeHeaderAttribute",
999
+ # analysis: {
1000
+ # analyzer: "AnalyzerArn", # required
1001
+ # result_field: "ResultField", # required
1002
+ # },
985
1003
  # },
986
- # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
987
- # values: ["RuleIpStringValue"], # required
1004
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
1005
+ # values: ["RuleStringValue"], # required
988
1006
  # },
989
1007
  # number_expression: {
990
1008
  # evaluate: { # required
@@ -993,58 +1011,57 @@ module Aws::MailManager
993
1011
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN_OR_EQUAL
994
1012
  # value: 1.0, # required
995
1013
  # },
996
- # string_expression: {
1014
+ # ip_expression: {
997
1015
  # evaluate: { # required
998
- # analysis: {
999
- # analyzer: "AnalyzerArn", # required
1000
- # result_field: "ResultField", # required
1001
- # },
1002
- # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
1003
- # mime_header_attribute: "MimeHeaderAttribute",
1016
+ # attribute: "SOURCE_IP", # accepts SOURCE_IP
1004
1017
  # },
1005
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
1006
- # values: ["RuleStringValue"], # required
1018
+ # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
1019
+ # values: ["RuleIpStringValue"], # required
1007
1020
  # },
1008
1021
  # verdict_expression: {
1009
1022
  # evaluate: { # required
1023
+ # attribute: "SPF", # accepts SPF, DKIM
1010
1024
  # analysis: {
1011
1025
  # analyzer: "AnalyzerArn", # required
1012
1026
  # result_field: "ResultField", # required
1013
1027
  # },
1014
- # attribute: "SPF", # accepts SPF, DKIM
1015
1028
  # },
1016
1029
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
1017
1030
  # values: ["PASS"], # required, accepts PASS, FAIL, GRAY, PROCESSING_FAILED
1018
1031
  # },
1032
+ # dmarc_expression: {
1033
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
1034
+ # values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
1035
+ # },
1019
1036
  # },
1020
1037
  # ],
1021
- # name: "RuleName",
1022
1038
  # unless: [
1023
1039
  # {
1024
1040
  # boolean_expression: {
1025
1041
  # evaluate: { # required
1042
+ # attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
1026
1043
  # analysis: {
1027
1044
  # analyzer: "AnalyzerArn", # required
1028
1045
  # result_field: "ResultField", # required
1029
1046
  # },
1030
- # attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
1031
1047
  # is_in_address_list: {
1032
- # address_lists: ["AddressListArn"], # required
1033
1048
  # attribute: "RECIPIENT", # required, accepts RECIPIENT, MAIL_FROM, SENDER, FROM, TO, CC
1049
+ # address_lists: ["AddressListArn"], # required
1034
1050
  # },
1035
1051
  # },
1036
1052
  # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
1037
1053
  # },
1038
- # dmarc_expression: {
1039
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
1040
- # values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
1041
- # },
1042
- # ip_expression: {
1054
+ # string_expression: {
1043
1055
  # evaluate: { # required
1044
- # attribute: "SOURCE_IP", # accepts SOURCE_IP
1056
+ # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
1057
+ # mime_header_attribute: "MimeHeaderAttribute",
1058
+ # analysis: {
1059
+ # analyzer: "AnalyzerArn", # required
1060
+ # result_field: "ResultField", # required
1061
+ # },
1045
1062
  # },
1046
- # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
1047
- # values: ["RuleIpStringValue"], # required
1063
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
1064
+ # values: ["RuleStringValue"], # required
1048
1065
  # },
1049
1066
  # number_expression: {
1050
1067
  # evaluate: { # required
@@ -1053,29 +1070,79 @@ module Aws::MailManager
1053
1070
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN_OR_EQUAL
1054
1071
  # value: 1.0, # required
1055
1072
  # },
1056
- # string_expression: {
1073
+ # ip_expression: {
1057
1074
  # evaluate: { # required
1058
- # analysis: {
1059
- # analyzer: "AnalyzerArn", # required
1060
- # result_field: "ResultField", # required
1061
- # },
1062
- # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
1063
- # mime_header_attribute: "MimeHeaderAttribute",
1075
+ # attribute: "SOURCE_IP", # accepts SOURCE_IP
1064
1076
  # },
1065
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
1066
- # values: ["RuleStringValue"], # required
1077
+ # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
1078
+ # values: ["RuleIpStringValue"], # required
1067
1079
  # },
1068
1080
  # verdict_expression: {
1069
1081
  # evaluate: { # required
1082
+ # attribute: "SPF", # accepts SPF, DKIM
1070
1083
  # analysis: {
1071
1084
  # analyzer: "AnalyzerArn", # required
1072
1085
  # result_field: "ResultField", # required
1073
1086
  # },
1074
- # attribute: "SPF", # accepts SPF, DKIM
1075
1087
  # },
1076
1088
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
1077
1089
  # values: ["PASS"], # required, accepts PASS, FAIL, GRAY, PROCESSING_FAILED
1078
1090
  # },
1091
+ # dmarc_expression: {
1092
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
1093
+ # values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
1094
+ # },
1095
+ # },
1096
+ # ],
1097
+ # actions: [ # required
1098
+ # {
1099
+ # drop: {
1100
+ # },
1101
+ # relay: {
1102
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
1103
+ # relay: "IdOrArn", # required
1104
+ # mail_from: "REPLACE", # accepts REPLACE, PRESERVE
1105
+ # },
1106
+ # archive: {
1107
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
1108
+ # target_archive: "NameOrArn", # required
1109
+ # },
1110
+ # write_to_s3: {
1111
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
1112
+ # role_arn: "IamRoleArn", # required
1113
+ # s3_bucket: "S3Bucket", # required
1114
+ # s3_prefix: "S3Prefix",
1115
+ # s3_sse_kms_key_id: "KmsKeyId",
1116
+ # },
1117
+ # send: {
1118
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
1119
+ # role_arn: "IamRoleArn", # required
1120
+ # },
1121
+ # add_header: {
1122
+ # header_name: "HeaderName", # required
1123
+ # header_value: "HeaderValue", # required
1124
+ # },
1125
+ # replace_recipient: {
1126
+ # replace_with: ["EmailAddress"],
1127
+ # },
1128
+ # deliver_to_mailbox: {
1129
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
1130
+ # mailbox_arn: "NameOrArn", # required
1131
+ # role_arn: "IamRoleArn", # required
1132
+ # },
1133
+ # deliver_to_q_business: {
1134
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
1135
+ # application_id: "QBusinessApplicationId", # required
1136
+ # index_id: "QBusinessIndexId", # required
1137
+ # role_arn: "IamRoleArn", # required
1138
+ # },
1139
+ # publish_to_sns: {
1140
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
1141
+ # topic_arn: "SnsTopicArn", # required
1142
+ # role_arn: "IamRoleArn", # required
1143
+ # encoding: "UTF-8", # accepts UTF-8, BASE64
1144
+ # payload_type: "HEADERS", # accepts HEADERS, CONTENT
1145
+ # },
1079
1146
  # },
1080
1147
  # ],
1081
1148
  # },
@@ -1110,6 +1177,12 @@ module Aws::MailManager
1110
1177
  # **A suitable default value is auto-generated.** You should normally
1111
1178
  # not need to pass this option.**
1112
1179
  #
1180
+ # @option params [required, String] :traffic_policy_name
1181
+ # A user-friendly name for the traffic policy resource.
1182
+ #
1183
+ # @option params [required, Array<Types::PolicyStatement>] :policy_statements
1184
+ # Conditional statements for filtering email traffic.
1185
+ #
1113
1186
  # @option params [required, String] :default_action
1114
1187
  # Default action instructs the traffic policy to either Allow or Deny
1115
1188
  # (block) messages that fall outside of (or not addressed by) the
@@ -1119,44 +1192,65 @@ module Aws::MailManager
1119
1192
  # The maximum message size in bytes of email which is allowed in by this
1120
1193
  # traffic policy—anything larger will be blocked.
1121
1194
  #
1122
- # @option params [required, Array<Types::PolicyStatement>] :policy_statements
1123
- # Conditional statements for filtering email traffic.
1124
- #
1125
1195
  # @option params [Array<Types::Tag>] :tags
1126
1196
  # The tags used to organize, track, or control access for the resource.
1127
1197
  # For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
1128
1198
  # }.
1129
1199
  #
1130
- # @option params [required, String] :traffic_policy_name
1131
- # A user-friendly name for the traffic policy resource.
1132
- #
1133
1200
  # @return [Types::CreateTrafficPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1134
1201
  #
1135
1202
  # * {Types::CreateTrafficPolicyResponse#traffic_policy_id #traffic_policy_id} => String
1136
1203
  #
1204
+ #
1205
+ # @example Example: Create TrafficPolicy
1206
+ #
1207
+ # resp = client.create_traffic_policy({
1208
+ # default_action: "DENY",
1209
+ # policy_statements: [
1210
+ # {
1211
+ # action: "ALLOW",
1212
+ # conditions: [
1213
+ # {
1214
+ # ip_expression: {
1215
+ # evaluate: {
1216
+ # attribute: "SENDER_IP",
1217
+ # },
1218
+ # operator: "CIDR_MATCHES",
1219
+ # values: [
1220
+ # "0.0.0.0/12",
1221
+ # ],
1222
+ # },
1223
+ # },
1224
+ # ],
1225
+ # },
1226
+ # ],
1227
+ # traffic_policy_name: "trafficPolicyName",
1228
+ # })
1229
+ #
1230
+ # resp.to_h outputs the following:
1231
+ # {
1232
+ # traffic_policy_id: "tp-13245",
1233
+ # }
1234
+ #
1137
1235
  # @example Request syntax with placeholder values
1138
1236
  #
1139
1237
  # resp = client.create_traffic_policy({
1140
1238
  # client_token: "IdempotencyToken",
1141
- # default_action: "ALLOW", # required, accepts ALLOW, DENY
1142
- # max_message_size_bytes: 1,
1239
+ # traffic_policy_name: "TrafficPolicyName", # required
1143
1240
  # policy_statements: [ # required
1144
1241
  # {
1145
- # action: "ALLOW", # required, accepts ALLOW, DENY
1146
1242
  # conditions: [ # required
1147
1243
  # {
1148
- # boolean_expression: {
1244
+ # string_expression: {
1149
1245
  # evaluate: { # required
1246
+ # attribute: "RECIPIENT", # accepts RECIPIENT
1150
1247
  # analysis: {
1151
1248
  # analyzer: "AnalyzerArn", # required
1152
1249
  # result_field: "ResultField", # required
1153
1250
  # },
1154
- # is_in_address_list: {
1155
- # address_lists: ["AddressListArn"], # required
1156
- # attribute: "RECIPIENT", # required, accepts RECIPIENT
1157
- # },
1158
1251
  # },
1159
- # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
1252
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
1253
+ # values: ["String"], # required
1160
1254
  # },
1161
1255
  # ip_expression: {
1162
1256
  # evaluate: { # required
@@ -1172,17 +1266,6 @@ module Aws::MailManager
1172
1266
  # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
1173
1267
  # values: ["Ipv6Cidr"], # required
1174
1268
  # },
1175
- # string_expression: {
1176
- # evaluate: { # required
1177
- # analysis: {
1178
- # analyzer: "AnalyzerArn", # required
1179
- # result_field: "ResultField", # required
1180
- # },
1181
- # attribute: "RECIPIENT", # accepts RECIPIENT
1182
- # },
1183
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
1184
- # values: ["String"], # required
1185
- # },
1186
1269
  # tls_expression: {
1187
1270
  # evaluate: { # required
1188
1271
  # attribute: "TLS_PROTOCOL", # accepts TLS_PROTOCOL
@@ -1190,17 +1273,32 @@ module Aws::MailManager
1190
1273
  # operator: "MINIMUM_TLS_VERSION", # required, accepts MINIMUM_TLS_VERSION, IS
1191
1274
  # value: "TLS1_2", # required, accepts TLS1_2, TLS1_3
1192
1275
  # },
1276
+ # boolean_expression: {
1277
+ # evaluate: { # required
1278
+ # analysis: {
1279
+ # analyzer: "AnalyzerArn", # required
1280
+ # result_field: "ResultField", # required
1281
+ # },
1282
+ # is_in_address_list: {
1283
+ # attribute: "RECIPIENT", # required, accepts RECIPIENT
1284
+ # address_lists: ["AddressListArn"], # required
1285
+ # },
1286
+ # },
1287
+ # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
1288
+ # },
1193
1289
  # },
1194
1290
  # ],
1291
+ # action: "ALLOW", # required, accepts ALLOW, DENY
1195
1292
  # },
1196
1293
  # ],
1294
+ # default_action: "ALLOW", # required, accepts ALLOW, DENY
1295
+ # max_message_size_bytes: 1,
1197
1296
  # tags: [
1198
1297
  # {
1199
1298
  # key: "TagKey", # required
1200
1299
  # value: "TagValue", # required
1201
1300
  # },
1202
1301
  # ],
1203
- # traffic_policy_name: "TrafficPolicyName", # required
1204
1302
  # })
1205
1303
  #
1206
1304
  # @example Response structure
@@ -1317,6 +1415,17 @@ module Aws::MailManager
1317
1415
  #
1318
1416
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1319
1417
  #
1418
+ #
1419
+ # @example Example: Delete IngressPoint
1420
+ #
1421
+ # resp = client.delete_ingress_point({
1422
+ # ingress_point_id: "inp-12345",
1423
+ # })
1424
+ #
1425
+ # resp.to_h outputs the following:
1426
+ # {
1427
+ # }
1428
+ #
1320
1429
  # @example Request syntax with placeholder values
1321
1430
  #
1322
1431
  # resp = client.delete_ingress_point({
@@ -1383,6 +1492,17 @@ module Aws::MailManager
1383
1492
  #
1384
1493
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1385
1494
  #
1495
+ #
1496
+ # @example Example: Delete TrafficPolicy
1497
+ #
1498
+ # resp = client.delete_traffic_policy({
1499
+ # traffic_policy_id: "tp-12345",
1500
+ # })
1501
+ #
1502
+ # resp.to_h outputs the following:
1503
+ # {
1504
+ # }
1505
+ #
1386
1506
  # @example Request syntax with placeholder values
1387
1507
  #
1388
1508
  # resp = client.delete_traffic_policy({
@@ -1400,19 +1520,19 @@ module Aws::MailManager
1400
1520
 
1401
1521
  # Removes a member from an address list.
1402
1522
  #
1403
- # @option params [required, String] :address
1404
- # The address to be removed from the address list.
1405
- #
1406
1523
  # @option params [required, String] :address_list_id
1407
1524
  # The unique identifier of the address list to remove the address from.
1408
1525
  #
1526
+ # @option params [required, String] :address
1527
+ # The address to be removed from the address list.
1528
+ #
1409
1529
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1410
1530
  #
1411
1531
  # @example Request syntax with placeholder values
1412
1532
  #
1413
1533
  # resp = client.deregister_member_from_address_list({
1414
- # address: "Address", # required
1415
1534
  # address_list_id: "AddressListId", # required
1535
+ # address: "Address", # required
1416
1536
  # })
1417
1537
  #
1418
1538
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/DeregisterMemberFromAddressList AWS API Documentation
@@ -1431,9 +1551,9 @@ module Aws::MailManager
1431
1551
  #
1432
1552
  # @return [Types::GetAddonInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1433
1553
  #
1434
- # * {Types::GetAddonInstanceResponse#addon_instance_arn #addon_instance_arn} => String
1435
- # * {Types::GetAddonInstanceResponse#addon_name #addon_name} => String
1436
1554
  # * {Types::GetAddonInstanceResponse#addon_subscription_id #addon_subscription_id} => String
1555
+ # * {Types::GetAddonInstanceResponse#addon_name #addon_name} => String
1556
+ # * {Types::GetAddonInstanceResponse#addon_instance_arn #addon_instance_arn} => String
1437
1557
  # * {Types::GetAddonInstanceResponse#created_timestamp #created_timestamp} => Time
1438
1558
  #
1439
1559
  # @example Request syntax with placeholder values
@@ -1444,9 +1564,9 @@ module Aws::MailManager
1444
1564
  #
1445
1565
  # @example Response structure
1446
1566
  #
1447
- # resp.addon_instance_arn #=> String
1448
- # resp.addon_name #=> String
1449
1567
  # resp.addon_subscription_id #=> String
1568
+ # resp.addon_name #=> String
1569
+ # resp.addon_instance_arn #=> String
1450
1570
  # resp.created_timestamp #=> Time
1451
1571
  #
1452
1572
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetAddonInstance AWS API Documentation
@@ -1497,8 +1617,8 @@ module Aws::MailManager
1497
1617
  #
1498
1618
  # @return [Types::GetAddressListResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1499
1619
  #
1500
- # * {Types::GetAddressListResponse#address_list_arn #address_list_arn} => String
1501
1620
  # * {Types::GetAddressListResponse#address_list_id #address_list_id} => String
1621
+ # * {Types::GetAddressListResponse#address_list_arn #address_list_arn} => String
1502
1622
  # * {Types::GetAddressListResponse#address_list_name #address_list_name} => String
1503
1623
  # * {Types::GetAddressListResponse#created_timestamp #created_timestamp} => Time
1504
1624
  # * {Types::GetAddressListResponse#last_updated_timestamp #last_updated_timestamp} => Time
@@ -1511,8 +1631,8 @@ module Aws::MailManager
1511
1631
  #
1512
1632
  # @example Response structure
1513
1633
  #
1514
- # resp.address_list_arn #=> String
1515
1634
  # resp.address_list_id #=> String
1635
+ # resp.address_list_arn #=> String
1516
1636
  # resp.address_list_name #=> String
1517
1637
  # resp.created_timestamp #=> Time
1518
1638
  # resp.last_updated_timestamp #=> Time
@@ -1533,18 +1653,18 @@ module Aws::MailManager
1533
1653
  #
1534
1654
  # @return [Types::GetAddressListImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1535
1655
  #
1536
- # * {Types::GetAddressListImportJobResponse#address_list_id #address_list_id} => String
1537
- # * {Types::GetAddressListImportJobResponse#completed_timestamp #completed_timestamp} => Time
1538
- # * {Types::GetAddressListImportJobResponse#created_timestamp #created_timestamp} => Time
1539
- # * {Types::GetAddressListImportJobResponse#error #error} => String
1540
- # * {Types::GetAddressListImportJobResponse#failed_items_count #failed_items_count} => Integer
1541
- # * {Types::GetAddressListImportJobResponse#import_data_format #import_data_format} => Types::ImportDataFormat
1542
- # * {Types::GetAddressListImportJobResponse#imported_items_count #imported_items_count} => Integer
1543
1656
  # * {Types::GetAddressListImportJobResponse#job_id #job_id} => String
1544
1657
  # * {Types::GetAddressListImportJobResponse#name #name} => String
1658
+ # * {Types::GetAddressListImportJobResponse#status #status} => String
1545
1659
  # * {Types::GetAddressListImportJobResponse#pre_signed_url #pre_signed_url} => String
1660
+ # * {Types::GetAddressListImportJobResponse#imported_items_count #imported_items_count} => Integer
1661
+ # * {Types::GetAddressListImportJobResponse#failed_items_count #failed_items_count} => Integer
1662
+ # * {Types::GetAddressListImportJobResponse#import_data_format #import_data_format} => Types::ImportDataFormat
1663
+ # * {Types::GetAddressListImportJobResponse#address_list_id #address_list_id} => String
1664
+ # * {Types::GetAddressListImportJobResponse#created_timestamp #created_timestamp} => Time
1546
1665
  # * {Types::GetAddressListImportJobResponse#start_timestamp #start_timestamp} => Time
1547
- # * {Types::GetAddressListImportJobResponse#status #status} => String
1666
+ # * {Types::GetAddressListImportJobResponse#completed_timestamp #completed_timestamp} => Time
1667
+ # * {Types::GetAddressListImportJobResponse#error #error} => String
1548
1668
  #
1549
1669
  # @example Request syntax with placeholder values
1550
1670
  #
@@ -1554,18 +1674,18 @@ module Aws::MailManager
1554
1674
  #
1555
1675
  # @example Response structure
1556
1676
  #
1557
- # resp.address_list_id #=> String
1558
- # resp.completed_timestamp #=> Time
1559
- # resp.created_timestamp #=> Time
1560
- # resp.error #=> String
1561
- # resp.failed_items_count #=> Integer
1562
- # resp.import_data_format.import_data_type #=> String, one of "CSV", "JSON"
1563
- # resp.imported_items_count #=> Integer
1564
1677
  # resp.job_id #=> String
1565
1678
  # resp.name #=> String
1679
+ # resp.status #=> String, one of "CREATED", "PROCESSING", "COMPLETED", "FAILED", "STOPPED"
1566
1680
  # resp.pre_signed_url #=> String
1681
+ # resp.imported_items_count #=> Integer
1682
+ # resp.failed_items_count #=> Integer
1683
+ # resp.import_data_format.import_data_type #=> String, one of "CSV", "JSON"
1684
+ # resp.address_list_id #=> String
1685
+ # resp.created_timestamp #=> Time
1567
1686
  # resp.start_timestamp #=> Time
1568
- # resp.status #=> String, one of "CREATED", "PROCESSING", "COMPLETED", "FAILED", "STOPPED"
1687
+ # resp.completed_timestamp #=> Time
1688
+ # resp.error #=> String
1569
1689
  #
1570
1690
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetAddressListImportJob AWS API Documentation
1571
1691
  #
@@ -1584,14 +1704,14 @@ module Aws::MailManager
1584
1704
  #
1585
1705
  # @return [Types::GetArchiveResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1586
1706
  #
1587
- # * {Types::GetArchiveResponse#archive_arn #archive_arn} => String
1588
1707
  # * {Types::GetArchiveResponse#archive_id #archive_id} => String
1589
1708
  # * {Types::GetArchiveResponse#archive_name #archive_name} => String
1709
+ # * {Types::GetArchiveResponse#archive_arn #archive_arn} => String
1590
1710
  # * {Types::GetArchiveResponse#archive_state #archive_state} => String
1711
+ # * {Types::GetArchiveResponse#retention #retention} => Types::ArchiveRetention
1591
1712
  # * {Types::GetArchiveResponse#created_timestamp #created_timestamp} => Time
1592
- # * {Types::GetArchiveResponse#kms_key_arn #kms_key_arn} => String
1593
1713
  # * {Types::GetArchiveResponse#last_updated_timestamp #last_updated_timestamp} => Time
1594
- # * {Types::GetArchiveResponse#retention #retention} => Types::ArchiveRetention
1714
+ # * {Types::GetArchiveResponse#kms_key_arn #kms_key_arn} => String
1595
1715
  #
1596
1716
  # @example Request syntax with placeholder values
1597
1717
  #
@@ -1601,14 +1721,14 @@ module Aws::MailManager
1601
1721
  #
1602
1722
  # @example Response structure
1603
1723
  #
1604
- # resp.archive_arn #=> String
1605
1724
  # resp.archive_id #=> String
1606
1725
  # resp.archive_name #=> String
1726
+ # resp.archive_arn #=> String
1607
1727
  # resp.archive_state #=> String, one of "ACTIVE", "PENDING_DELETION"
1728
+ # resp.retention.retention_period #=> String, one of "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"
1608
1729
  # resp.created_timestamp #=> Time
1609
- # resp.kms_key_arn #=> String
1610
1730
  # resp.last_updated_timestamp #=> Time
1611
- # resp.retention.retention_period #=> String, one of "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"
1731
+ # resp.kms_key_arn #=> String
1612
1732
  #
1613
1733
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchive AWS API Documentation
1614
1734
  #
@@ -1628,12 +1748,12 @@ module Aws::MailManager
1628
1748
  # @return [Types::GetArchiveExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1629
1749
  #
1630
1750
  # * {Types::GetArchiveExportResponse#archive_id #archive_id} => String
1631
- # * {Types::GetArchiveExportResponse#export_destination_configuration #export_destination_configuration} => Types::ExportDestinationConfiguration
1632
1751
  # * {Types::GetArchiveExportResponse#filters #filters} => Types::ArchiveFilters
1633
1752
  # * {Types::GetArchiveExportResponse#from_timestamp #from_timestamp} => Time
1753
+ # * {Types::GetArchiveExportResponse#to_timestamp #to_timestamp} => Time
1634
1754
  # * {Types::GetArchiveExportResponse#max_results #max_results} => Integer
1755
+ # * {Types::GetArchiveExportResponse#export_destination_configuration #export_destination_configuration} => Types::ExportDestinationConfiguration
1635
1756
  # * {Types::GetArchiveExportResponse#status #status} => Types::ExportStatus
1636
- # * {Types::GetArchiveExportResponse#to_timestamp #to_timestamp} => Time
1637
1757
  #
1638
1758
  # @example Request syntax with placeholder values
1639
1759
  #
@@ -1644,28 +1764,28 @@ module Aws::MailManager
1644
1764
  # @example Response structure
1645
1765
  #
1646
1766
  # resp.archive_id #=> String
1647
- # resp.export_destination_configuration.s3.s3_location #=> String
1648
1767
  # resp.filters.include #=> Array
1649
- # resp.filters.include[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1650
- # resp.filters.include[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1651
1768
  # resp.filters.include[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
1652
1769
  # resp.filters.include[0].string_expression.operator #=> String, one of "CONTAINS"
1653
1770
  # resp.filters.include[0].string_expression.values #=> Array
1654
1771
  # resp.filters.include[0].string_expression.values[0] #=> String
1772
+ # resp.filters.include[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1773
+ # resp.filters.include[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1655
1774
  # resp.filters.unless #=> Array
1656
- # resp.filters.unless[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1657
- # resp.filters.unless[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1658
1775
  # resp.filters.unless[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
1659
1776
  # resp.filters.unless[0].string_expression.operator #=> String, one of "CONTAINS"
1660
1777
  # resp.filters.unless[0].string_expression.values #=> Array
1661
1778
  # resp.filters.unless[0].string_expression.values[0] #=> String
1779
+ # resp.filters.unless[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1780
+ # resp.filters.unless[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1662
1781
  # resp.from_timestamp #=> Time
1782
+ # resp.to_timestamp #=> Time
1663
1783
  # resp.max_results #=> Integer
1784
+ # resp.export_destination_configuration.s3.s3_location #=> String
1785
+ # resp.status.submission_timestamp #=> Time
1664
1786
  # resp.status.completion_timestamp #=> Time
1665
- # resp.status.error_message #=> String
1666
1787
  # resp.status.state #=> String, one of "QUEUED", "PREPROCESSING", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED"
1667
- # resp.status.submission_timestamp #=> Time
1668
- # resp.to_timestamp #=> Time
1788
+ # resp.status.error_message #=> String
1669
1789
  #
1670
1790
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveExport AWS API Documentation
1671
1791
  #
@@ -1684,9 +1804,9 @@ module Aws::MailManager
1684
1804
  #
1685
1805
  # @return [Types::GetArchiveMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1686
1806
  #
1687
- # * {Types::GetArchiveMessageResponse#envelope #envelope} => Types::Envelope
1688
1807
  # * {Types::GetArchiveMessageResponse#message_download_link #message_download_link} => String
1689
1808
  # * {Types::GetArchiveMessageResponse#metadata #metadata} => Types::Metadata
1809
+ # * {Types::GetArchiveMessageResponse#envelope #envelope} => Types::Envelope
1690
1810
  #
1691
1811
  # @example Request syntax with placeholder values
1692
1812
  #
@@ -1696,27 +1816,27 @@ module Aws::MailManager
1696
1816
  #
1697
1817
  # @example Response structure
1698
1818
  #
1699
- # resp.envelope.from #=> String
1700
- # resp.envelope.helo #=> String
1701
- # resp.envelope.to #=> Array
1702
- # resp.envelope.to[0] #=> String
1703
1819
  # resp.message_download_link #=> String
1704
- # resp.metadata.configuration_set #=> String
1820
+ # resp.metadata.timestamp #=> Time
1705
1821
  # resp.metadata.ingress_point_id #=> String
1822
+ # resp.metadata.traffic_policy_id #=> String
1706
1823
  # resp.metadata.rule_set_id #=> String
1707
1824
  # resp.metadata.sender_hostname #=> String
1708
1825
  # resp.metadata.sender_ip_address #=> String
1826
+ # resp.metadata.tls_cipher_suite #=> String
1827
+ # resp.metadata.tls_protocol #=> String
1709
1828
  # resp.metadata.sending_method #=> String
1829
+ # resp.metadata.source_identity #=> String
1710
1830
  # resp.metadata.sending_pool #=> String
1831
+ # resp.metadata.configuration_set #=> String
1711
1832
  # resp.metadata.source_arn #=> String
1712
- # resp.metadata.source_identity #=> String
1713
- # resp.metadata.timestamp #=> Time
1714
- # resp.metadata.tls_cipher_suite #=> String
1715
- # resp.metadata.tls_protocol #=> String
1716
- # resp.metadata.traffic_policy_id #=> String
1717
- #
1718
- # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveMessage AWS API Documentation
1719
- #
1833
+ # resp.envelope.helo #=> String
1834
+ # resp.envelope.from #=> String
1835
+ # resp.envelope.to #=> Array
1836
+ # resp.envelope.to[0] #=> String
1837
+ #
1838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveMessage AWS API Documentation
1839
+ #
1720
1840
  # @overload get_archive_message(params = {})
1721
1841
  # @param [Hash] params ({})
1722
1842
  def get_archive_message(params = {}, options = {})
@@ -1742,9 +1862,9 @@ module Aws::MailManager
1742
1862
  #
1743
1863
  # @example Response structure
1744
1864
  #
1865
+ # resp.body.text #=> String
1745
1866
  # resp.body.html #=> String
1746
1867
  # resp.body.message_malformed #=> Boolean
1747
- # resp.body.text #=> String
1748
1868
  #
1749
1869
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveMessageContent AWS API Documentation
1750
1870
  #
@@ -1766,9 +1886,9 @@ module Aws::MailManager
1766
1886
  # * {Types::GetArchiveSearchResponse#archive_id #archive_id} => String
1767
1887
  # * {Types::GetArchiveSearchResponse#filters #filters} => Types::ArchiveFilters
1768
1888
  # * {Types::GetArchiveSearchResponse#from_timestamp #from_timestamp} => Time
1889
+ # * {Types::GetArchiveSearchResponse#to_timestamp #to_timestamp} => Time
1769
1890
  # * {Types::GetArchiveSearchResponse#max_results #max_results} => Integer
1770
1891
  # * {Types::GetArchiveSearchResponse#status #status} => Types::SearchStatus
1771
- # * {Types::GetArchiveSearchResponse#to_timestamp #to_timestamp} => Time
1772
1892
  #
1773
1893
  # @example Request syntax with placeholder values
1774
1894
  #
@@ -1780,26 +1900,26 @@ module Aws::MailManager
1780
1900
  #
1781
1901
  # resp.archive_id #=> String
1782
1902
  # resp.filters.include #=> Array
1783
- # resp.filters.include[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1784
- # resp.filters.include[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1785
1903
  # resp.filters.include[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
1786
1904
  # resp.filters.include[0].string_expression.operator #=> String, one of "CONTAINS"
1787
1905
  # resp.filters.include[0].string_expression.values #=> Array
1788
1906
  # resp.filters.include[0].string_expression.values[0] #=> String
1907
+ # resp.filters.include[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1908
+ # resp.filters.include[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1789
1909
  # resp.filters.unless #=> Array
1790
- # resp.filters.unless[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1791
- # resp.filters.unless[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1792
1910
  # resp.filters.unless[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
1793
1911
  # resp.filters.unless[0].string_expression.operator #=> String, one of "CONTAINS"
1794
1912
  # resp.filters.unless[0].string_expression.values #=> Array
1795
1913
  # resp.filters.unless[0].string_expression.values[0] #=> String
1914
+ # resp.filters.unless[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
1915
+ # resp.filters.unless[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
1796
1916
  # resp.from_timestamp #=> Time
1917
+ # resp.to_timestamp #=> Time
1797
1918
  # resp.max_results #=> Integer
1919
+ # resp.status.submission_timestamp #=> Time
1798
1920
  # resp.status.completion_timestamp #=> Time
1799
- # resp.status.error_message #=> String
1800
1921
  # resp.status.state #=> String, one of "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLED"
1801
- # resp.status.submission_timestamp #=> Time
1802
- # resp.to_timestamp #=> Time
1922
+ # resp.status.error_message #=> String
1803
1923
  #
1804
1924
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveSearch AWS API Documentation
1805
1925
  #
@@ -1829,28 +1949,28 @@ module Aws::MailManager
1829
1949
  #
1830
1950
  # resp.rows #=> Array
1831
1951
  # resp.rows[0].archived_message_id #=> String
1832
- # resp.rows[0].cc #=> String
1952
+ # resp.rows[0].received_timestamp #=> Time
1833
1953
  # resp.rows[0].date #=> String
1834
- # resp.rows[0].envelope.from #=> String
1835
- # resp.rows[0].envelope.helo #=> String
1836
- # resp.rows[0].envelope.to #=> Array
1837
- # resp.rows[0].envelope.to[0] #=> String
1954
+ # resp.rows[0].to #=> String
1838
1955
  # resp.rows[0].from #=> String
1839
- # resp.rows[0].has_attachments #=> Boolean
1840
- # resp.rows[0].in_reply_to #=> String
1841
- # resp.rows[0].ingress_point_id #=> String
1956
+ # resp.rows[0].cc #=> String
1957
+ # resp.rows[0].subject #=> String
1842
1958
  # resp.rows[0].message_id #=> String
1959
+ # resp.rows[0].has_attachments #=> Boolean
1843
1960
  # resp.rows[0].received_headers #=> Array
1844
1961
  # resp.rows[0].received_headers[0] #=> String
1845
- # resp.rows[0].received_timestamp #=> Time
1846
- # resp.rows[0].sender_hostname #=> String
1847
- # resp.rows[0].sender_ip_address #=> String
1848
- # resp.rows[0].source_arn #=> String
1849
- # resp.rows[0].subject #=> String
1850
- # resp.rows[0].to #=> String
1962
+ # resp.rows[0].in_reply_to #=> String
1851
1963
  # resp.rows[0].x_mailer #=> String
1852
1964
  # resp.rows[0].x_original_mailer #=> String
1853
1965
  # resp.rows[0].x_priority #=> String
1966
+ # resp.rows[0].ingress_point_id #=> String
1967
+ # resp.rows[0].sender_hostname #=> String
1968
+ # resp.rows[0].sender_ip_address #=> String
1969
+ # resp.rows[0].envelope.helo #=> String
1970
+ # resp.rows[0].envelope.from #=> String
1971
+ # resp.rows[0].envelope.to #=> Array
1972
+ # resp.rows[0].envelope.to[0] #=> String
1973
+ # resp.rows[0].source_arn #=> String
1854
1974
  #
1855
1975
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveSearchResults AWS API Documentation
1856
1976
  #
@@ -1868,18 +1988,54 @@ module Aws::MailManager
1868
1988
  #
1869
1989
  # @return [Types::GetIngressPointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1870
1990
  #
1871
- # * {Types::GetIngressPointResponse#a_record #a_record} => String
1872
- # * {Types::GetIngressPointResponse#created_timestamp #created_timestamp} => Time
1873
- # * {Types::GetIngressPointResponse#ingress_point_arn #ingress_point_arn} => String
1874
- # * {Types::GetIngressPointResponse#ingress_point_auth_configuration #ingress_point_auth_configuration} => Types::IngressPointAuthConfiguration
1875
1991
  # * {Types::GetIngressPointResponse#ingress_point_id #ingress_point_id} => String
1876
1992
  # * {Types::GetIngressPointResponse#ingress_point_name #ingress_point_name} => String
1877
- # * {Types::GetIngressPointResponse#last_updated_timestamp #last_updated_timestamp} => Time
1878
- # * {Types::GetIngressPointResponse#network_configuration #network_configuration} => Types::NetworkConfiguration
1879
- # * {Types::GetIngressPointResponse#rule_set_id #rule_set_id} => String
1993
+ # * {Types::GetIngressPointResponse#ingress_point_arn #ingress_point_arn} => String
1880
1994
  # * {Types::GetIngressPointResponse#status #status} => String
1881
- # * {Types::GetIngressPointResponse#traffic_policy_id #traffic_policy_id} => String
1882
1995
  # * {Types::GetIngressPointResponse#type #type} => String
1996
+ # * {Types::GetIngressPointResponse#a_record #a_record} => String
1997
+ # * {Types::GetIngressPointResponse#rule_set_id #rule_set_id} => String
1998
+ # * {Types::GetIngressPointResponse#traffic_policy_id #traffic_policy_id} => String
1999
+ # * {Types::GetIngressPointResponse#ingress_point_auth_configuration #ingress_point_auth_configuration} => Types::IngressPointAuthConfiguration
2000
+ # * {Types::GetIngressPointResponse#network_configuration #network_configuration} => Types::NetworkConfiguration
2001
+ # * {Types::GetIngressPointResponse#created_timestamp #created_timestamp} => Time
2002
+ # * {Types::GetIngressPointResponse#last_updated_timestamp #last_updated_timestamp} => Time
2003
+ #
2004
+ #
2005
+ # @example Example: Get Open IngressPoint
2006
+ #
2007
+ # resp = client.get_ingress_point({
2008
+ # ingress_point_id: "inp-12345",
2009
+ # })
2010
+ #
2011
+ # resp.to_h outputs the following:
2012
+ # {
2013
+ # a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
2014
+ # ingress_point_arn: "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
2015
+ # ingress_point_id: "inp-12345",
2016
+ # ingress_point_name: "ingressPointName",
2017
+ # status: "ACTIVE",
2018
+ # type: "OPEN",
2019
+ # }
2020
+ #
2021
+ # @example Example: Get Auth IngressPoint
2022
+ #
2023
+ # resp = client.get_ingress_point({
2024
+ # ingress_point_id: "inp-12345",
2025
+ # })
2026
+ #
2027
+ # resp.to_h outputs the following:
2028
+ # {
2029
+ # a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
2030
+ # ingress_point_arn: "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
2031
+ # ingress_point_auth_configuration: {
2032
+ # secret_arn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde",
2033
+ # },
2034
+ # ingress_point_id: "inp-12345",
2035
+ # ingress_point_name: "ingressPointName",
2036
+ # status: "ACTIVE",
2037
+ # type: "AUTH",
2038
+ # }
1883
2039
  #
1884
2040
  # @example Request syntax with placeholder values
1885
2041
  #
@@ -1889,22 +2045,22 @@ module Aws::MailManager
1889
2045
  #
1890
2046
  # @example Response structure
1891
2047
  #
1892
- # resp.a_record #=> String
1893
- # resp.created_timestamp #=> Time
1894
- # resp.ingress_point_arn #=> String
1895
- # resp.ingress_point_auth_configuration.ingress_point_password_configuration.previous_smtp_password_expiry_timestamp #=> Time
1896
- # resp.ingress_point_auth_configuration.ingress_point_password_configuration.previous_smtp_password_version #=> String
1897
- # resp.ingress_point_auth_configuration.ingress_point_password_configuration.smtp_password_version #=> String
1898
- # resp.ingress_point_auth_configuration.secret_arn #=> String
1899
2048
  # resp.ingress_point_id #=> String
1900
2049
  # resp.ingress_point_name #=> String
1901
- # resp.last_updated_timestamp #=> Time
1902
- # resp.network_configuration.private_network_configuration.vpc_endpoint_id #=> String
1903
- # resp.network_configuration.public_network_configuration.ip_type #=> String, one of "IPV4", "DUAL_STACK"
1904
- # resp.rule_set_id #=> String
2050
+ # resp.ingress_point_arn #=> String
1905
2051
  # resp.status #=> String, one of "PROVISIONING", "DEPROVISIONING", "UPDATING", "ACTIVE", "CLOSED", "FAILED"
1906
- # resp.traffic_policy_id #=> String
1907
2052
  # resp.type #=> String, one of "OPEN", "AUTH"
2053
+ # resp.a_record #=> String
2054
+ # resp.rule_set_id #=> String
2055
+ # resp.traffic_policy_id #=> String
2056
+ # resp.ingress_point_auth_configuration.ingress_point_password_configuration.smtp_password_version #=> String
2057
+ # resp.ingress_point_auth_configuration.ingress_point_password_configuration.previous_smtp_password_version #=> String
2058
+ # resp.ingress_point_auth_configuration.ingress_point_password_configuration.previous_smtp_password_expiry_timestamp #=> Time
2059
+ # resp.ingress_point_auth_configuration.secret_arn #=> String
2060
+ # resp.network_configuration.public_network_configuration.ip_type #=> String, one of "IPV4", "DUAL_STACK"
2061
+ # resp.network_configuration.private_network_configuration.vpc_endpoint_id #=> String
2062
+ # resp.created_timestamp #=> Time
2063
+ # resp.last_updated_timestamp #=> Time
1908
2064
  #
1909
2065
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetIngressPoint AWS API Documentation
1910
2066
  #
@@ -1917,13 +2073,13 @@ module Aws::MailManager
1917
2073
 
1918
2074
  # Fetch attributes of a member in an address list.
1919
2075
  #
1920
- # @option params [required, String] :address
1921
- # The address to be retrieved from the address list.
1922
- #
1923
2076
  # @option params [required, String] :address_list_id
1924
2077
  # The unique identifier of the address list to retrieve the address
1925
2078
  # from.
1926
2079
  #
2080
+ # @option params [required, String] :address
2081
+ # The address to be retrieved from the address list.
2082
+ #
1927
2083
  # @return [Types::GetMemberOfAddressListResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1928
2084
  #
1929
2085
  # * {Types::GetMemberOfAddressListResponse#address #address} => String
@@ -1932,8 +2088,8 @@ module Aws::MailManager
1932
2088
  # @example Request syntax with placeholder values
1933
2089
  #
1934
2090
  # resp = client.get_member_of_address_list({
1935
- # address: "Address", # required
1936
2091
  # address_list_id: "AddressListId", # required
2092
+ # address: "Address", # required
1937
2093
  # })
1938
2094
  #
1939
2095
  # @example Response structure
@@ -1957,14 +2113,14 @@ module Aws::MailManager
1957
2113
  #
1958
2114
  # @return [Types::GetRelayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1959
2115
  #
1960
- # * {Types::GetRelayResponse#authentication #authentication} => Types::RelayAuthentication
1961
- # * {Types::GetRelayResponse#created_timestamp #created_timestamp} => Time
1962
- # * {Types::GetRelayResponse#last_modified_timestamp #last_modified_timestamp} => Time
1963
- # * {Types::GetRelayResponse#relay_arn #relay_arn} => String
1964
2116
  # * {Types::GetRelayResponse#relay_id #relay_id} => String
2117
+ # * {Types::GetRelayResponse#relay_arn #relay_arn} => String
1965
2118
  # * {Types::GetRelayResponse#relay_name #relay_name} => String
1966
2119
  # * {Types::GetRelayResponse#server_name #server_name} => String
1967
2120
  # * {Types::GetRelayResponse#server_port #server_port} => Integer
2121
+ # * {Types::GetRelayResponse#authentication #authentication} => Types::RelayAuthentication
2122
+ # * {Types::GetRelayResponse#created_timestamp #created_timestamp} => Time
2123
+ # * {Types::GetRelayResponse#last_modified_timestamp #last_modified_timestamp} => Time
1968
2124
  #
1969
2125
  # @example Request syntax with placeholder values
1970
2126
  #
@@ -1974,14 +2130,14 @@ module Aws::MailManager
1974
2130
  #
1975
2131
  # @example Response structure
1976
2132
  #
1977
- # resp.authentication.secret_arn #=> String
1978
- # resp.created_timestamp #=> Time
1979
- # resp.last_modified_timestamp #=> Time
1980
- # resp.relay_arn #=> String
1981
2133
  # resp.relay_id #=> String
2134
+ # resp.relay_arn #=> String
1982
2135
  # resp.relay_name #=> String
1983
2136
  # resp.server_name #=> String
1984
2137
  # resp.server_port #=> Integer
2138
+ # resp.authentication.secret_arn #=> String
2139
+ # resp.created_timestamp #=> Time
2140
+ # resp.last_modified_timestamp #=> Time
1985
2141
  #
1986
2142
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetRelay AWS API Documentation
1987
2143
  #
@@ -1999,11 +2155,11 @@ module Aws::MailManager
1999
2155
  #
2000
2156
  # @return [Types::GetRuleSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2001
2157
  #
2002
- # * {Types::GetRuleSetResponse#created_date #created_date} => Time
2003
- # * {Types::GetRuleSetResponse#last_modification_date #last_modification_date} => Time
2004
- # * {Types::GetRuleSetResponse#rule_set_arn #rule_set_arn} => String
2005
2158
  # * {Types::GetRuleSetResponse#rule_set_id #rule_set_id} => String
2159
+ # * {Types::GetRuleSetResponse#rule_set_arn #rule_set_arn} => String
2006
2160
  # * {Types::GetRuleSetResponse#rule_set_name #rule_set_name} => String
2161
+ # * {Types::GetRuleSetResponse#created_date #created_date} => Time
2162
+ # * {Types::GetRuleSetResponse#last_modification_date #last_modification_date} => Time
2007
2163
  # * {Types::GetRuleSetResponse#rules #rules} => Array&lt;Types::Rule&gt;
2008
2164
  #
2009
2165
  # @example Request syntax with placeholder values
@@ -2014,151 +2170,184 @@ module Aws::MailManager
2014
2170
  #
2015
2171
  # @example Response structure
2016
2172
  #
2017
- # resp.created_date #=> Time
2018
- # resp.last_modification_date #=> Time
2019
- # resp.rule_set_arn #=> String
2020
2173
  # resp.rule_set_id #=> String
2174
+ # resp.rule_set_arn #=> String
2021
2175
  # resp.rule_set_name #=> String
2176
+ # resp.created_date #=> Time
2177
+ # resp.last_modification_date #=> Time
2022
2178
  # resp.rules #=> Array
2023
- # resp.rules[0].actions #=> Array
2024
- # resp.rules[0].actions[0].add_header.header_name #=> String
2025
- # resp.rules[0].actions[0].add_header.header_value #=> String
2026
- # resp.rules[0].actions[0].archive.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2027
- # resp.rules[0].actions[0].archive.target_archive #=> String
2028
- # resp.rules[0].actions[0].deliver_to_mailbox.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2029
- # resp.rules[0].actions[0].deliver_to_mailbox.mailbox_arn #=> String
2030
- # resp.rules[0].actions[0].deliver_to_mailbox.role_arn #=> String
2031
- # resp.rules[0].actions[0].deliver_to_q_business.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2032
- # resp.rules[0].actions[0].deliver_to_q_business.application_id #=> String
2033
- # resp.rules[0].actions[0].deliver_to_q_business.index_id #=> String
2034
- # resp.rules[0].actions[0].deliver_to_q_business.role_arn #=> String
2035
- # resp.rules[0].actions[0].publish_to_sns.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2036
- # resp.rules[0].actions[0].publish_to_sns.encoding #=> String, one of "UTF-8", "BASE64"
2037
- # resp.rules[0].actions[0].publish_to_sns.payload_type #=> String, one of "HEADERS", "CONTENT"
2038
- # resp.rules[0].actions[0].publish_to_sns.role_arn #=> String
2039
- # resp.rules[0].actions[0].publish_to_sns.topic_arn #=> String
2040
- # resp.rules[0].actions[0].relay.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2041
- # resp.rules[0].actions[0].relay.mail_from #=> String, one of "REPLACE", "PRESERVE"
2042
- # resp.rules[0].actions[0].relay.relay #=> String
2043
- # resp.rules[0].actions[0].replace_recipient.replace_with #=> Array
2044
- # resp.rules[0].actions[0].replace_recipient.replace_with[0] #=> String
2045
- # resp.rules[0].actions[0].send.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2046
- # resp.rules[0].actions[0].send.role_arn #=> String
2047
- # resp.rules[0].actions[0].write_to_s3.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2048
- # resp.rules[0].actions[0].write_to_s3.role_arn #=> String
2049
- # resp.rules[0].actions[0].write_to_s3.s3_bucket #=> String
2050
- # resp.rules[0].actions[0].write_to_s3.s3_prefix #=> String
2051
- # resp.rules[0].actions[0].write_to_s3.s3_sse_kms_key_id #=> String
2179
+ # resp.rules[0].name #=> String
2052
2180
  # resp.rules[0].conditions #=> Array
2181
+ # resp.rules[0].conditions[0].boolean_expression.evaluate.attribute #=> String, one of "READ_RECEIPT_REQUESTED", "TLS", "TLS_WRAPPED"
2053
2182
  # resp.rules[0].conditions[0].boolean_expression.evaluate.analysis.analyzer #=> String
2054
2183
  # resp.rules[0].conditions[0].boolean_expression.evaluate.analysis.result_field #=> String
2055
- # resp.rules[0].conditions[0].boolean_expression.evaluate.attribute #=> String, one of "READ_RECEIPT_REQUESTED", "TLS", "TLS_WRAPPED"
2184
+ # resp.rules[0].conditions[0].boolean_expression.evaluate.is_in_address_list.attribute #=> String, one of "RECIPIENT", "MAIL_FROM", "SENDER", "FROM", "TO", "CC"
2056
2185
  # resp.rules[0].conditions[0].boolean_expression.evaluate.is_in_address_list.address_lists #=> Array
2057
2186
  # resp.rules[0].conditions[0].boolean_expression.evaluate.is_in_address_list.address_lists[0] #=> String
2058
- # resp.rules[0].conditions[0].boolean_expression.evaluate.is_in_address_list.attribute #=> String, one of "RECIPIENT", "MAIL_FROM", "SENDER", "FROM", "TO", "CC"
2059
2187
  # resp.rules[0].conditions[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
2060
- # resp.rules[0].conditions[0].dmarc_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
2061
- # resp.rules[0].conditions[0].dmarc_expression.values #=> Array
2062
- # resp.rules[0].conditions[0].dmarc_expression.values[0] #=> String, one of "NONE", "QUARANTINE", "REJECT"
2063
- # resp.rules[0].conditions[0].ip_expression.evaluate.attribute #=> String, one of "SOURCE_IP"
2064
- # resp.rules[0].conditions[0].ip_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
2065
- # resp.rules[0].conditions[0].ip_expression.values #=> Array
2066
- # resp.rules[0].conditions[0].ip_expression.values[0] #=> String
2067
- # resp.rules[0].conditions[0].number_expression.evaluate.attribute #=> String, one of "MESSAGE_SIZE"
2068
- # resp.rules[0].conditions[0].number_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "LESS_THAN", "GREATER_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN_OR_EQUAL"
2069
- # resp.rules[0].conditions[0].number_expression.value #=> Float
2070
- # resp.rules[0].conditions[0].string_expression.evaluate.analysis.analyzer #=> String
2071
- # resp.rules[0].conditions[0].string_expression.evaluate.analysis.result_field #=> String
2072
2188
  # resp.rules[0].conditions[0].string_expression.evaluate.attribute #=> String, one of "MAIL_FROM", "HELO", "RECIPIENT", "SENDER", "FROM", "SUBJECT", "TO", "CC"
2073
2189
  # resp.rules[0].conditions[0].string_expression.evaluate.mime_header_attribute #=> String
2190
+ # resp.rules[0].conditions[0].string_expression.evaluate.analysis.analyzer #=> String
2191
+ # resp.rules[0].conditions[0].string_expression.evaluate.analysis.result_field #=> String
2074
2192
  # resp.rules[0].conditions[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
2075
2193
  # resp.rules[0].conditions[0].string_expression.values #=> Array
2076
2194
  # resp.rules[0].conditions[0].string_expression.values[0] #=> String
2195
+ # resp.rules[0].conditions[0].number_expression.evaluate.attribute #=> String, one of "MESSAGE_SIZE"
2196
+ # resp.rules[0].conditions[0].number_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "LESS_THAN", "GREATER_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN_OR_EQUAL"
2197
+ # resp.rules[0].conditions[0].number_expression.value #=> Float
2198
+ # resp.rules[0].conditions[0].ip_expression.evaluate.attribute #=> String, one of "SOURCE_IP"
2199
+ # resp.rules[0].conditions[0].ip_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
2200
+ # resp.rules[0].conditions[0].ip_expression.values #=> Array
2201
+ # resp.rules[0].conditions[0].ip_expression.values[0] #=> String
2202
+ # resp.rules[0].conditions[0].verdict_expression.evaluate.attribute #=> String, one of "SPF", "DKIM"
2077
2203
  # resp.rules[0].conditions[0].verdict_expression.evaluate.analysis.analyzer #=> String
2078
2204
  # resp.rules[0].conditions[0].verdict_expression.evaluate.analysis.result_field #=> String
2079
- # resp.rules[0].conditions[0].verdict_expression.evaluate.attribute #=> String, one of "SPF", "DKIM"
2080
2205
  # resp.rules[0].conditions[0].verdict_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
2081
2206
  # resp.rules[0].conditions[0].verdict_expression.values #=> Array
2082
2207
  # resp.rules[0].conditions[0].verdict_expression.values[0] #=> String, one of "PASS", "FAIL", "GRAY", "PROCESSING_FAILED"
2083
- # resp.rules[0].name #=> String
2208
+ # resp.rules[0].conditions[0].dmarc_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
2209
+ # resp.rules[0].conditions[0].dmarc_expression.values #=> Array
2210
+ # resp.rules[0].conditions[0].dmarc_expression.values[0] #=> String, one of "NONE", "QUARANTINE", "REJECT"
2084
2211
  # resp.rules[0].unless #=> Array
2212
+ # resp.rules[0].unless[0].boolean_expression.evaluate.attribute #=> String, one of "READ_RECEIPT_REQUESTED", "TLS", "TLS_WRAPPED"
2085
2213
  # resp.rules[0].unless[0].boolean_expression.evaluate.analysis.analyzer #=> String
2086
2214
  # resp.rules[0].unless[0].boolean_expression.evaluate.analysis.result_field #=> String
2087
- # resp.rules[0].unless[0].boolean_expression.evaluate.attribute #=> String, one of "READ_RECEIPT_REQUESTED", "TLS", "TLS_WRAPPED"
2215
+ # resp.rules[0].unless[0].boolean_expression.evaluate.is_in_address_list.attribute #=> String, one of "RECIPIENT", "MAIL_FROM", "SENDER", "FROM", "TO", "CC"
2088
2216
  # resp.rules[0].unless[0].boolean_expression.evaluate.is_in_address_list.address_lists #=> Array
2089
2217
  # resp.rules[0].unless[0].boolean_expression.evaluate.is_in_address_list.address_lists[0] #=> String
2090
- # resp.rules[0].unless[0].boolean_expression.evaluate.is_in_address_list.attribute #=> String, one of "RECIPIENT", "MAIL_FROM", "SENDER", "FROM", "TO", "CC"
2091
2218
  # resp.rules[0].unless[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
2092
- # resp.rules[0].unless[0].dmarc_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
2093
- # resp.rules[0].unless[0].dmarc_expression.values #=> Array
2094
- # resp.rules[0].unless[0].dmarc_expression.values[0] #=> String, one of "NONE", "QUARANTINE", "REJECT"
2095
- # resp.rules[0].unless[0].ip_expression.evaluate.attribute #=> String, one of "SOURCE_IP"
2096
- # resp.rules[0].unless[0].ip_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
2097
- # resp.rules[0].unless[0].ip_expression.values #=> Array
2098
- # resp.rules[0].unless[0].ip_expression.values[0] #=> String
2099
- # resp.rules[0].unless[0].number_expression.evaluate.attribute #=> String, one of "MESSAGE_SIZE"
2100
- # resp.rules[0].unless[0].number_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "LESS_THAN", "GREATER_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN_OR_EQUAL"
2101
- # resp.rules[0].unless[0].number_expression.value #=> Float
2102
- # resp.rules[0].unless[0].string_expression.evaluate.analysis.analyzer #=> String
2103
- # resp.rules[0].unless[0].string_expression.evaluate.analysis.result_field #=> String
2104
2219
  # resp.rules[0].unless[0].string_expression.evaluate.attribute #=> String, one of "MAIL_FROM", "HELO", "RECIPIENT", "SENDER", "FROM", "SUBJECT", "TO", "CC"
2105
2220
  # resp.rules[0].unless[0].string_expression.evaluate.mime_header_attribute #=> String
2221
+ # resp.rules[0].unless[0].string_expression.evaluate.analysis.analyzer #=> String
2222
+ # resp.rules[0].unless[0].string_expression.evaluate.analysis.result_field #=> String
2106
2223
  # resp.rules[0].unless[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
2107
2224
  # resp.rules[0].unless[0].string_expression.values #=> Array
2108
2225
  # resp.rules[0].unless[0].string_expression.values[0] #=> String
2226
+ # resp.rules[0].unless[0].number_expression.evaluate.attribute #=> String, one of "MESSAGE_SIZE"
2227
+ # resp.rules[0].unless[0].number_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "LESS_THAN", "GREATER_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN_OR_EQUAL"
2228
+ # resp.rules[0].unless[0].number_expression.value #=> Float
2229
+ # resp.rules[0].unless[0].ip_expression.evaluate.attribute #=> String, one of "SOURCE_IP"
2230
+ # resp.rules[0].unless[0].ip_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
2231
+ # resp.rules[0].unless[0].ip_expression.values #=> Array
2232
+ # resp.rules[0].unless[0].ip_expression.values[0] #=> String
2233
+ # resp.rules[0].unless[0].verdict_expression.evaluate.attribute #=> String, one of "SPF", "DKIM"
2109
2234
  # resp.rules[0].unless[0].verdict_expression.evaluate.analysis.analyzer #=> String
2110
2235
  # resp.rules[0].unless[0].verdict_expression.evaluate.analysis.result_field #=> String
2111
- # resp.rules[0].unless[0].verdict_expression.evaluate.attribute #=> String, one of "SPF", "DKIM"
2112
2236
  # resp.rules[0].unless[0].verdict_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
2113
2237
  # resp.rules[0].unless[0].verdict_expression.values #=> Array
2114
2238
  # resp.rules[0].unless[0].verdict_expression.values[0] #=> String, one of "PASS", "FAIL", "GRAY", "PROCESSING_FAILED"
2115
- #
2116
- # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetRuleSet AWS API Documentation
2117
- #
2118
- # @overload get_rule_set(params = {})
2119
- # @param [Hash] params ({})
2120
- def get_rule_set(params = {}, options = {})
2121
- req = build_request(:get_rule_set, params)
2122
- req.send_request(options)
2123
- end
2124
-
2125
- # Fetch attributes of a traffic policy resource.
2126
- #
2127
- # @option params [required, String] :traffic_policy_id
2128
- # The identifier of the traffic policy resource.
2129
- #
2130
- # @return [Types::GetTrafficPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2131
- #
2132
- # * {Types::GetTrafficPolicyResponse#created_timestamp #created_timestamp} => Time
2133
- # * {Types::GetTrafficPolicyResponse#default_action #default_action} => String
2134
- # * {Types::GetTrafficPolicyResponse#last_updated_timestamp #last_updated_timestamp} => Time
2135
- # * {Types::GetTrafficPolicyResponse#max_message_size_bytes #max_message_size_bytes} => Integer
2136
- # * {Types::GetTrafficPolicyResponse#policy_statements #policy_statements} => Array&lt;Types::PolicyStatement&gt;
2137
- # * {Types::GetTrafficPolicyResponse#traffic_policy_arn #traffic_policy_arn} => String
2138
- # * {Types::GetTrafficPolicyResponse#traffic_policy_id #traffic_policy_id} => String
2139
- # * {Types::GetTrafficPolicyResponse#traffic_policy_name #traffic_policy_name} => String
2140
- #
2141
- # @example Request syntax with placeholder values
2142
- #
2239
+ # resp.rules[0].unless[0].dmarc_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
2240
+ # resp.rules[0].unless[0].dmarc_expression.values #=> Array
2241
+ # resp.rules[0].unless[0].dmarc_expression.values[0] #=> String, one of "NONE", "QUARANTINE", "REJECT"
2242
+ # resp.rules[0].actions #=> Array
2243
+ # resp.rules[0].actions[0].relay.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2244
+ # resp.rules[0].actions[0].relay.relay #=> String
2245
+ # resp.rules[0].actions[0].relay.mail_from #=> String, one of "REPLACE", "PRESERVE"
2246
+ # resp.rules[0].actions[0].archive.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2247
+ # resp.rules[0].actions[0].archive.target_archive #=> String
2248
+ # resp.rules[0].actions[0].write_to_s3.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2249
+ # resp.rules[0].actions[0].write_to_s3.role_arn #=> String
2250
+ # resp.rules[0].actions[0].write_to_s3.s3_bucket #=> String
2251
+ # resp.rules[0].actions[0].write_to_s3.s3_prefix #=> String
2252
+ # resp.rules[0].actions[0].write_to_s3.s3_sse_kms_key_id #=> String
2253
+ # resp.rules[0].actions[0].send.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2254
+ # resp.rules[0].actions[0].send.role_arn #=> String
2255
+ # resp.rules[0].actions[0].add_header.header_name #=> String
2256
+ # resp.rules[0].actions[0].add_header.header_value #=> String
2257
+ # resp.rules[0].actions[0].replace_recipient.replace_with #=> Array
2258
+ # resp.rules[0].actions[0].replace_recipient.replace_with[0] #=> String
2259
+ # resp.rules[0].actions[0].deliver_to_mailbox.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2260
+ # resp.rules[0].actions[0].deliver_to_mailbox.mailbox_arn #=> String
2261
+ # resp.rules[0].actions[0].deliver_to_mailbox.role_arn #=> String
2262
+ # resp.rules[0].actions[0].deliver_to_q_business.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2263
+ # resp.rules[0].actions[0].deliver_to_q_business.application_id #=> String
2264
+ # resp.rules[0].actions[0].deliver_to_q_business.index_id #=> String
2265
+ # resp.rules[0].actions[0].deliver_to_q_business.role_arn #=> String
2266
+ # resp.rules[0].actions[0].publish_to_sns.action_failure_policy #=> String, one of "CONTINUE", "DROP"
2267
+ # resp.rules[0].actions[0].publish_to_sns.topic_arn #=> String
2268
+ # resp.rules[0].actions[0].publish_to_sns.role_arn #=> String
2269
+ # resp.rules[0].actions[0].publish_to_sns.encoding #=> String, one of "UTF-8", "BASE64"
2270
+ # resp.rules[0].actions[0].publish_to_sns.payload_type #=> String, one of "HEADERS", "CONTENT"
2271
+ #
2272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetRuleSet AWS API Documentation
2273
+ #
2274
+ # @overload get_rule_set(params = {})
2275
+ # @param [Hash] params ({})
2276
+ def get_rule_set(params = {}, options = {})
2277
+ req = build_request(:get_rule_set, params)
2278
+ req.send_request(options)
2279
+ end
2280
+
2281
+ # Fetch attributes of a traffic policy resource.
2282
+ #
2283
+ # @option params [required, String] :traffic_policy_id
2284
+ # The identifier of the traffic policy resource.
2285
+ #
2286
+ # @return [Types::GetTrafficPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2287
+ #
2288
+ # * {Types::GetTrafficPolicyResponse#traffic_policy_name #traffic_policy_name} => String
2289
+ # * {Types::GetTrafficPolicyResponse#traffic_policy_id #traffic_policy_id} => String
2290
+ # * {Types::GetTrafficPolicyResponse#traffic_policy_arn #traffic_policy_arn} => String
2291
+ # * {Types::GetTrafficPolicyResponse#policy_statements #policy_statements} => Array&lt;Types::PolicyStatement&gt;
2292
+ # * {Types::GetTrafficPolicyResponse#max_message_size_bytes #max_message_size_bytes} => Integer
2293
+ # * {Types::GetTrafficPolicyResponse#default_action #default_action} => String
2294
+ # * {Types::GetTrafficPolicyResponse#created_timestamp #created_timestamp} => Time
2295
+ # * {Types::GetTrafficPolicyResponse#last_updated_timestamp #last_updated_timestamp} => Time
2296
+ #
2297
+ #
2298
+ # @example Example: Get TrafficPolicy
2299
+ #
2300
+ # resp = client.get_traffic_policy({
2301
+ # traffic_policy_id: "tp-12345",
2302
+ # })
2303
+ #
2304
+ # resp.to_h outputs the following:
2305
+ # {
2306
+ # default_action: "DENY",
2307
+ # max_message_size_bytes: 1000,
2308
+ # policy_statements: [
2309
+ # {
2310
+ # action: "ALLOW",
2311
+ # conditions: [
2312
+ # {
2313
+ # string_expression: {
2314
+ # evaluate: {
2315
+ # attribute: "RECIPIENT",
2316
+ # },
2317
+ # operator: "EQUALS",
2318
+ # values: [
2319
+ # "example@amazon.com",
2320
+ # "example@gmail.com",
2321
+ # ],
2322
+ # },
2323
+ # },
2324
+ # ],
2325
+ # },
2326
+ # ],
2327
+ # traffic_policy_arn: "arn:aws:ses:us-east-1:123456789012:mailmanager-traffic-policy/tp-12345",
2328
+ # traffic_policy_id: "tp-12345",
2329
+ # traffic_policy_name: "trafficPolicyName",
2330
+ # }
2331
+ #
2332
+ # @example Request syntax with placeholder values
2333
+ #
2143
2334
  # resp = client.get_traffic_policy({
2144
2335
  # traffic_policy_id: "TrafficPolicyId", # required
2145
2336
  # })
2146
2337
  #
2147
2338
  # @example Response structure
2148
2339
  #
2149
- # resp.created_timestamp #=> Time
2150
- # resp.default_action #=> String, one of "ALLOW", "DENY"
2151
- # resp.last_updated_timestamp #=> Time
2152
- # resp.max_message_size_bytes #=> Integer
2340
+ # resp.traffic_policy_name #=> String
2341
+ # resp.traffic_policy_id #=> String
2342
+ # resp.traffic_policy_arn #=> String
2153
2343
  # resp.policy_statements #=> Array
2154
- # resp.policy_statements[0].action #=> String, one of "ALLOW", "DENY"
2155
2344
  # resp.policy_statements[0].conditions #=> Array
2156
- # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.analysis.analyzer #=> String
2157
- # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.analysis.result_field #=> String
2158
- # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.is_in_address_list.address_lists #=> Array
2159
- # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.is_in_address_list.address_lists[0] #=> String
2160
- # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.is_in_address_list.attribute #=> String, one of "RECIPIENT"
2161
- # resp.policy_statements[0].conditions[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
2345
+ # resp.policy_statements[0].conditions[0].string_expression.evaluate.attribute #=> String, one of "RECIPIENT"
2346
+ # resp.policy_statements[0].conditions[0].string_expression.evaluate.analysis.analyzer #=> String
2347
+ # resp.policy_statements[0].conditions[0].string_expression.evaluate.analysis.result_field #=> String
2348
+ # resp.policy_statements[0].conditions[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
2349
+ # resp.policy_statements[0].conditions[0].string_expression.values #=> Array
2350
+ # resp.policy_statements[0].conditions[0].string_expression.values[0] #=> String
2162
2351
  # resp.policy_statements[0].conditions[0].ip_expression.evaluate.attribute #=> String, one of "SENDER_IP"
2163
2352
  # resp.policy_statements[0].conditions[0].ip_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
2164
2353
  # resp.policy_statements[0].conditions[0].ip_expression.values #=> Array
@@ -2167,18 +2356,20 @@ module Aws::MailManager
2167
2356
  # resp.policy_statements[0].conditions[0].ipv_6_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
2168
2357
  # resp.policy_statements[0].conditions[0].ipv_6_expression.values #=> Array
2169
2358
  # resp.policy_statements[0].conditions[0].ipv_6_expression.values[0] #=> String
2170
- # resp.policy_statements[0].conditions[0].string_expression.evaluate.analysis.analyzer #=> String
2171
- # resp.policy_statements[0].conditions[0].string_expression.evaluate.analysis.result_field #=> String
2172
- # resp.policy_statements[0].conditions[0].string_expression.evaluate.attribute #=> String, one of "RECIPIENT"
2173
- # resp.policy_statements[0].conditions[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
2174
- # resp.policy_statements[0].conditions[0].string_expression.values #=> Array
2175
- # resp.policy_statements[0].conditions[0].string_expression.values[0] #=> String
2176
2359
  # resp.policy_statements[0].conditions[0].tls_expression.evaluate.attribute #=> String, one of "TLS_PROTOCOL"
2177
2360
  # resp.policy_statements[0].conditions[0].tls_expression.operator #=> String, one of "MINIMUM_TLS_VERSION", "IS"
2178
2361
  # resp.policy_statements[0].conditions[0].tls_expression.value #=> String, one of "TLS1_2", "TLS1_3"
2179
- # resp.traffic_policy_arn #=> String
2180
- # resp.traffic_policy_id #=> String
2181
- # resp.traffic_policy_name #=> String
2362
+ # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.analysis.analyzer #=> String
2363
+ # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.analysis.result_field #=> String
2364
+ # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.is_in_address_list.attribute #=> String, one of "RECIPIENT"
2365
+ # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.is_in_address_list.address_lists #=> Array
2366
+ # resp.policy_statements[0].conditions[0].boolean_expression.evaluate.is_in_address_list.address_lists[0] #=> String
2367
+ # resp.policy_statements[0].conditions[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
2368
+ # resp.policy_statements[0].action #=> String, one of "ALLOW", "DENY"
2369
+ # resp.max_message_size_bytes #=> Integer
2370
+ # resp.default_action #=> String, one of "ALLOW", "DENY"
2371
+ # resp.created_timestamp #=> Time
2372
+ # resp.last_updated_timestamp #=> Time
2182
2373
  #
2183
2374
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetTrafficPolicy AWS API Documentation
2184
2375
  #
@@ -2217,10 +2408,10 @@ module Aws::MailManager
2217
2408
  # @example Response structure
2218
2409
  #
2219
2410
  # resp.addon_instances #=> Array
2220
- # resp.addon_instances[0].addon_instance_arn #=> String
2221
2411
  # resp.addon_instances[0].addon_instance_id #=> String
2222
- # resp.addon_instances[0].addon_name #=> String
2223
2412
  # resp.addon_instances[0].addon_subscription_id #=> String
2413
+ # resp.addon_instances[0].addon_name #=> String
2414
+ # resp.addon_instances[0].addon_instance_arn #=> String
2224
2415
  # resp.addon_instances[0].created_timestamp #=> Time
2225
2416
  # resp.next_token #=> String
2226
2417
  #
@@ -2261,9 +2452,9 @@ module Aws::MailManager
2261
2452
  # @example Response structure
2262
2453
  #
2263
2454
  # resp.addon_subscriptions #=> Array
2455
+ # resp.addon_subscriptions[0].addon_subscription_id #=> String
2264
2456
  # resp.addon_subscriptions[0].addon_name #=> String
2265
2457
  # resp.addon_subscriptions[0].addon_subscription_arn #=> String
2266
- # resp.addon_subscriptions[0].addon_subscription_id #=> String
2267
2458
  # resp.addon_subscriptions[0].created_timestamp #=> Time
2268
2459
  # resp.next_token #=> String
2269
2460
  #
@@ -2308,18 +2499,18 @@ module Aws::MailManager
2308
2499
  # @example Response structure
2309
2500
  #
2310
2501
  # resp.import_jobs #=> Array
2311
- # resp.import_jobs[0].address_list_id #=> String
2312
- # resp.import_jobs[0].completed_timestamp #=> Time
2313
- # resp.import_jobs[0].created_timestamp #=> Time
2314
- # resp.import_jobs[0].error #=> String
2315
- # resp.import_jobs[0].failed_items_count #=> Integer
2316
- # resp.import_jobs[0].import_data_format.import_data_type #=> String, one of "CSV", "JSON"
2317
- # resp.import_jobs[0].imported_items_count #=> Integer
2318
2502
  # resp.import_jobs[0].job_id #=> String
2319
2503
  # resp.import_jobs[0].name #=> String
2504
+ # resp.import_jobs[0].status #=> String, one of "CREATED", "PROCESSING", "COMPLETED", "FAILED", "STOPPED"
2320
2505
  # resp.import_jobs[0].pre_signed_url #=> String
2506
+ # resp.import_jobs[0].imported_items_count #=> Integer
2507
+ # resp.import_jobs[0].failed_items_count #=> Integer
2508
+ # resp.import_jobs[0].import_data_format.import_data_type #=> String, one of "CSV", "JSON"
2509
+ # resp.import_jobs[0].address_list_id #=> String
2510
+ # resp.import_jobs[0].created_timestamp #=> Time
2321
2511
  # resp.import_jobs[0].start_timestamp #=> Time
2322
- # resp.import_jobs[0].status #=> String, one of "CREATED", "PROCESSING", "COMPLETED", "FAILED", "STOPPED"
2512
+ # resp.import_jobs[0].completed_timestamp #=> Time
2513
+ # resp.import_jobs[0].error #=> String
2323
2514
  # resp.next_token #=> String
2324
2515
  #
2325
2516
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListAddressListImportJobs AWS API Documentation
@@ -2360,8 +2551,8 @@ module Aws::MailManager
2360
2551
  # @example Response structure
2361
2552
  #
2362
2553
  # resp.address_lists #=> Array
2363
- # resp.address_lists[0].address_list_arn #=> String
2364
2554
  # resp.address_lists[0].address_list_id #=> String
2555
+ # resp.address_lists[0].address_list_arn #=> String
2365
2556
  # resp.address_lists[0].address_list_name #=> String
2366
2557
  # resp.address_lists[0].created_timestamp #=> Time
2367
2558
  # resp.address_lists[0].last_updated_timestamp #=> Time
@@ -2409,10 +2600,10 @@ module Aws::MailManager
2409
2600
  #
2410
2601
  # resp.exports #=> Array
2411
2602
  # resp.exports[0].export_id #=> String
2603
+ # resp.exports[0].status.submission_timestamp #=> Time
2412
2604
  # resp.exports[0].status.completion_timestamp #=> Time
2413
- # resp.exports[0].status.error_message #=> String
2414
2605
  # resp.exports[0].status.state #=> String, one of "QUEUED", "PREPROCESSING", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED"
2415
- # resp.exports[0].status.submission_timestamp #=> Time
2606
+ # resp.exports[0].status.error_message #=> String
2416
2607
  # resp.next_token #=> String
2417
2608
  #
2418
2609
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListArchiveExports AWS API Documentation
@@ -2440,8 +2631,8 @@ module Aws::MailManager
2440
2631
  #
2441
2632
  # @return [Types::ListArchiveSearchesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2442
2633
  #
2443
- # * {Types::ListArchiveSearchesResponse#next_token #next_token} => String
2444
2634
  # * {Types::ListArchiveSearchesResponse#searches #searches} => Array&lt;Types::SearchSummary&gt;
2635
+ # * {Types::ListArchiveSearchesResponse#next_token #next_token} => String
2445
2636
  #
2446
2637
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2447
2638
  #
@@ -2455,13 +2646,13 @@ module Aws::MailManager
2455
2646
  #
2456
2647
  # @example Response structure
2457
2648
  #
2458
- # resp.next_token #=> String
2459
2649
  # resp.searches #=> Array
2460
2650
  # resp.searches[0].search_id #=> String
2651
+ # resp.searches[0].status.submission_timestamp #=> Time
2461
2652
  # resp.searches[0].status.completion_timestamp #=> Time
2462
- # resp.searches[0].status.error_message #=> String
2463
2653
  # resp.searches[0].status.state #=> String, one of "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLED"
2464
- # resp.searches[0].status.submission_timestamp #=> Time
2654
+ # resp.searches[0].status.error_message #=> String
2655
+ # resp.next_token #=> String
2465
2656
  #
2466
2657
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListArchiveSearches AWS API Documentation
2467
2658
  #
@@ -2517,15 +2708,15 @@ module Aws::MailManager
2517
2708
 
2518
2709
  # List all ingress endpoint resources.
2519
2710
  #
2711
+ # @option params [Integer] :page_size
2712
+ # The maximum number of ingress endpoint resources that are returned per
2713
+ # call. You can use NextToken to obtain further ingress endpoints.
2714
+ #
2520
2715
  # @option params [String] :next_token
2521
2716
  # If you received a pagination token from a previous call to this API,
2522
2717
  # you can provide it here to continue paginating through the next page
2523
2718
  # of results.
2524
2719
  #
2525
- # @option params [Integer] :page_size
2526
- # The maximum number of ingress endpoint resources that are returned per
2527
- # call. You can use NextToken to obtain further ingress endpoints.
2528
- #
2529
2720
  # @return [Types::ListIngressPointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2530
2721
  #
2531
2722
  # * {Types::ListIngressPointsResponse#ingress_points #ingress_points} => Array&lt;Types::IngressPoint&gt;
@@ -2533,21 +2724,78 @@ module Aws::MailManager
2533
2724
  #
2534
2725
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2535
2726
  #
2727
+ #
2728
+ # @example Example: List IngressPoints
2729
+ #
2730
+ # resp = client.list_ingress_points({
2731
+ # })
2732
+ #
2733
+ # resp.to_h outputs the following:
2734
+ # {
2735
+ # ingress_points: [
2736
+ # {
2737
+ # a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
2738
+ # ingress_point_id: "inp-12345",
2739
+ # ingress_point_name: "ingressPointName",
2740
+ # status: "ACTIVE",
2741
+ # type: "OPEN",
2742
+ # },
2743
+ # ],
2744
+ # }
2745
+ #
2746
+ # @example Example: List IngressPoints with PageSize
2747
+ #
2748
+ # resp = client.list_ingress_points({
2749
+ # page_size: 10,
2750
+ # })
2751
+ #
2752
+ # resp.to_h outputs the following:
2753
+ # {
2754
+ # ingress_points: [
2755
+ # {
2756
+ # a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
2757
+ # ingress_point_id: "inp-12345",
2758
+ # ingress_point_name: "ingressPointName",
2759
+ # status: "ACTIVE",
2760
+ # type: "OPEN",
2761
+ # },
2762
+ # ],
2763
+ # }
2764
+ #
2765
+ # @example Example: List IngressPoints with NextToken
2766
+ #
2767
+ # resp = client.list_ingress_points({
2768
+ # next_token: "nextToken",
2769
+ # })
2770
+ #
2771
+ # resp.to_h outputs the following:
2772
+ # {
2773
+ # ingress_points: [
2774
+ # {
2775
+ # a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
2776
+ # ingress_point_id: "inp-12345",
2777
+ # ingress_point_name: "ingressPointName",
2778
+ # status: "ACTIVE",
2779
+ # type: "OPEN",
2780
+ # },
2781
+ # ],
2782
+ # }
2783
+ #
2536
2784
  # @example Request syntax with placeholder values
2537
2785
  #
2538
2786
  # resp = client.list_ingress_points({
2539
- # next_token: "PaginationToken",
2540
2787
  # page_size: 1,
2788
+ # next_token: "PaginationToken",
2541
2789
  # })
2542
2790
  #
2543
2791
  # @example Response structure
2544
2792
  #
2545
2793
  # resp.ingress_points #=> Array
2546
- # resp.ingress_points[0].a_record #=> String
2547
- # resp.ingress_points[0].ingress_point_id #=> String
2548
2794
  # resp.ingress_points[0].ingress_point_name #=> String
2795
+ # resp.ingress_points[0].ingress_point_id #=> String
2549
2796
  # resp.ingress_points[0].status #=> String, one of "PROVISIONING", "DEPROVISIONING", "UPDATING", "ACTIVE", "CLOSED", "FAILED"
2550
2797
  # resp.ingress_points[0].type #=> String, one of "OPEN", "AUTH"
2798
+ # resp.ingress_points[0].a_record #=> String
2551
2799
  # resp.next_token #=> String
2552
2800
  #
2553
2801
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListIngressPoints AWS API Documentation
@@ -2612,35 +2860,35 @@ module Aws::MailManager
2612
2860
 
2613
2861
  # Lists all the existing relay resources.
2614
2862
  #
2863
+ # @option params [Integer] :page_size
2864
+ # The number of relays to be returned in one request.
2865
+ #
2615
2866
  # @option params [String] :next_token
2616
2867
  # If you received a pagination token from a previous call to this API,
2617
2868
  # you can provide it here to continue paginating through the next page
2618
2869
  # of results.
2619
2870
  #
2620
- # @option params [Integer] :page_size
2621
- # The number of relays to be returned in one request.
2622
- #
2623
2871
  # @return [Types::ListRelaysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2624
2872
  #
2625
- # * {Types::ListRelaysResponse#next_token #next_token} => String
2626
2873
  # * {Types::ListRelaysResponse#relays #relays} => Array&lt;Types::Relay&gt;
2874
+ # * {Types::ListRelaysResponse#next_token #next_token} => String
2627
2875
  #
2628
2876
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2629
2877
  #
2630
2878
  # @example Request syntax with placeholder values
2631
2879
  #
2632
2880
  # resp = client.list_relays({
2633
- # next_token: "PaginationToken",
2634
2881
  # page_size: 1,
2882
+ # next_token: "PaginationToken",
2635
2883
  # })
2636
2884
  #
2637
2885
  # @example Response structure
2638
2886
  #
2639
- # resp.next_token #=> String
2640
2887
  # resp.relays #=> Array
2641
- # resp.relays[0].last_modified_timestamp #=> Time
2642
2888
  # resp.relays[0].relay_id #=> String
2643
2889
  # resp.relays[0].relay_name #=> String
2890
+ # resp.relays[0].last_modified_timestamp #=> Time
2891
+ # resp.next_token #=> String
2644
2892
  #
2645
2893
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListRelays AWS API Documentation
2646
2894
  #
@@ -2664,8 +2912,8 @@ module Aws::MailManager
2664
2912
  #
2665
2913
  # @return [Types::ListRuleSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2666
2914
  #
2667
- # * {Types::ListRuleSetsResponse#next_token #next_token} => String
2668
2915
  # * {Types::ListRuleSetsResponse#rule_sets #rule_sets} => Array&lt;Types::RuleSet&gt;
2916
+ # * {Types::ListRuleSetsResponse#next_token #next_token} => String
2669
2917
  #
2670
2918
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2671
2919
  #
@@ -2678,11 +2926,11 @@ module Aws::MailManager
2678
2926
  #
2679
2927
  # @example Response structure
2680
2928
  #
2681
- # resp.next_token #=> String
2682
2929
  # resp.rule_sets #=> Array
2683
- # resp.rule_sets[0].last_modification_date #=> Time
2684
2930
  # resp.rule_sets[0].rule_set_id #=> String
2685
2931
  # resp.rule_sets[0].rule_set_name #=> String
2932
+ # resp.rule_sets[0].last_modification_date #=> Time
2933
+ # resp.next_token #=> String
2686
2934
  #
2687
2935
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListRuleSets AWS API Documentation
2688
2936
  #
@@ -2725,36 +2973,87 @@ module Aws::MailManager
2725
2973
 
2726
2974
  # List traffic policy resources.
2727
2975
  #
2976
+ # @option params [Integer] :page_size
2977
+ # The maximum number of traffic policy resources that are returned per
2978
+ # call. You can use NextToken to obtain further traffic policies.
2979
+ #
2728
2980
  # @option params [String] :next_token
2729
2981
  # If you received a pagination token from a previous call to this API,
2730
2982
  # you can provide it here to continue paginating through the next page
2731
2983
  # of results.
2732
2984
  #
2733
- # @option params [Integer] :page_size
2734
- # The maximum number of traffic policy resources that are returned per
2735
- # call. You can use NextToken to obtain further traffic policies.
2736
- #
2737
2985
  # @return [Types::ListTrafficPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2738
2986
  #
2739
- # * {Types::ListTrafficPoliciesResponse#next_token #next_token} => String
2740
2987
  # * {Types::ListTrafficPoliciesResponse#traffic_policies #traffic_policies} => Array&lt;Types::TrafficPolicy&gt;
2988
+ # * {Types::ListTrafficPoliciesResponse#next_token #next_token} => String
2741
2989
  #
2742
2990
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2743
2991
  #
2992
+ #
2993
+ # @example Example: List TrafficPolicies
2994
+ #
2995
+ # resp = client.list_traffic_policies({
2996
+ # })
2997
+ #
2998
+ # resp.to_h outputs the following:
2999
+ # {
3000
+ # traffic_policies: [
3001
+ # {
3002
+ # default_action: "DENY",
3003
+ # traffic_policy_id: "tp-12345",
3004
+ # traffic_policy_name: "trafficPolicyName",
3005
+ # },
3006
+ # ],
3007
+ # }
3008
+ #
3009
+ # @example Example: List TrafficPolicies with PageSize
3010
+ #
3011
+ # resp = client.list_traffic_policies({
3012
+ # page_size: 10,
3013
+ # })
3014
+ #
3015
+ # resp.to_h outputs the following:
3016
+ # {
3017
+ # traffic_policies: [
3018
+ # {
3019
+ # default_action: "DENY",
3020
+ # traffic_policy_id: "tp-12345",
3021
+ # traffic_policy_name: "trafficPolicyName",
3022
+ # },
3023
+ # ],
3024
+ # }
3025
+ #
3026
+ # @example Example: List TrafficPolicies with NextToken
3027
+ #
3028
+ # resp = client.list_traffic_policies({
3029
+ # next_token: "nextToken",
3030
+ # })
3031
+ #
3032
+ # resp.to_h outputs the following:
3033
+ # {
3034
+ # traffic_policies: [
3035
+ # {
3036
+ # default_action: "DENY",
3037
+ # traffic_policy_id: "tp-12345",
3038
+ # traffic_policy_name: "trafficPolicyName",
3039
+ # },
3040
+ # ],
3041
+ # }
3042
+ #
2744
3043
  # @example Request syntax with placeholder values
2745
3044
  #
2746
3045
  # resp = client.list_traffic_policies({
2747
- # next_token: "PaginationToken",
2748
3046
  # page_size: 1,
3047
+ # next_token: "PaginationToken",
2749
3048
  # })
2750
3049
  #
2751
3050
  # @example Response structure
2752
3051
  #
2753
- # resp.next_token #=> String
2754
3052
  # resp.traffic_policies #=> Array
2755
- # resp.traffic_policies[0].default_action #=> String, one of "ALLOW", "DENY"
2756
- # resp.traffic_policies[0].traffic_policy_id #=> String
2757
3053
  # resp.traffic_policies[0].traffic_policy_name #=> String
3054
+ # resp.traffic_policies[0].traffic_policy_id #=> String
3055
+ # resp.traffic_policies[0].default_action #=> String, one of "ALLOW", "DENY"
3056
+ # resp.next_token #=> String
2758
3057
  #
2759
3058
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListTrafficPolicies AWS API Documentation
2760
3059
  #
@@ -2767,20 +3066,20 @@ module Aws::MailManager
2767
3066
 
2768
3067
  # Adds a member to an address list.
2769
3068
  #
2770
- # @option params [required, String] :address
2771
- # The address to be added to the address list.
2772
- #
2773
3069
  # @option params [required, String] :address_list_id
2774
3070
  # The unique identifier of the address list where the address should be
2775
3071
  # added.
2776
3072
  #
3073
+ # @option params [required, String] :address
3074
+ # The address to be added to the address list.
3075
+ #
2777
3076
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2778
3077
  #
2779
3078
  # @example Request syntax with placeholder values
2780
3079
  #
2781
3080
  # resp = client.register_member_to_address_list({
2782
- # address: "Address", # required
2783
3081
  # address_list_id: "AddressListId", # required
3082
+ # address: "Address", # required
2784
3083
  # })
2785
3084
  #
2786
3085
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/RegisterMemberToAddressList AWS API Documentation
@@ -2819,23 +3118,23 @@ module Aws::MailManager
2819
3118
  # @option params [required, String] :archive_id
2820
3119
  # The identifier of the archive to export emails from.
2821
3120
  #
2822
- # @option params [required, Types::ExportDestinationConfiguration] :export_destination_configuration
2823
- # Details on where to deliver the exported email data.
2824
- #
2825
3121
  # @option params [Types::ArchiveFilters] :filters
2826
3122
  # Criteria to filter which emails are included in the export.
2827
3123
  #
2828
3124
  # @option params [required, Time,DateTime,Date,Integer,String] :from_timestamp
2829
3125
  # The start of the timestamp range to include emails from.
2830
3126
  #
2831
- # @option params [Boolean] :include_metadata
2832
- # Whether to include message metadata as JSON files in the export.
3127
+ # @option params [required, Time,DateTime,Date,Integer,String] :to_timestamp
3128
+ # The end of the timestamp range to include emails from.
2833
3129
  #
2834
3130
  # @option params [Integer] :max_results
2835
3131
  # The maximum number of email items to include in the export.
2836
3132
  #
2837
- # @option params [required, Time,DateTime,Date,Integer,String] :to_timestamp
2838
- # The end of the timestamp range to include emails from.
3133
+ # @option params [required, Types::ExportDestinationConfiguration] :export_destination_configuration
3134
+ # Details on where to deliver the exported email data.
3135
+ #
3136
+ # @option params [Boolean] :include_metadata
3137
+ # Whether to include message metadata as JSON files in the export.
2839
3138
  #
2840
3139
  # @return [Types::StartArchiveExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2841
3140
  #
@@ -2845,20 +3144,9 @@ module Aws::MailManager
2845
3144
  #
2846
3145
  # resp = client.start_archive_export({
2847
3146
  # archive_id: "ArchiveId", # required
2848
- # export_destination_configuration: { # required
2849
- # s3: {
2850
- # s3_location: "S3Location",
2851
- # },
2852
- # },
2853
3147
  # filters: {
2854
3148
  # include: [
2855
3149
  # {
2856
- # boolean_expression: {
2857
- # evaluate: { # required
2858
- # attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
2859
- # },
2860
- # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
2861
- # },
2862
3150
  # string_expression: {
2863
3151
  # evaluate: { # required
2864
3152
  # attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
@@ -2866,16 +3154,16 @@ module Aws::MailManager
2866
3154
  # operator: "CONTAINS", # required, accepts CONTAINS
2867
3155
  # values: ["StringValue"], # required
2868
3156
  # },
2869
- # },
2870
- # ],
2871
- # unless: [
2872
- # {
2873
3157
  # boolean_expression: {
2874
3158
  # evaluate: { # required
2875
3159
  # attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
2876
3160
  # },
2877
3161
  # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
2878
3162
  # },
3163
+ # },
3164
+ # ],
3165
+ # unless: [
3166
+ # {
2879
3167
  # string_expression: {
2880
3168
  # evaluate: { # required
2881
3169
  # attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
@@ -2883,13 +3171,24 @@ module Aws::MailManager
2883
3171
  # operator: "CONTAINS", # required, accepts CONTAINS
2884
3172
  # values: ["StringValue"], # required
2885
3173
  # },
3174
+ # boolean_expression: {
3175
+ # evaluate: { # required
3176
+ # attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
3177
+ # },
3178
+ # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
3179
+ # },
2886
3180
  # },
2887
3181
  # ],
2888
3182
  # },
2889
3183
  # from_timestamp: Time.now, # required
2890
- # include_metadata: false,
2891
- # max_results: 1,
2892
3184
  # to_timestamp: Time.now, # required
3185
+ # max_results: 1,
3186
+ # export_destination_configuration: { # required
3187
+ # s3: {
3188
+ # s3_location: "S3Location",
3189
+ # },
3190
+ # },
3191
+ # include_metadata: false,
2893
3192
  # })
2894
3193
  #
2895
3194
  # @example Response structure
@@ -2916,12 +3215,12 @@ module Aws::MailManager
2916
3215
  # @option params [required, Time,DateTime,Date,Integer,String] :from_timestamp
2917
3216
  # The start timestamp of the range to search emails from.
2918
3217
  #
2919
- # @option params [required, Integer] :max_results
2920
- # The maximum number of search results to return.
2921
- #
2922
3218
  # @option params [required, Time,DateTime,Date,Integer,String] :to_timestamp
2923
3219
  # The end timestamp of the range to search emails from.
2924
3220
  #
3221
+ # @option params [required, Integer] :max_results
3222
+ # The maximum number of search results to return.
3223
+ #
2925
3224
  # @return [Types::StartArchiveSearchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2926
3225
  #
2927
3226
  # * {Types::StartArchiveSearchResponse#search_id #search_id} => String
@@ -2933,12 +3232,6 @@ module Aws::MailManager
2933
3232
  # filters: {
2934
3233
  # include: [
2935
3234
  # {
2936
- # boolean_expression: {
2937
- # evaluate: { # required
2938
- # attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
2939
- # },
2940
- # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
2941
- # },
2942
3235
  # string_expression: {
2943
3236
  # evaluate: { # required
2944
3237
  # attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
@@ -2946,16 +3239,16 @@ module Aws::MailManager
2946
3239
  # operator: "CONTAINS", # required, accepts CONTAINS
2947
3240
  # values: ["StringValue"], # required
2948
3241
  # },
2949
- # },
2950
- # ],
2951
- # unless: [
2952
- # {
2953
3242
  # boolean_expression: {
2954
3243
  # evaluate: { # required
2955
3244
  # attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
2956
3245
  # },
2957
3246
  # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
2958
3247
  # },
3248
+ # },
3249
+ # ],
3250
+ # unless: [
3251
+ # {
2959
3252
  # string_expression: {
2960
3253
  # evaluate: { # required
2961
3254
  # attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
@@ -2963,12 +3256,18 @@ module Aws::MailManager
2963
3256
  # operator: "CONTAINS", # required, accepts CONTAINS
2964
3257
  # values: ["StringValue"], # required
2965
3258
  # },
3259
+ # boolean_expression: {
3260
+ # evaluate: { # required
3261
+ # attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
3262
+ # },
3263
+ # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
3264
+ # },
2966
3265
  # },
2967
3266
  # ],
2968
3267
  # },
2969
3268
  # from_timestamp: Time.now, # required
2970
- # max_results: 1, # required
2971
3269
  # to_timestamp: Time.now, # required
3270
+ # max_results: 1, # required
2972
3271
  # })
2973
3272
  #
2974
3273
  # @example Response structure
@@ -3144,41 +3443,91 @@ module Aws::MailManager
3144
3443
 
3145
3444
  # Update attributes of a provisioned ingress endpoint resource.
3146
3445
  #
3147
- # @option params [Types::IngressPointConfiguration] :ingress_point_configuration
3148
- # If you choose an Authenticated ingress endpoint, you must configure
3149
- # either an SMTP password or a secret ARN.
3150
- #
3151
3446
  # @option params [required, String] :ingress_point_id
3152
3447
  # The identifier for the ingress endpoint you want to update.
3153
3448
  #
3154
3449
  # @option params [String] :ingress_point_name
3155
3450
  # A user friendly name for the ingress endpoint resource.
3156
3451
  #
3452
+ # @option params [String] :status_to_update
3453
+ # The update status of an ingress endpoint.
3454
+ #
3157
3455
  # @option params [String] :rule_set_id
3158
3456
  # The identifier of an existing rule set that you attach to an ingress
3159
3457
  # endpoint resource.
3160
3458
  #
3161
- # @option params [String] :status_to_update
3162
- # The update status of an ingress endpoint.
3163
- #
3164
3459
  # @option params [String] :traffic_policy_id
3165
3460
  # The identifier of an existing traffic policy that you attach to an
3166
3461
  # ingress endpoint resource.
3167
3462
  #
3463
+ # @option params [Types::IngressPointConfiguration] :ingress_point_configuration
3464
+ # If you choose an Authenticated ingress endpoint, you must configure
3465
+ # either an SMTP password or a secret ARN.
3466
+ #
3168
3467
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3169
3468
  #
3170
- # @example Request syntax with placeholder values
3469
+ #
3470
+ # @example Example: Update Open/Auth IngressPoint with new Name
3471
+ #
3472
+ # resp = client.update_ingress_point({
3473
+ # ingress_point_id: "inp-12345",
3474
+ # ingress_point_name: "ingressPointNewName",
3475
+ # })
3476
+ #
3477
+ # resp.to_h outputs the following:
3478
+ # {
3479
+ # }
3480
+ #
3481
+ # @example Example: Update Open/Auth IngressPoint with new RuleSetId / TrafficPolicyId
3482
+ #
3483
+ # resp = client.update_ingress_point({
3484
+ # ingress_point_id: "inp-12345",
3485
+ # rule_set_id: "rs-12345",
3486
+ # traffic_policy_id: "tp-12345",
3487
+ # })
3488
+ #
3489
+ # resp.to_h outputs the following:
3490
+ # {
3491
+ # }
3492
+ #
3493
+ # @example Example: Update Auth IngressPoint with new SmtpPassword
3171
3494
  #
3172
3495
  # resp = client.update_ingress_point({
3173
3496
  # ingress_point_configuration: {
3174
- # secret_arn: "SecretArn",
3175
- # smtp_password: "SmtpPassword",
3176
- # },
3497
+ # smtp_password: "newSmtpPassword",
3498
+ # },
3499
+ # ingress_point_id: "inp-12345",
3500
+ # })
3501
+ #
3502
+ # resp.to_h outputs the following:
3503
+ # {
3504
+ # }
3505
+ #
3506
+ # @example Example: Update Auth IngressPoint with new SecretArn
3507
+ #
3508
+ # resp = client.update_ingress_point({
3509
+ # ingress_point_configuration: {
3510
+ # secret_arn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde",
3511
+ # },
3512
+ # ingress_point_id: "inp-12345",
3513
+ # })
3514
+ #
3515
+ # resp.to_h outputs the following:
3516
+ # {
3517
+ # }
3518
+ #
3519
+ # @example Request syntax with placeholder values
3520
+ #
3521
+ # resp = client.update_ingress_point({
3177
3522
  # ingress_point_id: "IngressPointId", # required
3178
3523
  # ingress_point_name: "IngressPointName",
3179
- # rule_set_id: "RuleSetId",
3180
3524
  # status_to_update: "ACTIVE", # accepts ACTIVE, CLOSED
3525
+ # rule_set_id: "RuleSetId",
3181
3526
  # traffic_policy_id: "TrafficPolicyId",
3527
+ # ingress_point_configuration: {
3528
+ # smtp_password: "SmtpPassword",
3529
+ # secret_arn: "SecretArn",
3530
+ # },
3182
3531
  # })
3183
3532
  #
3184
3533
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/UpdateIngressPoint AWS API Documentation
@@ -3192,10 +3541,6 @@ module Aws::MailManager
3192
3541
 
3193
3542
  # Updates the attributes of an existing relay resource.
3194
3543
  #
3195
- # @option params [Types::RelayAuthentication] :authentication
3196
- # Authentication for the relay destination server—specify the secretARN
3197
- # where the SMTP credentials are stored.
3198
- #
3199
3544
  # @option params [required, String] :relay_id
3200
3545
  # The unique relay identifier.
3201
3546
  #
@@ -3208,20 +3553,24 @@ module Aws::MailManager
3208
3553
  # @option params [Integer] :server_port
3209
3554
  # The destination relay server port.
3210
3555
  #
3556
+ # @option params [Types::RelayAuthentication] :authentication
3557
+ # Authentication for the relay destination server—specify the secretARN
3558
+ # where the SMTP credentials are stored.
3559
+ #
3211
3560
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3212
3561
  #
3213
3562
  # @example Request syntax with placeholder values
3214
3563
  #
3215
3564
  # resp = client.update_relay({
3216
- # authentication: {
3217
- # no_authentication: {
3218
- # },
3219
- # secret_arn: "SecretArn",
3220
- # },
3221
3565
  # relay_id: "RelayId", # required
3222
3566
  # relay_name: "RelayName",
3223
3567
  # server_name: "RelayServerName",
3224
3568
  # server_port: 1,
3569
+ # authentication: {
3570
+ # secret_arn: "SecretArn",
3571
+ # no_authentication: {
3572
+ # },
3573
+ # },
3225
3574
  # })
3226
3575
  #
3227
3576
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/UpdateRelay AWS API Documentation
@@ -3254,83 +3603,34 @@ module Aws::MailManager
3254
3603
  # rule_set_name: "RuleSetName",
3255
3604
  # rules: [
3256
3605
  # {
3257
- # actions: [ # required
3258
- # {
3259
- # add_header: {
3260
- # header_name: "HeaderName", # required
3261
- # header_value: "HeaderValue", # required
3262
- # },
3263
- # archive: {
3264
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3265
- # target_archive: "NameOrArn", # required
3266
- # },
3267
- # deliver_to_mailbox: {
3268
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3269
- # mailbox_arn: "NameOrArn", # required
3270
- # role_arn: "IamRoleArn", # required
3271
- # },
3272
- # deliver_to_q_business: {
3273
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3274
- # application_id: "QBusinessApplicationId", # required
3275
- # index_id: "QBusinessIndexId", # required
3276
- # role_arn: "IamRoleArn", # required
3277
- # },
3278
- # drop: {
3279
- # },
3280
- # publish_to_sns: {
3281
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3282
- # encoding: "UTF-8", # accepts UTF-8, BASE64
3283
- # payload_type: "HEADERS", # accepts HEADERS, CONTENT
3284
- # role_arn: "IamRoleArn", # required
3285
- # topic_arn: "SnsTopicArn", # required
3286
- # },
3287
- # relay: {
3288
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3289
- # mail_from: "REPLACE", # accepts REPLACE, PRESERVE
3290
- # relay: "IdOrArn", # required
3291
- # },
3292
- # replace_recipient: {
3293
- # replace_with: ["EmailAddress"],
3294
- # },
3295
- # send: {
3296
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3297
- # role_arn: "IamRoleArn", # required
3298
- # },
3299
- # write_to_s3: {
3300
- # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3301
- # role_arn: "IamRoleArn", # required
3302
- # s3_bucket: "S3Bucket", # required
3303
- # s3_prefix: "S3Prefix",
3304
- # s3_sse_kms_key_id: "KmsKeyId",
3305
- # },
3306
- # },
3307
- # ],
3606
+ # name: "RuleName",
3308
3607
  # conditions: [
3309
3608
  # {
3310
3609
  # boolean_expression: {
3311
3610
  # evaluate: { # required
3611
+ # attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
3312
3612
  # analysis: {
3313
3613
  # analyzer: "AnalyzerArn", # required
3314
3614
  # result_field: "ResultField", # required
3315
3615
  # },
3316
- # attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
3317
3616
  # is_in_address_list: {
3318
- # address_lists: ["AddressListArn"], # required
3319
3617
  # attribute: "RECIPIENT", # required, accepts RECIPIENT, MAIL_FROM, SENDER, FROM, TO, CC
3618
+ # address_lists: ["AddressListArn"], # required
3320
3619
  # },
3321
3620
  # },
3322
3621
  # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
3323
3622
  # },
3324
- # dmarc_expression: {
3325
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
3326
- # values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
3327
- # },
3328
- # ip_expression: {
3623
+ # string_expression: {
3329
3624
  # evaluate: { # required
3330
- # attribute: "SOURCE_IP", # accepts SOURCE_IP
3625
+ # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
3626
+ # mime_header_attribute: "MimeHeaderAttribute",
3627
+ # analysis: {
3628
+ # analyzer: "AnalyzerArn", # required
3629
+ # result_field: "ResultField", # required
3630
+ # },
3331
3631
  # },
3332
- # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
3333
- # values: ["RuleIpStringValue"], # required
3632
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
3633
+ # values: ["RuleStringValue"], # required
3334
3634
  # },
3335
3635
  # number_expression: {
3336
3636
  # evaluate: { # required
@@ -3339,58 +3639,57 @@ module Aws::MailManager
3339
3639
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN_OR_EQUAL
3340
3640
  # value: 1.0, # required
3341
3641
  # },
3342
- # string_expression: {
3642
+ # ip_expression: {
3343
3643
  # evaluate: { # required
3344
- # analysis: {
3345
- # analyzer: "AnalyzerArn", # required
3346
- # result_field: "ResultField", # required
3347
- # },
3348
- # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
3349
- # mime_header_attribute: "MimeHeaderAttribute",
3644
+ # attribute: "SOURCE_IP", # accepts SOURCE_IP
3350
3645
  # },
3351
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
3352
- # values: ["RuleStringValue"], # required
3646
+ # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
3647
+ # values: ["RuleIpStringValue"], # required
3353
3648
  # },
3354
3649
  # verdict_expression: {
3355
3650
  # evaluate: { # required
3651
+ # attribute: "SPF", # accepts SPF, DKIM
3356
3652
  # analysis: {
3357
3653
  # analyzer: "AnalyzerArn", # required
3358
3654
  # result_field: "ResultField", # required
3359
3655
  # },
3360
- # attribute: "SPF", # accepts SPF, DKIM
3361
3656
  # },
3362
3657
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
3363
3658
  # values: ["PASS"], # required, accepts PASS, FAIL, GRAY, PROCESSING_FAILED
3364
3659
  # },
3660
+ # dmarc_expression: {
3661
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
3662
+ # values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
3663
+ # },
3365
3664
  # },
3366
3665
  # ],
3367
- # name: "RuleName",
3368
3666
  # unless: [
3369
3667
  # {
3370
3668
  # boolean_expression: {
3371
3669
  # evaluate: { # required
3670
+ # attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
3372
3671
  # analysis: {
3373
3672
  # analyzer: "AnalyzerArn", # required
3374
3673
  # result_field: "ResultField", # required
3375
3674
  # },
3376
- # attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
3377
3675
  # is_in_address_list: {
3378
- # address_lists: ["AddressListArn"], # required
3379
3676
  # attribute: "RECIPIENT", # required, accepts RECIPIENT, MAIL_FROM, SENDER, FROM, TO, CC
3677
+ # address_lists: ["AddressListArn"], # required
3380
3678
  # },
3381
3679
  # },
3382
3680
  # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
3383
3681
  # },
3384
- # dmarc_expression: {
3385
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
3386
- # values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
3387
- # },
3388
- # ip_expression: {
3682
+ # string_expression: {
3389
3683
  # evaluate: { # required
3390
- # attribute: "SOURCE_IP", # accepts SOURCE_IP
3684
+ # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
3685
+ # mime_header_attribute: "MimeHeaderAttribute",
3686
+ # analysis: {
3687
+ # analyzer: "AnalyzerArn", # required
3688
+ # result_field: "ResultField", # required
3689
+ # },
3391
3690
  # },
3392
- # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
3393
- # values: ["RuleIpStringValue"], # required
3691
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
3692
+ # values: ["RuleStringValue"], # required
3394
3693
  # },
3395
3694
  # number_expression: {
3396
3695
  # evaluate: { # required
@@ -3399,29 +3698,79 @@ module Aws::MailManager
3399
3698
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN_OR_EQUAL
3400
3699
  # value: 1.0, # required
3401
3700
  # },
3402
- # string_expression: {
3701
+ # ip_expression: {
3403
3702
  # evaluate: { # required
3404
- # analysis: {
3405
- # analyzer: "AnalyzerArn", # required
3406
- # result_field: "ResultField", # required
3407
- # },
3408
- # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
3409
- # mime_header_attribute: "MimeHeaderAttribute",
3703
+ # attribute: "SOURCE_IP", # accepts SOURCE_IP
3410
3704
  # },
3411
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
3412
- # values: ["RuleStringValue"], # required
3705
+ # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
3706
+ # values: ["RuleIpStringValue"], # required
3413
3707
  # },
3414
3708
  # verdict_expression: {
3415
3709
  # evaluate: { # required
3710
+ # attribute: "SPF", # accepts SPF, DKIM
3416
3711
  # analysis: {
3417
3712
  # analyzer: "AnalyzerArn", # required
3418
3713
  # result_field: "ResultField", # required
3419
3714
  # },
3420
- # attribute: "SPF", # accepts SPF, DKIM
3421
3715
  # },
3422
3716
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
3423
3717
  # values: ["PASS"], # required, accepts PASS, FAIL, GRAY, PROCESSING_FAILED
3424
3718
  # },
3719
+ # dmarc_expression: {
3720
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
3721
+ # values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
3722
+ # },
3723
+ # },
3724
+ # ],
3725
+ # actions: [ # required
3726
+ # {
3727
+ # drop: {
3728
+ # },
3729
+ # relay: {
3730
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3731
+ # relay: "IdOrArn", # required
3732
+ # mail_from: "REPLACE", # accepts REPLACE, PRESERVE
3733
+ # },
3734
+ # archive: {
3735
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3736
+ # target_archive: "NameOrArn", # required
3737
+ # },
3738
+ # write_to_s3: {
3739
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3740
+ # role_arn: "IamRoleArn", # required
3741
+ # s3_bucket: "S3Bucket", # required
3742
+ # s3_prefix: "S3Prefix",
3743
+ # s3_sse_kms_key_id: "KmsKeyId",
3744
+ # },
3745
+ # send: {
3746
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3747
+ # role_arn: "IamRoleArn", # required
3748
+ # },
3749
+ # add_header: {
3750
+ # header_name: "HeaderName", # required
3751
+ # header_value: "HeaderValue", # required
3752
+ # },
3753
+ # replace_recipient: {
3754
+ # replace_with: ["EmailAddress"],
3755
+ # },
3756
+ # deliver_to_mailbox: {
3757
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3758
+ # mailbox_arn: "NameOrArn", # required
3759
+ # role_arn: "IamRoleArn", # required
3760
+ # },
3761
+ # deliver_to_q_business: {
3762
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3763
+ # application_id: "QBusinessApplicationId", # required
3764
+ # index_id: "QBusinessIndexId", # required
3765
+ # role_arn: "IamRoleArn", # required
3766
+ # },
3767
+ # publish_to_sns: {
3768
+ # action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
3769
+ # topic_arn: "SnsTopicArn", # required
3770
+ # role_arn: "IamRoleArn", # required
3771
+ # encoding: "UTF-8", # accepts UTF-8, BASE64
3772
+ # payload_type: "HEADERS", # accepts HEADERS, CONTENT
3773
+ # },
3425
3774
  # },
3426
3775
  # ],
3427
3776
  # },
@@ -3439,6 +3788,15 @@ module Aws::MailManager
3439
3788
 
3440
3789
  # Update attributes of an already provisioned traffic policy resource.
3441
3790
  #
3791
+ # @option params [required, String] :traffic_policy_id
3792
+ # The identifier of the traffic policy that you want to update.
3793
+ #
3794
+ # @option params [String] :traffic_policy_name
3795
+ # A user-friendly name for the traffic policy resource.
3796
+ #
3797
+ # @option params [Array<Types::PolicyStatement>] :policy_statements
3798
+ # The list of conditions to be updated for filtering email traffic.
3799
+ #
3442
3800
  # @option params [String] :default_action
3443
3801
  # Default action instructs the traffic policy to either Allow or Deny
3444
3802
  # (block) messages that fall outside of (or not addressed by) the
@@ -3448,39 +3806,79 @@ module Aws::MailManager
3448
3806
  # The maximum message size in bytes of email which is allowed in by this
3449
3807
  # traffic policy—anything larger will be blocked.
3450
3808
  #
3451
- # @option params [Array<Types::PolicyStatement>] :policy_statements
3452
- # The list of conditions to be updated for filtering email traffic.
3809
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3453
3810
  #
3454
- # @option params [required, String] :traffic_policy_id
3455
- # The identifier of the traffic policy that you want to update.
3456
3811
  #
3457
- # @option params [String] :traffic_policy_name
3458
- # A user-friendly name for the traffic policy resource.
3812
+ # @example Example: Update TrafficPolicy with new Name
3459
3813
  #
3460
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3814
+ # resp = client.update_traffic_policy({
3815
+ # traffic_policy_id: "tp-12345",
3816
+ # traffic_policy_name: "trafficPolicyNewName",
3817
+ # })
3818
+ #
3819
+ # resp.to_h outputs the following:
3820
+ # {
3821
+ # }
3822
+ #
3823
+ # @example Example: Update TrafficPolicy with new PolicyStatements
3824
+ #
3825
+ # resp = client.update_traffic_policy({
3826
+ # policy_statements: [
3827
+ # {
3828
+ # action: "ALLOW",
3829
+ # conditions: [
3830
+ # {
3831
+ # string_expression: {
3832
+ # evaluate: {
3833
+ # attribute: "RECIPIENT",
3834
+ # },
3835
+ # operator: "EQUALS",
3836
+ # values: [
3837
+ # "example@amazon.com",
3838
+ # "example@gmail.com",
3839
+ # ],
3840
+ # },
3841
+ # },
3842
+ # ],
3843
+ # },
3844
+ # ],
3845
+ # traffic_policy_id: "tp-12345",
3846
+ # })
3847
+ #
3848
+ # resp.to_h outputs the following:
3849
+ # {
3850
+ # }
3851
+ #
3852
+ # @example Example: Update TrafficPolicy with new DefaultAction
3853
+ #
3854
+ # resp = client.update_traffic_policy({
3855
+ # default_action: "ALLOW",
3856
+ # traffic_policy_id: "tp-12345",
3857
+ # })
3858
+ #
3859
+ # resp.to_h outputs the following:
3860
+ # {
3861
+ # }
3461
3862
  #
3462
3863
  # @example Request syntax with placeholder values
3463
3864
  #
3464
3865
  # resp = client.update_traffic_policy({
3465
- # default_action: "ALLOW", # accepts ALLOW, DENY
3466
- # max_message_size_bytes: 1,
3866
+ # traffic_policy_id: "TrafficPolicyId", # required
3867
+ # traffic_policy_name: "TrafficPolicyName",
3467
3868
  # policy_statements: [
3468
3869
  # {
3469
- # action: "ALLOW", # required, accepts ALLOW, DENY
3470
3870
  # conditions: [ # required
3471
3871
  # {
3472
- # boolean_expression: {
3872
+ # string_expression: {
3473
3873
  # evaluate: { # required
3874
+ # attribute: "RECIPIENT", # accepts RECIPIENT
3474
3875
  # analysis: {
3475
3876
  # analyzer: "AnalyzerArn", # required
3476
3877
  # result_field: "ResultField", # required
3477
3878
  # },
3478
- # is_in_address_list: {
3479
- # address_lists: ["AddressListArn"], # required
3480
- # attribute: "RECIPIENT", # required, accepts RECIPIENT
3481
- # },
3482
3879
  # },
3483
- # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
3880
+ # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
3881
+ # values: ["String"], # required
3484
3882
  # },
3485
3883
  # ip_expression: {
3486
3884
  # evaluate: { # required
@@ -3496,17 +3894,6 @@ module Aws::MailManager
3496
3894
  # operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
3497
3895
  # values: ["Ipv6Cidr"], # required
3498
3896
  # },
3499
- # string_expression: {
3500
- # evaluate: { # required
3501
- # analysis: {
3502
- # analyzer: "AnalyzerArn", # required
3503
- # result_field: "ResultField", # required
3504
- # },
3505
- # attribute: "RECIPIENT", # accepts RECIPIENT
3506
- # },
3507
- # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
3508
- # values: ["String"], # required
3509
- # },
3510
3897
  # tls_expression: {
3511
3898
  # evaluate: { # required
3512
3899
  # attribute: "TLS_PROTOCOL", # accepts TLS_PROTOCOL
@@ -3514,12 +3901,26 @@ module Aws::MailManager
3514
3901
  # operator: "MINIMUM_TLS_VERSION", # required, accepts MINIMUM_TLS_VERSION, IS
3515
3902
  # value: "TLS1_2", # required, accepts TLS1_2, TLS1_3
3516
3903
  # },
3904
+ # boolean_expression: {
3905
+ # evaluate: { # required
3906
+ # analysis: {
3907
+ # analyzer: "AnalyzerArn", # required
3908
+ # result_field: "ResultField", # required
3909
+ # },
3910
+ # is_in_address_list: {
3911
+ # attribute: "RECIPIENT", # required, accepts RECIPIENT
3912
+ # address_lists: ["AddressListArn"], # required
3913
+ # },
3914
+ # },
3915
+ # operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
3916
+ # },
3517
3917
  # },
3518
3918
  # ],
3919
+ # action: "ALLOW", # required, accepts ALLOW, DENY
3519
3920
  # },
3520
3921
  # ],
3521
- # traffic_policy_id: "TrafficPolicyId", # required
3522
- # traffic_policy_name: "TrafficPolicyName",
3922
+ # default_action: "ALLOW", # accepts ALLOW, DENY
3923
+ # max_message_size_bytes: 1,
3523
3924
  # })
3524
3925
  #
3525
3926
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/UpdateTrafficPolicy AWS API Documentation
@@ -3549,7 +3950,7 @@ module Aws::MailManager
3549
3950
  tracer: tracer
3550
3951
  )
3551
3952
  context[:gem_name] = 'aws-sdk-mailmanager'
3552
- context[:gem_version] = '1.26.0'
3953
+ context[:gem_version] = '1.28.0'
3553
3954
  Seahorse::Client::Request.new(handlers, context)
3554
3955
  end
3555
3956