aws-sdk-mailmanager 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cbc32461bfb765fdb6c45732a9b9fec3b3e4f34f5dfbcda007e7b0893716b9f
4
- data.tar.gz: 3124b3253b9601446a0ac3aa7397f21c23c336c5c420299f99b37d8cd7235b43
3
+ metadata.gz: 29444bf409967336305c90bf2ae6a7e582327bb3a32fb850991ffac71766856b
4
+ data.tar.gz: 1e69e5215411ed3b813170d0ecce7600324f63efca2760bc9f1d2d2a2dd911d0
5
5
  SHA512:
6
- metadata.gz: 1c29a98b54ef3f5904317c39033c25e96692f44488039613b9ef184cc8746689893bbef927447ba5e716905e08cb6b407292a6c35b6f74c5850a119df9c253e1
7
- data.tar.gz: 5a12af877fd87a668f54214547c1796db7d42021d45b148b171a092503d93860f9c02e5ef432b01b22bc802b739bac9b63369298f7aeff1d7ebcabcabe5b43a9
6
+ metadata.gz: 0a22b64e487f7dd7543fea6c158335d63353b7da543533a5af09eced73b1f1c4f42c65bd68118d7390bfdcdfc2820425fb33584de6bc819305e34c63433db4ea
7
+ data.tar.gz: 954846203802bad256e5ea02800313c50e7ff56efc853ba37e80746b509d63139208f115b5181826f6c827b02e0feda957960bd41ad949758eea8f867111b010
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.9.0 (2024-09-18)
5
+ ------------------
6
+
7
+ * Feature - Introduce a new RuleSet condition evaluation, where customers can set up a StringExpression with a MimeHeader condition. This condition will perform the necessary validation based on the X-header provided by customers.
8
+
4
9
  1.8.0 (2024-09-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.9.0
@@ -841,6 +841,7 @@ module Aws::MailManager
841
841
  # string_expression: {
842
842
  # evaluate: { # required
843
843
  # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
844
+ # mime_header_attribute: "MimeHeaderAttribute",
844
845
  # },
845
846
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
846
847
  # values: ["RuleStringValue"], # required
@@ -888,6 +889,7 @@ module Aws::MailManager
888
889
  # string_expression: {
889
890
  # evaluate: { # required
890
891
  # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
892
+ # mime_header_attribute: "MimeHeaderAttribute",
891
893
  # },
892
894
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
893
895
  # values: ["RuleStringValue"], # required
@@ -1667,6 +1669,7 @@ module Aws::MailManager
1667
1669
  # 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"
1668
1670
  # resp.rules[0].conditions[0].number_expression.value #=> Float
1669
1671
  # resp.rules[0].conditions[0].string_expression.evaluate.attribute #=> String, one of "MAIL_FROM", "HELO", "RECIPIENT", "SENDER", "FROM", "SUBJECT", "TO", "CC"
1672
+ # resp.rules[0].conditions[0].string_expression.evaluate.mime_header_attribute #=> String
1670
1673
  # resp.rules[0].conditions[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
1671
1674
  # resp.rules[0].conditions[0].string_expression.values #=> Array
1672
1675
  # resp.rules[0].conditions[0].string_expression.values[0] #=> String
@@ -1691,6 +1694,7 @@ module Aws::MailManager
1691
1694
  # 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"
1692
1695
  # resp.rules[0].unless[0].number_expression.value #=> Float
1693
1696
  # resp.rules[0].unless[0].string_expression.evaluate.attribute #=> String, one of "MAIL_FROM", "HELO", "RECIPIENT", "SENDER", "FROM", "SUBJECT", "TO", "CC"
1697
+ # resp.rules[0].unless[0].string_expression.evaluate.mime_header_attribute #=> String
1694
1698
  # resp.rules[0].unless[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
1695
1699
  # resp.rules[0].unless[0].string_expression.values #=> Array
1696
1700
  # resp.rules[0].unless[0].string_expression.values[0] #=> String
@@ -2240,7 +2244,7 @@ module Aws::MailManager
2240
2244
  # attribute: "TO", # accepts TO, FROM, CC, SUBJECT
2241
2245
  # },
2242
2246
  # operator: "CONTAINS", # required, accepts CONTAINS
2243
- # values: ["String"], # required
2247
+ # values: ["StringValue"], # required
2244
2248
  # },
2245
2249
  # },
2246
2250
  # ],
@@ -2257,7 +2261,7 @@ module Aws::MailManager
2257
2261
  # attribute: "TO", # accepts TO, FROM, CC, SUBJECT
2258
2262
  # },
2259
2263
  # operator: "CONTAINS", # required, accepts CONTAINS
2260
- # values: ["String"], # required
2264
+ # values: ["StringValue"], # required
2261
2265
  # },
2262
2266
  # },
2263
2267
  # ],
@@ -2319,7 +2323,7 @@ module Aws::MailManager
2319
2323
  # attribute: "TO", # accepts TO, FROM, CC, SUBJECT
2320
2324
  # },
2321
2325
  # operator: "CONTAINS", # required, accepts CONTAINS
2322
- # values: ["String"], # required
2326
+ # values: ["StringValue"], # required
2323
2327
  # },
2324
2328
  # },
2325
2329
  # ],
@@ -2336,7 +2340,7 @@ module Aws::MailManager
2336
2340
  # attribute: "TO", # accepts TO, FROM, CC, SUBJECT
2337
2341
  # },
2338
2342
  # operator: "CONTAINS", # required, accepts CONTAINS
2339
- # values: ["String"], # required
2343
+ # values: ["StringValue"], # required
2340
2344
  # },
2341
2345
  # },
2342
2346
  # ],
@@ -2586,7 +2590,7 @@ module Aws::MailManager
2586
2590
  req.send_request(options)
2587
2591
  end
2588
2592
 
2589
- # >Update attributes of an already provisioned rule set.
2593
+ # Update attributes of an already provisioned rule set.
2590
2594
  #
2591
2595
  # @option params [required, String] :rule_set_id
2592
2596
  # The identifier of a rule set you want to update.
@@ -2674,6 +2678,7 @@ module Aws::MailManager
2674
2678
  # string_expression: {
2675
2679
  # evaluate: { # required
2676
2680
  # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
2681
+ # mime_header_attribute: "MimeHeaderAttribute",
2677
2682
  # },
2678
2683
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
2679
2684
  # values: ["RuleStringValue"], # required
@@ -2721,6 +2726,7 @@ module Aws::MailManager
2721
2726
  # string_expression: {
2722
2727
  # evaluate: { # required
2723
2728
  # attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
2729
+ # mime_header_attribute: "MimeHeaderAttribute",
2724
2730
  # },
2725
2731
  # operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
2726
2732
  # values: ["RuleStringValue"], # required
@@ -2848,7 +2854,7 @@ module Aws::MailManager
2848
2854
  tracer: tracer
2849
2855
  )
2850
2856
  context[:gem_name] = 'aws-sdk-mailmanager'
2851
- context[:gem_version] = '1.8.0'
2857
+ context[:gem_version] = '1.9.0'
2852
2858
  Seahorse::Client::Request.new(handlers, context)
2853
2859
  end
2854
2860
 
@@ -178,6 +178,7 @@ module Aws::MailManager
178
178
  MailFrom = Shapes::StringShape.new(name: 'MailFrom')
179
179
  MaxMessageSizeBytes = Shapes::IntegerShape.new(name: 'MaxMessageSizeBytes')
180
180
  MessageBody = Shapes::StructureShape.new(name: 'MessageBody')
181
+ MimeHeaderAttribute = Shapes::StringShape.new(name: 'MimeHeaderAttribute')
181
182
  NameOrArn = Shapes::StringShape.new(name: 'NameOrArn')
182
183
  NoAuthentication = Shapes::StructureShape.new(name: 'NoAuthentication')
183
184
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
@@ -270,6 +271,7 @@ module Aws::MailManager
270
271
  StopArchiveSearchResponse = Shapes::StructureShape.new(name: 'StopArchiveSearchResponse')
271
272
  String = Shapes::StringShape.new(name: 'String')
272
273
  StringList = Shapes::ListShape.new(name: 'StringList')
274
+ StringValue = Shapes::StringShape.new(name: 'StringValue')
273
275
  StringValueList = Shapes::ListShape.new(name: 'StringValueList')
274
276
  Tag = Shapes::StructureShape.new(name: 'Tag')
275
277
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -968,8 +970,10 @@ module Aws::MailManager
968
970
  RuleStringList.member = Shapes::ShapeRef.new(shape: RuleStringValue)
969
971
 
970
972
  RuleStringToEvaluate.add_member(:attribute, Shapes::ShapeRef.new(shape: RuleStringEmailAttribute, location_name: "Attribute"))
973
+ RuleStringToEvaluate.add_member(:mime_header_attribute, Shapes::ShapeRef.new(shape: MimeHeaderAttribute, location_name: "MimeHeaderAttribute"))
971
974
  RuleStringToEvaluate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
972
975
  RuleStringToEvaluate.add_member_subclass(:attribute, Types::RuleStringToEvaluate::Attribute)
976
+ RuleStringToEvaluate.add_member_subclass(:mime_header_attribute, Types::RuleStringToEvaluate::MimeHeaderAttribute)
973
977
  RuleStringToEvaluate.add_member_subclass(:unknown, Types::RuleStringToEvaluate::Unknown)
974
978
  RuleStringToEvaluate.struct_class = Types::RuleStringToEvaluate
975
979
 
@@ -1052,7 +1056,7 @@ module Aws::MailManager
1052
1056
 
1053
1057
  StringList.member = Shapes::ShapeRef.new(shape: String)
1054
1058
 
1055
- StringValueList.member = Shapes::ShapeRef.new(shape: String)
1059
+ StringValueList.member = Shapes::ShapeRef.new(shape: StringValue)
1056
1060
 
1057
1061
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
1058
1062
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
@@ -1137,6 +1141,7 @@ module Aws::MailManager
1137
1141
 
1138
1142
  api.metadata = {
1139
1143
  "apiVersion" => "2023-10-17",
1144
+ "auth" => ["aws.auth#sigv4"],
1140
1145
  "endpointPrefix" => "mail-manager",
1141
1146
  "jsonVersion" => "1.0",
1142
1147
  "protocol" => "json",
@@ -2972,16 +2972,23 @@ module Aws::MailManager
2972
2972
  # The email attribute to evaluate in a string condition expression.
2973
2973
  # @return [String]
2974
2974
  #
2975
+ # @!attribute [rw] mime_header_attribute
2976
+ # The email MIME X-Header attribute to evaluate in a string condition
2977
+ # expression.
2978
+ # @return [String]
2979
+ #
2975
2980
  # @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/RuleStringToEvaluate AWS API Documentation
2976
2981
  #
2977
2982
  class RuleStringToEvaluate < Struct.new(
2978
2983
  :attribute,
2984
+ :mime_header_attribute,
2979
2985
  :unknown)
2980
2986
  SENSITIVE = []
2981
2987
  include Aws::Structure
2982
2988
  include Aws::Structure::Union
2983
2989
 
2984
2990
  class Attribute < RuleStringToEvaluate; end
2991
+ class MimeHeaderAttribute < RuleStringToEvaluate; end
2985
2992
  class Unknown < RuleStringToEvaluate; end
2986
2993
  end
2987
2994
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-mailmanager/customizations'
52
52
  # @!group service
53
53
  module Aws::MailManager
54
54
 
55
- GEM_VERSION = '1.8.0'
55
+ GEM_VERSION = '1.9.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -254,7 +254,8 @@ module Aws
254
254
  }?,
255
255
  string_expression: {
256
256
  evaluate: {
257
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
257
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
258
+ mime_header_attribute: ::String?
258
259
  },
259
260
  operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
260
261
  values: Array[::String]
@@ -301,7 +302,8 @@ module Aws
301
302
  }?,
302
303
  string_expression: {
303
304
  evaluate: {
304
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
305
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
306
+ mime_header_attribute: ::String?
305
307
  },
306
308
  operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
307
309
  values: Array[::String]
@@ -1011,7 +1013,8 @@ module Aws
1011
1013
  }?,
1012
1014
  string_expression: {
1013
1015
  evaluate: {
1014
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
1016
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
1017
+ mime_header_attribute: ::String?
1015
1018
  },
1016
1019
  operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1017
1020
  values: Array[::String]
@@ -1058,7 +1061,8 @@ module Aws
1058
1061
  }?,
1059
1062
  string_expression: {
1060
1063
  evaluate: {
1061
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
1064
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
1065
+ mime_header_attribute: ::String?
1062
1066
  },
1063
1067
  operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
1064
1068
  values: Array[::String]
data/sig/types.rbs CHANGED
@@ -953,11 +953,14 @@ module Aws::MailManager
953
953
 
954
954
  class RuleStringToEvaluate
955
955
  attr_accessor attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")
956
+ attr_accessor mime_header_attribute: ::String
956
957
  attr_accessor unknown: untyped
957
958
  SENSITIVE: []
958
959
 
959
960
  class Attribute < RuleStringToEvaluate
960
961
  end
962
+ class MimeHeaderAttribute < RuleStringToEvaluate
963
+ end
961
964
  class Unknown < RuleStringToEvaluate
962
965
  end
963
966
  end
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.8.0
4
+ version: 1.9.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-09-11 00:00:00.000000000 Z
11
+ date: 2024-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for MailManager. This gem is part of the AWS SDK
48
48
  for Ruby.
49
49
  email: