aws-sdk-mailmanager 1.27.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mailmanager/client.rb +1050 -639
- data/lib/aws-sdk-mailmanager/client_api.rb +161 -161
- data/lib/aws-sdk-mailmanager/types.rb +752 -752
- data/lib/aws-sdk-mailmanager/waiters.rb +15 -0
- data/lib/aws-sdk-mailmanager.rb +2 -1
- data/sig/client.rbs +355 -354
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +175 -175
- metadata +4 -3
@@ -95,7 +95,7 @@ module Aws::MailManager
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::MailManager
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::MailManager
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::MailManager
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -374,7 +384,7 @@ module Aws::MailManager
|
|
374
384
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
375
385
|
#
|
376
386
|
# @option options [Aws::TokenProvider] :token_provider
|
377
|
-
#
|
387
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
378
388
|
# following classes:
|
379
389
|
#
|
380
390
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -480,11 +490,6 @@ module Aws::MailManager
|
|
480
490
|
# request. The resulting Amazon Resource Name (ARN) can be used in a
|
481
491
|
# conditional statement for a rule set or traffic policy.
|
482
492
|
#
|
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
493
|
# @option params [String] :client_token
|
489
494
|
# A unique token that Amazon SES uses to recognize subsequent retries of
|
490
495
|
# the same request.
|
@@ -492,6 +497,11 @@ module Aws::MailManager
|
|
492
497
|
# **A suitable default value is auto-generated.** You should normally
|
493
498
|
# not need to pass this option.**
|
494
499
|
#
|
500
|
+
# @option params [required, String] :addon_subscription_id
|
501
|
+
# The unique ID of a previously created subscription that an Add On
|
502
|
+
# instance is created for. You can only have one instance per
|
503
|
+
# subscription.
|
504
|
+
#
|
495
505
|
# @option params [Array<Types::Tag>] :tags
|
496
506
|
# The tags used to organize, track, or control access for the resource.
|
497
507
|
# For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
|
@@ -504,8 +514,8 @@ module Aws::MailManager
|
|
504
514
|
# @example Request syntax with placeholder values
|
505
515
|
#
|
506
516
|
# resp = client.create_addon_instance({
|
507
|
-
# addon_subscription_id: "AddonSubscriptionId", # required
|
508
517
|
# client_token: "IdempotencyToken",
|
518
|
+
# addon_subscription_id: "AddonSubscriptionId", # required
|
509
519
|
# tags: [
|
510
520
|
# {
|
511
521
|
# key: "TagKey", # required
|
@@ -531,10 +541,6 @@ module Aws::MailManager
|
|
531
541
|
# its terms of use and additional pricing. The subscription can then be
|
532
542
|
# used to create an instance for use in rule sets or traffic policies.
|
533
543
|
#
|
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
544
|
# @option params [String] :client_token
|
539
545
|
# A unique token that Amazon SES uses to recognize subsequent retries of
|
540
546
|
# the same request.
|
@@ -542,6 +548,10 @@ module Aws::MailManager
|
|
542
548
|
# **A suitable default value is auto-generated.** You should normally
|
543
549
|
# not need to pass this option.**
|
544
550
|
#
|
551
|
+
# @option params [required, String] :addon_name
|
552
|
+
# The name of the Add On to subscribe to. You can only have one
|
553
|
+
# subscription for each Add On name.
|
554
|
+
#
|
545
555
|
# @option params [Array<Types::Tag>] :tags
|
546
556
|
# The tags used to organize, track, or control access for the resource.
|
547
557
|
# For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
|
@@ -554,8 +564,8 @@ module Aws::MailManager
|
|
554
564
|
# @example Request syntax with placeholder values
|
555
565
|
#
|
556
566
|
# resp = client.create_addon_subscription({
|
557
|
-
# addon_name: "AddonName", # required
|
558
567
|
# client_token: "IdempotencyToken",
|
568
|
+
# addon_name: "AddonName", # required
|
559
569
|
# tags: [
|
560
570
|
# {
|
561
571
|
# key: "TagKey", # required
|
@@ -579,9 +589,6 @@ module Aws::MailManager
|
|
579
589
|
|
580
590
|
# Creates a new address list.
|
581
591
|
#
|
582
|
-
# @option params [required, String] :address_list_name
|
583
|
-
# A user-friendly name for the address list.
|
584
|
-
#
|
585
592
|
# @option params [String] :client_token
|
586
593
|
# A unique token that Amazon SES uses to recognize subsequent retries of
|
587
594
|
# the same request.
|
@@ -589,6 +596,9 @@ module Aws::MailManager
|
|
589
596
|
# **A suitable default value is auto-generated.** You should normally
|
590
597
|
# not need to pass this option.**
|
591
598
|
#
|
599
|
+
# @option params [required, String] :address_list_name
|
600
|
+
# A user-friendly name for the address list.
|
601
|
+
#
|
592
602
|
# @option params [Array<Types::Tag>] :tags
|
593
603
|
# The tags used to organize, track, or control access for the resource.
|
594
604
|
# For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
|
@@ -601,8 +611,8 @@ module Aws::MailManager
|
|
601
611
|
# @example Request syntax with placeholder values
|
602
612
|
#
|
603
613
|
# resp = client.create_address_list({
|
604
|
-
# address_list_name: "AddressListName", # required
|
605
614
|
# client_token: "IdempotencyToken",
|
615
|
+
# address_list_name: "AddressListName", # required
|
606
616
|
# tags: [
|
607
617
|
# {
|
608
618
|
# key: "TagKey", # required
|
@@ -626,9 +636,6 @@ module Aws::MailManager
|
|
626
636
|
|
627
637
|
# Creates an import job for an address list.
|
628
638
|
#
|
629
|
-
# @option params [required, String] :address_list_id
|
630
|
-
# The unique identifier of the address list for importing addresses to.
|
631
|
-
#
|
632
639
|
# @option params [String] :client_token
|
633
640
|
# A unique token that Amazon SES uses to recognize subsequent retries of
|
634
641
|
# the same request.
|
@@ -636,12 +643,15 @@ module Aws::MailManager
|
|
636
643
|
# **A suitable default value is auto-generated.** You should normally
|
637
644
|
# not need to pass this option.**
|
638
645
|
#
|
639
|
-
# @option params [required,
|
640
|
-
# The
|
646
|
+
# @option params [required, String] :address_list_id
|
647
|
+
# The unique identifier of the address list for importing addresses to.
|
641
648
|
#
|
642
649
|
# @option params [required, String] :name
|
643
650
|
# A user-friendly name for the import job.
|
644
651
|
#
|
652
|
+
# @option params [required, Types::ImportDataFormat] :import_data_format
|
653
|
+
# The format of the input for an import job.
|
654
|
+
#
|
645
655
|
# @return [Types::CreateAddressListImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
646
656
|
#
|
647
657
|
# * {Types::CreateAddressListImportJobResponse#job_id #job_id} => String
|
@@ -650,12 +660,12 @@ module Aws::MailManager
|
|
650
660
|
# @example Request syntax with placeholder values
|
651
661
|
#
|
652
662
|
# resp = client.create_address_list_import_job({
|
653
|
-
# address_list_id: "AddressListId", # required
|
654
663
|
# client_token: "IdempotencyToken",
|
664
|
+
# address_list_id: "AddressListId", # required
|
665
|
+
# name: "JobName", # required
|
655
666
|
# import_data_format: { # required
|
656
667
|
# import_data_type: "CSV", # required, accepts CSV, JSON
|
657
668
|
# },
|
658
|
-
# name: "JobName", # required
|
659
669
|
# })
|
660
670
|
#
|
661
671
|
# @example Response structure
|
@@ -674,23 +684,23 @@ module Aws::MailManager
|
|
674
684
|
|
675
685
|
# Creates a new email archive resource for storing and retaining emails.
|
676
686
|
#
|
677
|
-
# @option params [required, String] :archive_name
|
678
|
-
# A unique name for the new archive.
|
679
|
-
#
|
680
687
|
# @option params [String] :client_token
|
681
688
|
# A unique token Amazon SES uses to recognize retries of this request.
|
682
689
|
#
|
683
690
|
# **A suitable default value is auto-generated.** You should normally
|
684
691
|
# not need to pass this option.**
|
685
692
|
#
|
686
|
-
# @option params [String] :
|
687
|
-
#
|
688
|
-
# the archive.
|
693
|
+
# @option params [required, String] :archive_name
|
694
|
+
# A unique name for the new archive.
|
689
695
|
#
|
690
696
|
# @option params [Types::ArchiveRetention] :retention
|
691
697
|
# The period for retaining emails in the archive before automatic
|
692
698
|
# deletion.
|
693
699
|
#
|
700
|
+
# @option params [String] :kms_key_arn
|
701
|
+
# The Amazon Resource Name (ARN) of the KMS key for encrypting emails in
|
702
|
+
# the archive.
|
703
|
+
#
|
694
704
|
# @option params [Array<Types::Tag>] :tags
|
695
705
|
# The tags used to organize, track, or control access for the resource.
|
696
706
|
# For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
|
@@ -703,12 +713,12 @@ module Aws::MailManager
|
|
703
713
|
# @example Request syntax with placeholder values
|
704
714
|
#
|
705
715
|
# resp = client.create_archive({
|
706
|
-
# archive_name: "ArchiveNameString", # required
|
707
716
|
# client_token: "IdempotencyToken",
|
708
|
-
#
|
717
|
+
# archive_name: "ArchiveNameString", # required
|
709
718
|
# retention: {
|
710
719
|
# 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
720
|
# },
|
721
|
+
# kms_key_arn: "KmsKeyArn",
|
712
722
|
# tags: [
|
713
723
|
# {
|
714
724
|
# key: "TagKey", # required
|
@@ -739,64 +749,131 @@ module Aws::MailManager
|
|
739
749
|
# **A suitable default value is auto-generated.** You should normally
|
740
750
|
# not need to pass this option.**
|
741
751
|
#
|
752
|
+
# @option params [required, String] :ingress_point_name
|
753
|
+
# A user friendly name for an ingress endpoint resource.
|
754
|
+
#
|
755
|
+
# @option params [required, String] :type
|
756
|
+
# The type of the ingress endpoint to create.
|
757
|
+
#
|
758
|
+
# @option params [required, String] :rule_set_id
|
759
|
+
# The identifier of an existing rule set that you attach to an ingress
|
760
|
+
# endpoint resource.
|
761
|
+
#
|
762
|
+
# @option params [required, String] :traffic_policy_id
|
763
|
+
# The identifier of an existing traffic policy that you attach to an
|
764
|
+
# ingress endpoint resource.
|
765
|
+
#
|
742
766
|
# @option params [Types::IngressPointConfiguration] :ingress_point_configuration
|
743
767
|
# If you choose an Authenticated ingress endpoint, you must configure
|
744
768
|
# either an SMTP password or a secret ARN.
|
745
769
|
#
|
746
|
-
# @option params [required, String] :ingress_point_name
|
747
|
-
# A user friendly name for an ingress endpoint resource.
|
748
|
-
#
|
749
770
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
750
771
|
# Specifies the network configuration for the ingress point. This allows
|
751
772
|
# you to create an IPv4-only, Dual-Stack, or PrivateLink type of ingress
|
752
773
|
# point. If not specified, the default network type is IPv4-only.
|
753
774
|
#
|
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
775
|
# @option params [Array<Types::Tag>] :tags
|
759
776
|
# The tags used to organize, track, or control access for the resource.
|
760
777
|
# For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
|
761
778
|
# }.
|
762
779
|
#
|
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
780
|
# @return [Types::CreateIngressPointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
771
781
|
#
|
772
782
|
# * {Types::CreateIngressPointResponse#ingress_point_id #ingress_point_id} => String
|
773
783
|
#
|
784
|
+
#
|
785
|
+
# @example Example: Create Open IngressPoint
|
786
|
+
#
|
787
|
+
# resp = client.create_ingress_point({
|
788
|
+
# ingress_point_name: "ingressPointName",
|
789
|
+
# rule_set_id: "rs-12345",
|
790
|
+
# tags: [
|
791
|
+
# {
|
792
|
+
# key: "key",
|
793
|
+
# value: "value",
|
794
|
+
# },
|
795
|
+
# ],
|
796
|
+
# traffic_policy_id: "tp-12345",
|
797
|
+
# type: "OPEN",
|
798
|
+
# })
|
799
|
+
#
|
800
|
+
# resp.to_h outputs the following:
|
801
|
+
# {
|
802
|
+
# ingress_point_id: "inp-12345",
|
803
|
+
# }
|
804
|
+
#
|
805
|
+
# @example Example: Create Auth IngressPoint with Password
|
806
|
+
#
|
807
|
+
# resp = client.create_ingress_point({
|
808
|
+
# ingress_point_configuration: {
|
809
|
+
# smtp_password: "smtpPassword",
|
810
|
+
# },
|
811
|
+
# ingress_point_name: "ingressPointName",
|
812
|
+
# rule_set_id: "rs-12345",
|
813
|
+
# tags: [
|
814
|
+
# {
|
815
|
+
# key: "key",
|
816
|
+
# value: "value",
|
817
|
+
# },
|
818
|
+
# ],
|
819
|
+
# traffic_policy_id: "tp-12345",
|
820
|
+
# type: "AUTH",
|
821
|
+
# })
|
822
|
+
#
|
823
|
+
# resp.to_h outputs the following:
|
824
|
+
# {
|
825
|
+
# ingress_point_id: "inp-12345",
|
826
|
+
# }
|
827
|
+
#
|
828
|
+
# @example Example: Create Auth IngressPoint with SecretsManager Secret
|
829
|
+
#
|
830
|
+
# resp = client.create_ingress_point({
|
831
|
+
# ingress_point_configuration: {
|
832
|
+
# secret_arn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde",
|
833
|
+
# },
|
834
|
+
# ingress_point_name: "ingressPointName",
|
835
|
+
# rule_set_id: "rs-12345",
|
836
|
+
# tags: [
|
837
|
+
# {
|
838
|
+
# key: "key",
|
839
|
+
# value: "value",
|
840
|
+
# },
|
841
|
+
# ],
|
842
|
+
# traffic_policy_id: "tp-12345",
|
843
|
+
# type: "AUTH",
|
844
|
+
# })
|
845
|
+
#
|
846
|
+
# resp.to_h outputs the following:
|
847
|
+
# {
|
848
|
+
# ingress_point_id: "inp-12345",
|
849
|
+
# }
|
850
|
+
#
|
774
851
|
# @example Request syntax with placeholder values
|
775
852
|
#
|
776
853
|
# resp = client.create_ingress_point({
|
777
854
|
# client_token: "IdempotencyToken",
|
855
|
+
# ingress_point_name: "IngressPointName", # required
|
856
|
+
# type: "OPEN", # required, accepts OPEN, AUTH
|
857
|
+
# rule_set_id: "RuleSetId", # required
|
858
|
+
# traffic_policy_id: "TrafficPolicyId", # required
|
778
859
|
# ingress_point_configuration: {
|
779
|
-
# secret_arn: "SecretArn",
|
780
860
|
# smtp_password: "SmtpPassword",
|
861
|
+
# secret_arn: "SecretArn",
|
781
862
|
# },
|
782
|
-
# ingress_point_name: "IngressPointName", # required
|
783
863
|
# network_configuration: {
|
784
|
-
# private_network_configuration: {
|
785
|
-
# vpc_endpoint_id: "VpcEndpointId", # required
|
786
|
-
# },
|
787
864
|
# public_network_configuration: {
|
788
865
|
# ip_type: "IPV4", # required, accepts IPV4, DUAL_STACK
|
789
866
|
# },
|
867
|
+
# private_network_configuration: {
|
868
|
+
# vpc_endpoint_id: "VpcEndpointId", # required
|
869
|
+
# },
|
790
870
|
# },
|
791
|
-
# rule_set_id: "RuleSetId", # required
|
792
871
|
# tags: [
|
793
872
|
# {
|
794
873
|
# key: "TagKey", # required
|
795
874
|
# value: "TagValue", # required
|
796
875
|
# },
|
797
876
|
# ],
|
798
|
-
# traffic_policy_id: "TrafficPolicyId", # required
|
799
|
-
# type: "OPEN", # required, accepts OPEN, AUTH
|
800
877
|
# })
|
801
878
|
#
|
802
879
|
# @example Response structure
|
@@ -815,10 +892,6 @@ module Aws::MailManager
|
|
815
892
|
# Creates a relay resource which can be used in rules to relay incoming
|
816
893
|
# emails to defined relay destinations.
|
817
894
|
#
|
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
895
|
# @option params [String] :client_token
|
823
896
|
# A unique token that Amazon SES uses to recognize subsequent retries of
|
824
897
|
# the same request.
|
@@ -835,6 +908,10 @@ module Aws::MailManager
|
|
835
908
|
# @option params [required, Integer] :server_port
|
836
909
|
# The destination relay server port.
|
837
910
|
#
|
911
|
+
# @option params [required, Types::RelayAuthentication] :authentication
|
912
|
+
# Authentication for the relay destination server—specify the secretARN
|
913
|
+
# where the SMTP credentials are stored.
|
914
|
+
#
|
838
915
|
# @option params [Array<Types::Tag>] :tags
|
839
916
|
# The tags used to organize, track, or control access for the resource.
|
840
917
|
# For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
|
@@ -847,15 +924,15 @@ module Aws::MailManager
|
|
847
924
|
# @example Request syntax with placeholder values
|
848
925
|
#
|
849
926
|
# resp = client.create_relay({
|
850
|
-
# authentication: { # required
|
851
|
-
# no_authentication: {
|
852
|
-
# },
|
853
|
-
# secret_arn: "SecretArn",
|
854
|
-
# },
|
855
927
|
# client_token: "IdempotencyToken",
|
856
928
|
# relay_name: "RelayName", # required
|
857
929
|
# server_name: "RelayServerName", # required
|
858
930
|
# server_port: 1, # required
|
931
|
+
# authentication: { # required
|
932
|
+
# secret_arn: "SecretArn",
|
933
|
+
# no_authentication: {
|
934
|
+
# },
|
935
|
+
# },
|
859
936
|
# tags: [
|
860
937
|
# {
|
861
938
|
# key: "TagKey", # required
|
@@ -908,83 +985,34 @@ module Aws::MailManager
|
|
908
985
|
# rule_set_name: "RuleSetName", # required
|
909
986
|
# rules: [ # required
|
910
987
|
# {
|
911
|
-
#
|
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
|
-
# ],
|
988
|
+
# name: "RuleName",
|
962
989
|
# conditions: [
|
963
990
|
# {
|
964
991
|
# boolean_expression: {
|
965
992
|
# evaluate: { # required
|
993
|
+
# attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
|
966
994
|
# analysis: {
|
967
995
|
# analyzer: "AnalyzerArn", # required
|
968
996
|
# result_field: "ResultField", # required
|
969
997
|
# },
|
970
|
-
# attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
|
971
998
|
# is_in_address_list: {
|
972
|
-
# address_lists: ["AddressListArn"], # required
|
973
999
|
# attribute: "RECIPIENT", # required, accepts RECIPIENT, MAIL_FROM, SENDER, FROM, TO, CC
|
1000
|
+
# address_lists: ["AddressListArn"], # required
|
974
1001
|
# },
|
975
1002
|
# },
|
976
1003
|
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
977
1004
|
# },
|
978
|
-
#
|
979
|
-
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
980
|
-
# values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
|
981
|
-
# },
|
982
|
-
# ip_expression: {
|
1005
|
+
# string_expression: {
|
983
1006
|
# evaluate: { # required
|
984
|
-
# attribute: "
|
1007
|
+
# attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
|
1008
|
+
# mime_header_attribute: "MimeHeaderAttribute",
|
1009
|
+
# analysis: {
|
1010
|
+
# analyzer: "AnalyzerArn", # required
|
1011
|
+
# result_field: "ResultField", # required
|
1012
|
+
# },
|
985
1013
|
# },
|
986
|
-
# operator: "
|
987
|
-
# values: ["
|
1014
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
|
1015
|
+
# values: ["RuleStringValue"], # required
|
988
1016
|
# },
|
989
1017
|
# number_expression: {
|
990
1018
|
# evaluate: { # required
|
@@ -993,58 +1021,57 @@ module Aws::MailManager
|
|
993
1021
|
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN_OR_EQUAL
|
994
1022
|
# value: 1.0, # required
|
995
1023
|
# },
|
996
|
-
#
|
1024
|
+
# ip_expression: {
|
997
1025
|
# evaluate: { # required
|
998
|
-
#
|
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",
|
1026
|
+
# attribute: "SOURCE_IP", # accepts SOURCE_IP
|
1004
1027
|
# },
|
1005
|
-
# operator: "
|
1006
|
-
# values: ["
|
1028
|
+
# operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
|
1029
|
+
# values: ["RuleIpStringValue"], # required
|
1007
1030
|
# },
|
1008
1031
|
# verdict_expression: {
|
1009
1032
|
# evaluate: { # required
|
1033
|
+
# attribute: "SPF", # accepts SPF, DKIM
|
1010
1034
|
# analysis: {
|
1011
1035
|
# analyzer: "AnalyzerArn", # required
|
1012
1036
|
# result_field: "ResultField", # required
|
1013
1037
|
# },
|
1014
|
-
# attribute: "SPF", # accepts SPF, DKIM
|
1015
1038
|
# },
|
1016
1039
|
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1017
1040
|
# values: ["PASS"], # required, accepts PASS, FAIL, GRAY, PROCESSING_FAILED
|
1018
1041
|
# },
|
1042
|
+
# dmarc_expression: {
|
1043
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1044
|
+
# values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
|
1045
|
+
# },
|
1019
1046
|
# },
|
1020
1047
|
# ],
|
1021
|
-
# name: "RuleName",
|
1022
1048
|
# unless: [
|
1023
1049
|
# {
|
1024
1050
|
# boolean_expression: {
|
1025
1051
|
# evaluate: { # required
|
1052
|
+
# attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
|
1026
1053
|
# analysis: {
|
1027
1054
|
# analyzer: "AnalyzerArn", # required
|
1028
1055
|
# result_field: "ResultField", # required
|
1029
1056
|
# },
|
1030
|
-
# attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
|
1031
1057
|
# is_in_address_list: {
|
1032
|
-
# address_lists: ["AddressListArn"], # required
|
1033
1058
|
# attribute: "RECIPIENT", # required, accepts RECIPIENT, MAIL_FROM, SENDER, FROM, TO, CC
|
1059
|
+
# address_lists: ["AddressListArn"], # required
|
1034
1060
|
# },
|
1035
1061
|
# },
|
1036
1062
|
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
1037
1063
|
# },
|
1038
|
-
#
|
1039
|
-
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1040
|
-
# values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
|
1041
|
-
# },
|
1042
|
-
# ip_expression: {
|
1064
|
+
# string_expression: {
|
1043
1065
|
# evaluate: { # required
|
1044
|
-
# attribute: "
|
1066
|
+
# attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
|
1067
|
+
# mime_header_attribute: "MimeHeaderAttribute",
|
1068
|
+
# analysis: {
|
1069
|
+
# analyzer: "AnalyzerArn", # required
|
1070
|
+
# result_field: "ResultField", # required
|
1071
|
+
# },
|
1045
1072
|
# },
|
1046
|
-
# operator: "
|
1047
|
-
# values: ["
|
1073
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
|
1074
|
+
# values: ["RuleStringValue"], # required
|
1048
1075
|
# },
|
1049
1076
|
# number_expression: {
|
1050
1077
|
# evaluate: { # required
|
@@ -1053,29 +1080,79 @@ module Aws::MailManager
|
|
1053
1080
|
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN_OR_EQUAL
|
1054
1081
|
# value: 1.0, # required
|
1055
1082
|
# },
|
1056
|
-
#
|
1083
|
+
# ip_expression: {
|
1057
1084
|
# evaluate: { # required
|
1058
|
-
#
|
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",
|
1085
|
+
# attribute: "SOURCE_IP", # accepts SOURCE_IP
|
1064
1086
|
# },
|
1065
|
-
# operator: "
|
1066
|
-
# values: ["
|
1087
|
+
# operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
|
1088
|
+
# values: ["RuleIpStringValue"], # required
|
1067
1089
|
# },
|
1068
1090
|
# verdict_expression: {
|
1069
1091
|
# evaluate: { # required
|
1092
|
+
# attribute: "SPF", # accepts SPF, DKIM
|
1070
1093
|
# analysis: {
|
1071
1094
|
# analyzer: "AnalyzerArn", # required
|
1072
1095
|
# result_field: "ResultField", # required
|
1073
1096
|
# },
|
1074
|
-
# attribute: "SPF", # accepts SPF, DKIM
|
1075
1097
|
# },
|
1076
1098
|
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1077
1099
|
# values: ["PASS"], # required, accepts PASS, FAIL, GRAY, PROCESSING_FAILED
|
1078
1100
|
# },
|
1101
|
+
# dmarc_expression: {
|
1102
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
1103
|
+
# values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
|
1104
|
+
# },
|
1105
|
+
# },
|
1106
|
+
# ],
|
1107
|
+
# actions: [ # required
|
1108
|
+
# {
|
1109
|
+
# drop: {
|
1110
|
+
# },
|
1111
|
+
# relay: {
|
1112
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
1113
|
+
# relay: "IdOrArn", # required
|
1114
|
+
# mail_from: "REPLACE", # accepts REPLACE, PRESERVE
|
1115
|
+
# },
|
1116
|
+
# archive: {
|
1117
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
1118
|
+
# target_archive: "NameOrArn", # required
|
1119
|
+
# },
|
1120
|
+
# write_to_s3: {
|
1121
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
1122
|
+
# role_arn: "IamRoleArn", # required
|
1123
|
+
# s3_bucket: "S3Bucket", # required
|
1124
|
+
# s3_prefix: "S3Prefix",
|
1125
|
+
# s3_sse_kms_key_id: "KmsKeyId",
|
1126
|
+
# },
|
1127
|
+
# send: {
|
1128
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
1129
|
+
# role_arn: "IamRoleArn", # required
|
1130
|
+
# },
|
1131
|
+
# add_header: {
|
1132
|
+
# header_name: "HeaderName", # required
|
1133
|
+
# header_value: "HeaderValue", # required
|
1134
|
+
# },
|
1135
|
+
# replace_recipient: {
|
1136
|
+
# replace_with: ["EmailAddress"],
|
1137
|
+
# },
|
1138
|
+
# deliver_to_mailbox: {
|
1139
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
1140
|
+
# mailbox_arn: "NameOrArn", # required
|
1141
|
+
# role_arn: "IamRoleArn", # required
|
1142
|
+
# },
|
1143
|
+
# deliver_to_q_business: {
|
1144
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
1145
|
+
# application_id: "QBusinessApplicationId", # required
|
1146
|
+
# index_id: "QBusinessIndexId", # required
|
1147
|
+
# role_arn: "IamRoleArn", # required
|
1148
|
+
# },
|
1149
|
+
# publish_to_sns: {
|
1150
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
1151
|
+
# topic_arn: "SnsTopicArn", # required
|
1152
|
+
# role_arn: "IamRoleArn", # required
|
1153
|
+
# encoding: "UTF-8", # accepts UTF-8, BASE64
|
1154
|
+
# payload_type: "HEADERS", # accepts HEADERS, CONTENT
|
1155
|
+
# },
|
1079
1156
|
# },
|
1080
1157
|
# ],
|
1081
1158
|
# },
|
@@ -1110,6 +1187,12 @@ module Aws::MailManager
|
|
1110
1187
|
# **A suitable default value is auto-generated.** You should normally
|
1111
1188
|
# not need to pass this option.**
|
1112
1189
|
#
|
1190
|
+
# @option params [required, String] :traffic_policy_name
|
1191
|
+
# A user-friendly name for the traffic policy resource.
|
1192
|
+
#
|
1193
|
+
# @option params [required, Array<Types::PolicyStatement>] :policy_statements
|
1194
|
+
# Conditional statements for filtering email traffic.
|
1195
|
+
#
|
1113
1196
|
# @option params [required, String] :default_action
|
1114
1197
|
# Default action instructs the traffic policy to either Allow or Deny
|
1115
1198
|
# (block) messages that fall outside of (or not addressed by) the
|
@@ -1119,44 +1202,65 @@ module Aws::MailManager
|
|
1119
1202
|
# The maximum message size in bytes of email which is allowed in by this
|
1120
1203
|
# traffic policy—anything larger will be blocked.
|
1121
1204
|
#
|
1122
|
-
# @option params [required, Array<Types::PolicyStatement>] :policy_statements
|
1123
|
-
# Conditional statements for filtering email traffic.
|
1124
|
-
#
|
1125
1205
|
# @option params [Array<Types::Tag>] :tags
|
1126
1206
|
# The tags used to organize, track, or control access for the resource.
|
1127
1207
|
# For example, \{ "tags": \{"key1":"value1", "key2":"value2"}
|
1128
1208
|
# }.
|
1129
1209
|
#
|
1130
|
-
# @option params [required, String] :traffic_policy_name
|
1131
|
-
# A user-friendly name for the traffic policy resource.
|
1132
|
-
#
|
1133
1210
|
# @return [Types::CreateTrafficPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1134
1211
|
#
|
1135
1212
|
# * {Types::CreateTrafficPolicyResponse#traffic_policy_id #traffic_policy_id} => String
|
1136
1213
|
#
|
1214
|
+
#
|
1215
|
+
# @example Example: Create TrafficPolicy
|
1216
|
+
#
|
1217
|
+
# resp = client.create_traffic_policy({
|
1218
|
+
# default_action: "DENY",
|
1219
|
+
# policy_statements: [
|
1220
|
+
# {
|
1221
|
+
# action: "ALLOW",
|
1222
|
+
# conditions: [
|
1223
|
+
# {
|
1224
|
+
# ip_expression: {
|
1225
|
+
# evaluate: {
|
1226
|
+
# attribute: "SENDER_IP",
|
1227
|
+
# },
|
1228
|
+
# operator: "CIDR_MATCHES",
|
1229
|
+
# values: [
|
1230
|
+
# "0.0.0.0/12",
|
1231
|
+
# ],
|
1232
|
+
# },
|
1233
|
+
# },
|
1234
|
+
# ],
|
1235
|
+
# },
|
1236
|
+
# ],
|
1237
|
+
# traffic_policy_name: "trafficPolicyName",
|
1238
|
+
# })
|
1239
|
+
#
|
1240
|
+
# resp.to_h outputs the following:
|
1241
|
+
# {
|
1242
|
+
# traffic_policy_id: "tp-13245",
|
1243
|
+
# }
|
1244
|
+
#
|
1137
1245
|
# @example Request syntax with placeholder values
|
1138
1246
|
#
|
1139
1247
|
# resp = client.create_traffic_policy({
|
1140
1248
|
# client_token: "IdempotencyToken",
|
1141
|
-
#
|
1142
|
-
# max_message_size_bytes: 1,
|
1249
|
+
# traffic_policy_name: "TrafficPolicyName", # required
|
1143
1250
|
# policy_statements: [ # required
|
1144
1251
|
# {
|
1145
|
-
# action: "ALLOW", # required, accepts ALLOW, DENY
|
1146
1252
|
# conditions: [ # required
|
1147
1253
|
# {
|
1148
|
-
#
|
1254
|
+
# string_expression: {
|
1149
1255
|
# evaluate: { # required
|
1256
|
+
# attribute: "RECIPIENT", # accepts RECIPIENT
|
1150
1257
|
# analysis: {
|
1151
1258
|
# analyzer: "AnalyzerArn", # required
|
1152
1259
|
# result_field: "ResultField", # required
|
1153
1260
|
# },
|
1154
|
-
# is_in_address_list: {
|
1155
|
-
# address_lists: ["AddressListArn"], # required
|
1156
|
-
# attribute: "RECIPIENT", # required, accepts RECIPIENT
|
1157
|
-
# },
|
1158
1261
|
# },
|
1159
|
-
# operator: "
|
1262
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
|
1263
|
+
# values: ["String"], # required
|
1160
1264
|
# },
|
1161
1265
|
# ip_expression: {
|
1162
1266
|
# evaluate: { # required
|
@@ -1172,17 +1276,6 @@ module Aws::MailManager
|
|
1172
1276
|
# operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
|
1173
1277
|
# values: ["Ipv6Cidr"], # required
|
1174
1278
|
# },
|
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
1279
|
# tls_expression: {
|
1187
1280
|
# evaluate: { # required
|
1188
1281
|
# attribute: "TLS_PROTOCOL", # accepts TLS_PROTOCOL
|
@@ -1190,17 +1283,32 @@ module Aws::MailManager
|
|
1190
1283
|
# operator: "MINIMUM_TLS_VERSION", # required, accepts MINIMUM_TLS_VERSION, IS
|
1191
1284
|
# value: "TLS1_2", # required, accepts TLS1_2, TLS1_3
|
1192
1285
|
# },
|
1286
|
+
# boolean_expression: {
|
1287
|
+
# evaluate: { # required
|
1288
|
+
# analysis: {
|
1289
|
+
# analyzer: "AnalyzerArn", # required
|
1290
|
+
# result_field: "ResultField", # required
|
1291
|
+
# },
|
1292
|
+
# is_in_address_list: {
|
1293
|
+
# attribute: "RECIPIENT", # required, accepts RECIPIENT
|
1294
|
+
# address_lists: ["AddressListArn"], # required
|
1295
|
+
# },
|
1296
|
+
# },
|
1297
|
+
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
1298
|
+
# },
|
1193
1299
|
# },
|
1194
1300
|
# ],
|
1301
|
+
# action: "ALLOW", # required, accepts ALLOW, DENY
|
1195
1302
|
# },
|
1196
1303
|
# ],
|
1304
|
+
# default_action: "ALLOW", # required, accepts ALLOW, DENY
|
1305
|
+
# max_message_size_bytes: 1,
|
1197
1306
|
# tags: [
|
1198
1307
|
# {
|
1199
1308
|
# key: "TagKey", # required
|
1200
1309
|
# value: "TagValue", # required
|
1201
1310
|
# },
|
1202
1311
|
# ],
|
1203
|
-
# traffic_policy_name: "TrafficPolicyName", # required
|
1204
1312
|
# })
|
1205
1313
|
#
|
1206
1314
|
# @example Response structure
|
@@ -1317,6 +1425,17 @@ module Aws::MailManager
|
|
1317
1425
|
#
|
1318
1426
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1319
1427
|
#
|
1428
|
+
#
|
1429
|
+
# @example Example: Delete IngressPoint
|
1430
|
+
#
|
1431
|
+
# resp = client.delete_ingress_point({
|
1432
|
+
# ingress_point_id: "inp-12345",
|
1433
|
+
# })
|
1434
|
+
#
|
1435
|
+
# resp.to_h outputs the following:
|
1436
|
+
# {
|
1437
|
+
# }
|
1438
|
+
#
|
1320
1439
|
# @example Request syntax with placeholder values
|
1321
1440
|
#
|
1322
1441
|
# resp = client.delete_ingress_point({
|
@@ -1383,6 +1502,17 @@ module Aws::MailManager
|
|
1383
1502
|
#
|
1384
1503
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1385
1504
|
#
|
1505
|
+
#
|
1506
|
+
# @example Example: Delete TrafficPolicy
|
1507
|
+
#
|
1508
|
+
# resp = client.delete_traffic_policy({
|
1509
|
+
# traffic_policy_id: "tp-12345",
|
1510
|
+
# })
|
1511
|
+
#
|
1512
|
+
# resp.to_h outputs the following:
|
1513
|
+
# {
|
1514
|
+
# }
|
1515
|
+
#
|
1386
1516
|
# @example Request syntax with placeholder values
|
1387
1517
|
#
|
1388
1518
|
# resp = client.delete_traffic_policy({
|
@@ -1400,19 +1530,19 @@ module Aws::MailManager
|
|
1400
1530
|
|
1401
1531
|
# Removes a member from an address list.
|
1402
1532
|
#
|
1403
|
-
# @option params [required, String] :address
|
1404
|
-
# The address to be removed from the address list.
|
1405
|
-
#
|
1406
1533
|
# @option params [required, String] :address_list_id
|
1407
1534
|
# The unique identifier of the address list to remove the address from.
|
1408
1535
|
#
|
1536
|
+
# @option params [required, String] :address
|
1537
|
+
# The address to be removed from the address list.
|
1538
|
+
#
|
1409
1539
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1410
1540
|
#
|
1411
1541
|
# @example Request syntax with placeholder values
|
1412
1542
|
#
|
1413
1543
|
# resp = client.deregister_member_from_address_list({
|
1414
|
-
# address: "Address", # required
|
1415
1544
|
# address_list_id: "AddressListId", # required
|
1545
|
+
# address: "Address", # required
|
1416
1546
|
# })
|
1417
1547
|
#
|
1418
1548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/DeregisterMemberFromAddressList AWS API Documentation
|
@@ -1431,9 +1561,9 @@ module Aws::MailManager
|
|
1431
1561
|
#
|
1432
1562
|
# @return [Types::GetAddonInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1433
1563
|
#
|
1434
|
-
# * {Types::GetAddonInstanceResponse#addon_instance_arn #addon_instance_arn} => String
|
1435
|
-
# * {Types::GetAddonInstanceResponse#addon_name #addon_name} => String
|
1436
1564
|
# * {Types::GetAddonInstanceResponse#addon_subscription_id #addon_subscription_id} => String
|
1565
|
+
# * {Types::GetAddonInstanceResponse#addon_name #addon_name} => String
|
1566
|
+
# * {Types::GetAddonInstanceResponse#addon_instance_arn #addon_instance_arn} => String
|
1437
1567
|
# * {Types::GetAddonInstanceResponse#created_timestamp #created_timestamp} => Time
|
1438
1568
|
#
|
1439
1569
|
# @example Request syntax with placeholder values
|
@@ -1444,9 +1574,9 @@ module Aws::MailManager
|
|
1444
1574
|
#
|
1445
1575
|
# @example Response structure
|
1446
1576
|
#
|
1447
|
-
# resp.addon_instance_arn #=> String
|
1448
|
-
# resp.addon_name #=> String
|
1449
1577
|
# resp.addon_subscription_id #=> String
|
1578
|
+
# resp.addon_name #=> String
|
1579
|
+
# resp.addon_instance_arn #=> String
|
1450
1580
|
# resp.created_timestamp #=> Time
|
1451
1581
|
#
|
1452
1582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetAddonInstance AWS API Documentation
|
@@ -1497,8 +1627,8 @@ module Aws::MailManager
|
|
1497
1627
|
#
|
1498
1628
|
# @return [Types::GetAddressListResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1499
1629
|
#
|
1500
|
-
# * {Types::GetAddressListResponse#address_list_arn #address_list_arn} => String
|
1501
1630
|
# * {Types::GetAddressListResponse#address_list_id #address_list_id} => String
|
1631
|
+
# * {Types::GetAddressListResponse#address_list_arn #address_list_arn} => String
|
1502
1632
|
# * {Types::GetAddressListResponse#address_list_name #address_list_name} => String
|
1503
1633
|
# * {Types::GetAddressListResponse#created_timestamp #created_timestamp} => Time
|
1504
1634
|
# * {Types::GetAddressListResponse#last_updated_timestamp #last_updated_timestamp} => Time
|
@@ -1511,8 +1641,8 @@ module Aws::MailManager
|
|
1511
1641
|
#
|
1512
1642
|
# @example Response structure
|
1513
1643
|
#
|
1514
|
-
# resp.address_list_arn #=> String
|
1515
1644
|
# resp.address_list_id #=> String
|
1645
|
+
# resp.address_list_arn #=> String
|
1516
1646
|
# resp.address_list_name #=> String
|
1517
1647
|
# resp.created_timestamp #=> Time
|
1518
1648
|
# resp.last_updated_timestamp #=> Time
|
@@ -1533,18 +1663,18 @@ module Aws::MailManager
|
|
1533
1663
|
#
|
1534
1664
|
# @return [Types::GetAddressListImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1535
1665
|
#
|
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
1666
|
# * {Types::GetAddressListImportJobResponse#job_id #job_id} => String
|
1544
1667
|
# * {Types::GetAddressListImportJobResponse#name #name} => String
|
1668
|
+
# * {Types::GetAddressListImportJobResponse#status #status} => String
|
1545
1669
|
# * {Types::GetAddressListImportJobResponse#pre_signed_url #pre_signed_url} => String
|
1670
|
+
# * {Types::GetAddressListImportJobResponse#imported_items_count #imported_items_count} => Integer
|
1671
|
+
# * {Types::GetAddressListImportJobResponse#failed_items_count #failed_items_count} => Integer
|
1672
|
+
# * {Types::GetAddressListImportJobResponse#import_data_format #import_data_format} => Types::ImportDataFormat
|
1673
|
+
# * {Types::GetAddressListImportJobResponse#address_list_id #address_list_id} => String
|
1674
|
+
# * {Types::GetAddressListImportJobResponse#created_timestamp #created_timestamp} => Time
|
1546
1675
|
# * {Types::GetAddressListImportJobResponse#start_timestamp #start_timestamp} => Time
|
1547
|
-
# * {Types::GetAddressListImportJobResponse#
|
1676
|
+
# * {Types::GetAddressListImportJobResponse#completed_timestamp #completed_timestamp} => Time
|
1677
|
+
# * {Types::GetAddressListImportJobResponse#error #error} => String
|
1548
1678
|
#
|
1549
1679
|
# @example Request syntax with placeholder values
|
1550
1680
|
#
|
@@ -1554,18 +1684,18 @@ module Aws::MailManager
|
|
1554
1684
|
#
|
1555
1685
|
# @example Response structure
|
1556
1686
|
#
|
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
1687
|
# resp.job_id #=> String
|
1565
1688
|
# resp.name #=> String
|
1689
|
+
# resp.status #=> String, one of "CREATED", "PROCESSING", "COMPLETED", "FAILED", "STOPPED"
|
1566
1690
|
# resp.pre_signed_url #=> String
|
1691
|
+
# resp.imported_items_count #=> Integer
|
1692
|
+
# resp.failed_items_count #=> Integer
|
1693
|
+
# resp.import_data_format.import_data_type #=> String, one of "CSV", "JSON"
|
1694
|
+
# resp.address_list_id #=> String
|
1695
|
+
# resp.created_timestamp #=> Time
|
1567
1696
|
# resp.start_timestamp #=> Time
|
1568
|
-
# resp.
|
1697
|
+
# resp.completed_timestamp #=> Time
|
1698
|
+
# resp.error #=> String
|
1569
1699
|
#
|
1570
1700
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetAddressListImportJob AWS API Documentation
|
1571
1701
|
#
|
@@ -1584,14 +1714,14 @@ module Aws::MailManager
|
|
1584
1714
|
#
|
1585
1715
|
# @return [Types::GetArchiveResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1586
1716
|
#
|
1587
|
-
# * {Types::GetArchiveResponse#archive_arn #archive_arn} => String
|
1588
1717
|
# * {Types::GetArchiveResponse#archive_id #archive_id} => String
|
1589
1718
|
# * {Types::GetArchiveResponse#archive_name #archive_name} => String
|
1719
|
+
# * {Types::GetArchiveResponse#archive_arn #archive_arn} => String
|
1590
1720
|
# * {Types::GetArchiveResponse#archive_state #archive_state} => String
|
1721
|
+
# * {Types::GetArchiveResponse#retention #retention} => Types::ArchiveRetention
|
1591
1722
|
# * {Types::GetArchiveResponse#created_timestamp #created_timestamp} => Time
|
1592
|
-
# * {Types::GetArchiveResponse#kms_key_arn #kms_key_arn} => String
|
1593
1723
|
# * {Types::GetArchiveResponse#last_updated_timestamp #last_updated_timestamp} => Time
|
1594
|
-
# * {Types::GetArchiveResponse#
|
1724
|
+
# * {Types::GetArchiveResponse#kms_key_arn #kms_key_arn} => String
|
1595
1725
|
#
|
1596
1726
|
# @example Request syntax with placeholder values
|
1597
1727
|
#
|
@@ -1601,14 +1731,14 @@ module Aws::MailManager
|
|
1601
1731
|
#
|
1602
1732
|
# @example Response structure
|
1603
1733
|
#
|
1604
|
-
# resp.archive_arn #=> String
|
1605
1734
|
# resp.archive_id #=> String
|
1606
1735
|
# resp.archive_name #=> String
|
1736
|
+
# resp.archive_arn #=> String
|
1607
1737
|
# resp.archive_state #=> String, one of "ACTIVE", "PENDING_DELETION"
|
1738
|
+
# 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
1739
|
# resp.created_timestamp #=> Time
|
1609
|
-
# resp.kms_key_arn #=> String
|
1610
1740
|
# resp.last_updated_timestamp #=> Time
|
1611
|
-
# resp.
|
1741
|
+
# resp.kms_key_arn #=> String
|
1612
1742
|
#
|
1613
1743
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchive AWS API Documentation
|
1614
1744
|
#
|
@@ -1628,12 +1758,12 @@ module Aws::MailManager
|
|
1628
1758
|
# @return [Types::GetArchiveExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1629
1759
|
#
|
1630
1760
|
# * {Types::GetArchiveExportResponse#archive_id #archive_id} => String
|
1631
|
-
# * {Types::GetArchiveExportResponse#export_destination_configuration #export_destination_configuration} => Types::ExportDestinationConfiguration
|
1632
1761
|
# * {Types::GetArchiveExportResponse#filters #filters} => Types::ArchiveFilters
|
1633
1762
|
# * {Types::GetArchiveExportResponse#from_timestamp #from_timestamp} => Time
|
1763
|
+
# * {Types::GetArchiveExportResponse#to_timestamp #to_timestamp} => Time
|
1634
1764
|
# * {Types::GetArchiveExportResponse#max_results #max_results} => Integer
|
1765
|
+
# * {Types::GetArchiveExportResponse#export_destination_configuration #export_destination_configuration} => Types::ExportDestinationConfiguration
|
1635
1766
|
# * {Types::GetArchiveExportResponse#status #status} => Types::ExportStatus
|
1636
|
-
# * {Types::GetArchiveExportResponse#to_timestamp #to_timestamp} => Time
|
1637
1767
|
#
|
1638
1768
|
# @example Request syntax with placeholder values
|
1639
1769
|
#
|
@@ -1644,28 +1774,28 @@ module Aws::MailManager
|
|
1644
1774
|
# @example Response structure
|
1645
1775
|
#
|
1646
1776
|
# resp.archive_id #=> String
|
1647
|
-
# resp.export_destination_configuration.s3.s3_location #=> String
|
1648
1777
|
# 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
1778
|
# resp.filters.include[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
|
1652
1779
|
# resp.filters.include[0].string_expression.operator #=> String, one of "CONTAINS"
|
1653
1780
|
# resp.filters.include[0].string_expression.values #=> Array
|
1654
1781
|
# resp.filters.include[0].string_expression.values[0] #=> String
|
1782
|
+
# resp.filters.include[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
|
1783
|
+
# resp.filters.include[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
|
1655
1784
|
# 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
1785
|
# resp.filters.unless[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
|
1659
1786
|
# resp.filters.unless[0].string_expression.operator #=> String, one of "CONTAINS"
|
1660
1787
|
# resp.filters.unless[0].string_expression.values #=> Array
|
1661
1788
|
# resp.filters.unless[0].string_expression.values[0] #=> String
|
1789
|
+
# resp.filters.unless[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
|
1790
|
+
# resp.filters.unless[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
|
1662
1791
|
# resp.from_timestamp #=> Time
|
1792
|
+
# resp.to_timestamp #=> Time
|
1663
1793
|
# resp.max_results #=> Integer
|
1794
|
+
# resp.export_destination_configuration.s3.s3_location #=> String
|
1795
|
+
# resp.status.submission_timestamp #=> Time
|
1664
1796
|
# resp.status.completion_timestamp #=> Time
|
1665
|
-
# resp.status.error_message #=> String
|
1666
1797
|
# resp.status.state #=> String, one of "QUEUED", "PREPROCESSING", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED"
|
1667
|
-
# resp.status.
|
1668
|
-
# resp.to_timestamp #=> Time
|
1798
|
+
# resp.status.error_message #=> String
|
1669
1799
|
#
|
1670
1800
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveExport AWS API Documentation
|
1671
1801
|
#
|
@@ -1684,9 +1814,9 @@ module Aws::MailManager
|
|
1684
1814
|
#
|
1685
1815
|
# @return [Types::GetArchiveMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1686
1816
|
#
|
1687
|
-
# * {Types::GetArchiveMessageResponse#envelope #envelope} => Types::Envelope
|
1688
1817
|
# * {Types::GetArchiveMessageResponse#message_download_link #message_download_link} => String
|
1689
1818
|
# * {Types::GetArchiveMessageResponse#metadata #metadata} => Types::Metadata
|
1819
|
+
# * {Types::GetArchiveMessageResponse#envelope #envelope} => Types::Envelope
|
1690
1820
|
#
|
1691
1821
|
# @example Request syntax with placeholder values
|
1692
1822
|
#
|
@@ -1696,24 +1826,24 @@ module Aws::MailManager
|
|
1696
1826
|
#
|
1697
1827
|
# @example Response structure
|
1698
1828
|
#
|
1699
|
-
# resp.envelope.from #=> String
|
1700
|
-
# resp.envelope.helo #=> String
|
1701
|
-
# resp.envelope.to #=> Array
|
1702
|
-
# resp.envelope.to[0] #=> String
|
1703
1829
|
# resp.message_download_link #=> String
|
1704
|
-
# resp.metadata.
|
1830
|
+
# resp.metadata.timestamp #=> Time
|
1705
1831
|
# resp.metadata.ingress_point_id #=> String
|
1832
|
+
# resp.metadata.traffic_policy_id #=> String
|
1706
1833
|
# resp.metadata.rule_set_id #=> String
|
1707
1834
|
# resp.metadata.sender_hostname #=> String
|
1708
1835
|
# resp.metadata.sender_ip_address #=> String
|
1836
|
+
# resp.metadata.tls_cipher_suite #=> String
|
1837
|
+
# resp.metadata.tls_protocol #=> String
|
1709
1838
|
# resp.metadata.sending_method #=> String
|
1839
|
+
# resp.metadata.source_identity #=> String
|
1710
1840
|
# resp.metadata.sending_pool #=> String
|
1841
|
+
# resp.metadata.configuration_set #=> String
|
1711
1842
|
# resp.metadata.source_arn #=> String
|
1712
|
-
# resp.
|
1713
|
-
# resp.
|
1714
|
-
# resp.
|
1715
|
-
# resp.
|
1716
|
-
# resp.metadata.traffic_policy_id #=> String
|
1843
|
+
# resp.envelope.helo #=> String
|
1844
|
+
# resp.envelope.from #=> String
|
1845
|
+
# resp.envelope.to #=> Array
|
1846
|
+
# resp.envelope.to[0] #=> String
|
1717
1847
|
#
|
1718
1848
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveMessage AWS API Documentation
|
1719
1849
|
#
|
@@ -1742,9 +1872,9 @@ module Aws::MailManager
|
|
1742
1872
|
#
|
1743
1873
|
# @example Response structure
|
1744
1874
|
#
|
1875
|
+
# resp.body.text #=> String
|
1745
1876
|
# resp.body.html #=> String
|
1746
1877
|
# resp.body.message_malformed #=> Boolean
|
1747
|
-
# resp.body.text #=> String
|
1748
1878
|
#
|
1749
1879
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveMessageContent AWS API Documentation
|
1750
1880
|
#
|
@@ -1766,9 +1896,9 @@ module Aws::MailManager
|
|
1766
1896
|
# * {Types::GetArchiveSearchResponse#archive_id #archive_id} => String
|
1767
1897
|
# * {Types::GetArchiveSearchResponse#filters #filters} => Types::ArchiveFilters
|
1768
1898
|
# * {Types::GetArchiveSearchResponse#from_timestamp #from_timestamp} => Time
|
1899
|
+
# * {Types::GetArchiveSearchResponse#to_timestamp #to_timestamp} => Time
|
1769
1900
|
# * {Types::GetArchiveSearchResponse#max_results #max_results} => Integer
|
1770
1901
|
# * {Types::GetArchiveSearchResponse#status #status} => Types::SearchStatus
|
1771
|
-
# * {Types::GetArchiveSearchResponse#to_timestamp #to_timestamp} => Time
|
1772
1902
|
#
|
1773
1903
|
# @example Request syntax with placeholder values
|
1774
1904
|
#
|
@@ -1780,26 +1910,26 @@ module Aws::MailManager
|
|
1780
1910
|
#
|
1781
1911
|
# resp.archive_id #=> String
|
1782
1912
|
# 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
1913
|
# resp.filters.include[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
|
1786
1914
|
# resp.filters.include[0].string_expression.operator #=> String, one of "CONTAINS"
|
1787
1915
|
# resp.filters.include[0].string_expression.values #=> Array
|
1788
1916
|
# resp.filters.include[0].string_expression.values[0] #=> String
|
1917
|
+
# resp.filters.include[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
|
1918
|
+
# resp.filters.include[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
|
1789
1919
|
# 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
1920
|
# resp.filters.unless[0].string_expression.evaluate.attribute #=> String, one of "TO", "FROM", "CC", "SUBJECT", "ENVELOPE_TO", "ENVELOPE_FROM"
|
1793
1921
|
# resp.filters.unless[0].string_expression.operator #=> String, one of "CONTAINS"
|
1794
1922
|
# resp.filters.unless[0].string_expression.values #=> Array
|
1795
1923
|
# resp.filters.unless[0].string_expression.values[0] #=> String
|
1924
|
+
# resp.filters.unless[0].boolean_expression.evaluate.attribute #=> String, one of "HAS_ATTACHMENTS"
|
1925
|
+
# resp.filters.unless[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
|
1796
1926
|
# resp.from_timestamp #=> Time
|
1927
|
+
# resp.to_timestamp #=> Time
|
1797
1928
|
# resp.max_results #=> Integer
|
1929
|
+
# resp.status.submission_timestamp #=> Time
|
1798
1930
|
# resp.status.completion_timestamp #=> Time
|
1799
|
-
# resp.status.error_message #=> String
|
1800
1931
|
# resp.status.state #=> String, one of "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLED"
|
1801
|
-
# resp.status.
|
1802
|
-
# resp.to_timestamp #=> Time
|
1932
|
+
# resp.status.error_message #=> String
|
1803
1933
|
#
|
1804
1934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveSearch AWS API Documentation
|
1805
1935
|
#
|
@@ -1829,28 +1959,28 @@ module Aws::MailManager
|
|
1829
1959
|
#
|
1830
1960
|
# resp.rows #=> Array
|
1831
1961
|
# resp.rows[0].archived_message_id #=> String
|
1832
|
-
# resp.rows[0].
|
1962
|
+
# resp.rows[0].received_timestamp #=> Time
|
1833
1963
|
# resp.rows[0].date #=> String
|
1834
|
-
# resp.rows[0].
|
1835
|
-
# resp.rows[0].envelope.helo #=> String
|
1836
|
-
# resp.rows[0].envelope.to #=> Array
|
1837
|
-
# resp.rows[0].envelope.to[0] #=> String
|
1964
|
+
# resp.rows[0].to #=> String
|
1838
1965
|
# resp.rows[0].from #=> String
|
1839
|
-
# resp.rows[0].
|
1840
|
-
# resp.rows[0].
|
1841
|
-
# resp.rows[0].ingress_point_id #=> String
|
1966
|
+
# resp.rows[0].cc #=> String
|
1967
|
+
# resp.rows[0].subject #=> String
|
1842
1968
|
# resp.rows[0].message_id #=> String
|
1969
|
+
# resp.rows[0].has_attachments #=> Boolean
|
1843
1970
|
# resp.rows[0].received_headers #=> Array
|
1844
1971
|
# resp.rows[0].received_headers[0] #=> String
|
1845
|
-
# resp.rows[0].
|
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
|
1972
|
+
# resp.rows[0].in_reply_to #=> String
|
1851
1973
|
# resp.rows[0].x_mailer #=> String
|
1852
1974
|
# resp.rows[0].x_original_mailer #=> String
|
1853
1975
|
# resp.rows[0].x_priority #=> String
|
1976
|
+
# resp.rows[0].ingress_point_id #=> String
|
1977
|
+
# resp.rows[0].sender_hostname #=> String
|
1978
|
+
# resp.rows[0].sender_ip_address #=> String
|
1979
|
+
# resp.rows[0].envelope.helo #=> String
|
1980
|
+
# resp.rows[0].envelope.from #=> String
|
1981
|
+
# resp.rows[0].envelope.to #=> Array
|
1982
|
+
# resp.rows[0].envelope.to[0] #=> String
|
1983
|
+
# resp.rows[0].source_arn #=> String
|
1854
1984
|
#
|
1855
1985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveSearchResults AWS API Documentation
|
1856
1986
|
#
|
@@ -1868,18 +1998,54 @@ module Aws::MailManager
|
|
1868
1998
|
#
|
1869
1999
|
# @return [Types::GetIngressPointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1870
2000
|
#
|
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
2001
|
# * {Types::GetIngressPointResponse#ingress_point_id #ingress_point_id} => String
|
1876
2002
|
# * {Types::GetIngressPointResponse#ingress_point_name #ingress_point_name} => String
|
1877
|
-
# * {Types::GetIngressPointResponse#
|
1878
|
-
# * {Types::GetIngressPointResponse#network_configuration #network_configuration} => Types::NetworkConfiguration
|
1879
|
-
# * {Types::GetIngressPointResponse#rule_set_id #rule_set_id} => String
|
2003
|
+
# * {Types::GetIngressPointResponse#ingress_point_arn #ingress_point_arn} => String
|
1880
2004
|
# * {Types::GetIngressPointResponse#status #status} => String
|
1881
|
-
# * {Types::GetIngressPointResponse#traffic_policy_id #traffic_policy_id} => String
|
1882
2005
|
# * {Types::GetIngressPointResponse#type #type} => String
|
2006
|
+
# * {Types::GetIngressPointResponse#a_record #a_record} => String
|
2007
|
+
# * {Types::GetIngressPointResponse#rule_set_id #rule_set_id} => String
|
2008
|
+
# * {Types::GetIngressPointResponse#traffic_policy_id #traffic_policy_id} => String
|
2009
|
+
# * {Types::GetIngressPointResponse#ingress_point_auth_configuration #ingress_point_auth_configuration} => Types::IngressPointAuthConfiguration
|
2010
|
+
# * {Types::GetIngressPointResponse#network_configuration #network_configuration} => Types::NetworkConfiguration
|
2011
|
+
# * {Types::GetIngressPointResponse#created_timestamp #created_timestamp} => Time
|
2012
|
+
# * {Types::GetIngressPointResponse#last_updated_timestamp #last_updated_timestamp} => Time
|
2013
|
+
#
|
2014
|
+
#
|
2015
|
+
# @example Example: Get Open IngressPoint
|
2016
|
+
#
|
2017
|
+
# resp = client.get_ingress_point({
|
2018
|
+
# ingress_point_id: "inp-12345",
|
2019
|
+
# })
|
2020
|
+
#
|
2021
|
+
# resp.to_h outputs the following:
|
2022
|
+
# {
|
2023
|
+
# a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
|
2024
|
+
# ingress_point_arn: "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
|
2025
|
+
# ingress_point_id: "inp-12345",
|
2026
|
+
# ingress_point_name: "ingressPointName",
|
2027
|
+
# status: "ACTIVE",
|
2028
|
+
# type: "OPEN",
|
2029
|
+
# }
|
2030
|
+
#
|
2031
|
+
# @example Example: Get Auth IngressPoint
|
2032
|
+
#
|
2033
|
+
# resp = client.get_ingress_point({
|
2034
|
+
# ingress_point_id: "inp-12345",
|
2035
|
+
# })
|
2036
|
+
#
|
2037
|
+
# resp.to_h outputs the following:
|
2038
|
+
# {
|
2039
|
+
# a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
|
2040
|
+
# ingress_point_arn: "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
|
2041
|
+
# ingress_point_auth_configuration: {
|
2042
|
+
# secret_arn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde",
|
2043
|
+
# },
|
2044
|
+
# ingress_point_id: "inp-12345",
|
2045
|
+
# ingress_point_name: "ingressPointName",
|
2046
|
+
# status: "ACTIVE",
|
2047
|
+
# type: "AUTH",
|
2048
|
+
# }
|
1883
2049
|
#
|
1884
2050
|
# @example Request syntax with placeholder values
|
1885
2051
|
#
|
@@ -1889,22 +2055,22 @@ module Aws::MailManager
|
|
1889
2055
|
#
|
1890
2056
|
# @example Response structure
|
1891
2057
|
#
|
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
2058
|
# resp.ingress_point_id #=> String
|
1900
2059
|
# resp.ingress_point_name #=> String
|
1901
|
-
# resp.
|
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
|
2060
|
+
# resp.ingress_point_arn #=> String
|
1905
2061
|
# resp.status #=> String, one of "PROVISIONING", "DEPROVISIONING", "UPDATING", "ACTIVE", "CLOSED", "FAILED"
|
1906
|
-
# resp.traffic_policy_id #=> String
|
1907
2062
|
# resp.type #=> String, one of "OPEN", "AUTH"
|
2063
|
+
# resp.a_record #=> String
|
2064
|
+
# resp.rule_set_id #=> String
|
2065
|
+
# resp.traffic_policy_id #=> String
|
2066
|
+
# resp.ingress_point_auth_configuration.ingress_point_password_configuration.smtp_password_version #=> String
|
2067
|
+
# resp.ingress_point_auth_configuration.ingress_point_password_configuration.previous_smtp_password_version #=> String
|
2068
|
+
# resp.ingress_point_auth_configuration.ingress_point_password_configuration.previous_smtp_password_expiry_timestamp #=> Time
|
2069
|
+
# resp.ingress_point_auth_configuration.secret_arn #=> String
|
2070
|
+
# resp.network_configuration.public_network_configuration.ip_type #=> String, one of "IPV4", "DUAL_STACK"
|
2071
|
+
# resp.network_configuration.private_network_configuration.vpc_endpoint_id #=> String
|
2072
|
+
# resp.created_timestamp #=> Time
|
2073
|
+
# resp.last_updated_timestamp #=> Time
|
1908
2074
|
#
|
1909
2075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetIngressPoint AWS API Documentation
|
1910
2076
|
#
|
@@ -1917,13 +2083,13 @@ module Aws::MailManager
|
|
1917
2083
|
|
1918
2084
|
# Fetch attributes of a member in an address list.
|
1919
2085
|
#
|
1920
|
-
# @option params [required, String] :address
|
1921
|
-
# The address to be retrieved from the address list.
|
1922
|
-
#
|
1923
2086
|
# @option params [required, String] :address_list_id
|
1924
2087
|
# The unique identifier of the address list to retrieve the address
|
1925
2088
|
# from.
|
1926
2089
|
#
|
2090
|
+
# @option params [required, String] :address
|
2091
|
+
# The address to be retrieved from the address list.
|
2092
|
+
#
|
1927
2093
|
# @return [Types::GetMemberOfAddressListResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1928
2094
|
#
|
1929
2095
|
# * {Types::GetMemberOfAddressListResponse#address #address} => String
|
@@ -1932,8 +2098,8 @@ module Aws::MailManager
|
|
1932
2098
|
# @example Request syntax with placeholder values
|
1933
2099
|
#
|
1934
2100
|
# resp = client.get_member_of_address_list({
|
1935
|
-
# address: "Address", # required
|
1936
2101
|
# address_list_id: "AddressListId", # required
|
2102
|
+
# address: "Address", # required
|
1937
2103
|
# })
|
1938
2104
|
#
|
1939
2105
|
# @example Response structure
|
@@ -1957,14 +2123,14 @@ module Aws::MailManager
|
|
1957
2123
|
#
|
1958
2124
|
# @return [Types::GetRelayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1959
2125
|
#
|
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
2126
|
# * {Types::GetRelayResponse#relay_id #relay_id} => String
|
2127
|
+
# * {Types::GetRelayResponse#relay_arn #relay_arn} => String
|
1965
2128
|
# * {Types::GetRelayResponse#relay_name #relay_name} => String
|
1966
2129
|
# * {Types::GetRelayResponse#server_name #server_name} => String
|
1967
2130
|
# * {Types::GetRelayResponse#server_port #server_port} => Integer
|
2131
|
+
# * {Types::GetRelayResponse#authentication #authentication} => Types::RelayAuthentication
|
2132
|
+
# * {Types::GetRelayResponse#created_timestamp #created_timestamp} => Time
|
2133
|
+
# * {Types::GetRelayResponse#last_modified_timestamp #last_modified_timestamp} => Time
|
1968
2134
|
#
|
1969
2135
|
# @example Request syntax with placeholder values
|
1970
2136
|
#
|
@@ -1974,14 +2140,14 @@ module Aws::MailManager
|
|
1974
2140
|
#
|
1975
2141
|
# @example Response structure
|
1976
2142
|
#
|
1977
|
-
# resp.authentication.secret_arn #=> String
|
1978
|
-
# resp.created_timestamp #=> Time
|
1979
|
-
# resp.last_modified_timestamp #=> Time
|
1980
|
-
# resp.relay_arn #=> String
|
1981
2143
|
# resp.relay_id #=> String
|
2144
|
+
# resp.relay_arn #=> String
|
1982
2145
|
# resp.relay_name #=> String
|
1983
2146
|
# resp.server_name #=> String
|
1984
2147
|
# resp.server_port #=> Integer
|
2148
|
+
# resp.authentication.secret_arn #=> String
|
2149
|
+
# resp.created_timestamp #=> Time
|
2150
|
+
# resp.last_modified_timestamp #=> Time
|
1985
2151
|
#
|
1986
2152
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetRelay AWS API Documentation
|
1987
2153
|
#
|
@@ -1999,11 +2165,11 @@ module Aws::MailManager
|
|
1999
2165
|
#
|
2000
2166
|
# @return [Types::GetRuleSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2001
2167
|
#
|
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
2168
|
# * {Types::GetRuleSetResponse#rule_set_id #rule_set_id} => String
|
2169
|
+
# * {Types::GetRuleSetResponse#rule_set_arn #rule_set_arn} => String
|
2006
2170
|
# * {Types::GetRuleSetResponse#rule_set_name #rule_set_name} => String
|
2171
|
+
# * {Types::GetRuleSetResponse#created_date #created_date} => Time
|
2172
|
+
# * {Types::GetRuleSetResponse#last_modification_date #last_modification_date} => Time
|
2007
2173
|
# * {Types::GetRuleSetResponse#rules #rules} => Array<Types::Rule>
|
2008
2174
|
#
|
2009
2175
|
# @example Request syntax with placeholder values
|
@@ -2014,151 +2180,184 @@ module Aws::MailManager
|
|
2014
2180
|
#
|
2015
2181
|
# @example Response structure
|
2016
2182
|
#
|
2017
|
-
# resp.created_date #=> Time
|
2018
|
-
# resp.last_modification_date #=> Time
|
2019
|
-
# resp.rule_set_arn #=> String
|
2020
2183
|
# resp.rule_set_id #=> String
|
2184
|
+
# resp.rule_set_arn #=> String
|
2021
2185
|
# resp.rule_set_name #=> String
|
2186
|
+
# resp.created_date #=> Time
|
2187
|
+
# resp.last_modification_date #=> Time
|
2022
2188
|
# resp.rules #=> Array
|
2023
|
-
# resp.rules[0].
|
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
|
2189
|
+
# resp.rules[0].name #=> String
|
2052
2190
|
# resp.rules[0].conditions #=> Array
|
2191
|
+
# resp.rules[0].conditions[0].boolean_expression.evaluate.attribute #=> String, one of "READ_RECEIPT_REQUESTED", "TLS", "TLS_WRAPPED"
|
2053
2192
|
# resp.rules[0].conditions[0].boolean_expression.evaluate.analysis.analyzer #=> String
|
2054
2193
|
# 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 "
|
2194
|
+
# resp.rules[0].conditions[0].boolean_expression.evaluate.is_in_address_list.attribute #=> String, one of "RECIPIENT", "MAIL_FROM", "SENDER", "FROM", "TO", "CC"
|
2056
2195
|
# resp.rules[0].conditions[0].boolean_expression.evaluate.is_in_address_list.address_lists #=> Array
|
2057
2196
|
# 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
2197
|
# 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
2198
|
# resp.rules[0].conditions[0].string_expression.evaluate.attribute #=> String, one of "MAIL_FROM", "HELO", "RECIPIENT", "SENDER", "FROM", "SUBJECT", "TO", "CC"
|
2073
2199
|
# resp.rules[0].conditions[0].string_expression.evaluate.mime_header_attribute #=> String
|
2200
|
+
# resp.rules[0].conditions[0].string_expression.evaluate.analysis.analyzer #=> String
|
2201
|
+
# resp.rules[0].conditions[0].string_expression.evaluate.analysis.result_field #=> String
|
2074
2202
|
# resp.rules[0].conditions[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
|
2075
2203
|
# resp.rules[0].conditions[0].string_expression.values #=> Array
|
2076
2204
|
# resp.rules[0].conditions[0].string_expression.values[0] #=> String
|
2205
|
+
# resp.rules[0].conditions[0].number_expression.evaluate.attribute #=> String, one of "MESSAGE_SIZE"
|
2206
|
+
# 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"
|
2207
|
+
# resp.rules[0].conditions[0].number_expression.value #=> Float
|
2208
|
+
# resp.rules[0].conditions[0].ip_expression.evaluate.attribute #=> String, one of "SOURCE_IP"
|
2209
|
+
# resp.rules[0].conditions[0].ip_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
|
2210
|
+
# resp.rules[0].conditions[0].ip_expression.values #=> Array
|
2211
|
+
# resp.rules[0].conditions[0].ip_expression.values[0] #=> String
|
2212
|
+
# resp.rules[0].conditions[0].verdict_expression.evaluate.attribute #=> String, one of "SPF", "DKIM"
|
2077
2213
|
# resp.rules[0].conditions[0].verdict_expression.evaluate.analysis.analyzer #=> String
|
2078
2214
|
# 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
2215
|
# resp.rules[0].conditions[0].verdict_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
|
2081
2216
|
# resp.rules[0].conditions[0].verdict_expression.values #=> Array
|
2082
2217
|
# resp.rules[0].conditions[0].verdict_expression.values[0] #=> String, one of "PASS", "FAIL", "GRAY", "PROCESSING_FAILED"
|
2083
|
-
# resp.rules[0].
|
2218
|
+
# resp.rules[0].conditions[0].dmarc_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
|
2219
|
+
# resp.rules[0].conditions[0].dmarc_expression.values #=> Array
|
2220
|
+
# resp.rules[0].conditions[0].dmarc_expression.values[0] #=> String, one of "NONE", "QUARANTINE", "REJECT"
|
2084
2221
|
# resp.rules[0].unless #=> Array
|
2222
|
+
# resp.rules[0].unless[0].boolean_expression.evaluate.attribute #=> String, one of "READ_RECEIPT_REQUESTED", "TLS", "TLS_WRAPPED"
|
2085
2223
|
# resp.rules[0].unless[0].boolean_expression.evaluate.analysis.analyzer #=> String
|
2086
2224
|
# 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 "
|
2225
|
+
# resp.rules[0].unless[0].boolean_expression.evaluate.is_in_address_list.attribute #=> String, one of "RECIPIENT", "MAIL_FROM", "SENDER", "FROM", "TO", "CC"
|
2088
2226
|
# resp.rules[0].unless[0].boolean_expression.evaluate.is_in_address_list.address_lists #=> Array
|
2089
2227
|
# 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
2228
|
# 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
2229
|
# resp.rules[0].unless[0].string_expression.evaluate.attribute #=> String, one of "MAIL_FROM", "HELO", "RECIPIENT", "SENDER", "FROM", "SUBJECT", "TO", "CC"
|
2105
2230
|
# resp.rules[0].unless[0].string_expression.evaluate.mime_header_attribute #=> String
|
2231
|
+
# resp.rules[0].unless[0].string_expression.evaluate.analysis.analyzer #=> String
|
2232
|
+
# resp.rules[0].unless[0].string_expression.evaluate.analysis.result_field #=> String
|
2106
2233
|
# resp.rules[0].unless[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
|
2107
2234
|
# resp.rules[0].unless[0].string_expression.values #=> Array
|
2108
2235
|
# resp.rules[0].unless[0].string_expression.values[0] #=> String
|
2236
|
+
# resp.rules[0].unless[0].number_expression.evaluate.attribute #=> String, one of "MESSAGE_SIZE"
|
2237
|
+
# 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"
|
2238
|
+
# resp.rules[0].unless[0].number_expression.value #=> Float
|
2239
|
+
# resp.rules[0].unless[0].ip_expression.evaluate.attribute #=> String, one of "SOURCE_IP"
|
2240
|
+
# resp.rules[0].unless[0].ip_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
|
2241
|
+
# resp.rules[0].unless[0].ip_expression.values #=> Array
|
2242
|
+
# resp.rules[0].unless[0].ip_expression.values[0] #=> String
|
2243
|
+
# resp.rules[0].unless[0].verdict_expression.evaluate.attribute #=> String, one of "SPF", "DKIM"
|
2109
2244
|
# resp.rules[0].unless[0].verdict_expression.evaluate.analysis.analyzer #=> String
|
2110
2245
|
# 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
2246
|
# resp.rules[0].unless[0].verdict_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
|
2113
2247
|
# resp.rules[0].unless[0].verdict_expression.values #=> Array
|
2114
2248
|
# resp.rules[0].unless[0].verdict_expression.values[0] #=> String, one of "PASS", "FAIL", "GRAY", "PROCESSING_FAILED"
|
2115
|
-
#
|
2116
|
-
#
|
2117
|
-
#
|
2118
|
-
#
|
2119
|
-
#
|
2120
|
-
|
2121
|
-
|
2122
|
-
|
2123
|
-
|
2124
|
-
|
2125
|
-
#
|
2126
|
-
#
|
2127
|
-
#
|
2128
|
-
#
|
2129
|
-
#
|
2130
|
-
#
|
2131
|
-
#
|
2132
|
-
#
|
2133
|
-
#
|
2134
|
-
#
|
2135
|
-
#
|
2136
|
-
#
|
2137
|
-
#
|
2138
|
-
#
|
2139
|
-
#
|
2140
|
-
#
|
2141
|
-
#
|
2142
|
-
#
|
2249
|
+
# resp.rules[0].unless[0].dmarc_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS"
|
2250
|
+
# resp.rules[0].unless[0].dmarc_expression.values #=> Array
|
2251
|
+
# resp.rules[0].unless[0].dmarc_expression.values[0] #=> String, one of "NONE", "QUARANTINE", "REJECT"
|
2252
|
+
# resp.rules[0].actions #=> Array
|
2253
|
+
# resp.rules[0].actions[0].relay.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
2254
|
+
# resp.rules[0].actions[0].relay.relay #=> String
|
2255
|
+
# resp.rules[0].actions[0].relay.mail_from #=> String, one of "REPLACE", "PRESERVE"
|
2256
|
+
# resp.rules[0].actions[0].archive.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
2257
|
+
# resp.rules[0].actions[0].archive.target_archive #=> String
|
2258
|
+
# resp.rules[0].actions[0].write_to_s3.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
2259
|
+
# resp.rules[0].actions[0].write_to_s3.role_arn #=> String
|
2260
|
+
# resp.rules[0].actions[0].write_to_s3.s3_bucket #=> String
|
2261
|
+
# resp.rules[0].actions[0].write_to_s3.s3_prefix #=> String
|
2262
|
+
# resp.rules[0].actions[0].write_to_s3.s3_sse_kms_key_id #=> String
|
2263
|
+
# resp.rules[0].actions[0].send.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
2264
|
+
# resp.rules[0].actions[0].send.role_arn #=> String
|
2265
|
+
# resp.rules[0].actions[0].add_header.header_name #=> String
|
2266
|
+
# resp.rules[0].actions[0].add_header.header_value #=> String
|
2267
|
+
# resp.rules[0].actions[0].replace_recipient.replace_with #=> Array
|
2268
|
+
# resp.rules[0].actions[0].replace_recipient.replace_with[0] #=> String
|
2269
|
+
# resp.rules[0].actions[0].deliver_to_mailbox.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
2270
|
+
# resp.rules[0].actions[0].deliver_to_mailbox.mailbox_arn #=> String
|
2271
|
+
# resp.rules[0].actions[0].deliver_to_mailbox.role_arn #=> String
|
2272
|
+
# resp.rules[0].actions[0].deliver_to_q_business.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
2273
|
+
# resp.rules[0].actions[0].deliver_to_q_business.application_id #=> String
|
2274
|
+
# resp.rules[0].actions[0].deliver_to_q_business.index_id #=> String
|
2275
|
+
# resp.rules[0].actions[0].deliver_to_q_business.role_arn #=> String
|
2276
|
+
# resp.rules[0].actions[0].publish_to_sns.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
2277
|
+
# resp.rules[0].actions[0].publish_to_sns.topic_arn #=> String
|
2278
|
+
# resp.rules[0].actions[0].publish_to_sns.role_arn #=> String
|
2279
|
+
# resp.rules[0].actions[0].publish_to_sns.encoding #=> String, one of "UTF-8", "BASE64"
|
2280
|
+
# resp.rules[0].actions[0].publish_to_sns.payload_type #=> String, one of "HEADERS", "CONTENT"
|
2281
|
+
#
|
2282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetRuleSet AWS API Documentation
|
2283
|
+
#
|
2284
|
+
# @overload get_rule_set(params = {})
|
2285
|
+
# @param [Hash] params ({})
|
2286
|
+
def get_rule_set(params = {}, options = {})
|
2287
|
+
req = build_request(:get_rule_set, params)
|
2288
|
+
req.send_request(options)
|
2289
|
+
end
|
2290
|
+
|
2291
|
+
# Fetch attributes of a traffic policy resource.
|
2292
|
+
#
|
2293
|
+
# @option params [required, String] :traffic_policy_id
|
2294
|
+
# The identifier of the traffic policy resource.
|
2295
|
+
#
|
2296
|
+
# @return [Types::GetTrafficPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2297
|
+
#
|
2298
|
+
# * {Types::GetTrafficPolicyResponse#traffic_policy_name #traffic_policy_name} => String
|
2299
|
+
# * {Types::GetTrafficPolicyResponse#traffic_policy_id #traffic_policy_id} => String
|
2300
|
+
# * {Types::GetTrafficPolicyResponse#traffic_policy_arn #traffic_policy_arn} => String
|
2301
|
+
# * {Types::GetTrafficPolicyResponse#policy_statements #policy_statements} => Array<Types::PolicyStatement>
|
2302
|
+
# * {Types::GetTrafficPolicyResponse#max_message_size_bytes #max_message_size_bytes} => Integer
|
2303
|
+
# * {Types::GetTrafficPolicyResponse#default_action #default_action} => String
|
2304
|
+
# * {Types::GetTrafficPolicyResponse#created_timestamp #created_timestamp} => Time
|
2305
|
+
# * {Types::GetTrafficPolicyResponse#last_updated_timestamp #last_updated_timestamp} => Time
|
2306
|
+
#
|
2307
|
+
#
|
2308
|
+
# @example Example: Get TrafficPolicy
|
2309
|
+
#
|
2310
|
+
# resp = client.get_traffic_policy({
|
2311
|
+
# traffic_policy_id: "tp-12345",
|
2312
|
+
# })
|
2313
|
+
#
|
2314
|
+
# resp.to_h outputs the following:
|
2315
|
+
# {
|
2316
|
+
# default_action: "DENY",
|
2317
|
+
# max_message_size_bytes: 1000,
|
2318
|
+
# policy_statements: [
|
2319
|
+
# {
|
2320
|
+
# action: "ALLOW",
|
2321
|
+
# conditions: [
|
2322
|
+
# {
|
2323
|
+
# string_expression: {
|
2324
|
+
# evaluate: {
|
2325
|
+
# attribute: "RECIPIENT",
|
2326
|
+
# },
|
2327
|
+
# operator: "EQUALS",
|
2328
|
+
# values: [
|
2329
|
+
# "example@amazon.com",
|
2330
|
+
# "example@gmail.com",
|
2331
|
+
# ],
|
2332
|
+
# },
|
2333
|
+
# },
|
2334
|
+
# ],
|
2335
|
+
# },
|
2336
|
+
# ],
|
2337
|
+
# traffic_policy_arn: "arn:aws:ses:us-east-1:123456789012:mailmanager-traffic-policy/tp-12345",
|
2338
|
+
# traffic_policy_id: "tp-12345",
|
2339
|
+
# traffic_policy_name: "trafficPolicyName",
|
2340
|
+
# }
|
2341
|
+
#
|
2342
|
+
# @example Request syntax with placeholder values
|
2343
|
+
#
|
2143
2344
|
# resp = client.get_traffic_policy({
|
2144
2345
|
# traffic_policy_id: "TrafficPolicyId", # required
|
2145
2346
|
# })
|
2146
2347
|
#
|
2147
2348
|
# @example Response structure
|
2148
2349
|
#
|
2149
|
-
# resp.
|
2150
|
-
# resp.
|
2151
|
-
# resp.
|
2152
|
-
# resp.max_message_size_bytes #=> Integer
|
2350
|
+
# resp.traffic_policy_name #=> String
|
2351
|
+
# resp.traffic_policy_id #=> String
|
2352
|
+
# resp.traffic_policy_arn #=> String
|
2153
2353
|
# resp.policy_statements #=> Array
|
2154
|
-
# resp.policy_statements[0].action #=> String, one of "ALLOW", "DENY"
|
2155
2354
|
# resp.policy_statements[0].conditions #=> Array
|
2156
|
-
# resp.policy_statements[0].conditions[0].
|
2157
|
-
# resp.policy_statements[0].conditions[0].
|
2158
|
-
# resp.policy_statements[0].conditions[0].
|
2159
|
-
# resp.policy_statements[0].conditions[0].
|
2160
|
-
# resp.policy_statements[0].conditions[0].
|
2161
|
-
# resp.policy_statements[0].conditions[0].
|
2355
|
+
# resp.policy_statements[0].conditions[0].string_expression.evaluate.attribute #=> String, one of "RECIPIENT"
|
2356
|
+
# resp.policy_statements[0].conditions[0].string_expression.evaluate.analysis.analyzer #=> String
|
2357
|
+
# resp.policy_statements[0].conditions[0].string_expression.evaluate.analysis.result_field #=> String
|
2358
|
+
# resp.policy_statements[0].conditions[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
|
2359
|
+
# resp.policy_statements[0].conditions[0].string_expression.values #=> Array
|
2360
|
+
# resp.policy_statements[0].conditions[0].string_expression.values[0] #=> String
|
2162
2361
|
# resp.policy_statements[0].conditions[0].ip_expression.evaluate.attribute #=> String, one of "SENDER_IP"
|
2163
2362
|
# resp.policy_statements[0].conditions[0].ip_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
|
2164
2363
|
# resp.policy_statements[0].conditions[0].ip_expression.values #=> Array
|
@@ -2167,18 +2366,20 @@ module Aws::MailManager
|
|
2167
2366
|
# resp.policy_statements[0].conditions[0].ipv_6_expression.operator #=> String, one of "CIDR_MATCHES", "NOT_CIDR_MATCHES"
|
2168
2367
|
# resp.policy_statements[0].conditions[0].ipv_6_expression.values #=> Array
|
2169
2368
|
# 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
2369
|
# resp.policy_statements[0].conditions[0].tls_expression.evaluate.attribute #=> String, one of "TLS_PROTOCOL"
|
2177
2370
|
# resp.policy_statements[0].conditions[0].tls_expression.operator #=> String, one of "MINIMUM_TLS_VERSION", "IS"
|
2178
2371
|
# resp.policy_statements[0].conditions[0].tls_expression.value #=> String, one of "TLS1_2", "TLS1_3"
|
2179
|
-
# resp.
|
2180
|
-
# resp.
|
2181
|
-
# resp.
|
2372
|
+
# resp.policy_statements[0].conditions[0].boolean_expression.evaluate.analysis.analyzer #=> String
|
2373
|
+
# resp.policy_statements[0].conditions[0].boolean_expression.evaluate.analysis.result_field #=> String
|
2374
|
+
# resp.policy_statements[0].conditions[0].boolean_expression.evaluate.is_in_address_list.attribute #=> String, one of "RECIPIENT"
|
2375
|
+
# resp.policy_statements[0].conditions[0].boolean_expression.evaluate.is_in_address_list.address_lists #=> Array
|
2376
|
+
# resp.policy_statements[0].conditions[0].boolean_expression.evaluate.is_in_address_list.address_lists[0] #=> String
|
2377
|
+
# resp.policy_statements[0].conditions[0].boolean_expression.operator #=> String, one of "IS_TRUE", "IS_FALSE"
|
2378
|
+
# resp.policy_statements[0].action #=> String, one of "ALLOW", "DENY"
|
2379
|
+
# resp.max_message_size_bytes #=> Integer
|
2380
|
+
# resp.default_action #=> String, one of "ALLOW", "DENY"
|
2381
|
+
# resp.created_timestamp #=> Time
|
2382
|
+
# resp.last_updated_timestamp #=> Time
|
2182
2383
|
#
|
2183
2384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetTrafficPolicy AWS API Documentation
|
2184
2385
|
#
|
@@ -2217,10 +2418,10 @@ module Aws::MailManager
|
|
2217
2418
|
# @example Response structure
|
2218
2419
|
#
|
2219
2420
|
# resp.addon_instances #=> Array
|
2220
|
-
# resp.addon_instances[0].addon_instance_arn #=> String
|
2221
2421
|
# resp.addon_instances[0].addon_instance_id #=> String
|
2222
|
-
# resp.addon_instances[0].addon_name #=> String
|
2223
2422
|
# resp.addon_instances[0].addon_subscription_id #=> String
|
2423
|
+
# resp.addon_instances[0].addon_name #=> String
|
2424
|
+
# resp.addon_instances[0].addon_instance_arn #=> String
|
2224
2425
|
# resp.addon_instances[0].created_timestamp #=> Time
|
2225
2426
|
# resp.next_token #=> String
|
2226
2427
|
#
|
@@ -2261,9 +2462,9 @@ module Aws::MailManager
|
|
2261
2462
|
# @example Response structure
|
2262
2463
|
#
|
2263
2464
|
# resp.addon_subscriptions #=> Array
|
2465
|
+
# resp.addon_subscriptions[0].addon_subscription_id #=> String
|
2264
2466
|
# resp.addon_subscriptions[0].addon_name #=> String
|
2265
2467
|
# resp.addon_subscriptions[0].addon_subscription_arn #=> String
|
2266
|
-
# resp.addon_subscriptions[0].addon_subscription_id #=> String
|
2267
2468
|
# resp.addon_subscriptions[0].created_timestamp #=> Time
|
2268
2469
|
# resp.next_token #=> String
|
2269
2470
|
#
|
@@ -2308,18 +2509,18 @@ module Aws::MailManager
|
|
2308
2509
|
# @example Response structure
|
2309
2510
|
#
|
2310
2511
|
# 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
2512
|
# resp.import_jobs[0].job_id #=> String
|
2319
2513
|
# resp.import_jobs[0].name #=> String
|
2514
|
+
# resp.import_jobs[0].status #=> String, one of "CREATED", "PROCESSING", "COMPLETED", "FAILED", "STOPPED"
|
2320
2515
|
# resp.import_jobs[0].pre_signed_url #=> String
|
2516
|
+
# resp.import_jobs[0].imported_items_count #=> Integer
|
2517
|
+
# resp.import_jobs[0].failed_items_count #=> Integer
|
2518
|
+
# resp.import_jobs[0].import_data_format.import_data_type #=> String, one of "CSV", "JSON"
|
2519
|
+
# resp.import_jobs[0].address_list_id #=> String
|
2520
|
+
# resp.import_jobs[0].created_timestamp #=> Time
|
2321
2521
|
# resp.import_jobs[0].start_timestamp #=> Time
|
2322
|
-
# resp.import_jobs[0].
|
2522
|
+
# resp.import_jobs[0].completed_timestamp #=> Time
|
2523
|
+
# resp.import_jobs[0].error #=> String
|
2323
2524
|
# resp.next_token #=> String
|
2324
2525
|
#
|
2325
2526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListAddressListImportJobs AWS API Documentation
|
@@ -2360,8 +2561,8 @@ module Aws::MailManager
|
|
2360
2561
|
# @example Response structure
|
2361
2562
|
#
|
2362
2563
|
# resp.address_lists #=> Array
|
2363
|
-
# resp.address_lists[0].address_list_arn #=> String
|
2364
2564
|
# resp.address_lists[0].address_list_id #=> String
|
2565
|
+
# resp.address_lists[0].address_list_arn #=> String
|
2365
2566
|
# resp.address_lists[0].address_list_name #=> String
|
2366
2567
|
# resp.address_lists[0].created_timestamp #=> Time
|
2367
2568
|
# resp.address_lists[0].last_updated_timestamp #=> Time
|
@@ -2409,10 +2610,10 @@ module Aws::MailManager
|
|
2409
2610
|
#
|
2410
2611
|
# resp.exports #=> Array
|
2411
2612
|
# resp.exports[0].export_id #=> String
|
2613
|
+
# resp.exports[0].status.submission_timestamp #=> Time
|
2412
2614
|
# resp.exports[0].status.completion_timestamp #=> Time
|
2413
|
-
# resp.exports[0].status.error_message #=> String
|
2414
2615
|
# resp.exports[0].status.state #=> String, one of "QUEUED", "PREPROCESSING", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED"
|
2415
|
-
# resp.exports[0].status.
|
2616
|
+
# resp.exports[0].status.error_message #=> String
|
2416
2617
|
# resp.next_token #=> String
|
2417
2618
|
#
|
2418
2619
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListArchiveExports AWS API Documentation
|
@@ -2440,8 +2641,8 @@ module Aws::MailManager
|
|
2440
2641
|
#
|
2441
2642
|
# @return [Types::ListArchiveSearchesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2442
2643
|
#
|
2443
|
-
# * {Types::ListArchiveSearchesResponse#next_token #next_token} => String
|
2444
2644
|
# * {Types::ListArchiveSearchesResponse#searches #searches} => Array<Types::SearchSummary>
|
2645
|
+
# * {Types::ListArchiveSearchesResponse#next_token #next_token} => String
|
2445
2646
|
#
|
2446
2647
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2447
2648
|
#
|
@@ -2455,13 +2656,13 @@ module Aws::MailManager
|
|
2455
2656
|
#
|
2456
2657
|
# @example Response structure
|
2457
2658
|
#
|
2458
|
-
# resp.next_token #=> String
|
2459
2659
|
# resp.searches #=> Array
|
2460
2660
|
# resp.searches[0].search_id #=> String
|
2661
|
+
# resp.searches[0].status.submission_timestamp #=> Time
|
2461
2662
|
# resp.searches[0].status.completion_timestamp #=> Time
|
2462
|
-
# resp.searches[0].status.error_message #=> String
|
2463
2663
|
# resp.searches[0].status.state #=> String, one of "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLED"
|
2464
|
-
# resp.searches[0].status.
|
2664
|
+
# resp.searches[0].status.error_message #=> String
|
2665
|
+
# resp.next_token #=> String
|
2465
2666
|
#
|
2466
2667
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListArchiveSearches AWS API Documentation
|
2467
2668
|
#
|
@@ -2517,15 +2718,15 @@ module Aws::MailManager
|
|
2517
2718
|
|
2518
2719
|
# List all ingress endpoint resources.
|
2519
2720
|
#
|
2721
|
+
# @option params [Integer] :page_size
|
2722
|
+
# The maximum number of ingress endpoint resources that are returned per
|
2723
|
+
# call. You can use NextToken to obtain further ingress endpoints.
|
2724
|
+
#
|
2520
2725
|
# @option params [String] :next_token
|
2521
2726
|
# If you received a pagination token from a previous call to this API,
|
2522
2727
|
# you can provide it here to continue paginating through the next page
|
2523
2728
|
# of results.
|
2524
2729
|
#
|
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
2730
|
# @return [Types::ListIngressPointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2530
2731
|
#
|
2531
2732
|
# * {Types::ListIngressPointsResponse#ingress_points #ingress_points} => Array<Types::IngressPoint>
|
@@ -2533,21 +2734,78 @@ module Aws::MailManager
|
|
2533
2734
|
#
|
2534
2735
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2535
2736
|
#
|
2737
|
+
#
|
2738
|
+
# @example Example: List IngressPoints
|
2739
|
+
#
|
2740
|
+
# resp = client.list_ingress_points({
|
2741
|
+
# })
|
2742
|
+
#
|
2743
|
+
# resp.to_h outputs the following:
|
2744
|
+
# {
|
2745
|
+
# ingress_points: [
|
2746
|
+
# {
|
2747
|
+
# a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
|
2748
|
+
# ingress_point_id: "inp-12345",
|
2749
|
+
# ingress_point_name: "ingressPointName",
|
2750
|
+
# status: "ACTIVE",
|
2751
|
+
# type: "OPEN",
|
2752
|
+
# },
|
2753
|
+
# ],
|
2754
|
+
# }
|
2755
|
+
#
|
2756
|
+
# @example Example: List IngressPoints with PageSize
|
2757
|
+
#
|
2758
|
+
# resp = client.list_ingress_points({
|
2759
|
+
# page_size: 10,
|
2760
|
+
# })
|
2761
|
+
#
|
2762
|
+
# resp.to_h outputs the following:
|
2763
|
+
# {
|
2764
|
+
# ingress_points: [
|
2765
|
+
# {
|
2766
|
+
# a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
|
2767
|
+
# ingress_point_id: "inp-12345",
|
2768
|
+
# ingress_point_name: "ingressPointName",
|
2769
|
+
# status: "ACTIVE",
|
2770
|
+
# type: "OPEN",
|
2771
|
+
# },
|
2772
|
+
# ],
|
2773
|
+
# }
|
2774
|
+
#
|
2775
|
+
# @example Example: List IngressPoints with NextToken
|
2776
|
+
#
|
2777
|
+
# resp = client.list_ingress_points({
|
2778
|
+
# next_token: "nextToken",
|
2779
|
+
# })
|
2780
|
+
#
|
2781
|
+
# resp.to_h outputs the following:
|
2782
|
+
# {
|
2783
|
+
# ingress_points: [
|
2784
|
+
# {
|
2785
|
+
# a_record: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
|
2786
|
+
# ingress_point_id: "inp-12345",
|
2787
|
+
# ingress_point_name: "ingressPointName",
|
2788
|
+
# status: "ACTIVE",
|
2789
|
+
# type: "OPEN",
|
2790
|
+
# },
|
2791
|
+
# ],
|
2792
|
+
# }
|
2793
|
+
#
|
2536
2794
|
# @example Request syntax with placeholder values
|
2537
2795
|
#
|
2538
2796
|
# resp = client.list_ingress_points({
|
2539
|
-
# next_token: "PaginationToken",
|
2540
2797
|
# page_size: 1,
|
2798
|
+
# next_token: "PaginationToken",
|
2541
2799
|
# })
|
2542
2800
|
#
|
2543
2801
|
# @example Response structure
|
2544
2802
|
#
|
2545
2803
|
# resp.ingress_points #=> Array
|
2546
|
-
# resp.ingress_points[0].a_record #=> String
|
2547
|
-
# resp.ingress_points[0].ingress_point_id #=> String
|
2548
2804
|
# resp.ingress_points[0].ingress_point_name #=> String
|
2805
|
+
# resp.ingress_points[0].ingress_point_id #=> String
|
2549
2806
|
# resp.ingress_points[0].status #=> String, one of "PROVISIONING", "DEPROVISIONING", "UPDATING", "ACTIVE", "CLOSED", "FAILED"
|
2550
2807
|
# resp.ingress_points[0].type #=> String, one of "OPEN", "AUTH"
|
2808
|
+
# resp.ingress_points[0].a_record #=> String
|
2551
2809
|
# resp.next_token #=> String
|
2552
2810
|
#
|
2553
2811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListIngressPoints AWS API Documentation
|
@@ -2612,35 +2870,35 @@ module Aws::MailManager
|
|
2612
2870
|
|
2613
2871
|
# Lists all the existing relay resources.
|
2614
2872
|
#
|
2873
|
+
# @option params [Integer] :page_size
|
2874
|
+
# The number of relays to be returned in one request.
|
2875
|
+
#
|
2615
2876
|
# @option params [String] :next_token
|
2616
2877
|
# If you received a pagination token from a previous call to this API,
|
2617
2878
|
# you can provide it here to continue paginating through the next page
|
2618
2879
|
# of results.
|
2619
2880
|
#
|
2620
|
-
# @option params [Integer] :page_size
|
2621
|
-
# The number of relays to be returned in one request.
|
2622
|
-
#
|
2623
2881
|
# @return [Types::ListRelaysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2624
2882
|
#
|
2625
|
-
# * {Types::ListRelaysResponse#next_token #next_token} => String
|
2626
2883
|
# * {Types::ListRelaysResponse#relays #relays} => Array<Types::Relay>
|
2884
|
+
# * {Types::ListRelaysResponse#next_token #next_token} => String
|
2627
2885
|
#
|
2628
2886
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2629
2887
|
#
|
2630
2888
|
# @example Request syntax with placeholder values
|
2631
2889
|
#
|
2632
2890
|
# resp = client.list_relays({
|
2633
|
-
# next_token: "PaginationToken",
|
2634
2891
|
# page_size: 1,
|
2892
|
+
# next_token: "PaginationToken",
|
2635
2893
|
# })
|
2636
2894
|
#
|
2637
2895
|
# @example Response structure
|
2638
2896
|
#
|
2639
|
-
# resp.next_token #=> String
|
2640
2897
|
# resp.relays #=> Array
|
2641
|
-
# resp.relays[0].last_modified_timestamp #=> Time
|
2642
2898
|
# resp.relays[0].relay_id #=> String
|
2643
2899
|
# resp.relays[0].relay_name #=> String
|
2900
|
+
# resp.relays[0].last_modified_timestamp #=> Time
|
2901
|
+
# resp.next_token #=> String
|
2644
2902
|
#
|
2645
2903
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListRelays AWS API Documentation
|
2646
2904
|
#
|
@@ -2664,8 +2922,8 @@ module Aws::MailManager
|
|
2664
2922
|
#
|
2665
2923
|
# @return [Types::ListRuleSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2666
2924
|
#
|
2667
|
-
# * {Types::ListRuleSetsResponse#next_token #next_token} => String
|
2668
2925
|
# * {Types::ListRuleSetsResponse#rule_sets #rule_sets} => Array<Types::RuleSet>
|
2926
|
+
# * {Types::ListRuleSetsResponse#next_token #next_token} => String
|
2669
2927
|
#
|
2670
2928
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2671
2929
|
#
|
@@ -2678,11 +2936,11 @@ module Aws::MailManager
|
|
2678
2936
|
#
|
2679
2937
|
# @example Response structure
|
2680
2938
|
#
|
2681
|
-
# resp.next_token #=> String
|
2682
2939
|
# resp.rule_sets #=> Array
|
2683
|
-
# resp.rule_sets[0].last_modification_date #=> Time
|
2684
2940
|
# resp.rule_sets[0].rule_set_id #=> String
|
2685
2941
|
# resp.rule_sets[0].rule_set_name #=> String
|
2942
|
+
# resp.rule_sets[0].last_modification_date #=> Time
|
2943
|
+
# resp.next_token #=> String
|
2686
2944
|
#
|
2687
2945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListRuleSets AWS API Documentation
|
2688
2946
|
#
|
@@ -2725,36 +2983,87 @@ module Aws::MailManager
|
|
2725
2983
|
|
2726
2984
|
# List traffic policy resources.
|
2727
2985
|
#
|
2986
|
+
# @option params [Integer] :page_size
|
2987
|
+
# The maximum number of traffic policy resources that are returned per
|
2988
|
+
# call. You can use NextToken to obtain further traffic policies.
|
2989
|
+
#
|
2728
2990
|
# @option params [String] :next_token
|
2729
2991
|
# If you received a pagination token from a previous call to this API,
|
2730
2992
|
# you can provide it here to continue paginating through the next page
|
2731
2993
|
# of results.
|
2732
2994
|
#
|
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
2995
|
# @return [Types::ListTrafficPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2738
2996
|
#
|
2739
|
-
# * {Types::ListTrafficPoliciesResponse#next_token #next_token} => String
|
2740
2997
|
# * {Types::ListTrafficPoliciesResponse#traffic_policies #traffic_policies} => Array<Types::TrafficPolicy>
|
2998
|
+
# * {Types::ListTrafficPoliciesResponse#next_token #next_token} => String
|
2741
2999
|
#
|
2742
3000
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2743
3001
|
#
|
3002
|
+
#
|
3003
|
+
# @example Example: List TrafficPolicies
|
3004
|
+
#
|
3005
|
+
# resp = client.list_traffic_policies({
|
3006
|
+
# })
|
3007
|
+
#
|
3008
|
+
# resp.to_h outputs the following:
|
3009
|
+
# {
|
3010
|
+
# traffic_policies: [
|
3011
|
+
# {
|
3012
|
+
# default_action: "DENY",
|
3013
|
+
# traffic_policy_id: "tp-12345",
|
3014
|
+
# traffic_policy_name: "trafficPolicyName",
|
3015
|
+
# },
|
3016
|
+
# ],
|
3017
|
+
# }
|
3018
|
+
#
|
3019
|
+
# @example Example: List TrafficPolicies with PageSize
|
3020
|
+
#
|
3021
|
+
# resp = client.list_traffic_policies({
|
3022
|
+
# page_size: 10,
|
3023
|
+
# })
|
3024
|
+
#
|
3025
|
+
# resp.to_h outputs the following:
|
3026
|
+
# {
|
3027
|
+
# traffic_policies: [
|
3028
|
+
# {
|
3029
|
+
# default_action: "DENY",
|
3030
|
+
# traffic_policy_id: "tp-12345",
|
3031
|
+
# traffic_policy_name: "trafficPolicyName",
|
3032
|
+
# },
|
3033
|
+
# ],
|
3034
|
+
# }
|
3035
|
+
#
|
3036
|
+
# @example Example: List TrafficPolicies with NextToken
|
3037
|
+
#
|
3038
|
+
# resp = client.list_traffic_policies({
|
3039
|
+
# next_token: "nextToken",
|
3040
|
+
# })
|
3041
|
+
#
|
3042
|
+
# resp.to_h outputs the following:
|
3043
|
+
# {
|
3044
|
+
# traffic_policies: [
|
3045
|
+
# {
|
3046
|
+
# default_action: "DENY",
|
3047
|
+
# traffic_policy_id: "tp-12345",
|
3048
|
+
# traffic_policy_name: "trafficPolicyName",
|
3049
|
+
# },
|
3050
|
+
# ],
|
3051
|
+
# }
|
3052
|
+
#
|
2744
3053
|
# @example Request syntax with placeholder values
|
2745
3054
|
#
|
2746
3055
|
# resp = client.list_traffic_policies({
|
2747
|
-
# next_token: "PaginationToken",
|
2748
3056
|
# page_size: 1,
|
3057
|
+
# next_token: "PaginationToken",
|
2749
3058
|
# })
|
2750
3059
|
#
|
2751
3060
|
# @example Response structure
|
2752
3061
|
#
|
2753
|
-
# resp.next_token #=> String
|
2754
3062
|
# 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
3063
|
# resp.traffic_policies[0].traffic_policy_name #=> String
|
3064
|
+
# resp.traffic_policies[0].traffic_policy_id #=> String
|
3065
|
+
# resp.traffic_policies[0].default_action #=> String, one of "ALLOW", "DENY"
|
3066
|
+
# resp.next_token #=> String
|
2758
3067
|
#
|
2759
3068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/ListTrafficPolicies AWS API Documentation
|
2760
3069
|
#
|
@@ -2767,20 +3076,20 @@ module Aws::MailManager
|
|
2767
3076
|
|
2768
3077
|
# Adds a member to an address list.
|
2769
3078
|
#
|
2770
|
-
# @option params [required, String] :address
|
2771
|
-
# The address to be added to the address list.
|
2772
|
-
#
|
2773
3079
|
# @option params [required, String] :address_list_id
|
2774
3080
|
# The unique identifier of the address list where the address should be
|
2775
3081
|
# added.
|
2776
3082
|
#
|
3083
|
+
# @option params [required, String] :address
|
3084
|
+
# The address to be added to the address list.
|
3085
|
+
#
|
2777
3086
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2778
3087
|
#
|
2779
3088
|
# @example Request syntax with placeholder values
|
2780
3089
|
#
|
2781
3090
|
# resp = client.register_member_to_address_list({
|
2782
|
-
# address: "Address", # required
|
2783
3091
|
# address_list_id: "AddressListId", # required
|
3092
|
+
# address: "Address", # required
|
2784
3093
|
# })
|
2785
3094
|
#
|
2786
3095
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/RegisterMemberToAddressList AWS API Documentation
|
@@ -2819,23 +3128,23 @@ module Aws::MailManager
|
|
2819
3128
|
# @option params [required, String] :archive_id
|
2820
3129
|
# The identifier of the archive to export emails from.
|
2821
3130
|
#
|
2822
|
-
# @option params [required, Types::ExportDestinationConfiguration] :export_destination_configuration
|
2823
|
-
# Details on where to deliver the exported email data.
|
2824
|
-
#
|
2825
3131
|
# @option params [Types::ArchiveFilters] :filters
|
2826
3132
|
# Criteria to filter which emails are included in the export.
|
2827
3133
|
#
|
2828
3134
|
# @option params [required, Time,DateTime,Date,Integer,String] :from_timestamp
|
2829
3135
|
# The start of the timestamp range to include emails from.
|
2830
3136
|
#
|
2831
|
-
# @option params [
|
2832
|
-
#
|
3137
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :to_timestamp
|
3138
|
+
# The end of the timestamp range to include emails from.
|
2833
3139
|
#
|
2834
3140
|
# @option params [Integer] :max_results
|
2835
3141
|
# The maximum number of email items to include in the export.
|
2836
3142
|
#
|
2837
|
-
# @option params [required,
|
2838
|
-
#
|
3143
|
+
# @option params [required, Types::ExportDestinationConfiguration] :export_destination_configuration
|
3144
|
+
# Details on where to deliver the exported email data.
|
3145
|
+
#
|
3146
|
+
# @option params [Boolean] :include_metadata
|
3147
|
+
# Whether to include message metadata as JSON files in the export.
|
2839
3148
|
#
|
2840
3149
|
# @return [Types::StartArchiveExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2841
3150
|
#
|
@@ -2845,20 +3154,9 @@ module Aws::MailManager
|
|
2845
3154
|
#
|
2846
3155
|
# resp = client.start_archive_export({
|
2847
3156
|
# archive_id: "ArchiveId", # required
|
2848
|
-
# export_destination_configuration: { # required
|
2849
|
-
# s3: {
|
2850
|
-
# s3_location: "S3Location",
|
2851
|
-
# },
|
2852
|
-
# },
|
2853
3157
|
# filters: {
|
2854
3158
|
# include: [
|
2855
3159
|
# {
|
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
3160
|
# string_expression: {
|
2863
3161
|
# evaluate: { # required
|
2864
3162
|
# attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
|
@@ -2866,16 +3164,16 @@ module Aws::MailManager
|
|
2866
3164
|
# operator: "CONTAINS", # required, accepts CONTAINS
|
2867
3165
|
# values: ["StringValue"], # required
|
2868
3166
|
# },
|
2869
|
-
# },
|
2870
|
-
# ],
|
2871
|
-
# unless: [
|
2872
|
-
# {
|
2873
3167
|
# boolean_expression: {
|
2874
3168
|
# evaluate: { # required
|
2875
3169
|
# attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
|
2876
3170
|
# },
|
2877
3171
|
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
2878
3172
|
# },
|
3173
|
+
# },
|
3174
|
+
# ],
|
3175
|
+
# unless: [
|
3176
|
+
# {
|
2879
3177
|
# string_expression: {
|
2880
3178
|
# evaluate: { # required
|
2881
3179
|
# attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
|
@@ -2883,13 +3181,24 @@ module Aws::MailManager
|
|
2883
3181
|
# operator: "CONTAINS", # required, accepts CONTAINS
|
2884
3182
|
# values: ["StringValue"], # required
|
2885
3183
|
# },
|
3184
|
+
# boolean_expression: {
|
3185
|
+
# evaluate: { # required
|
3186
|
+
# attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
|
3187
|
+
# },
|
3188
|
+
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
3189
|
+
# },
|
2886
3190
|
# },
|
2887
3191
|
# ],
|
2888
3192
|
# },
|
2889
3193
|
# from_timestamp: Time.now, # required
|
2890
|
-
# include_metadata: false,
|
2891
|
-
# max_results: 1,
|
2892
3194
|
# to_timestamp: Time.now, # required
|
3195
|
+
# max_results: 1,
|
3196
|
+
# export_destination_configuration: { # required
|
3197
|
+
# s3: {
|
3198
|
+
# s3_location: "S3Location",
|
3199
|
+
# },
|
3200
|
+
# },
|
3201
|
+
# include_metadata: false,
|
2893
3202
|
# })
|
2894
3203
|
#
|
2895
3204
|
# @example Response structure
|
@@ -2916,12 +3225,12 @@ module Aws::MailManager
|
|
2916
3225
|
# @option params [required, Time,DateTime,Date,Integer,String] :from_timestamp
|
2917
3226
|
# The start timestamp of the range to search emails from.
|
2918
3227
|
#
|
2919
|
-
# @option params [required, Integer] :max_results
|
2920
|
-
# The maximum number of search results to return.
|
2921
|
-
#
|
2922
3228
|
# @option params [required, Time,DateTime,Date,Integer,String] :to_timestamp
|
2923
3229
|
# The end timestamp of the range to search emails from.
|
2924
3230
|
#
|
3231
|
+
# @option params [required, Integer] :max_results
|
3232
|
+
# The maximum number of search results to return.
|
3233
|
+
#
|
2925
3234
|
# @return [Types::StartArchiveSearchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2926
3235
|
#
|
2927
3236
|
# * {Types::StartArchiveSearchResponse#search_id #search_id} => String
|
@@ -2933,12 +3242,6 @@ module Aws::MailManager
|
|
2933
3242
|
# filters: {
|
2934
3243
|
# include: [
|
2935
3244
|
# {
|
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
3245
|
# string_expression: {
|
2943
3246
|
# evaluate: { # required
|
2944
3247
|
# attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
|
@@ -2946,16 +3249,16 @@ module Aws::MailManager
|
|
2946
3249
|
# operator: "CONTAINS", # required, accepts CONTAINS
|
2947
3250
|
# values: ["StringValue"], # required
|
2948
3251
|
# },
|
2949
|
-
# },
|
2950
|
-
# ],
|
2951
|
-
# unless: [
|
2952
|
-
# {
|
2953
3252
|
# boolean_expression: {
|
2954
3253
|
# evaluate: { # required
|
2955
3254
|
# attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
|
2956
3255
|
# },
|
2957
3256
|
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
2958
3257
|
# },
|
3258
|
+
# },
|
3259
|
+
# ],
|
3260
|
+
# unless: [
|
3261
|
+
# {
|
2959
3262
|
# string_expression: {
|
2960
3263
|
# evaluate: { # required
|
2961
3264
|
# attribute: "TO", # accepts TO, FROM, CC, SUBJECT, ENVELOPE_TO, ENVELOPE_FROM
|
@@ -2963,12 +3266,18 @@ module Aws::MailManager
|
|
2963
3266
|
# operator: "CONTAINS", # required, accepts CONTAINS
|
2964
3267
|
# values: ["StringValue"], # required
|
2965
3268
|
# },
|
3269
|
+
# boolean_expression: {
|
3270
|
+
# evaluate: { # required
|
3271
|
+
# attribute: "HAS_ATTACHMENTS", # accepts HAS_ATTACHMENTS
|
3272
|
+
# },
|
3273
|
+
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
3274
|
+
# },
|
2966
3275
|
# },
|
2967
3276
|
# ],
|
2968
3277
|
# },
|
2969
3278
|
# from_timestamp: Time.now, # required
|
2970
|
-
# max_results: 1, # required
|
2971
3279
|
# to_timestamp: Time.now, # required
|
3280
|
+
# max_results: 1, # required
|
2972
3281
|
# })
|
2973
3282
|
#
|
2974
3283
|
# @example Response structure
|
@@ -3144,41 +3453,91 @@ module Aws::MailManager
|
|
3144
3453
|
|
3145
3454
|
# Update attributes of a provisioned ingress endpoint resource.
|
3146
3455
|
#
|
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
3456
|
# @option params [required, String] :ingress_point_id
|
3152
3457
|
# The identifier for the ingress endpoint you want to update.
|
3153
3458
|
#
|
3154
3459
|
# @option params [String] :ingress_point_name
|
3155
3460
|
# A user friendly name for the ingress endpoint resource.
|
3156
3461
|
#
|
3462
|
+
# @option params [String] :status_to_update
|
3463
|
+
# The update status of an ingress endpoint.
|
3464
|
+
#
|
3157
3465
|
# @option params [String] :rule_set_id
|
3158
3466
|
# The identifier of an existing rule set that you attach to an ingress
|
3159
3467
|
# endpoint resource.
|
3160
3468
|
#
|
3161
|
-
# @option params [String] :status_to_update
|
3162
|
-
# The update status of an ingress endpoint.
|
3163
|
-
#
|
3164
3469
|
# @option params [String] :traffic_policy_id
|
3165
3470
|
# The identifier of an existing traffic policy that you attach to an
|
3166
3471
|
# ingress endpoint resource.
|
3167
3472
|
#
|
3473
|
+
# @option params [Types::IngressPointConfiguration] :ingress_point_configuration
|
3474
|
+
# If you choose an Authenticated ingress endpoint, you must configure
|
3475
|
+
# either an SMTP password or a secret ARN.
|
3476
|
+
#
|
3168
3477
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3169
3478
|
#
|
3170
|
-
#
|
3479
|
+
#
|
3480
|
+
# @example Example: Update Open/Auth IngressPoint with new Name
|
3481
|
+
#
|
3482
|
+
# resp = client.update_ingress_point({
|
3483
|
+
# ingress_point_id: "inp-12345",
|
3484
|
+
# ingress_point_name: "ingressPointNewName",
|
3485
|
+
# })
|
3486
|
+
#
|
3487
|
+
# resp.to_h outputs the following:
|
3488
|
+
# {
|
3489
|
+
# }
|
3490
|
+
#
|
3491
|
+
# @example Example: Update Open/Auth IngressPoint with new RuleSetId / TrafficPolicyId
|
3492
|
+
#
|
3493
|
+
# resp = client.update_ingress_point({
|
3494
|
+
# ingress_point_id: "inp-12345",
|
3495
|
+
# rule_set_id: "rs-12345",
|
3496
|
+
# traffic_policy_id: "tp-12345",
|
3497
|
+
# })
|
3498
|
+
#
|
3499
|
+
# resp.to_h outputs the following:
|
3500
|
+
# {
|
3501
|
+
# }
|
3502
|
+
#
|
3503
|
+
# @example Example: Update Auth IngressPoint with new SmtpPassword
|
3171
3504
|
#
|
3172
3505
|
# resp = client.update_ingress_point({
|
3173
3506
|
# ingress_point_configuration: {
|
3174
|
-
#
|
3175
|
-
#
|
3176
|
-
#
|
3507
|
+
# smtp_password: "newSmtpPassword",
|
3508
|
+
# },
|
3509
|
+
# ingress_point_id: "inp-12345",
|
3510
|
+
# })
|
3511
|
+
#
|
3512
|
+
# resp.to_h outputs the following:
|
3513
|
+
# {
|
3514
|
+
# }
|
3515
|
+
#
|
3516
|
+
# @example Example: Update Auth IngressPoint with new SecretArn
|
3517
|
+
#
|
3518
|
+
# resp = client.update_ingress_point({
|
3519
|
+
# ingress_point_configuration: {
|
3520
|
+
# secret_arn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde",
|
3521
|
+
# },
|
3522
|
+
# ingress_point_id: "inp-12345",
|
3523
|
+
# })
|
3524
|
+
#
|
3525
|
+
# resp.to_h outputs the following:
|
3526
|
+
# {
|
3527
|
+
# }
|
3528
|
+
#
|
3529
|
+
# @example Request syntax with placeholder values
|
3530
|
+
#
|
3531
|
+
# resp = client.update_ingress_point({
|
3177
3532
|
# ingress_point_id: "IngressPointId", # required
|
3178
3533
|
# ingress_point_name: "IngressPointName",
|
3179
|
-
# rule_set_id: "RuleSetId",
|
3180
3534
|
# status_to_update: "ACTIVE", # accepts ACTIVE, CLOSED
|
3535
|
+
# rule_set_id: "RuleSetId",
|
3181
3536
|
# traffic_policy_id: "TrafficPolicyId",
|
3537
|
+
# ingress_point_configuration: {
|
3538
|
+
# smtp_password: "SmtpPassword",
|
3539
|
+
# secret_arn: "SecretArn",
|
3540
|
+
# },
|
3182
3541
|
# })
|
3183
3542
|
#
|
3184
3543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/UpdateIngressPoint AWS API Documentation
|
@@ -3192,10 +3551,6 @@ module Aws::MailManager
|
|
3192
3551
|
|
3193
3552
|
# Updates the attributes of an existing relay resource.
|
3194
3553
|
#
|
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
3554
|
# @option params [required, String] :relay_id
|
3200
3555
|
# The unique relay identifier.
|
3201
3556
|
#
|
@@ -3208,20 +3563,24 @@ module Aws::MailManager
|
|
3208
3563
|
# @option params [Integer] :server_port
|
3209
3564
|
# The destination relay server port.
|
3210
3565
|
#
|
3566
|
+
# @option params [Types::RelayAuthentication] :authentication
|
3567
|
+
# Authentication for the relay destination server—specify the secretARN
|
3568
|
+
# where the SMTP credentials are stored.
|
3569
|
+
#
|
3211
3570
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3212
3571
|
#
|
3213
3572
|
# @example Request syntax with placeholder values
|
3214
3573
|
#
|
3215
3574
|
# resp = client.update_relay({
|
3216
|
-
# authentication: {
|
3217
|
-
# no_authentication: {
|
3218
|
-
# },
|
3219
|
-
# secret_arn: "SecretArn",
|
3220
|
-
# },
|
3221
3575
|
# relay_id: "RelayId", # required
|
3222
3576
|
# relay_name: "RelayName",
|
3223
3577
|
# server_name: "RelayServerName",
|
3224
3578
|
# server_port: 1,
|
3579
|
+
# authentication: {
|
3580
|
+
# secret_arn: "SecretArn",
|
3581
|
+
# no_authentication: {
|
3582
|
+
# },
|
3583
|
+
# },
|
3225
3584
|
# })
|
3226
3585
|
#
|
3227
3586
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/UpdateRelay AWS API Documentation
|
@@ -3254,83 +3613,34 @@ module Aws::MailManager
|
|
3254
3613
|
# rule_set_name: "RuleSetName",
|
3255
3614
|
# rules: [
|
3256
3615
|
# {
|
3257
|
-
#
|
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
|
-
# ],
|
3616
|
+
# name: "RuleName",
|
3308
3617
|
# conditions: [
|
3309
3618
|
# {
|
3310
3619
|
# boolean_expression: {
|
3311
3620
|
# evaluate: { # required
|
3621
|
+
# attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
|
3312
3622
|
# analysis: {
|
3313
3623
|
# analyzer: "AnalyzerArn", # required
|
3314
3624
|
# result_field: "ResultField", # required
|
3315
3625
|
# },
|
3316
|
-
# attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
|
3317
3626
|
# is_in_address_list: {
|
3318
|
-
# address_lists: ["AddressListArn"], # required
|
3319
3627
|
# attribute: "RECIPIENT", # required, accepts RECIPIENT, MAIL_FROM, SENDER, FROM, TO, CC
|
3628
|
+
# address_lists: ["AddressListArn"], # required
|
3320
3629
|
# },
|
3321
3630
|
# },
|
3322
3631
|
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
3323
3632
|
# },
|
3324
|
-
#
|
3325
|
-
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3326
|
-
# values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
|
3327
|
-
# },
|
3328
|
-
# ip_expression: {
|
3633
|
+
# string_expression: {
|
3329
3634
|
# evaluate: { # required
|
3330
|
-
# attribute: "
|
3635
|
+
# attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
|
3636
|
+
# mime_header_attribute: "MimeHeaderAttribute",
|
3637
|
+
# analysis: {
|
3638
|
+
# analyzer: "AnalyzerArn", # required
|
3639
|
+
# result_field: "ResultField", # required
|
3640
|
+
# },
|
3331
3641
|
# },
|
3332
|
-
# operator: "
|
3333
|
-
# values: ["
|
3642
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
|
3643
|
+
# values: ["RuleStringValue"], # required
|
3334
3644
|
# },
|
3335
3645
|
# number_expression: {
|
3336
3646
|
# evaluate: { # required
|
@@ -3339,58 +3649,57 @@ module Aws::MailManager
|
|
3339
3649
|
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN_OR_EQUAL
|
3340
3650
|
# value: 1.0, # required
|
3341
3651
|
# },
|
3342
|
-
#
|
3652
|
+
# ip_expression: {
|
3343
3653
|
# evaluate: { # required
|
3344
|
-
#
|
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",
|
3654
|
+
# attribute: "SOURCE_IP", # accepts SOURCE_IP
|
3350
3655
|
# },
|
3351
|
-
# operator: "
|
3352
|
-
# values: ["
|
3656
|
+
# operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
|
3657
|
+
# values: ["RuleIpStringValue"], # required
|
3353
3658
|
# },
|
3354
3659
|
# verdict_expression: {
|
3355
3660
|
# evaluate: { # required
|
3661
|
+
# attribute: "SPF", # accepts SPF, DKIM
|
3356
3662
|
# analysis: {
|
3357
3663
|
# analyzer: "AnalyzerArn", # required
|
3358
3664
|
# result_field: "ResultField", # required
|
3359
3665
|
# },
|
3360
|
-
# attribute: "SPF", # accepts SPF, DKIM
|
3361
3666
|
# },
|
3362
3667
|
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3363
3668
|
# values: ["PASS"], # required, accepts PASS, FAIL, GRAY, PROCESSING_FAILED
|
3364
3669
|
# },
|
3670
|
+
# dmarc_expression: {
|
3671
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3672
|
+
# values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
|
3673
|
+
# },
|
3365
3674
|
# },
|
3366
3675
|
# ],
|
3367
|
-
# name: "RuleName",
|
3368
3676
|
# unless: [
|
3369
3677
|
# {
|
3370
3678
|
# boolean_expression: {
|
3371
3679
|
# evaluate: { # required
|
3680
|
+
# attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
|
3372
3681
|
# analysis: {
|
3373
3682
|
# analyzer: "AnalyzerArn", # required
|
3374
3683
|
# result_field: "ResultField", # required
|
3375
3684
|
# },
|
3376
|
-
# attribute: "READ_RECEIPT_REQUESTED", # accepts READ_RECEIPT_REQUESTED, TLS, TLS_WRAPPED
|
3377
3685
|
# is_in_address_list: {
|
3378
|
-
# address_lists: ["AddressListArn"], # required
|
3379
3686
|
# attribute: "RECIPIENT", # required, accepts RECIPIENT, MAIL_FROM, SENDER, FROM, TO, CC
|
3687
|
+
# address_lists: ["AddressListArn"], # required
|
3380
3688
|
# },
|
3381
3689
|
# },
|
3382
3690
|
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
3383
3691
|
# },
|
3384
|
-
#
|
3385
|
-
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3386
|
-
# values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
|
3387
|
-
# },
|
3388
|
-
# ip_expression: {
|
3692
|
+
# string_expression: {
|
3389
3693
|
# evaluate: { # required
|
3390
|
-
# attribute: "
|
3694
|
+
# attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
|
3695
|
+
# mime_header_attribute: "MimeHeaderAttribute",
|
3696
|
+
# analysis: {
|
3697
|
+
# analyzer: "AnalyzerArn", # required
|
3698
|
+
# result_field: "ResultField", # required
|
3699
|
+
# },
|
3391
3700
|
# },
|
3392
|
-
# operator: "
|
3393
|
-
# values: ["
|
3701
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
|
3702
|
+
# values: ["RuleStringValue"], # required
|
3394
3703
|
# },
|
3395
3704
|
# number_expression: {
|
3396
3705
|
# evaluate: { # required
|
@@ -3399,29 +3708,79 @@ module Aws::MailManager
|
|
3399
3708
|
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN_OR_EQUAL
|
3400
3709
|
# value: 1.0, # required
|
3401
3710
|
# },
|
3402
|
-
#
|
3711
|
+
# ip_expression: {
|
3403
3712
|
# evaluate: { # required
|
3404
|
-
#
|
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",
|
3713
|
+
# attribute: "SOURCE_IP", # accepts SOURCE_IP
|
3410
3714
|
# },
|
3411
|
-
# operator: "
|
3412
|
-
# values: ["
|
3715
|
+
# operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
|
3716
|
+
# values: ["RuleIpStringValue"], # required
|
3413
3717
|
# },
|
3414
3718
|
# verdict_expression: {
|
3415
3719
|
# evaluate: { # required
|
3720
|
+
# attribute: "SPF", # accepts SPF, DKIM
|
3416
3721
|
# analysis: {
|
3417
3722
|
# analyzer: "AnalyzerArn", # required
|
3418
3723
|
# result_field: "ResultField", # required
|
3419
3724
|
# },
|
3420
|
-
# attribute: "SPF", # accepts SPF, DKIM
|
3421
3725
|
# },
|
3422
3726
|
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3423
3727
|
# values: ["PASS"], # required, accepts PASS, FAIL, GRAY, PROCESSING_FAILED
|
3424
3728
|
# },
|
3729
|
+
# dmarc_expression: {
|
3730
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
|
3731
|
+
# values: ["NONE"], # required, accepts NONE, QUARANTINE, REJECT
|
3732
|
+
# },
|
3733
|
+
# },
|
3734
|
+
# ],
|
3735
|
+
# actions: [ # required
|
3736
|
+
# {
|
3737
|
+
# drop: {
|
3738
|
+
# },
|
3739
|
+
# relay: {
|
3740
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
3741
|
+
# relay: "IdOrArn", # required
|
3742
|
+
# mail_from: "REPLACE", # accepts REPLACE, PRESERVE
|
3743
|
+
# },
|
3744
|
+
# archive: {
|
3745
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
3746
|
+
# target_archive: "NameOrArn", # required
|
3747
|
+
# },
|
3748
|
+
# write_to_s3: {
|
3749
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
3750
|
+
# role_arn: "IamRoleArn", # required
|
3751
|
+
# s3_bucket: "S3Bucket", # required
|
3752
|
+
# s3_prefix: "S3Prefix",
|
3753
|
+
# s3_sse_kms_key_id: "KmsKeyId",
|
3754
|
+
# },
|
3755
|
+
# send: {
|
3756
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
3757
|
+
# role_arn: "IamRoleArn", # required
|
3758
|
+
# },
|
3759
|
+
# add_header: {
|
3760
|
+
# header_name: "HeaderName", # required
|
3761
|
+
# header_value: "HeaderValue", # required
|
3762
|
+
# },
|
3763
|
+
# replace_recipient: {
|
3764
|
+
# replace_with: ["EmailAddress"],
|
3765
|
+
# },
|
3766
|
+
# deliver_to_mailbox: {
|
3767
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
3768
|
+
# mailbox_arn: "NameOrArn", # required
|
3769
|
+
# role_arn: "IamRoleArn", # required
|
3770
|
+
# },
|
3771
|
+
# deliver_to_q_business: {
|
3772
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
3773
|
+
# application_id: "QBusinessApplicationId", # required
|
3774
|
+
# index_id: "QBusinessIndexId", # required
|
3775
|
+
# role_arn: "IamRoleArn", # required
|
3776
|
+
# },
|
3777
|
+
# publish_to_sns: {
|
3778
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
3779
|
+
# topic_arn: "SnsTopicArn", # required
|
3780
|
+
# role_arn: "IamRoleArn", # required
|
3781
|
+
# encoding: "UTF-8", # accepts UTF-8, BASE64
|
3782
|
+
# payload_type: "HEADERS", # accepts HEADERS, CONTENT
|
3783
|
+
# },
|
3425
3784
|
# },
|
3426
3785
|
# ],
|
3427
3786
|
# },
|
@@ -3439,6 +3798,15 @@ module Aws::MailManager
|
|
3439
3798
|
|
3440
3799
|
# Update attributes of an already provisioned traffic policy resource.
|
3441
3800
|
#
|
3801
|
+
# @option params [required, String] :traffic_policy_id
|
3802
|
+
# The identifier of the traffic policy that you want to update.
|
3803
|
+
#
|
3804
|
+
# @option params [String] :traffic_policy_name
|
3805
|
+
# A user-friendly name for the traffic policy resource.
|
3806
|
+
#
|
3807
|
+
# @option params [Array<Types::PolicyStatement>] :policy_statements
|
3808
|
+
# The list of conditions to be updated for filtering email traffic.
|
3809
|
+
#
|
3442
3810
|
# @option params [String] :default_action
|
3443
3811
|
# Default action instructs the traffic policy to either Allow or Deny
|
3444
3812
|
# (block) messages that fall outside of (or not addressed by) the
|
@@ -3448,39 +3816,79 @@ module Aws::MailManager
|
|
3448
3816
|
# The maximum message size in bytes of email which is allowed in by this
|
3449
3817
|
# traffic policy—anything larger will be blocked.
|
3450
3818
|
#
|
3451
|
-
# @
|
3452
|
-
# The list of conditions to be updated for filtering email traffic.
|
3819
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3453
3820
|
#
|
3454
|
-
# @option params [required, String] :traffic_policy_id
|
3455
|
-
# The identifier of the traffic policy that you want to update.
|
3456
3821
|
#
|
3457
|
-
# @
|
3458
|
-
# A user-friendly name for the traffic policy resource.
|
3822
|
+
# @example Example: Update TrafficPolicy with new Name
|
3459
3823
|
#
|
3460
|
-
#
|
3824
|
+
# resp = client.update_traffic_policy({
|
3825
|
+
# traffic_policy_id: "tp-12345",
|
3826
|
+
# traffic_policy_name: "trafficPolicyNewName",
|
3827
|
+
# })
|
3828
|
+
#
|
3829
|
+
# resp.to_h outputs the following:
|
3830
|
+
# {
|
3831
|
+
# }
|
3832
|
+
#
|
3833
|
+
# @example Example: Update TrafficPolicy with new PolicyStatements
|
3834
|
+
#
|
3835
|
+
# resp = client.update_traffic_policy({
|
3836
|
+
# policy_statements: [
|
3837
|
+
# {
|
3838
|
+
# action: "ALLOW",
|
3839
|
+
# conditions: [
|
3840
|
+
# {
|
3841
|
+
# string_expression: {
|
3842
|
+
# evaluate: {
|
3843
|
+
# attribute: "RECIPIENT",
|
3844
|
+
# },
|
3845
|
+
# operator: "EQUALS",
|
3846
|
+
# values: [
|
3847
|
+
# "example@amazon.com",
|
3848
|
+
# "example@gmail.com",
|
3849
|
+
# ],
|
3850
|
+
# },
|
3851
|
+
# },
|
3852
|
+
# ],
|
3853
|
+
# },
|
3854
|
+
# ],
|
3855
|
+
# traffic_policy_id: "tp-12345",
|
3856
|
+
# })
|
3857
|
+
#
|
3858
|
+
# resp.to_h outputs the following:
|
3859
|
+
# {
|
3860
|
+
# }
|
3861
|
+
#
|
3862
|
+
# @example Example: Update TrafficPolicy with new DefaultAction
|
3863
|
+
#
|
3864
|
+
# resp = client.update_traffic_policy({
|
3865
|
+
# default_action: "ALLOW",
|
3866
|
+
# traffic_policy_id: "tp-12345",
|
3867
|
+
# })
|
3868
|
+
#
|
3869
|
+
# resp.to_h outputs the following:
|
3870
|
+
# {
|
3871
|
+
# }
|
3461
3872
|
#
|
3462
3873
|
# @example Request syntax with placeholder values
|
3463
3874
|
#
|
3464
3875
|
# resp = client.update_traffic_policy({
|
3465
|
-
#
|
3466
|
-
#
|
3876
|
+
# traffic_policy_id: "TrafficPolicyId", # required
|
3877
|
+
# traffic_policy_name: "TrafficPolicyName",
|
3467
3878
|
# policy_statements: [
|
3468
3879
|
# {
|
3469
|
-
# action: "ALLOW", # required, accepts ALLOW, DENY
|
3470
3880
|
# conditions: [ # required
|
3471
3881
|
# {
|
3472
|
-
#
|
3882
|
+
# string_expression: {
|
3473
3883
|
# evaluate: { # required
|
3884
|
+
# attribute: "RECIPIENT", # accepts RECIPIENT
|
3474
3885
|
# analysis: {
|
3475
3886
|
# analyzer: "AnalyzerArn", # required
|
3476
3887
|
# result_field: "ResultField", # required
|
3477
3888
|
# },
|
3478
|
-
# is_in_address_list: {
|
3479
|
-
# address_lists: ["AddressListArn"], # required
|
3480
|
-
# attribute: "RECIPIENT", # required, accepts RECIPIENT
|
3481
|
-
# },
|
3482
3889
|
# },
|
3483
|
-
# operator: "
|
3890
|
+
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
|
3891
|
+
# values: ["String"], # required
|
3484
3892
|
# },
|
3485
3893
|
# ip_expression: {
|
3486
3894
|
# evaluate: { # required
|
@@ -3496,17 +3904,6 @@ module Aws::MailManager
|
|
3496
3904
|
# operator: "CIDR_MATCHES", # required, accepts CIDR_MATCHES, NOT_CIDR_MATCHES
|
3497
3905
|
# values: ["Ipv6Cidr"], # required
|
3498
3906
|
# },
|
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
3907
|
# tls_expression: {
|
3511
3908
|
# evaluate: { # required
|
3512
3909
|
# attribute: "TLS_PROTOCOL", # accepts TLS_PROTOCOL
|
@@ -3514,12 +3911,26 @@ module Aws::MailManager
|
|
3514
3911
|
# operator: "MINIMUM_TLS_VERSION", # required, accepts MINIMUM_TLS_VERSION, IS
|
3515
3912
|
# value: "TLS1_2", # required, accepts TLS1_2, TLS1_3
|
3516
3913
|
# },
|
3914
|
+
# boolean_expression: {
|
3915
|
+
# evaluate: { # required
|
3916
|
+
# analysis: {
|
3917
|
+
# analyzer: "AnalyzerArn", # required
|
3918
|
+
# result_field: "ResultField", # required
|
3919
|
+
# },
|
3920
|
+
# is_in_address_list: {
|
3921
|
+
# attribute: "RECIPIENT", # required, accepts RECIPIENT
|
3922
|
+
# address_lists: ["AddressListArn"], # required
|
3923
|
+
# },
|
3924
|
+
# },
|
3925
|
+
# operator: "IS_TRUE", # required, accepts IS_TRUE, IS_FALSE
|
3926
|
+
# },
|
3517
3927
|
# },
|
3518
3928
|
# ],
|
3929
|
+
# action: "ALLOW", # required, accepts ALLOW, DENY
|
3519
3930
|
# },
|
3520
3931
|
# ],
|
3521
|
-
#
|
3522
|
-
#
|
3932
|
+
# default_action: "ALLOW", # accepts ALLOW, DENY
|
3933
|
+
# max_message_size_bytes: 1,
|
3523
3934
|
# })
|
3524
3935
|
#
|
3525
3936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/UpdateTrafficPolicy AWS API Documentation
|
@@ -3549,7 +3960,7 @@ module Aws::MailManager
|
|
3549
3960
|
tracer: tracer
|
3550
3961
|
)
|
3551
3962
|
context[:gem_name] = 'aws-sdk-mailmanager'
|
3552
|
-
context[:gem_version] = '1.
|
3963
|
+
context[:gem_version] = '1.29.0'
|
3553
3964
|
Seahorse::Client::Request.new(handlers, context)
|
3554
3965
|
end
|
3555
3966
|
|