aws-sdk-workmail 1.43.0 → 1.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 743bf8c207d2ac98d6ac53d14e995e72babf67413c1ba322ce7cf357538eb712
4
- data.tar.gz: d918fa3d86fe232a1a116102fd3e1cd2687fe9b33a14b24df450ff9bbfeead92
3
+ metadata.gz: 0d0067a67a93f9ee04eebc1b2593015314d1c843d13886c3be5559734fb4143c
4
+ data.tar.gz: 7d39d5fe7f45325812d02e16ec5a7a0dd71b95315cce976645cca21bb7bf0556
5
5
  SHA512:
6
- metadata.gz: 882f50437cc5549e51c2a921b8e82ebcf074a7f245877b7024239433b362e8ee3167e2b275f1c4b06a888d2b839dbdcbcf53aa9d3a74bac1bccc780f67c4517a
7
- data.tar.gz: 4d53b5feb9ca2101683ab619a63b428aa1804e37d802fe3e524f43b527842f5f23897a42d16abf36e0d550e9900705bdc6c780fb27336c4ac5aa4e17e96d3f37
6
+ metadata.gz: '02482e81b5a2b2a505416ca346f47a5dd3bd55f2ebeffe96131814f144b9ac4051094db6af9910be1be21768e92dea37567cbbabb48d58b573d9c830c60eefaa'
7
+ data.tar.gz: c5bbcd415e202c5481a8095001ef21464fe8caaba981f8f58061952e5faca3f7637e6a99eaf4e3c6601427b57c21bc7ef03e917cc61cf4c043802b7ec5dbd1b4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2021-12-21)
5
+ ------------------
6
+
7
+ * Feature - This release allows customers to change their email monitoring configuration in Amazon WorkMail.
8
+
9
+ 1.46.0 (2021-11-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.45.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.44.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.43.0 (2021-10-13)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.47.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::WorkMail
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
80
 
@@ -119,7 +121,9 @@ module Aws::WorkMail
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::WorkMail
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -285,6 +293,15 @@ module Aws::WorkMail
285
293
  # ** Please note ** When response stubbing is enabled, no HTTP
286
294
  # requests are made, and retries are disabled.
287
295
  #
296
+ # @option options [Boolean] :use_dualstack_endpoint
297
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
298
+ # will be used if available.
299
+ #
300
+ # @option options [Boolean] :use_fips_endpoint
301
+ # When set to `true`, fips compatible endpoints will be used if available.
302
+ # When a `fips` region is used, the region is normalized and this config
303
+ # is set to `true`.
304
+ #
288
305
  # @option options [Boolean] :validate_params (true)
289
306
  # When `true`, request parameters are validated before
290
307
  # sending the request.
@@ -296,7 +313,7 @@ module Aws::WorkMail
296
313
  # seconds to wait when opening a HTTP session before raising a
297
314
  # `Timeout::Error`.
298
315
  #
299
- # @option options [Integer] :http_read_timeout (60) The default
316
+ # @option options [Float] :http_read_timeout (60) The default
300
317
  # number of seconds to wait for response data. This value can
301
318
  # safely be set per-request on the session.
302
319
  #
@@ -312,6 +329,9 @@ module Aws::WorkMail
312
329
  # disables this behaviour. This value can safely be set per
313
330
  # request on the session.
314
331
  #
332
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
333
+ # in seconds.
334
+ #
315
335
  # @option options [Boolean] :http_wire_trace (false) When `true`,
316
336
  # HTTP debug output will be sent to the `:logger`.
317
337
  #
@@ -815,6 +835,30 @@ module Aws::WorkMail
815
835
  req.send_request(options)
816
836
  end
817
837
 
838
+ # Deletes the email monitoring configuration for a specified
839
+ # organization.
840
+ #
841
+ # @option params [required, String] :organization_id
842
+ # The ID of the organization from which the email monitoring
843
+ # configuration is deleted.
844
+ #
845
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
846
+ #
847
+ # @example Request syntax with placeholder values
848
+ #
849
+ # resp = client.delete_email_monitoring_configuration({
850
+ # organization_id: "OrganizationId", # required
851
+ # })
852
+ #
853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteEmailMonitoringConfiguration AWS API Documentation
854
+ #
855
+ # @overload delete_email_monitoring_configuration(params = {})
856
+ # @param [Hash] params ({})
857
+ def delete_email_monitoring_configuration(params = {}, options = {})
858
+ req = build_request(:delete_email_monitoring_configuration, params)
859
+ req.send_request(options)
860
+ end
861
+
818
862
  # Deletes a group from Amazon WorkMail.
819
863
  #
820
864
  # @option params [required, String] :organization_id
@@ -1149,6 +1193,38 @@ module Aws::WorkMail
1149
1193
  req.send_request(options)
1150
1194
  end
1151
1195
 
1196
+ # Describes the current email monitoring configuration for a specified
1197
+ # organization.
1198
+ #
1199
+ # @option params [required, String] :organization_id
1200
+ # The ID of the organization for which the email monitoring
1201
+ # configuration is described.
1202
+ #
1203
+ # @return [Types::DescribeEmailMonitoringConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1204
+ #
1205
+ # * {Types::DescribeEmailMonitoringConfigurationResponse#role_arn #role_arn} => String
1206
+ # * {Types::DescribeEmailMonitoringConfigurationResponse#log_group_arn #log_group_arn} => String
1207
+ #
1208
+ # @example Request syntax with placeholder values
1209
+ #
1210
+ # resp = client.describe_email_monitoring_configuration({
1211
+ # organization_id: "OrganizationId", # required
1212
+ # })
1213
+ #
1214
+ # @example Response structure
1215
+ #
1216
+ # resp.role_arn #=> String
1217
+ # resp.log_group_arn #=> String
1218
+ #
1219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeEmailMonitoringConfiguration AWS API Documentation
1220
+ #
1221
+ # @overload describe_email_monitoring_configuration(params = {})
1222
+ # @param [Hash] params ({})
1223
+ def describe_email_monitoring_configuration(params = {}, options = {})
1224
+ req = build_request(:describe_email_monitoring_configuration, params)
1225
+ req.send_request(options)
1226
+ end
1227
+
1152
1228
  # Returns the data available for the group.
1153
1229
  #
1154
1230
  # @option params [required, String] :organization_id
@@ -2483,6 +2559,40 @@ module Aws::WorkMail
2483
2559
  req.send_request(options)
2484
2560
  end
2485
2561
 
2562
+ # Creates or updates the email monitoring configuration for a specified
2563
+ # organization.
2564
+ #
2565
+ # @option params [required, String] :organization_id
2566
+ # The ID of the organization for which the email monitoring
2567
+ # configuration is set.
2568
+ #
2569
+ # @option params [required, String] :role_arn
2570
+ # The Amazon Resource Name (ARN) of the IAM Role associated with the
2571
+ # email monitoring configuration.
2572
+ #
2573
+ # @option params [required, String] :log_group_arn
2574
+ # The Amazon Resource Name (ARN) of the CloudWatch Log group associated
2575
+ # with the email monitoring configuration.
2576
+ #
2577
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2578
+ #
2579
+ # @example Request syntax with placeholder values
2580
+ #
2581
+ # resp = client.put_email_monitoring_configuration({
2582
+ # organization_id: "OrganizationId", # required
2583
+ # role_arn: "RoleArn", # required
2584
+ # log_group_arn: "LogGroupArn", # required
2585
+ # })
2586
+ #
2587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutEmailMonitoringConfiguration AWS API Documentation
2588
+ #
2589
+ # @overload put_email_monitoring_configuration(params = {})
2590
+ # @param [Hash] params ({})
2591
+ def put_email_monitoring_configuration(params = {}, options = {})
2592
+ req = build_request(:put_email_monitoring_configuration, params)
2593
+ req.send_request(options)
2594
+ end
2595
+
2486
2596
  # Enables or disables a DMARC policy for a given organization.
2487
2597
  #
2488
2598
  # @option params [required, String] :organization_id
@@ -3112,7 +3222,7 @@ module Aws::WorkMail
3112
3222
  params: params,
3113
3223
  config: config)
3114
3224
  context[:gem_name] = 'aws-sdk-workmail'
3115
- context[:gem_version] = '1.43.0'
3225
+ context[:gem_version] = '1.47.0'
3116
3226
  Seahorse::Client::Request.new(handlers, context)
3117
3227
  end
3118
3228
 
@@ -49,6 +49,8 @@ module Aws::WorkMail
49
49
  DeleteAccessControlRuleResponse = Shapes::StructureShape.new(name: 'DeleteAccessControlRuleResponse')
50
50
  DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
51
51
  DeleteAliasResponse = Shapes::StructureShape.new(name: 'DeleteAliasResponse')
52
+ DeleteEmailMonitoringConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteEmailMonitoringConfigurationRequest')
53
+ DeleteEmailMonitoringConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteEmailMonitoringConfigurationResponse')
52
54
  DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
53
55
  DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
54
56
  DeleteMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsRequest')
@@ -69,6 +71,8 @@ module Aws::WorkMail
69
71
  DeregisterFromWorkMailResponse = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailResponse')
70
72
  DeregisterMailDomainRequest = Shapes::StructureShape.new(name: 'DeregisterMailDomainRequest')
71
73
  DeregisterMailDomainResponse = Shapes::StructureShape.new(name: 'DeregisterMailDomainResponse')
74
+ DescribeEmailMonitoringConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeEmailMonitoringConfigurationRequest')
75
+ DescribeEmailMonitoringConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeEmailMonitoringConfigurationResponse')
72
76
  DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
73
77
  DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
74
78
  DescribeInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsRequest')
@@ -170,6 +174,7 @@ module Aws::WorkMail
170
174
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
171
175
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
172
176
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
177
+ LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
173
178
  MailDomainInUseException = Shapes::StructureShape.new(name: 'MailDomainInUseException')
174
179
  MailDomainNotFoundException = Shapes::StructureShape.new(name: 'MailDomainNotFoundException')
175
180
  MailDomainStateException = Shapes::StructureShape.new(name: 'MailDomainStateException')
@@ -212,6 +217,8 @@ module Aws::WorkMail
212
217
  PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
213
218
  PutAccessControlRuleRequest = Shapes::StructureShape.new(name: 'PutAccessControlRuleRequest')
214
219
  PutAccessControlRuleResponse = Shapes::StructureShape.new(name: 'PutAccessControlRuleResponse')
220
+ PutEmailMonitoringConfigurationRequest = Shapes::StructureShape.new(name: 'PutEmailMonitoringConfigurationRequest')
221
+ PutEmailMonitoringConfigurationResponse = Shapes::StructureShape.new(name: 'PutEmailMonitoringConfigurationResponse')
215
222
  PutInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsRequest')
216
223
  PutInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsResponse')
217
224
  PutMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'PutMailboxPermissionsRequest')
@@ -397,6 +404,11 @@ module Aws::WorkMail
397
404
 
398
405
  DeleteAliasResponse.struct_class = Types::DeleteAliasResponse
399
406
 
407
+ DeleteEmailMonitoringConfigurationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
408
+ DeleteEmailMonitoringConfigurationRequest.struct_class = Types::DeleteEmailMonitoringConfigurationRequest
409
+
410
+ DeleteEmailMonitoringConfigurationResponse.struct_class = Types::DeleteEmailMonitoringConfigurationResponse
411
+
400
412
  DeleteGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
401
413
  DeleteGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
402
414
  DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
@@ -462,6 +474,13 @@ module Aws::WorkMail
462
474
 
463
475
  DeregisterMailDomainResponse.struct_class = Types::DeregisterMailDomainResponse
464
476
 
477
+ DescribeEmailMonitoringConfigurationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
478
+ DescribeEmailMonitoringConfigurationRequest.struct_class = Types::DescribeEmailMonitoringConfigurationRequest
479
+
480
+ DescribeEmailMonitoringConfigurationResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
481
+ DescribeEmailMonitoringConfigurationResponse.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "LogGroupArn"))
482
+ DescribeEmailMonitoringConfigurationResponse.struct_class = Types::DescribeEmailMonitoringConfigurationResponse
483
+
465
484
  DescribeGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
466
485
  DescribeGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
467
486
  DescribeGroupRequest.struct_class = Types::DescribeGroupRequest
@@ -927,6 +946,13 @@ module Aws::WorkMail
927
946
 
928
947
  PutAccessControlRuleResponse.struct_class = Types::PutAccessControlRuleResponse
929
948
 
949
+ PutEmailMonitoringConfigurationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
950
+ PutEmailMonitoringConfigurationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
951
+ PutEmailMonitoringConfigurationRequest.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "LogGroupArn"))
952
+ PutEmailMonitoringConfigurationRequest.struct_class = Types::PutEmailMonitoringConfigurationRequest
953
+
954
+ PutEmailMonitoringConfigurationResponse.struct_class = Types::PutEmailMonitoringConfigurationResponse
955
+
930
956
  PutInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
931
957
  PutInboundDmarcSettingsRequest.add_member(:enforced, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "Enforced"))
932
958
  PutInboundDmarcSettingsRequest.struct_class = Types::PutInboundDmarcSettingsRequest
@@ -1269,6 +1295,17 @@ module Aws::WorkMail
1269
1295
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1270
1296
  end)
1271
1297
 
1298
+ api.add_operation(:delete_email_monitoring_configuration, Seahorse::Model::Operation.new.tap do |o|
1299
+ o.name = "DeleteEmailMonitoringConfiguration"
1300
+ o.http_method = "POST"
1301
+ o.http_request_uri = "/"
1302
+ o.input = Shapes::ShapeRef.new(shape: DeleteEmailMonitoringConfigurationRequest)
1303
+ o.output = Shapes::ShapeRef.new(shape: DeleteEmailMonitoringConfigurationResponse)
1304
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1305
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1306
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1307
+ end)
1308
+
1272
1309
  api.add_operation(:delete_group, Seahorse::Model::Operation.new.tap do |o|
1273
1310
  o.name = "DeleteGroup"
1274
1311
  o.http_method = "POST"
@@ -1395,6 +1432,18 @@ module Aws::WorkMail
1395
1432
  o.errors << Shapes::ShapeRef.new(shape: InvalidCustomSesConfigurationException)
1396
1433
  end)
1397
1434
 
1435
+ api.add_operation(:describe_email_monitoring_configuration, Seahorse::Model::Operation.new.tap do |o|
1436
+ o.name = "DescribeEmailMonitoringConfiguration"
1437
+ o.http_method = "POST"
1438
+ o.http_request_uri = "/"
1439
+ o.input = Shapes::ShapeRef.new(shape: DescribeEmailMonitoringConfigurationRequest)
1440
+ o.output = Shapes::ShapeRef.new(shape: DescribeEmailMonitoringConfigurationResponse)
1441
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1442
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1443
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1444
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1445
+ end)
1446
+
1398
1447
  api.add_operation(:describe_group, Seahorse::Model::Operation.new.tap do |o|
1399
1448
  o.name = "DescribeGroup"
1400
1449
  o.http_method = "POST"
@@ -1800,6 +1849,18 @@ module Aws::WorkMail
1800
1849
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1801
1850
  end)
1802
1851
 
1852
+ api.add_operation(:put_email_monitoring_configuration, Seahorse::Model::Operation.new.tap do |o|
1853
+ o.name = "PutEmailMonitoringConfiguration"
1854
+ o.http_method = "POST"
1855
+ o.http_request_uri = "/"
1856
+ o.input = Shapes::ShapeRef.new(shape: PutEmailMonitoringConfigurationRequest)
1857
+ o.output = Shapes::ShapeRef.new(shape: PutEmailMonitoringConfigurationResponse)
1858
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1859
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1860
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1861
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1862
+ end)
1863
+
1803
1864
  api.add_operation(:put_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
1804
1865
  o.name = "PutInboundDmarcSettings"
1805
1866
  o.http_method = "POST"
@@ -662,6 +662,30 @@ module Aws::WorkMail
662
662
  #
663
663
  class DeleteAliasResponse < Aws::EmptyStructure; end
664
664
 
665
+ # @note When making an API call, you may pass DeleteEmailMonitoringConfigurationRequest
666
+ # data as a hash:
667
+ #
668
+ # {
669
+ # organization_id: "OrganizationId", # required
670
+ # }
671
+ #
672
+ # @!attribute [rw] organization_id
673
+ # The ID of the organization from which the email monitoring
674
+ # configuration is deleted.
675
+ # @return [String]
676
+ #
677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteEmailMonitoringConfigurationRequest AWS API Documentation
678
+ #
679
+ class DeleteEmailMonitoringConfigurationRequest < Struct.new(
680
+ :organization_id)
681
+ SENSITIVE = []
682
+ include Aws::Structure
683
+ end
684
+
685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteEmailMonitoringConfigurationResponse AWS API Documentation
686
+ #
687
+ class DeleteEmailMonitoringConfigurationResponse < Aws::EmptyStructure; end
688
+
665
689
  # @note When making an API call, you may pass DeleteGroupRequest
666
690
  # data as a hash:
667
691
  #
@@ -1003,6 +1027,45 @@ module Aws::WorkMail
1003
1027
  #
1004
1028
  class DeregisterMailDomainResponse < Aws::EmptyStructure; end
1005
1029
 
1030
+ # @note When making an API call, you may pass DescribeEmailMonitoringConfigurationRequest
1031
+ # data as a hash:
1032
+ #
1033
+ # {
1034
+ # organization_id: "OrganizationId", # required
1035
+ # }
1036
+ #
1037
+ # @!attribute [rw] organization_id
1038
+ # The ID of the organization for which the email monitoring
1039
+ # configuration is described.
1040
+ # @return [String]
1041
+ #
1042
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeEmailMonitoringConfigurationRequest AWS API Documentation
1043
+ #
1044
+ class DescribeEmailMonitoringConfigurationRequest < Struct.new(
1045
+ :organization_id)
1046
+ SENSITIVE = []
1047
+ include Aws::Structure
1048
+ end
1049
+
1050
+ # @!attribute [rw] role_arn
1051
+ # The Amazon Resource Name (ARN) of the IAM Role associated with the
1052
+ # email monitoring configuration.
1053
+ # @return [String]
1054
+ #
1055
+ # @!attribute [rw] log_group_arn
1056
+ # The Amazon Resource Name (ARN) of the CloudWatch Log group
1057
+ # associated with the email monitoring configuration.
1058
+ # @return [String]
1059
+ #
1060
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeEmailMonitoringConfigurationResponse AWS API Documentation
1061
+ #
1062
+ class DescribeEmailMonitoringConfigurationResponse < Struct.new(
1063
+ :role_arn,
1064
+ :log_group_arn)
1065
+ SENSITIVE = []
1066
+ include Aws::Structure
1067
+ end
1068
+
1006
1069
  # @note When making an API call, you may pass DescribeGroupRequest
1007
1070
  # data as a hash:
1008
1071
  #
@@ -3344,6 +3407,44 @@ module Aws::WorkMail
3344
3407
  #
3345
3408
  class PutAccessControlRuleResponse < Aws::EmptyStructure; end
3346
3409
 
3410
+ # @note When making an API call, you may pass PutEmailMonitoringConfigurationRequest
3411
+ # data as a hash:
3412
+ #
3413
+ # {
3414
+ # organization_id: "OrganizationId", # required
3415
+ # role_arn: "RoleArn", # required
3416
+ # log_group_arn: "LogGroupArn", # required
3417
+ # }
3418
+ #
3419
+ # @!attribute [rw] organization_id
3420
+ # The ID of the organization for which the email monitoring
3421
+ # configuration is set.
3422
+ # @return [String]
3423
+ #
3424
+ # @!attribute [rw] role_arn
3425
+ # The Amazon Resource Name (ARN) of the IAM Role associated with the
3426
+ # email monitoring configuration.
3427
+ # @return [String]
3428
+ #
3429
+ # @!attribute [rw] log_group_arn
3430
+ # The Amazon Resource Name (ARN) of the CloudWatch Log group
3431
+ # associated with the email monitoring configuration.
3432
+ # @return [String]
3433
+ #
3434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutEmailMonitoringConfigurationRequest AWS API Documentation
3435
+ #
3436
+ class PutEmailMonitoringConfigurationRequest < Struct.new(
3437
+ :organization_id,
3438
+ :role_arn,
3439
+ :log_group_arn)
3440
+ SENSITIVE = []
3441
+ include Aws::Structure
3442
+ end
3443
+
3444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutEmailMonitoringConfigurationResponse AWS API Documentation
3445
+ #
3446
+ class PutEmailMonitoringConfigurationResponse < Aws::EmptyStructure; end
3447
+
3347
3448
  # @note When making an API call, you may pass PutInboundDmarcSettingsRequest
3348
3449
  # data as a hash:
3349
3450
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-workmail/customizations'
48
48
  # @!group service
49
49
  module Aws::WorkMail
50
50
 
51
- GEM_VERSION = '1.43.0'
51
+ GEM_VERSION = '1.47.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-workmail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.47.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: 2021-10-13 00:00:00.000000000 Z
11
+ date: 2021-12-21 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.120.0
22
+ version: 3.125.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.120.0
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement