aws-sdk-mailmanager 1.15.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mailmanager/client.rb +17 -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 +12 -0
- data/sig/types.rbs +11 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08e24970d6e6c99909be3d3086454a9fbdf5df821f87d55dad3ae524d9d4d973'
|
4
|
+
data.tar.gz: c9da36ba2857be5d666d0222a7e4c9198f4b485b2ab8089c86f08d9ff58193af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a374daed02cd04ec115be68647736cf351dae0a5845598b3f8c824a113f8b318a725daa9f844a72cac46fafba7caa010a9a0a99bc357643caf6e3bd2d99fc4d
|
7
|
+
data.tar.gz: 12ee47a8bd5d4721b46ff0a5c29d9d4f4405544007023cad9665c804e4f951303671d61f0a42fb864bb731daa2dd7c73f8fbca6366322e621f3503f51ce95929
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2024-11-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added new "DeliverToQBusiness" rule action to MailManager RulesSet for ingesting email data into Amazon Q Business customer applications
|
8
|
+
|
4
9
|
1.15.0 (2024-11-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -793,6 +793,12 @@ module Aws::MailManager
|
|
793
793
|
# mailbox_arn: "NameOrArn", # required
|
794
794
|
# role_arn: "IamRoleArn", # required
|
795
795
|
# },
|
796
|
+
# deliver_to_q_business: {
|
797
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
798
|
+
# application_id: "QBusinessApplicationId", # required
|
799
|
+
# index_id: "QBusinessIndexId", # required
|
800
|
+
# role_arn: "IamRoleArn", # required
|
801
|
+
# },
|
796
802
|
# drop: {
|
797
803
|
# },
|
798
804
|
# relay: {
|
@@ -1668,6 +1674,10 @@ module Aws::MailManager
|
|
1668
1674
|
# resp.rules[0].actions[0].deliver_to_mailbox.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
1669
1675
|
# resp.rules[0].actions[0].deliver_to_mailbox.mailbox_arn #=> String
|
1670
1676
|
# resp.rules[0].actions[0].deliver_to_mailbox.role_arn #=> String
|
1677
|
+
# resp.rules[0].actions[0].deliver_to_q_business.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
1678
|
+
# resp.rules[0].actions[0].deliver_to_q_business.application_id #=> String
|
1679
|
+
# resp.rules[0].actions[0].deliver_to_q_business.index_id #=> String
|
1680
|
+
# resp.rules[0].actions[0].deliver_to_q_business.role_arn #=> String
|
1671
1681
|
# resp.rules[0].actions[0].relay.action_failure_policy #=> String, one of "CONTINUE", "DROP"
|
1672
1682
|
# resp.rules[0].actions[0].relay.mail_from #=> String, one of "REPLACE", "PRESERVE"
|
1673
1683
|
# resp.rules[0].actions[0].relay.relay #=> String
|
@@ -2655,6 +2665,12 @@ module Aws::MailManager
|
|
2655
2665
|
# mailbox_arn: "NameOrArn", # required
|
2656
2666
|
# role_arn: "IamRoleArn", # required
|
2657
2667
|
# },
|
2668
|
+
# deliver_to_q_business: {
|
2669
|
+
# action_failure_policy: "CONTINUE", # accepts CONTINUE, DROP
|
2670
|
+
# application_id: "QBusinessApplicationId", # required
|
2671
|
+
# index_id: "QBusinessIndexId", # required
|
2672
|
+
# role_arn: "IamRoleArn", # required
|
2673
|
+
# },
|
2658
2674
|
# drop: {
|
2659
2675
|
# },
|
2660
2676
|
# relay: {
|
@@ -2883,7 +2899,7 @@ module Aws::MailManager
|
|
2883
2899
|
tracer: tracer
|
2884
2900
|
)
|
2885
2901
|
context[:gem_name] = 'aws-sdk-mailmanager'
|
2886
|
-
context[:gem_version] = '1.
|
2902
|
+
context[:gem_version] = '1.16.0'
|
2887
2903
|
Seahorse::Client::Request.new(handlers, context)
|
2888
2904
|
end
|
2889
2905
|
|
@@ -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
@@ -204,6 +204,12 @@ module Aws
|
|
204
204
|
mailbox_arn: ::String,
|
205
205
|
role_arn: ::String
|
206
206
|
}?,
|
207
|
+
deliver_to_q_business: {
|
208
|
+
action_failure_policy: ("CONTINUE" | "DROP")?,
|
209
|
+
application_id: ::String,
|
210
|
+
index_id: ::String,
|
211
|
+
role_arn: ::String
|
212
|
+
}?,
|
207
213
|
drop: {
|
208
214
|
}?,
|
209
215
|
relay: {
|
@@ -966,6 +972,12 @@ module Aws
|
|
966
972
|
mailbox_arn: ::String,
|
967
973
|
role_arn: ::String
|
968
974
|
}?,
|
975
|
+
deliver_to_q_business: {
|
976
|
+
action_failure_policy: ("CONTINUE" | "DROP")?,
|
977
|
+
application_id: ::String,
|
978
|
+
index_id: ::String,
|
979
|
+
role_arn: ::String
|
980
|
+
}?,
|
969
981
|
drop: {
|
970
982
|
}?,
|
971
983
|
relay: {
|
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.16.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: 2024-11-
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|