aws-sdk-mailmanager 1.15.0 → 1.17.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 +40 -1
- data/lib/aws-sdk-mailmanager/client_api.rb +11 -0
- data/lib/aws-sdk-mailmanager/types.rb +45 -0
- data/lib/aws-sdk-mailmanager.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +11 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae7f7d522dbe928f4e48ee156e9dc3d09114a74919daf98930cee5e75719de47
|
4
|
+
data.tar.gz: 63447e68aa54596ff48fb22fcfd6b1a6167ac44d4e7693dc7f0ca5220efbd1fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aa202d96a9a2c04ce88e68fe00ceb11fc8fb483d1c89f9b368daa6e7166b13619851441b47cf3f86e174bc01cb3a75bee7bd4f9902be5e7bd9a3d17892ebb45
|
7
|
+
data.tar.gz: 9afac1317ac312d129205475f85f704bcc3326a248017ee5620867c8bed575eaee4e54108d9b50b512b62d385a87edafcbf4d25def980c27dc4e622fef65b3d2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.17.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.16.0 (2024-11-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added new "DeliverToQBusiness" rule action to MailManager RulesSet for ingesting email data into Amazon Q Business customer applications
|
13
|
+
|
4
14
|
1.15.0 (2024-11-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -257,11 +257,34 @@ module Aws::MailManager
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -793,6 +816,12 @@ module Aws::MailManager
|
|
793
816
|
# mailbox_arn: "NameOrArn", # required
|
794
817
|
# role_arn: "IamRoleArn", # required
|
795
818
|
# },
|
819
|
+
# deliver_to_q_business: {
|
820
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
821
|
+
# application_id: "QBusinessApplicationId", # required
|
822
|
+
# index_id: "QBusinessIndexId", # required
|
823
|
+
# role_arn: "IamRoleArn", # required
|
824
|
+
# },
|
796
825
|
# drop: {
|
797
826
|
# },
|
798
827
|
# relay: {
|
@@ -1668,6 +1697,10 @@ module Aws::MailManager
|
|
1668
1697
|
# resp.rules[0].actions[0].deliver_to_mailbox.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
1669
1698
|
# resp.rules[0].actions[0].deliver_to_mailbox.mailbox_arn #=> String
|
1670
1699
|
# resp.rules[0].actions[0].deliver_to_mailbox.role_arn #=> String
|
1700
|
+
# resp.rules[0].actions[0].deliver_to_q_business.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
1701
|
+
# resp.rules[0].actions[0].deliver_to_q_business.application_id #=> String
|
1702
|
+
# resp.rules[0].actions[0].deliver_to_q_business.index_id #=> String
|
1703
|
+
# resp.rules[0].actions[0].deliver_to_q_business.role_arn #=> String
|
1671
1704
|
# resp.rules[0].actions[0].relay.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
1672
1705
|
# resp.rules[0].actions[0].relay.mail_from #=> String, one of "REPLACE", "PRESERVE"
|
1673
1706
|
# resp.rules[0].actions[0].relay.relay #=> String
|
@@ -2655,6 +2688,12 @@ module Aws::MailManager
|
|
2655
2688
|
# mailbox_arn: "NameOrArn", # required
|
2656
2689
|
# role_arn: "IamRoleArn", # required
|
2657
2690
|
# },
|
2691
|
+
# deliver_to_q_business: {
|
2692
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
2693
|
+
# application_id: "QBusinessApplicationId", # required
|
2694
|
+
# index_id: "QBusinessIndexId", # required
|
2695
|
+
# role_arn: "IamRoleArn", # required
|
2696
|
+
# },
|
2658
2697
|
# drop: {
|
2659
2698
|
# },
|
2660
2699
|
# relay: {
|
@@ -2883,7 +2922,7 @@ module Aws::MailManager
|
|
2883
2922
|
tracer: tracer
|
2884
2923
|
)
|
2885
2924
|
context[:gem_name] = 'aws-sdk-mailmanager'
|
2886
|
-
context[:gem_version] = '1.
|
2925
|
+
context[:gem_version] = '1.17.0'
|
2887
2926
|
Seahorse::Client::Request.new(handlers, context)
|
2888
2927
|
end
|
2889
2928
|
|
@@ -81,6 +81,7 @@ module Aws::MailManager
|
|
81
81
|
DeleteTrafficPolicyRequest = Shapes::StructureShape.new(name: 'DeleteTrafficPolicyRequest')
|
82
82
|
DeleteTrafficPolicyResponse = Shapes::StructureShape.new(name: 'DeleteTrafficPolicyResponse')
|
83
83
|
DeliverToMailboxAction = Shapes::StructureShape.new(name: 'DeliverToMailboxAction')
|
84
|
+
DeliverToQBusinessAction = Shapes::StructureShape.new(name: 'DeliverToQBusinessAction')
|
84
85
|
Double = Shapes::FloatShape.new(name: 'Double')
|
85
86
|
DropAction = Shapes::StructureShape.new(name: 'DropAction')
|
86
87
|
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
@@ -190,6 +191,8 @@ module Aws::MailManager
|
|
190
191
|
PolicyConditions = Shapes::ListShape.new(name: 'PolicyConditions')
|
191
192
|
PolicyStatement = Shapes::StructureShape.new(name: 'PolicyStatement')
|
192
193
|
PolicyStatementList = Shapes::ListShape.new(name: 'PolicyStatementList')
|
194
|
+
QBusinessApplicationId = Shapes::StringShape.new(name: 'QBusinessApplicationId')
|
195
|
+
QBusinessIndexId = Shapes::StringShape.new(name: 'QBusinessIndexId')
|
193
196
|
Recipients = Shapes::ListShape.new(name: 'Recipients')
|
194
197
|
Relay = Shapes::StructureShape.new(name: 'Relay')
|
195
198
|
RelayAction = Shapes::StructureShape.new(name: 'RelayAction')
|
@@ -499,6 +502,12 @@ module Aws::MailManager
|
|
499
502
|
DeliverToMailboxAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "RoleArn"))
|
500
503
|
DeliverToMailboxAction.struct_class = Types::DeliverToMailboxAction
|
501
504
|
|
505
|
+
DeliverToQBusinessAction.add_member(:action_failure_policy, Shapes::ShapeRef.new(shape: ActionFailurePolicy, location_name: "ActionFailurePolicy"))
|
506
|
+
DeliverToQBusinessAction.add_member(:application_id, Shapes::ShapeRef.new(shape: QBusinessApplicationId, required: true, location_name: "ApplicationId"))
|
507
|
+
DeliverToQBusinessAction.add_member(:index_id, Shapes::ShapeRef.new(shape: QBusinessIndexId, required: true, location_name: "IndexId"))
|
508
|
+
DeliverToQBusinessAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "RoleArn"))
|
509
|
+
DeliverToQBusinessAction.struct_class = Types::DeliverToQBusinessAction
|
510
|
+
|
502
511
|
DropAction.struct_class = Types::DropAction
|
503
512
|
|
504
513
|
EmailReceivedHeadersList.member = Shapes::ShapeRef.new(shape: String)
|
@@ -903,6 +912,7 @@ module Aws::MailManager
|
|
903
912
|
RuleAction.add_member(:add_header, Shapes::ShapeRef.new(shape: AddHeaderAction, location_name: "AddHeader"))
|
904
913
|
RuleAction.add_member(:archive, Shapes::ShapeRef.new(shape: ArchiveAction, location_name: "Archive"))
|
905
914
|
RuleAction.add_member(:deliver_to_mailbox, Shapes::ShapeRef.new(shape: DeliverToMailboxAction, location_name: "DeliverToMailbox"))
|
915
|
+
RuleAction.add_member(:deliver_to_q_business, Shapes::ShapeRef.new(shape: DeliverToQBusinessAction, location_name: "DeliverToQBusiness"))
|
906
916
|
RuleAction.add_member(:drop, Shapes::ShapeRef.new(shape: DropAction, location_name: "Drop"))
|
907
917
|
RuleAction.add_member(:relay, Shapes::ShapeRef.new(shape: RelayAction, location_name: "Relay"))
|
908
918
|
RuleAction.add_member(:replace_recipient, Shapes::ShapeRef.new(shape: ReplaceRecipientAction, location_name: "ReplaceRecipient"))
|
@@ -912,6 +922,7 @@ module Aws::MailManager
|
|
912
922
|
RuleAction.add_member_subclass(:add_header, Types::RuleAction::AddHeader)
|
913
923
|
RuleAction.add_member_subclass(:archive, Types::RuleAction::Archive)
|
914
924
|
RuleAction.add_member_subclass(:deliver_to_mailbox, Types::RuleAction::DeliverToMailbox)
|
925
|
+
RuleAction.add_member_subclass(:deliver_to_q_business, Types::RuleAction::DeliverToQBusiness)
|
915
926
|
RuleAction.add_member_subclass(:drop, Types::RuleAction::Drop)
|
916
927
|
RuleAction.add_member_subclass(:relay, Types::RuleAction::Relay)
|
917
928
|
RuleAction.add_member_subclass(:replace_recipient, Types::RuleAction::ReplaceRecipient)
|
@@ -875,6 +875,44 @@ module Aws::MailManager
|
|
875
875
|
include Aws::Structure
|
876
876
|
end
|
877
877
|
|
878
|
+
# The action to deliver incoming emails to an Amazon Q Business
|
879
|
+
# application for indexing.
|
880
|
+
#
|
881
|
+
# @!attribute [rw] action_failure_policy
|
882
|
+
# A policy that states what to do in the case of failure. The action
|
883
|
+
# will fail if there are configuration errors. For example, the
|
884
|
+
# specified application has been deleted or the role lacks necessary
|
885
|
+
# permissions to call the qbusiness:BatchPutDocument API.
|
886
|
+
# @return [String]
|
887
|
+
#
|
888
|
+
# @!attribute [rw] application_id
|
889
|
+
# The unique identifier of the Amazon Q Business application instance
|
890
|
+
# where the email content will be delivered.
|
891
|
+
# @return [String]
|
892
|
+
#
|
893
|
+
# @!attribute [rw] index_id
|
894
|
+
# The identifier of the knowledge base index within the Amazon Q
|
895
|
+
# Business application where the email content will be stored and
|
896
|
+
# indexed.
|
897
|
+
# @return [String]
|
898
|
+
#
|
899
|
+
# @!attribute [rw] role_arn
|
900
|
+
# The Amazon Resource Name (ARN) of the IAM Role to use while
|
901
|
+
# delivering to Amazon Q Business. This role must have access to the
|
902
|
+
# qbusiness:BatchPutDocument API for the given application and index.
|
903
|
+
# @return [String]
|
904
|
+
#
|
905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/DeliverToQBusinessAction AWS API Documentation
|
906
|
+
#
|
907
|
+
class DeliverToQBusinessAction < Struct.new(
|
908
|
+
:action_failure_policy,
|
909
|
+
:application_id,
|
910
|
+
:index_id,
|
911
|
+
:role_arn)
|
912
|
+
SENSITIVE = []
|
913
|
+
include Aws::Structure
|
914
|
+
end
|
915
|
+
|
878
916
|
# This action causes processing to stop and the email to be dropped. If
|
879
917
|
# the action applies only to certain recipients, only those recipients
|
880
918
|
# are dropped, and processing continues for other recipients.
|
@@ -2737,6 +2775,11 @@ module Aws::MailManager
|
|
2737
2775
|
# This action delivers an email to a WorkMail mailbox.
|
2738
2776
|
# @return [Types::DeliverToMailboxAction]
|
2739
2777
|
#
|
2778
|
+
# @!attribute [rw] deliver_to_q_business
|
2779
|
+
# This action delivers an email to an Amazon Q Business application
|
2780
|
+
# for ingestion into its knowledge base.
|
2781
|
+
# @return [Types::DeliverToQBusinessAction]
|
2782
|
+
#
|
2740
2783
|
# @!attribute [rw] drop
|
2741
2784
|
# This action terminates the evaluation of rules in the rule set.
|
2742
2785
|
# @return [Types::DropAction]
|
@@ -2764,6 +2807,7 @@ module Aws::MailManager
|
|
2764
2807
|
:add_header,
|
2765
2808
|
:archive,
|
2766
2809
|
:deliver_to_mailbox,
|
2810
|
+
:deliver_to_q_business,
|
2767
2811
|
:drop,
|
2768
2812
|
:relay,
|
2769
2813
|
:replace_recipient,
|
@@ -2777,6 +2821,7 @@ module Aws::MailManager
|
|
2777
2821
|
class AddHeader < RuleAction; end
|
2778
2822
|
class Archive < RuleAction; end
|
2779
2823
|
class DeliverToMailbox < RuleAction; end
|
2824
|
+
class DeliverToQBusiness < RuleAction; end
|
2780
2825
|
class Drop < RuleAction; end
|
2781
2826
|
class Relay < RuleAction; end
|
2782
2827
|
class ReplaceRecipient < RuleAction; end
|
data/lib/aws-sdk-mailmanager.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -204,6 +206,12 @@ module Aws
|
|
204
206
|
mailbox_arn: ::String,
|
205
207
|
role_arn: ::String
|
206
208
|
}?,
|
209
|
+
deliver_to_q_business: {
|
210
|
+
action_failure_policy: ("CONTINUE" | "DROP")?,
|
211
|
+
application_id: ::String,
|
212
|
+
index_id: ::String,
|
213
|
+
role_arn: ::String
|
214
|
+
}?,
|
207
215
|
drop: {
|
208
216
|
}?,
|
209
217
|
relay: {
|
@@ -966,6 +974,12 @@ module Aws
|
|
966
974
|
mailbox_arn: ::String,
|
967
975
|
role_arn: ::String
|
968
976
|
}?,
|
977
|
+
deliver_to_q_business: {
|
978
|
+
action_failure_policy: ("CONTINUE" | "DROP")?,
|
979
|
+
application_id: ::String,
|
980
|
+
index_id: ::String,
|
981
|
+
role_arn: ::String
|
982
|
+
}?,
|
969
983
|
drop: {
|
970
984
|
}?,
|
971
985
|
relay: {
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/types.rbs
CHANGED
@@ -287,6 +287,14 @@ module Aws::MailManager
|
|
287
287
|
SENSITIVE: []
|
288
288
|
end
|
289
289
|
|
290
|
+
class DeliverToQBusinessAction
|
291
|
+
attr_accessor action_failure_policy: ("CONTINUE" | "DROP")
|
292
|
+
attr_accessor application_id: ::String
|
293
|
+
attr_accessor index_id: ::String
|
294
|
+
attr_accessor role_arn: ::String
|
295
|
+
SENSITIVE: []
|
296
|
+
end
|
297
|
+
|
290
298
|
class DropAction < Aws::EmptyStructure
|
291
299
|
end
|
292
300
|
|
@@ -849,6 +857,7 @@ module Aws::MailManager
|
|
849
857
|
attr_accessor add_header: Types::AddHeaderAction
|
850
858
|
attr_accessor archive: Types::ArchiveAction
|
851
859
|
attr_accessor deliver_to_mailbox: Types::DeliverToMailboxAction
|
860
|
+
attr_accessor deliver_to_q_business: Types::DeliverToQBusinessAction
|
852
861
|
attr_accessor drop: Types::DropAction
|
853
862
|
attr_accessor relay: Types::RelayAction
|
854
863
|
attr_accessor replace_recipient: Types::ReplaceRecipientAction
|
@@ -863,6 +872,8 @@ module Aws::MailManager
|
|
863
872
|
end
|
864
873
|
class DeliverToMailbox < RuleAction
|
865
874
|
end
|
875
|
+
class DeliverToQBusiness < RuleAction
|
876
|
+
end
|
866
877
|
class Drop < RuleAction
|
867
878
|
end
|
868
879
|
class Relay < RuleAction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mailmanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|