aws-sdk-workmail 1.41.0 → 1.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workmail/client.rb +55 -1
- data/lib/aws-sdk-workmail/client_api.rb +37 -0
- data/lib/aws-sdk-workmail/types.rb +61 -0
- data/lib/aws-sdk-workmail.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee764cc930fa873e5d5451146198734652a19a5743441a9f9887ef21e1b85e95
|
4
|
+
data.tar.gz: caffb0ae719006055ea8399b61c4ee0181b21621a3fbc4e75879bcae3145ac56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbb5a17633a971aa0357b015a9583b3f78d6fbe602bca8c879ee843f24430063c1d89b93601fdee09b29d9341a090d8842f05c704737a429f702ff7c7d9db4c0
|
7
|
+
data.tar.gz: 35dd562b4aee5e9f235cf1b84dfdc2b8be0065af12f5e455cb5d3095dc08b1bd6e10cb4cd0737a54198598ee0ab19d2b69b747fe5a92d9ad73a4463895ee5dca
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
@@ -1142,6 +1142,34 @@ module Aws::WorkMail
|
|
1142
1142
|
req.send_request(options)
|
1143
1143
|
end
|
1144
1144
|
|
1145
|
+
# Lists the settings in a DMARC policy for a specified organization.
|
1146
|
+
#
|
1147
|
+
# @option params [required, String] :organization_id
|
1148
|
+
# Lists the ID of the given organization.
|
1149
|
+
#
|
1150
|
+
# @return [Types::DescribeInboundDmarcSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1151
|
+
#
|
1152
|
+
# * {Types::DescribeInboundDmarcSettingsResponse#enforced #enforced} => Boolean
|
1153
|
+
#
|
1154
|
+
# @example Request syntax with placeholder values
|
1155
|
+
#
|
1156
|
+
# resp = client.describe_inbound_dmarc_settings({
|
1157
|
+
# organization_id: "OrganizationId", # required
|
1158
|
+
# })
|
1159
|
+
#
|
1160
|
+
# @example Response structure
|
1161
|
+
#
|
1162
|
+
# resp.enforced #=> Boolean
|
1163
|
+
#
|
1164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettings AWS API Documentation
|
1165
|
+
#
|
1166
|
+
# @overload describe_inbound_dmarc_settings(params = {})
|
1167
|
+
# @param [Hash] params ({})
|
1168
|
+
def describe_inbound_dmarc_settings(params = {}, options = {})
|
1169
|
+
req = build_request(:describe_inbound_dmarc_settings, params)
|
1170
|
+
req.send_request(options)
|
1171
|
+
end
|
1172
|
+
|
1145
1173
|
# Describes the current status of a mailbox export job.
|
1146
1174
|
#
|
1147
1175
|
# @option params [required, String] :job_id
|
@@ -2319,6 +2347,32 @@ module Aws::WorkMail
|
|
2319
2347
|
req.send_request(options)
|
2320
2348
|
end
|
2321
2349
|
|
2350
|
+
# Enables or disables a DMARC policy for a given organization.
|
2351
|
+
#
|
2352
|
+
# @option params [required, String] :organization_id
|
2353
|
+
# The ID of the organization that you are applying the DMARC policy to.
|
2354
|
+
#
|
2355
|
+
# @option params [required, Boolean] :enforced
|
2356
|
+
# Enforces or suspends a policy after it's applied.
|
2357
|
+
#
|
2358
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2359
|
+
#
|
2360
|
+
# @example Request syntax with placeholder values
|
2361
|
+
#
|
2362
|
+
# resp = client.put_inbound_dmarc_settings({
|
2363
|
+
# organization_id: "OrganizationId", # required
|
2364
|
+
# enforced: false, # required
|
2365
|
+
# })
|
2366
|
+
#
|
2367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettings AWS API Documentation
|
2368
|
+
#
|
2369
|
+
# @overload put_inbound_dmarc_settings(params = {})
|
2370
|
+
# @param [Hash] params ({})
|
2371
|
+
def put_inbound_dmarc_settings(params = {}, options = {})
|
2372
|
+
req = build_request(:put_inbound_dmarc_settings, params)
|
2373
|
+
req.send_request(options)
|
2374
|
+
end
|
2375
|
+
|
2322
2376
|
# Sets permissions for a user, group, or resource. This replaces any
|
2323
2377
|
# pre-existing permissions.
|
2324
2378
|
#
|
@@ -2856,7 +2910,7 @@ module Aws::WorkMail
|
|
2856
2910
|
params: params,
|
2857
2911
|
config: config)
|
2858
2912
|
context[:gem_name] = 'aws-sdk-workmail'
|
2859
|
-
context[:gem_version] = '1.
|
2913
|
+
context[:gem_version] = '1.42.0'
|
2860
2914
|
Seahorse::Client::Request.new(handlers, context)
|
2861
2915
|
end
|
2862
2916
|
|
@@ -29,6 +29,7 @@ module Aws::WorkMail
|
|
29
29
|
AssociateMemberToGroupResponse = Shapes::StructureShape.new(name: 'AssociateMemberToGroupResponse')
|
30
30
|
BookingOptions = Shapes::StructureShape.new(name: 'BookingOptions')
|
31
31
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
32
|
+
BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
|
32
33
|
CancelMailboxExportJobRequest = Shapes::StructureShape.new(name: 'CancelMailboxExportJobRequest')
|
33
34
|
CancelMailboxExportJobResponse = Shapes::StructureShape.new(name: 'CancelMailboxExportJobResponse')
|
34
35
|
CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
|
@@ -68,6 +69,8 @@ module Aws::WorkMail
|
|
68
69
|
DeregisterFromWorkMailResponse = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailResponse')
|
69
70
|
DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
|
70
71
|
DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
|
72
|
+
DescribeInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsRequest')
|
73
|
+
DescribeInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsResponse')
|
71
74
|
DescribeMailboxExportJobRequest = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobRequest')
|
72
75
|
DescribeMailboxExportJobResponse = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobResponse')
|
73
76
|
DescribeOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationRequest')
|
@@ -196,6 +199,8 @@ module Aws::WorkMail
|
|
196
199
|
PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
|
197
200
|
PutAccessControlRuleRequest = Shapes::StructureShape.new(name: 'PutAccessControlRuleRequest')
|
198
201
|
PutAccessControlRuleResponse = Shapes::StructureShape.new(name: 'PutAccessControlRuleResponse')
|
202
|
+
PutInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsRequest')
|
203
|
+
PutInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsResponse')
|
199
204
|
PutMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'PutMailboxPermissionsRequest')
|
200
205
|
PutMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'PutMailboxPermissionsResponse')
|
201
206
|
PutMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'PutMobileDeviceAccessOverrideRequest')
|
@@ -445,6 +450,12 @@ module Aws::WorkMail
|
|
445
450
|
DescribeGroupResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
446
451
|
DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
|
447
452
|
|
453
|
+
DescribeInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
454
|
+
DescribeInboundDmarcSettingsRequest.struct_class = Types::DescribeInboundDmarcSettingsRequest
|
455
|
+
|
456
|
+
DescribeInboundDmarcSettingsResponse.add_member(:enforced, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enforced"))
|
457
|
+
DescribeInboundDmarcSettingsResponse.struct_class = Types::DescribeInboundDmarcSettingsResponse
|
458
|
+
|
448
459
|
DescribeMailboxExportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, required: true, location_name: "JobId"))
|
449
460
|
DescribeMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
450
461
|
DescribeMailboxExportJobRequest.struct_class = Types::DescribeMailboxExportJobRequest
|
@@ -853,6 +864,12 @@ module Aws::WorkMail
|
|
853
864
|
|
854
865
|
PutAccessControlRuleResponse.struct_class = Types::PutAccessControlRuleResponse
|
855
866
|
|
867
|
+
PutInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
868
|
+
PutInboundDmarcSettingsRequest.add_member(:enforced, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "Enforced"))
|
869
|
+
PutInboundDmarcSettingsRequest.struct_class = Types::PutInboundDmarcSettingsRequest
|
870
|
+
|
871
|
+
PutInboundDmarcSettingsResponse.struct_class = Types::PutInboundDmarcSettingsResponse
|
872
|
+
|
856
873
|
PutMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
857
874
|
PutMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
858
875
|
PutMailboxPermissionsRequest.add_member(:grantee_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GranteeId"))
|
@@ -1301,6 +1318,16 @@ module Aws::WorkMail
|
|
1301
1318
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1302
1319
|
end)
|
1303
1320
|
|
1321
|
+
api.add_operation(:describe_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
|
1322
|
+
o.name = "DescribeInboundDmarcSettings"
|
1323
|
+
o.http_method = "POST"
|
1324
|
+
o.http_request_uri = "/"
|
1325
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeInboundDmarcSettingsRequest)
|
1326
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeInboundDmarcSettingsResponse)
|
1327
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1328
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1329
|
+
end)
|
1330
|
+
|
1304
1331
|
api.add_operation(:describe_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
|
1305
1332
|
o.name = "DescribeMailboxExportJob"
|
1306
1333
|
o.http_method = "POST"
|
@@ -1655,6 +1682,16 @@ module Aws::WorkMail
|
|
1655
1682
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1656
1683
|
end)
|
1657
1684
|
|
1685
|
+
api.add_operation(:put_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
|
1686
|
+
o.name = "PutInboundDmarcSettings"
|
1687
|
+
o.http_method = "POST"
|
1688
|
+
o.http_request_uri = "/"
|
1689
|
+
o.input = Shapes::ShapeRef.new(shape: PutInboundDmarcSettingsRequest)
|
1690
|
+
o.output = Shapes::ShapeRef.new(shape: PutInboundDmarcSettingsResponse)
|
1691
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1692
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1693
|
+
end)
|
1694
|
+
|
1658
1695
|
api.add_operation(:put_mailbox_permissions, Seahorse::Model::Operation.new.tap do |o|
|
1659
1696
|
o.name = "PutMailboxPermissions"
|
1660
1697
|
o.http_method = "POST"
|
@@ -1038,6 +1038,37 @@ module Aws::WorkMail
|
|
1038
1038
|
include Aws::Structure
|
1039
1039
|
end
|
1040
1040
|
|
1041
|
+
# @note When making an API call, you may pass DescribeInboundDmarcSettingsRequest
|
1042
|
+
# data as a hash:
|
1043
|
+
#
|
1044
|
+
# {
|
1045
|
+
# organization_id: "OrganizationId", # required
|
1046
|
+
# }
|
1047
|
+
#
|
1048
|
+
# @!attribute [rw] organization_id
|
1049
|
+
# Lists the ID of the given organization.
|
1050
|
+
# @return [String]
|
1051
|
+
#
|
1052
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettingsRequest AWS API Documentation
|
1053
|
+
#
|
1054
|
+
class DescribeInboundDmarcSettingsRequest < Struct.new(
|
1055
|
+
:organization_id)
|
1056
|
+
SENSITIVE = []
|
1057
|
+
include Aws::Structure
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
# @!attribute [rw] enforced
|
1061
|
+
# Lists the enforcement setting of the applied policy.
|
1062
|
+
# @return [Boolean]
|
1063
|
+
#
|
1064
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettingsResponse AWS API Documentation
|
1065
|
+
#
|
1066
|
+
class DescribeInboundDmarcSettingsResponse < Struct.new(
|
1067
|
+
:enforced)
|
1068
|
+
SENSITIVE = []
|
1069
|
+
include Aws::Structure
|
1070
|
+
end
|
1071
|
+
|
1041
1072
|
# @note When making an API call, you may pass DescribeMailboxExportJobRequest
|
1042
1073
|
# data as a hash:
|
1043
1074
|
#
|
@@ -3093,6 +3124,36 @@ module Aws::WorkMail
|
|
3093
3124
|
#
|
3094
3125
|
class PutAccessControlRuleResponse < Aws::EmptyStructure; end
|
3095
3126
|
|
3127
|
+
# @note When making an API call, you may pass PutInboundDmarcSettingsRequest
|
3128
|
+
# data as a hash:
|
3129
|
+
#
|
3130
|
+
# {
|
3131
|
+
# organization_id: "OrganizationId", # required
|
3132
|
+
# enforced: false, # required
|
3133
|
+
# }
|
3134
|
+
#
|
3135
|
+
# @!attribute [rw] organization_id
|
3136
|
+
# The ID of the organization that you are applying the DMARC policy
|
3137
|
+
# to.
|
3138
|
+
# @return [String]
|
3139
|
+
#
|
3140
|
+
# @!attribute [rw] enforced
|
3141
|
+
# Enforces or suspends a policy after it's applied.
|
3142
|
+
# @return [Boolean]
|
3143
|
+
#
|
3144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettingsRequest AWS API Documentation
|
3145
|
+
#
|
3146
|
+
class PutInboundDmarcSettingsRequest < Struct.new(
|
3147
|
+
:organization_id,
|
3148
|
+
:enforced)
|
3149
|
+
SENSITIVE = []
|
3150
|
+
include Aws::Structure
|
3151
|
+
end
|
3152
|
+
|
3153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettingsResponse AWS API Documentation
|
3154
|
+
#
|
3155
|
+
class PutInboundDmarcSettingsResponse < Aws::EmptyStructure; end
|
3156
|
+
|
3096
3157
|
# @note When making an API call, you may pass PutMailboxPermissionsRequest
|
3097
3158
|
# data as a hash:
|
3098
3159
|
#
|
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.42.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-
|
11
|
+
date: 2021-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|