aws-sdk-workmail 1.46.0 → 1.49.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workmail/client.rb +105 -2
- data/lib/aws-sdk-workmail/client_api.rb +61 -0
- data/lib/aws-sdk-workmail/types.rb +101 -0
- data/lib/aws-sdk-workmail.rb +1 -1
- 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: a52448a40a4b8d47aa6c6dcf492594a8bf0039f1637c85ca8d0f98b35d0a1a29
|
4
|
+
data.tar.gz: 73e20af6dfc73097765c76e9e4ec8a68473e0e282a138361a4ed4ab615e788bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b439f04d69d54666a18f4cce9e40eb3869766d1a12b58133e8ec5cdb38df2c09365ffeed28f7e5a3c9204b728adb5729d464967697b9c58199f3413058dc5a5
|
7
|
+
data.tar.gz: 228727b38b572ab1b1d844f23ef306c2a7e5a52270fc69210c5062c2bac3a4a529651c7d8c1ed419937a11f2479f3c763cf9bda80b6d3c03e9f8201f62a3a728
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.48.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.47.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release allows customers to change their email monitoring configuration in Amazon WorkMail.
|
18
|
+
|
4
19
|
1.46.0 (2021-11-30)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -27,6 +27,9 @@ 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/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
35
|
|
@@ -73,6 +76,9 @@ module Aws::WorkMail
|
|
73
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
84
|
|
@@ -175,6 +181,10 @@ module Aws::WorkMail
|
|
175
181
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
182
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
183
|
#
|
184
|
+
# @option options [String] :defaults_mode ("legacy")
|
185
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
186
|
+
# accepted modes and the configuration defaults that are included.
|
187
|
+
#
|
178
188
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
189
|
# Set to true to disable SDK automatically adding host prefix
|
180
190
|
# to default service endpoint when available.
|
@@ -307,7 +317,7 @@ module Aws::WorkMail
|
|
307
317
|
# seconds to wait when opening a HTTP session before raising a
|
308
318
|
# `Timeout::Error`.
|
309
319
|
#
|
310
|
-
# @option options [
|
320
|
+
# @option options [Float] :http_read_timeout (60) The default
|
311
321
|
# number of seconds to wait for response data. This value can
|
312
322
|
# safely be set per-request on the session.
|
313
323
|
#
|
@@ -323,6 +333,9 @@ module Aws::WorkMail
|
|
323
333
|
# disables this behaviour. This value can safely be set per
|
324
334
|
# request on the session.
|
325
335
|
#
|
336
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
337
|
+
# in seconds.
|
338
|
+
#
|
326
339
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
327
340
|
# HTTP debug output will be sent to the `:logger`.
|
328
341
|
#
|
@@ -826,6 +839,30 @@ module Aws::WorkMail
|
|
826
839
|
req.send_request(options)
|
827
840
|
end
|
828
841
|
|
842
|
+
# Deletes the email monitoring configuration for a specified
|
843
|
+
# organization.
|
844
|
+
#
|
845
|
+
# @option params [required, String] :organization_id
|
846
|
+
# The ID of the organization from which the email monitoring
|
847
|
+
# configuration is deleted.
|
848
|
+
#
|
849
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
850
|
+
#
|
851
|
+
# @example Request syntax with placeholder values
|
852
|
+
#
|
853
|
+
# resp = client.delete_email_monitoring_configuration({
|
854
|
+
# organization_id: "OrganizationId", # required
|
855
|
+
# })
|
856
|
+
#
|
857
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteEmailMonitoringConfiguration AWS API Documentation
|
858
|
+
#
|
859
|
+
# @overload delete_email_monitoring_configuration(params = {})
|
860
|
+
# @param [Hash] params ({})
|
861
|
+
def delete_email_monitoring_configuration(params = {}, options = {})
|
862
|
+
req = build_request(:delete_email_monitoring_configuration, params)
|
863
|
+
req.send_request(options)
|
864
|
+
end
|
865
|
+
|
829
866
|
# Deletes a group from Amazon WorkMail.
|
830
867
|
#
|
831
868
|
# @option params [required, String] :organization_id
|
@@ -1160,6 +1197,38 @@ module Aws::WorkMail
|
|
1160
1197
|
req.send_request(options)
|
1161
1198
|
end
|
1162
1199
|
|
1200
|
+
# Describes the current email monitoring configuration for a specified
|
1201
|
+
# organization.
|
1202
|
+
#
|
1203
|
+
# @option params [required, String] :organization_id
|
1204
|
+
# The ID of the organization for which the email monitoring
|
1205
|
+
# configuration is described.
|
1206
|
+
#
|
1207
|
+
# @return [Types::DescribeEmailMonitoringConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1208
|
+
#
|
1209
|
+
# * {Types::DescribeEmailMonitoringConfigurationResponse#role_arn #role_arn} => String
|
1210
|
+
# * {Types::DescribeEmailMonitoringConfigurationResponse#log_group_arn #log_group_arn} => String
|
1211
|
+
#
|
1212
|
+
# @example Request syntax with placeholder values
|
1213
|
+
#
|
1214
|
+
# resp = client.describe_email_monitoring_configuration({
|
1215
|
+
# organization_id: "OrganizationId", # required
|
1216
|
+
# })
|
1217
|
+
#
|
1218
|
+
# @example Response structure
|
1219
|
+
#
|
1220
|
+
# resp.role_arn #=> String
|
1221
|
+
# resp.log_group_arn #=> String
|
1222
|
+
#
|
1223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeEmailMonitoringConfiguration AWS API Documentation
|
1224
|
+
#
|
1225
|
+
# @overload describe_email_monitoring_configuration(params = {})
|
1226
|
+
# @param [Hash] params ({})
|
1227
|
+
def describe_email_monitoring_configuration(params = {}, options = {})
|
1228
|
+
req = build_request(:describe_email_monitoring_configuration, params)
|
1229
|
+
req.send_request(options)
|
1230
|
+
end
|
1231
|
+
|
1163
1232
|
# Returns the data available for the group.
|
1164
1233
|
#
|
1165
1234
|
# @option params [required, String] :organization_id
|
@@ -2494,6 +2563,40 @@ module Aws::WorkMail
|
|
2494
2563
|
req.send_request(options)
|
2495
2564
|
end
|
2496
2565
|
|
2566
|
+
# Creates or updates the email monitoring configuration for a specified
|
2567
|
+
# organization.
|
2568
|
+
#
|
2569
|
+
# @option params [required, String] :organization_id
|
2570
|
+
# The ID of the organization for which the email monitoring
|
2571
|
+
# configuration is set.
|
2572
|
+
#
|
2573
|
+
# @option params [required, String] :role_arn
|
2574
|
+
# The Amazon Resource Name (ARN) of the IAM Role associated with the
|
2575
|
+
# email monitoring configuration.
|
2576
|
+
#
|
2577
|
+
# @option params [required, String] :log_group_arn
|
2578
|
+
# The Amazon Resource Name (ARN) of the CloudWatch Log group associated
|
2579
|
+
# with the email monitoring configuration.
|
2580
|
+
#
|
2581
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2582
|
+
#
|
2583
|
+
# @example Request syntax with placeholder values
|
2584
|
+
#
|
2585
|
+
# resp = client.put_email_monitoring_configuration({
|
2586
|
+
# organization_id: "OrganizationId", # required
|
2587
|
+
# role_arn: "RoleArn", # required
|
2588
|
+
# log_group_arn: "LogGroupArn", # required
|
2589
|
+
# })
|
2590
|
+
#
|
2591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutEmailMonitoringConfiguration AWS API Documentation
|
2592
|
+
#
|
2593
|
+
# @overload put_email_monitoring_configuration(params = {})
|
2594
|
+
# @param [Hash] params ({})
|
2595
|
+
def put_email_monitoring_configuration(params = {}, options = {})
|
2596
|
+
req = build_request(:put_email_monitoring_configuration, params)
|
2597
|
+
req.send_request(options)
|
2598
|
+
end
|
2599
|
+
|
2497
2600
|
# Enables or disables a DMARC policy for a given organization.
|
2498
2601
|
#
|
2499
2602
|
# @option params [required, String] :organization_id
|
@@ -3123,7 +3226,7 @@ module Aws::WorkMail
|
|
3123
3226
|
params: params,
|
3124
3227
|
config: config)
|
3125
3228
|
context[:gem_name] = 'aws-sdk-workmail'
|
3126
|
-
context[:gem_version] = '1.
|
3229
|
+
context[:gem_version] = '1.49.0'
|
3127
3230
|
Seahorse::Client::Request.new(handlers, context)
|
3128
3231
|
end
|
3129
3232
|
|
@@ -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
|
#
|
data/lib/aws-sdk-workmail.rb
CHANGED
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.
|
4
|
+
version: 1.49.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: 2022-02-24 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|