aws-sdk-workmail 1.44.0 → 1.48.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workmail/client.rb +115 -3
- 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: ed7545694f8e088193199b2d41c82bc18f0afb08a0536ec8e3d1881d79b45610
|
4
|
+
data.tar.gz: 29518486725dde13a0009104adeae9d11f4ab8afcf23178d2731356995d84902
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a9e492e9728a6da2db504b1810a5223bc2756aebc0c88ee6c5ee903ae50117b8197db05fba8d7d6514d14d960bb8beafe666ac8d8660bfbf35153779035870e
|
7
|
+
data.tar.gz: 821ac015d9b6d6b9ef03da216c560050560201a9a271901f7fa8de0ce7079c2ee68a1142da7fc39e623ccf349efa2784f320dde11920fa3bf7c995391be9334a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.47.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release allows customers to change their email monitoring configuration in Amazon WorkMail.
|
13
|
+
|
14
|
+
1.46.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.45.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.44.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
@@ -27,6 +27,8 @@ 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'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::WorkMail
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::WorkMail
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::WorkMail
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -285,6 +295,15 @@ module Aws::WorkMail
|
|
285
295
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
296
|
# requests are made, and retries are disabled.
|
287
297
|
#
|
298
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
299
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
300
|
+
# will be used if available.
|
301
|
+
#
|
302
|
+
# @option options [Boolean] :use_fips_endpoint
|
303
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
304
|
+
# When a `fips` region is used, the region is normalized and this config
|
305
|
+
# is set to `true`.
|
306
|
+
#
|
288
307
|
# @option options [Boolean] :validate_params (true)
|
289
308
|
# When `true`, request parameters are validated before
|
290
309
|
# sending the request.
|
@@ -296,7 +315,7 @@ module Aws::WorkMail
|
|
296
315
|
# seconds to wait when opening a HTTP session before raising a
|
297
316
|
# `Timeout::Error`.
|
298
317
|
#
|
299
|
-
# @option options [
|
318
|
+
# @option options [Float] :http_read_timeout (60) The default
|
300
319
|
# number of seconds to wait for response data. This value can
|
301
320
|
# safely be set per-request on the session.
|
302
321
|
#
|
@@ -312,6 +331,9 @@ module Aws::WorkMail
|
|
312
331
|
# disables this behaviour. This value can safely be set per
|
313
332
|
# request on the session.
|
314
333
|
#
|
334
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
335
|
+
# in seconds.
|
336
|
+
#
|
315
337
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
316
338
|
# HTTP debug output will be sent to the `:logger`.
|
317
339
|
#
|
@@ -815,6 +837,30 @@ module Aws::WorkMail
|
|
815
837
|
req.send_request(options)
|
816
838
|
end
|
817
839
|
|
840
|
+
# Deletes the email monitoring configuration for a specified
|
841
|
+
# organization.
|
842
|
+
#
|
843
|
+
# @option params [required, String] :organization_id
|
844
|
+
# The ID of the organization from which the email monitoring
|
845
|
+
# configuration is deleted.
|
846
|
+
#
|
847
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
848
|
+
#
|
849
|
+
# @example Request syntax with placeholder values
|
850
|
+
#
|
851
|
+
# resp = client.delete_email_monitoring_configuration({
|
852
|
+
# organization_id: "OrganizationId", # required
|
853
|
+
# })
|
854
|
+
#
|
855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteEmailMonitoringConfiguration AWS API Documentation
|
856
|
+
#
|
857
|
+
# @overload delete_email_monitoring_configuration(params = {})
|
858
|
+
# @param [Hash] params ({})
|
859
|
+
def delete_email_monitoring_configuration(params = {}, options = {})
|
860
|
+
req = build_request(:delete_email_monitoring_configuration, params)
|
861
|
+
req.send_request(options)
|
862
|
+
end
|
863
|
+
|
818
864
|
# Deletes a group from Amazon WorkMail.
|
819
865
|
#
|
820
866
|
# @option params [required, String] :organization_id
|
@@ -1149,6 +1195,38 @@ module Aws::WorkMail
|
|
1149
1195
|
req.send_request(options)
|
1150
1196
|
end
|
1151
1197
|
|
1198
|
+
# Describes the current email monitoring configuration for a specified
|
1199
|
+
# organization.
|
1200
|
+
#
|
1201
|
+
# @option params [required, String] :organization_id
|
1202
|
+
# The ID of the organization for which the email monitoring
|
1203
|
+
# configuration is described.
|
1204
|
+
#
|
1205
|
+
# @return [Types::DescribeEmailMonitoringConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1206
|
+
#
|
1207
|
+
# * {Types::DescribeEmailMonitoringConfigurationResponse#role_arn #role_arn} => String
|
1208
|
+
# * {Types::DescribeEmailMonitoringConfigurationResponse#log_group_arn #log_group_arn} => String
|
1209
|
+
#
|
1210
|
+
# @example Request syntax with placeholder values
|
1211
|
+
#
|
1212
|
+
# resp = client.describe_email_monitoring_configuration({
|
1213
|
+
# organization_id: "OrganizationId", # required
|
1214
|
+
# })
|
1215
|
+
#
|
1216
|
+
# @example Response structure
|
1217
|
+
#
|
1218
|
+
# resp.role_arn #=> String
|
1219
|
+
# resp.log_group_arn #=> String
|
1220
|
+
#
|
1221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeEmailMonitoringConfiguration AWS API Documentation
|
1222
|
+
#
|
1223
|
+
# @overload describe_email_monitoring_configuration(params = {})
|
1224
|
+
# @param [Hash] params ({})
|
1225
|
+
def describe_email_monitoring_configuration(params = {}, options = {})
|
1226
|
+
req = build_request(:describe_email_monitoring_configuration, params)
|
1227
|
+
req.send_request(options)
|
1228
|
+
end
|
1229
|
+
|
1152
1230
|
# Returns the data available for the group.
|
1153
1231
|
#
|
1154
1232
|
# @option params [required, String] :organization_id
|
@@ -2483,6 +2561,40 @@ module Aws::WorkMail
|
|
2483
2561
|
req.send_request(options)
|
2484
2562
|
end
|
2485
2563
|
|
2564
|
+
# Creates or updates the email monitoring configuration for a specified
|
2565
|
+
# organization.
|
2566
|
+
#
|
2567
|
+
# @option params [required, String] :organization_id
|
2568
|
+
# The ID of the organization for which the email monitoring
|
2569
|
+
# configuration is set.
|
2570
|
+
#
|
2571
|
+
# @option params [required, String] :role_arn
|
2572
|
+
# The Amazon Resource Name (ARN) of the IAM Role associated with the
|
2573
|
+
# email monitoring configuration.
|
2574
|
+
#
|
2575
|
+
# @option params [required, String] :log_group_arn
|
2576
|
+
# The Amazon Resource Name (ARN) of the CloudWatch Log group associated
|
2577
|
+
# with the email monitoring configuration.
|
2578
|
+
#
|
2579
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2580
|
+
#
|
2581
|
+
# @example Request syntax with placeholder values
|
2582
|
+
#
|
2583
|
+
# resp = client.put_email_monitoring_configuration({
|
2584
|
+
# organization_id: "OrganizationId", # required
|
2585
|
+
# role_arn: "RoleArn", # required
|
2586
|
+
# log_group_arn: "LogGroupArn", # required
|
2587
|
+
# })
|
2588
|
+
#
|
2589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutEmailMonitoringConfiguration AWS API Documentation
|
2590
|
+
#
|
2591
|
+
# @overload put_email_monitoring_configuration(params = {})
|
2592
|
+
# @param [Hash] params ({})
|
2593
|
+
def put_email_monitoring_configuration(params = {}, options = {})
|
2594
|
+
req = build_request(:put_email_monitoring_configuration, params)
|
2595
|
+
req.send_request(options)
|
2596
|
+
end
|
2597
|
+
|
2486
2598
|
# Enables or disables a DMARC policy for a given organization.
|
2487
2599
|
#
|
2488
2600
|
# @option params [required, String] :organization_id
|
@@ -3112,7 +3224,7 @@ module Aws::WorkMail
|
|
3112
3224
|
params: params,
|
3113
3225
|
config: config)
|
3114
3226
|
context[:gem_name] = 'aws-sdk-workmail'
|
3115
|
-
context[:gem_version] = '1.
|
3227
|
+
context[:gem_version] = '1.48.0'
|
3116
3228
|
Seahorse::Client::Request.new(handlers, context)
|
3117
3229
|
end
|
3118
3230
|
|
@@ -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.48.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-03 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.126.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.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|