aws-sdk-workmail 1.40.0 → 1.44.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 +469 -1
- data/lib/aws-sdk-workmail/client_api.rb +299 -0
- data/lib/aws-sdk-workmail/errors.rb +32 -0
- data/lib/aws-sdk-workmail/types.rb +644 -4
- data/lib/aws-sdk-workmail.rb +1 -1
- metadata +4 -4
@@ -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')
|
@@ -52,6 +53,8 @@ module Aws::WorkMail
|
|
52
53
|
DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
|
53
54
|
DeleteMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsRequest')
|
54
55
|
DeleteMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsResponse')
|
56
|
+
DeleteMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessOverrideRequest')
|
57
|
+
DeleteMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessOverrideResponse')
|
55
58
|
DeleteMobileDeviceAccessRuleRequest = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessRuleRequest')
|
56
59
|
DeleteMobileDeviceAccessRuleResponse = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessRuleResponse')
|
57
60
|
DeleteOrganizationRequest = Shapes::StructureShape.new(name: 'DeleteOrganizationRequest')
|
@@ -64,8 +67,12 @@ module Aws::WorkMail
|
|
64
67
|
DeleteUserResponse = Shapes::StructureShape.new(name: 'DeleteUserResponse')
|
65
68
|
DeregisterFromWorkMailRequest = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailRequest')
|
66
69
|
DeregisterFromWorkMailResponse = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailResponse')
|
70
|
+
DeregisterMailDomainRequest = Shapes::StructureShape.new(name: 'DeregisterMailDomainRequest')
|
71
|
+
DeregisterMailDomainResponse = Shapes::StructureShape.new(name: 'DeregisterMailDomainResponse')
|
67
72
|
DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
|
68
73
|
DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
|
74
|
+
DescribeInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsRequest')
|
75
|
+
DescribeInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsResponse')
|
69
76
|
DescribeMailboxExportJobRequest = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobRequest')
|
70
77
|
DescribeMailboxExportJobResponse = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobResponse')
|
71
78
|
DescribeOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationRequest')
|
@@ -75,6 +82,7 @@ module Aws::WorkMail
|
|
75
82
|
DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
|
76
83
|
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
|
77
84
|
Description = Shapes::StringShape.new(name: 'Description')
|
85
|
+
DeviceId = Shapes::StringShape.new(name: 'DeviceId')
|
78
86
|
DeviceModel = Shapes::StringShape.new(name: 'DeviceModel')
|
79
87
|
DeviceModelList = Shapes::ListShape.new(name: 'DeviceModelList')
|
80
88
|
DeviceOperatingSystem = Shapes::StringShape.new(name: 'DeviceOperatingSystem')
|
@@ -91,12 +99,16 @@ module Aws::WorkMail
|
|
91
99
|
DisassociateDelegateFromResourceResponse = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceResponse')
|
92
100
|
DisassociateMemberFromGroupRequest = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupRequest')
|
93
101
|
DisassociateMemberFromGroupResponse = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupResponse')
|
102
|
+
DnsRecord = Shapes::StructureShape.new(name: 'DnsRecord')
|
103
|
+
DnsRecordVerificationStatus = Shapes::StringShape.new(name: 'DnsRecordVerificationStatus')
|
104
|
+
DnsRecords = Shapes::ListShape.new(name: 'DnsRecords')
|
94
105
|
Domain = Shapes::StructureShape.new(name: 'Domain')
|
95
106
|
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
96
107
|
Domains = Shapes::ListShape.new(name: 'Domains')
|
97
108
|
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
98
109
|
EmailAddressInUseException = Shapes::StructureShape.new(name: 'EmailAddressInUseException')
|
99
110
|
EntityAlreadyRegisteredException = Shapes::StructureShape.new(name: 'EntityAlreadyRegisteredException')
|
111
|
+
EntityIdentifier = Shapes::StringShape.new(name: 'EntityIdentifier')
|
100
112
|
EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
|
101
113
|
EntityState = Shapes::StringShape.new(name: 'EntityState')
|
102
114
|
EntityStateException = Shapes::StructureShape.new(name: 'EntityStateException')
|
@@ -107,16 +119,21 @@ module Aws::WorkMail
|
|
107
119
|
GetAccessControlEffectResponse = Shapes::StructureShape.new(name: 'GetAccessControlEffectResponse')
|
108
120
|
GetDefaultRetentionPolicyRequest = Shapes::StructureShape.new(name: 'GetDefaultRetentionPolicyRequest')
|
109
121
|
GetDefaultRetentionPolicyResponse = Shapes::StructureShape.new(name: 'GetDefaultRetentionPolicyResponse')
|
122
|
+
GetMailDomainRequest = Shapes::StructureShape.new(name: 'GetMailDomainRequest')
|
123
|
+
GetMailDomainResponse = Shapes::StructureShape.new(name: 'GetMailDomainResponse')
|
110
124
|
GetMailboxDetailsRequest = Shapes::StructureShape.new(name: 'GetMailboxDetailsRequest')
|
111
125
|
GetMailboxDetailsResponse = Shapes::StructureShape.new(name: 'GetMailboxDetailsResponse')
|
112
126
|
GetMobileDeviceAccessEffectRequest = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessEffectRequest')
|
113
127
|
GetMobileDeviceAccessEffectResponse = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessEffectResponse')
|
128
|
+
GetMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideRequest')
|
129
|
+
GetMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideResponse')
|
114
130
|
Group = Shapes::StructureShape.new(name: 'Group')
|
115
131
|
GroupName = Shapes::StringShape.new(name: 'GroupName')
|
116
132
|
Groups = Shapes::ListShape.new(name: 'Groups')
|
117
133
|
HostedZoneId = Shapes::StringShape.new(name: 'HostedZoneId')
|
118
134
|
IdempotencyClientToken = Shapes::StringShape.new(name: 'IdempotencyClientToken')
|
119
135
|
InvalidConfigurationException = Shapes::StructureShape.new(name: 'InvalidConfigurationException')
|
136
|
+
InvalidCustomSesConfigurationException = Shapes::StructureShape.new(name: 'InvalidCustomSesConfigurationException')
|
120
137
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
121
138
|
InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
|
122
139
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
@@ -133,10 +150,14 @@ module Aws::WorkMail
|
|
133
150
|
ListGroupMembersResponse = Shapes::StructureShape.new(name: 'ListGroupMembersResponse')
|
134
151
|
ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
|
135
152
|
ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
|
153
|
+
ListMailDomainsRequest = Shapes::StructureShape.new(name: 'ListMailDomainsRequest')
|
154
|
+
ListMailDomainsResponse = Shapes::StructureShape.new(name: 'ListMailDomainsResponse')
|
136
155
|
ListMailboxExportJobsRequest = Shapes::StructureShape.new(name: 'ListMailboxExportJobsRequest')
|
137
156
|
ListMailboxExportJobsResponse = Shapes::StructureShape.new(name: 'ListMailboxExportJobsResponse')
|
138
157
|
ListMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'ListMailboxPermissionsRequest')
|
139
158
|
ListMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'ListMailboxPermissionsResponse')
|
159
|
+
ListMobileDeviceAccessOverridesRequest = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessOverridesRequest')
|
160
|
+
ListMobileDeviceAccessOverridesResponse = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessOverridesResponse')
|
140
161
|
ListMobileDeviceAccessRulesRequest = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessRulesRequest')
|
141
162
|
ListMobileDeviceAccessRulesResponse = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessRulesResponse')
|
142
163
|
ListOrganizationsRequest = Shapes::StructureShape.new(name: 'ListOrganizationsRequest')
|
@@ -149,8 +170,11 @@ module Aws::WorkMail
|
|
149
170
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
150
171
|
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
|
151
172
|
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
|
173
|
+
MailDomainInUseException = Shapes::StructureShape.new(name: 'MailDomainInUseException')
|
152
174
|
MailDomainNotFoundException = Shapes::StructureShape.new(name: 'MailDomainNotFoundException')
|
153
175
|
MailDomainStateException = Shapes::StructureShape.new(name: 'MailDomainStateException')
|
176
|
+
MailDomainSummary = Shapes::StructureShape.new(name: 'MailDomainSummary')
|
177
|
+
MailDomains = Shapes::ListShape.new(name: 'MailDomains')
|
154
178
|
MailboxExportErrorInfo = Shapes::StringShape.new(name: 'MailboxExportErrorInfo')
|
155
179
|
MailboxExportJob = Shapes::StructureShape.new(name: 'MailboxExportJob')
|
156
180
|
MailboxExportJobId = Shapes::StringShape.new(name: 'MailboxExportJobId')
|
@@ -163,6 +187,8 @@ module Aws::WorkMail
|
|
163
187
|
Members = Shapes::ListShape.new(name: 'Members')
|
164
188
|
MobileDeviceAccessMatchedRule = Shapes::StructureShape.new(name: 'MobileDeviceAccessMatchedRule')
|
165
189
|
MobileDeviceAccessMatchedRuleList = Shapes::ListShape.new(name: 'MobileDeviceAccessMatchedRuleList')
|
190
|
+
MobileDeviceAccessOverride = Shapes::StructureShape.new(name: 'MobileDeviceAccessOverride')
|
191
|
+
MobileDeviceAccessOverridesList = Shapes::ListShape.new(name: 'MobileDeviceAccessOverridesList')
|
166
192
|
MobileDeviceAccessRule = Shapes::StructureShape.new(name: 'MobileDeviceAccessRule')
|
167
193
|
MobileDeviceAccessRuleDescription = Shapes::StringShape.new(name: 'MobileDeviceAccessRuleDescription')
|
168
194
|
MobileDeviceAccessRuleEffect = Shapes::StringShape.new(name: 'MobileDeviceAccessRuleEffect')
|
@@ -186,10 +212,16 @@ module Aws::WorkMail
|
|
186
212
|
PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
|
187
213
|
PutAccessControlRuleRequest = Shapes::StructureShape.new(name: 'PutAccessControlRuleRequest')
|
188
214
|
PutAccessControlRuleResponse = Shapes::StructureShape.new(name: 'PutAccessControlRuleResponse')
|
215
|
+
PutInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsRequest')
|
216
|
+
PutInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsResponse')
|
189
217
|
PutMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'PutMailboxPermissionsRequest')
|
190
218
|
PutMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'PutMailboxPermissionsResponse')
|
219
|
+
PutMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'PutMobileDeviceAccessOverrideRequest')
|
220
|
+
PutMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'PutMobileDeviceAccessOverrideResponse')
|
191
221
|
PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
|
192
222
|
PutRetentionPolicyResponse = Shapes::StructureShape.new(name: 'PutRetentionPolicyResponse')
|
223
|
+
RegisterMailDomainRequest = Shapes::StructureShape.new(name: 'RegisterMailDomainRequest')
|
224
|
+
RegisterMailDomainResponse = Shapes::StructureShape.new(name: 'RegisterMailDomainResponse')
|
193
225
|
RegisterToWorkMailRequest = Shapes::StructureShape.new(name: 'RegisterToWorkMailRequest')
|
194
226
|
RegisterToWorkMailResponse = Shapes::StructureShape.new(name: 'RegisterToWorkMailResponse')
|
195
227
|
ReservedNameException = Shapes::StructureShape.new(name: 'ReservedNameException')
|
@@ -223,6 +255,8 @@ module Aws::WorkMail
|
|
223
255
|
UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
|
224
256
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
225
257
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
258
|
+
UpdateDefaultMailDomainRequest = Shapes::StructureShape.new(name: 'UpdateDefaultMailDomainRequest')
|
259
|
+
UpdateDefaultMailDomainResponse = Shapes::StructureShape.new(name: 'UpdateDefaultMailDomainResponse')
|
226
260
|
UpdateMailboxQuotaRequest = Shapes::StructureShape.new(name: 'UpdateMailboxQuotaRequest')
|
227
261
|
UpdateMailboxQuotaResponse = Shapes::StructureShape.new(name: 'UpdateMailboxQuotaResponse')
|
228
262
|
UpdateMobileDeviceAccessRuleRequest = Shapes::StructureShape.new(name: 'UpdateMobileDeviceAccessRuleRequest')
|
@@ -236,6 +270,7 @@ module Aws::WorkMail
|
|
236
270
|
UserName = Shapes::StringShape.new(name: 'UserName')
|
237
271
|
UserRole = Shapes::StringShape.new(name: 'UserRole')
|
238
272
|
Users = Shapes::ListShape.new(name: 'Users')
|
273
|
+
WorkMailDomainName = Shapes::StringShape.new(name: 'WorkMailDomainName')
|
239
274
|
WorkMailIdentifier = Shapes::StringShape.new(name: 'WorkMailIdentifier')
|
240
275
|
|
241
276
|
AccessControlRule.add_member(:name, Shapes::ShapeRef.new(shape: AccessControlRuleName, location_name: "Name"))
|
@@ -375,6 +410,13 @@ module Aws::WorkMail
|
|
375
410
|
|
376
411
|
DeleteMailboxPermissionsResponse.struct_class = Types::DeleteMailboxPermissionsResponse
|
377
412
|
|
413
|
+
DeleteMobileDeviceAccessOverrideRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
414
|
+
DeleteMobileDeviceAccessOverrideRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
|
415
|
+
DeleteMobileDeviceAccessOverrideRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location_name: "DeviceId"))
|
416
|
+
DeleteMobileDeviceAccessOverrideRequest.struct_class = Types::DeleteMobileDeviceAccessOverrideRequest
|
417
|
+
|
418
|
+
DeleteMobileDeviceAccessOverrideResponse.struct_class = Types::DeleteMobileDeviceAccessOverrideResponse
|
419
|
+
|
378
420
|
DeleteMobileDeviceAccessRuleRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
379
421
|
DeleteMobileDeviceAccessRuleRequest.add_member(:mobile_device_access_rule_id, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleId, required: true, location_name: "MobileDeviceAccessRuleId"))
|
380
422
|
DeleteMobileDeviceAccessRuleRequest.struct_class = Types::DeleteMobileDeviceAccessRuleRequest
|
@@ -414,6 +456,12 @@ module Aws::WorkMail
|
|
414
456
|
|
415
457
|
DeregisterFromWorkMailResponse.struct_class = Types::DeregisterFromWorkMailResponse
|
416
458
|
|
459
|
+
DeregisterMailDomainRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
460
|
+
DeregisterMailDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: WorkMailDomainName, required: true, location_name: "DomainName"))
|
461
|
+
DeregisterMailDomainRequest.struct_class = Types::DeregisterMailDomainRequest
|
462
|
+
|
463
|
+
DeregisterMailDomainResponse.struct_class = Types::DeregisterMailDomainResponse
|
464
|
+
|
417
465
|
DescribeGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
418
466
|
DescribeGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
|
419
467
|
DescribeGroupRequest.struct_class = Types::DescribeGroupRequest
|
@@ -426,6 +474,12 @@ module Aws::WorkMail
|
|
426
474
|
DescribeGroupResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
427
475
|
DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
|
428
476
|
|
477
|
+
DescribeInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
478
|
+
DescribeInboundDmarcSettingsRequest.struct_class = Types::DescribeInboundDmarcSettingsRequest
|
479
|
+
|
480
|
+
DescribeInboundDmarcSettingsResponse.add_member(:enforced, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enforced"))
|
481
|
+
DescribeInboundDmarcSettingsResponse.struct_class = Types::DescribeInboundDmarcSettingsResponse
|
482
|
+
|
429
483
|
DescribeMailboxExportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, required: true, location_name: "JobId"))
|
430
484
|
DescribeMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
431
485
|
DescribeMailboxExportJobRequest.struct_class = Types::DescribeMailboxExportJobRequest
|
@@ -517,6 +571,13 @@ module Aws::WorkMail
|
|
517
571
|
|
518
572
|
DisassociateMemberFromGroupResponse.struct_class = Types::DisassociateMemberFromGroupResponse
|
519
573
|
|
574
|
+
DnsRecord.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
575
|
+
DnsRecord.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "Hostname"))
|
576
|
+
DnsRecord.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
577
|
+
DnsRecord.struct_class = Types::DnsRecord
|
578
|
+
|
579
|
+
DnsRecords.member = Shapes::ShapeRef.new(shape: DnsRecord)
|
580
|
+
|
520
581
|
Domain.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
521
582
|
Domain.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: HostedZoneId, location_name: "HostedZoneId"))
|
522
583
|
Domain.struct_class = Types::Domain
|
@@ -561,6 +622,17 @@ module Aws::WorkMail
|
|
561
622
|
GetDefaultRetentionPolicyResponse.add_member(:folder_configurations, Shapes::ShapeRef.new(shape: FolderConfigurations, location_name: "FolderConfigurations"))
|
562
623
|
GetDefaultRetentionPolicyResponse.struct_class = Types::GetDefaultRetentionPolicyResponse
|
563
624
|
|
625
|
+
GetMailDomainRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
626
|
+
GetMailDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: WorkMailDomainName, required: true, location_name: "DomainName"))
|
627
|
+
GetMailDomainRequest.struct_class = Types::GetMailDomainRequest
|
628
|
+
|
629
|
+
GetMailDomainResponse.add_member(:records, Shapes::ShapeRef.new(shape: DnsRecords, location_name: "Records"))
|
630
|
+
GetMailDomainResponse.add_member(:is_test_domain, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsTestDomain"))
|
631
|
+
GetMailDomainResponse.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
|
632
|
+
GetMailDomainResponse.add_member(:ownership_verification_status, Shapes::ShapeRef.new(shape: DnsRecordVerificationStatus, location_name: "OwnershipVerificationStatus"))
|
633
|
+
GetMailDomainResponse.add_member(:dkim_verification_status, Shapes::ShapeRef.new(shape: DnsRecordVerificationStatus, location_name: "DkimVerificationStatus"))
|
634
|
+
GetMailDomainResponse.struct_class = Types::GetMailDomainResponse
|
635
|
+
|
564
636
|
GetMailboxDetailsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
565
637
|
GetMailboxDetailsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
|
566
638
|
GetMailboxDetailsRequest.struct_class = Types::GetMailboxDetailsRequest
|
@@ -580,6 +652,19 @@ module Aws::WorkMail
|
|
580
652
|
GetMobileDeviceAccessEffectResponse.add_member(:matched_rules, Shapes::ShapeRef.new(shape: MobileDeviceAccessMatchedRuleList, location_name: "MatchedRules"))
|
581
653
|
GetMobileDeviceAccessEffectResponse.struct_class = Types::GetMobileDeviceAccessEffectResponse
|
582
654
|
|
655
|
+
GetMobileDeviceAccessOverrideRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
656
|
+
GetMobileDeviceAccessOverrideRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
|
657
|
+
GetMobileDeviceAccessOverrideRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location_name: "DeviceId"))
|
658
|
+
GetMobileDeviceAccessOverrideRequest.struct_class = Types::GetMobileDeviceAccessOverrideRequest
|
659
|
+
|
660
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
|
661
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
|
662
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:effect, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleEffect, location_name: "Effect"))
|
663
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
|
664
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateCreated"))
|
665
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:date_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateModified"))
|
666
|
+
GetMobileDeviceAccessOverrideResponse.struct_class = Types::GetMobileDeviceAccessOverrideResponse
|
667
|
+
|
583
668
|
Group.add_member(:id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "Id"))
|
584
669
|
Group.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
|
585
670
|
Group.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, location_name: "Name"))
|
@@ -593,6 +678,9 @@ module Aws::WorkMail
|
|
593
678
|
InvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
594
679
|
InvalidConfigurationException.struct_class = Types::InvalidConfigurationException
|
595
680
|
|
681
|
+
InvalidCustomSesConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
682
|
+
InvalidCustomSesConfigurationException.struct_class = Types::InvalidCustomSesConfigurationException
|
683
|
+
|
596
684
|
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
597
685
|
InvalidParameterException.struct_class = Types::InvalidParameterException
|
598
686
|
|
@@ -641,6 +729,15 @@ module Aws::WorkMail
|
|
641
729
|
ListGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
642
730
|
ListGroupsResponse.struct_class = Types::ListGroupsResponse
|
643
731
|
|
732
|
+
ListMailDomainsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
733
|
+
ListMailDomainsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
734
|
+
ListMailDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
735
|
+
ListMailDomainsRequest.struct_class = Types::ListMailDomainsRequest
|
736
|
+
|
737
|
+
ListMailDomainsResponse.add_member(:mail_domains, Shapes::ShapeRef.new(shape: MailDomains, location_name: "MailDomains"))
|
738
|
+
ListMailDomainsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
739
|
+
ListMailDomainsResponse.struct_class = Types::ListMailDomainsResponse
|
740
|
+
|
644
741
|
ListMailboxExportJobsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
645
742
|
ListMailboxExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
646
743
|
ListMailboxExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -660,6 +757,17 @@ module Aws::WorkMail
|
|
660
757
|
ListMailboxPermissionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
661
758
|
ListMailboxPermissionsResponse.struct_class = Types::ListMailboxPermissionsResponse
|
662
759
|
|
760
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
761
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "UserId"))
|
762
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
|
763
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
764
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
765
|
+
ListMobileDeviceAccessOverridesRequest.struct_class = Types::ListMobileDeviceAccessOverridesRequest
|
766
|
+
|
767
|
+
ListMobileDeviceAccessOverridesResponse.add_member(:overrides, Shapes::ShapeRef.new(shape: MobileDeviceAccessOverridesList, location_name: "Overrides"))
|
768
|
+
ListMobileDeviceAccessOverridesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
769
|
+
ListMobileDeviceAccessOverridesResponse.struct_class = Types::ListMobileDeviceAccessOverridesResponse
|
770
|
+
|
663
771
|
ListMobileDeviceAccessRulesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
664
772
|
ListMobileDeviceAccessRulesRequest.struct_class = Types::ListMobileDeviceAccessRulesRequest
|
665
773
|
|
@@ -708,12 +816,21 @@ module Aws::WorkMail
|
|
708
816
|
ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
709
817
|
ListUsersResponse.struct_class = Types::ListUsersResponse
|
710
818
|
|
819
|
+
MailDomainInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
820
|
+
MailDomainInUseException.struct_class = Types::MailDomainInUseException
|
821
|
+
|
711
822
|
MailDomainNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
712
823
|
MailDomainNotFoundException.struct_class = Types::MailDomainNotFoundException
|
713
824
|
|
714
825
|
MailDomainStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
715
826
|
MailDomainStateException.struct_class = Types::MailDomainStateException
|
716
827
|
|
828
|
+
MailDomainSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
829
|
+
MailDomainSummary.add_member(:default_domain, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultDomain"))
|
830
|
+
MailDomainSummary.struct_class = Types::MailDomainSummary
|
831
|
+
|
832
|
+
MailDomains.member = Shapes::ShapeRef.new(shape: MailDomainSummary)
|
833
|
+
|
717
834
|
MailboxExportJob.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, location_name: "JobId"))
|
718
835
|
MailboxExportJob.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "EntityId"))
|
719
836
|
MailboxExportJob.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
@@ -741,6 +858,16 @@ module Aws::WorkMail
|
|
741
858
|
|
742
859
|
MobileDeviceAccessMatchedRuleList.member = Shapes::ShapeRef.new(shape: MobileDeviceAccessMatchedRule)
|
743
860
|
|
861
|
+
MobileDeviceAccessOverride.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
|
862
|
+
MobileDeviceAccessOverride.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
|
863
|
+
MobileDeviceAccessOverride.add_member(:effect, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleEffect, location_name: "Effect"))
|
864
|
+
MobileDeviceAccessOverride.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
|
865
|
+
MobileDeviceAccessOverride.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateCreated"))
|
866
|
+
MobileDeviceAccessOverride.add_member(:date_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateModified"))
|
867
|
+
MobileDeviceAccessOverride.struct_class = Types::MobileDeviceAccessOverride
|
868
|
+
|
869
|
+
MobileDeviceAccessOverridesList.member = Shapes::ShapeRef.new(shape: MobileDeviceAccessOverride)
|
870
|
+
|
744
871
|
MobileDeviceAccessRule.add_member(:mobile_device_access_rule_id, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleId, location_name: "MobileDeviceAccessRuleId"))
|
745
872
|
MobileDeviceAccessRule.add_member(:name, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleName, location_name: "Name"))
|
746
873
|
MobileDeviceAccessRule.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
|
@@ -800,6 +927,12 @@ module Aws::WorkMail
|
|
800
927
|
|
801
928
|
PutAccessControlRuleResponse.struct_class = Types::PutAccessControlRuleResponse
|
802
929
|
|
930
|
+
PutInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
931
|
+
PutInboundDmarcSettingsRequest.add_member(:enforced, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "Enforced"))
|
932
|
+
PutInboundDmarcSettingsRequest.struct_class = Types::PutInboundDmarcSettingsRequest
|
933
|
+
|
934
|
+
PutInboundDmarcSettingsResponse.struct_class = Types::PutInboundDmarcSettingsResponse
|
935
|
+
|
803
936
|
PutMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
804
937
|
PutMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
805
938
|
PutMailboxPermissionsRequest.add_member(:grantee_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GranteeId"))
|
@@ -808,6 +941,15 @@ module Aws::WorkMail
|
|
808
941
|
|
809
942
|
PutMailboxPermissionsResponse.struct_class = Types::PutMailboxPermissionsResponse
|
810
943
|
|
944
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
945
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
|
946
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location_name: "DeviceId"))
|
947
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:effect, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleEffect, required: true, location_name: "Effect"))
|
948
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
|
949
|
+
PutMobileDeviceAccessOverrideRequest.struct_class = Types::PutMobileDeviceAccessOverrideRequest
|
950
|
+
|
951
|
+
PutMobileDeviceAccessOverrideResponse.struct_class = Types::PutMobileDeviceAccessOverrideResponse
|
952
|
+
|
811
953
|
PutRetentionPolicyRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
812
954
|
PutRetentionPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: ShortString, location_name: "Id"))
|
813
955
|
PutRetentionPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: ShortString, required: true, location_name: "Name"))
|
@@ -817,6 +959,13 @@ module Aws::WorkMail
|
|
817
959
|
|
818
960
|
PutRetentionPolicyResponse.struct_class = Types::PutRetentionPolicyResponse
|
819
961
|
|
962
|
+
RegisterMailDomainRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
963
|
+
RegisterMailDomainRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
964
|
+
RegisterMailDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: WorkMailDomainName, required: true, location_name: "DomainName"))
|
965
|
+
RegisterMailDomainRequest.struct_class = Types::RegisterMailDomainRequest
|
966
|
+
|
967
|
+
RegisterMailDomainResponse.struct_class = Types::RegisterMailDomainResponse
|
968
|
+
|
820
969
|
RegisterToWorkMailRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
821
970
|
RegisterToWorkMailRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
822
971
|
RegisterToWorkMailRequest.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Email"))
|
@@ -889,6 +1038,12 @@ module Aws::WorkMail
|
|
889
1038
|
|
890
1039
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
891
1040
|
|
1041
|
+
UpdateDefaultMailDomainRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
1042
|
+
UpdateDefaultMailDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: WorkMailDomainName, required: true, location_name: "DomainName"))
|
1043
|
+
UpdateDefaultMailDomainRequest.struct_class = Types::UpdateDefaultMailDomainRequest
|
1044
|
+
|
1045
|
+
UpdateDefaultMailDomainResponse.struct_class = Types::UpdateDefaultMailDomainResponse
|
1046
|
+
|
892
1047
|
UpdateMailboxQuotaRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
893
1048
|
UpdateMailboxQuotaRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
|
894
1049
|
UpdateMailboxQuotaRequest.add_member(:mailbox_quota, Shapes::ShapeRef.new(shape: MailboxQuota, required: true, location_name: "MailboxQuota"))
|
@@ -1142,6 +1297,18 @@ module Aws::WorkMail
|
|
1142
1297
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1143
1298
|
end)
|
1144
1299
|
|
1300
|
+
api.add_operation(:delete_mobile_device_access_override, Seahorse::Model::Operation.new.tap do |o|
|
1301
|
+
o.name = "DeleteMobileDeviceAccessOverride"
|
1302
|
+
o.http_method = "POST"
|
1303
|
+
o.http_request_uri = "/"
|
1304
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteMobileDeviceAccessOverrideRequest)
|
1305
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteMobileDeviceAccessOverrideResponse)
|
1306
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1307
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1308
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1309
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1310
|
+
end)
|
1311
|
+
|
1145
1312
|
api.add_operation(:delete_mobile_device_access_rule, Seahorse::Model::Operation.new.tap do |o|
|
1146
1313
|
o.name = "DeleteMobileDeviceAccessRule"
|
1147
1314
|
o.http_method = "POST"
|
@@ -1215,6 +1382,19 @@ module Aws::WorkMail
|
|
1215
1382
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1216
1383
|
end)
|
1217
1384
|
|
1385
|
+
api.add_operation(:deregister_mail_domain, Seahorse::Model::Operation.new.tap do |o|
|
1386
|
+
o.name = "DeregisterMailDomain"
|
1387
|
+
o.http_method = "POST"
|
1388
|
+
o.http_request_uri = "/"
|
1389
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterMailDomainRequest)
|
1390
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterMailDomainResponse)
|
1391
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainInUseException)
|
1392
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1395
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCustomSesConfigurationException)
|
1396
|
+
end)
|
1397
|
+
|
1218
1398
|
api.add_operation(:describe_group, Seahorse::Model::Operation.new.tap do |o|
|
1219
1399
|
o.name = "DescribeGroup"
|
1220
1400
|
o.http_method = "POST"
|
@@ -1227,6 +1407,16 @@ module Aws::WorkMail
|
|
1227
1407
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1228
1408
|
end)
|
1229
1409
|
|
1410
|
+
api.add_operation(:describe_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
|
1411
|
+
o.name = "DescribeInboundDmarcSettings"
|
1412
|
+
o.http_method = "POST"
|
1413
|
+
o.http_request_uri = "/"
|
1414
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeInboundDmarcSettingsRequest)
|
1415
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeInboundDmarcSettingsResponse)
|
1416
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1417
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1418
|
+
end)
|
1419
|
+
|
1230
1420
|
api.add_operation(:describe_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
|
1231
1421
|
o.name = "DescribeMailboxExportJob"
|
1232
1422
|
o.http_method = "POST"
|
@@ -1326,6 +1516,18 @@ module Aws::WorkMail
|
|
1326
1516
|
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1327
1517
|
end)
|
1328
1518
|
|
1519
|
+
api.add_operation(:get_mail_domain, Seahorse::Model::Operation.new.tap do |o|
|
1520
|
+
o.name = "GetMailDomain"
|
1521
|
+
o.http_method = "POST"
|
1522
|
+
o.http_request_uri = "/"
|
1523
|
+
o.input = Shapes::ShapeRef.new(shape: GetMailDomainRequest)
|
1524
|
+
o.output = Shapes::ShapeRef.new(shape: GetMailDomainResponse)
|
1525
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainNotFoundException)
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1527
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1528
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1529
|
+
end)
|
1530
|
+
|
1329
1531
|
api.add_operation(:get_mailbox_details, Seahorse::Model::Operation.new.tap do |o|
|
1330
1532
|
o.name = "GetMailboxDetails"
|
1331
1533
|
o.http_method = "POST"
|
@@ -1348,6 +1550,19 @@ module Aws::WorkMail
|
|
1348
1550
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1349
1551
|
end)
|
1350
1552
|
|
1553
|
+
api.add_operation(:get_mobile_device_access_override, Seahorse::Model::Operation.new.tap do |o|
|
1554
|
+
o.name = "GetMobileDeviceAccessOverride"
|
1555
|
+
o.http_method = "POST"
|
1556
|
+
o.http_request_uri = "/"
|
1557
|
+
o.input = Shapes::ShapeRef.new(shape: GetMobileDeviceAccessOverrideRequest)
|
1558
|
+
o.output = Shapes::ShapeRef.new(shape: GetMobileDeviceAccessOverrideResponse)
|
1559
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1560
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1561
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1562
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1563
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1564
|
+
end)
|
1565
|
+
|
1351
1566
|
api.add_operation(:list_access_control_rules, Seahorse::Model::Operation.new.tap do |o|
|
1352
1567
|
o.name = "ListAccessControlRules"
|
1353
1568
|
o.http_method = "POST"
|
@@ -1414,6 +1629,23 @@ module Aws::WorkMail
|
|
1414
1629
|
)
|
1415
1630
|
end)
|
1416
1631
|
|
1632
|
+
api.add_operation(:list_mail_domains, Seahorse::Model::Operation.new.tap do |o|
|
1633
|
+
o.name = "ListMailDomains"
|
1634
|
+
o.http_method = "POST"
|
1635
|
+
o.http_request_uri = "/"
|
1636
|
+
o.input = Shapes::ShapeRef.new(shape: ListMailDomainsRequest)
|
1637
|
+
o.output = Shapes::ShapeRef.new(shape: ListMailDomainsResponse)
|
1638
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1639
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1640
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1641
|
+
o[:pager] = Aws::Pager.new(
|
1642
|
+
limit_key: "max_results",
|
1643
|
+
tokens: {
|
1644
|
+
"next_token" => "next_token"
|
1645
|
+
}
|
1646
|
+
)
|
1647
|
+
end)
|
1648
|
+
|
1417
1649
|
api.add_operation(:list_mailbox_export_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1418
1650
|
o.name = "ListMailboxExportJobs"
|
1419
1651
|
o.http_method = "POST"
|
@@ -1449,6 +1681,24 @@ module Aws::WorkMail
|
|
1449
1681
|
)
|
1450
1682
|
end)
|
1451
1683
|
|
1684
|
+
api.add_operation(:list_mobile_device_access_overrides, Seahorse::Model::Operation.new.tap do |o|
|
1685
|
+
o.name = "ListMobileDeviceAccessOverrides"
|
1686
|
+
o.http_method = "POST"
|
1687
|
+
o.http_request_uri = "/"
|
1688
|
+
o.input = Shapes::ShapeRef.new(shape: ListMobileDeviceAccessOverridesRequest)
|
1689
|
+
o.output = Shapes::ShapeRef.new(shape: ListMobileDeviceAccessOverridesResponse)
|
1690
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1691
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1692
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1693
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1694
|
+
o[:pager] = Aws::Pager.new(
|
1695
|
+
limit_key: "max_results",
|
1696
|
+
tokens: {
|
1697
|
+
"next_token" => "next_token"
|
1698
|
+
}
|
1699
|
+
)
|
1700
|
+
end)
|
1701
|
+
|
1452
1702
|
api.add_operation(:list_mobile_device_access_rules, Seahorse::Model::Operation.new.tap do |o|
|
1453
1703
|
o.name = "ListMobileDeviceAccessRules"
|
1454
1704
|
o.http_method = "POST"
|
@@ -1550,6 +1800,16 @@ module Aws::WorkMail
|
|
1550
1800
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1551
1801
|
end)
|
1552
1802
|
|
1803
|
+
api.add_operation(:put_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
|
1804
|
+
o.name = "PutInboundDmarcSettings"
|
1805
|
+
o.http_method = "POST"
|
1806
|
+
o.http_request_uri = "/"
|
1807
|
+
o.input = Shapes::ShapeRef.new(shape: PutInboundDmarcSettingsRequest)
|
1808
|
+
o.output = Shapes::ShapeRef.new(shape: PutInboundDmarcSettingsResponse)
|
1809
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1810
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1811
|
+
end)
|
1812
|
+
|
1553
1813
|
api.add_operation(:put_mailbox_permissions, Seahorse::Model::Operation.new.tap do |o|
|
1554
1814
|
o.name = "PutMailboxPermissions"
|
1555
1815
|
o.http_method = "POST"
|
@@ -1563,6 +1823,19 @@ module Aws::WorkMail
|
|
1563
1823
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1564
1824
|
end)
|
1565
1825
|
|
1826
|
+
api.add_operation(:put_mobile_device_access_override, Seahorse::Model::Operation.new.tap do |o|
|
1827
|
+
o.name = "PutMobileDeviceAccessOverride"
|
1828
|
+
o.http_method = "POST"
|
1829
|
+
o.http_request_uri = "/"
|
1830
|
+
o.input = Shapes::ShapeRef.new(shape: PutMobileDeviceAccessOverrideRequest)
|
1831
|
+
o.output = Shapes::ShapeRef.new(shape: PutMobileDeviceAccessOverrideResponse)
|
1832
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1833
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1834
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1835
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1836
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
1837
|
+
end)
|
1838
|
+
|
1566
1839
|
api.add_operation(:put_retention_policy, Seahorse::Model::Operation.new.tap do |o|
|
1567
1840
|
o.name = "PutRetentionPolicy"
|
1568
1841
|
o.http_method = "POST"
|
@@ -1575,6 +1848,19 @@ module Aws::WorkMail
|
|
1575
1848
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1576
1849
|
end)
|
1577
1850
|
|
1851
|
+
api.add_operation(:register_mail_domain, Seahorse::Model::Operation.new.tap do |o|
|
1852
|
+
o.name = "RegisterMailDomain"
|
1853
|
+
o.http_method = "POST"
|
1854
|
+
o.http_request_uri = "/"
|
1855
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterMailDomainRequest)
|
1856
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterMailDomainResponse)
|
1857
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainInUseException)
|
1858
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1859
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1860
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1861
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1862
|
+
end)
|
1863
|
+
|
1578
1864
|
api.add_operation(:register_to_work_mail, Seahorse::Model::Operation.new.tap do |o|
|
1579
1865
|
o.name = "RegisterToWorkMail"
|
1580
1866
|
o.http_method = "POST"
|
@@ -1644,6 +1930,19 @@ module Aws::WorkMail
|
|
1644
1930
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1645
1931
|
end)
|
1646
1932
|
|
1933
|
+
api.add_operation(:update_default_mail_domain, Seahorse::Model::Operation.new.tap do |o|
|
1934
|
+
o.name = "UpdateDefaultMailDomain"
|
1935
|
+
o.http_method = "POST"
|
1936
|
+
o.http_request_uri = "/"
|
1937
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDefaultMailDomainRequest)
|
1938
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDefaultMailDomainResponse)
|
1939
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainNotFoundException)
|
1940
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainStateException)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1942
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1943
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1944
|
+
end)
|
1945
|
+
|
1647
1946
|
api.add_operation(:update_mailbox_quota, Seahorse::Model::Operation.new.tap do |o|
|
1648
1947
|
o.name = "UpdateMailboxQuota"
|
1649
1948
|
o.http_method = "POST"
|
@@ -35,9 +35,11 @@ module Aws::WorkMail
|
|
35
35
|
# * {EntityNotFoundException}
|
36
36
|
# * {EntityStateException}
|
37
37
|
# * {InvalidConfigurationException}
|
38
|
+
# * {InvalidCustomSesConfigurationException}
|
38
39
|
# * {InvalidParameterException}
|
39
40
|
# * {InvalidPasswordException}
|
40
41
|
# * {LimitExceededException}
|
42
|
+
# * {MailDomainInUseException}
|
41
43
|
# * {MailDomainNotFoundException}
|
42
44
|
# * {MailDomainStateException}
|
43
45
|
# * {NameAvailabilityException}
|
@@ -174,6 +176,21 @@ module Aws::WorkMail
|
|
174
176
|
end
|
175
177
|
end
|
176
178
|
|
179
|
+
class InvalidCustomSesConfigurationException < ServiceError
|
180
|
+
|
181
|
+
# @param [Seahorse::Client::RequestContext] context
|
182
|
+
# @param [String] message
|
183
|
+
# @param [Aws::WorkMail::Types::InvalidCustomSesConfigurationException] data
|
184
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
185
|
+
super(context, message, data)
|
186
|
+
end
|
187
|
+
|
188
|
+
# @return [String]
|
189
|
+
def message
|
190
|
+
@message || @data[:message]
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
177
194
|
class InvalidParameterException < ServiceError
|
178
195
|
|
179
196
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -219,6 +236,21 @@ module Aws::WorkMail
|
|
219
236
|
end
|
220
237
|
end
|
221
238
|
|
239
|
+
class MailDomainInUseException < ServiceError
|
240
|
+
|
241
|
+
# @param [Seahorse::Client::RequestContext] context
|
242
|
+
# @param [String] message
|
243
|
+
# @param [Aws::WorkMail::Types::MailDomainInUseException] data
|
244
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
245
|
+
super(context, message, data)
|
246
|
+
end
|
247
|
+
|
248
|
+
# @return [String]
|
249
|
+
def message
|
250
|
+
@message || @data[:message]
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
222
254
|
class MailDomainNotFoundException < ServiceError
|
223
255
|
|
224
256
|
# @param [Seahorse::Client::RequestContext] context
|