aws-sdk-workmail 1.22.0 → 1.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::WorkMail
9
- # This class provides a resource oriented interface for WorkMail.
10
- # To create a resource object:
11
- # resource = Aws::WorkMail::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::WorkMail::Client.new(region: 'us-west-2')
15
- # resource = Aws::WorkMail::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -72,6 +74,7 @@ module Aws::WorkMail
72
74
  :not_user_ids,
73
75
  :date_created,
74
76
  :date_modified)
77
+ SENSITIVE = []
75
78
  include Aws::Structure
76
79
  end
77
80
 
@@ -102,6 +105,7 @@ module Aws::WorkMail
102
105
  :organization_id,
103
106
  :resource_id,
104
107
  :entity_id)
108
+ SENSITIVE = []
105
109
  include Aws::Structure
106
110
  end
107
111
 
@@ -136,6 +140,7 @@ module Aws::WorkMail
136
140
  :organization_id,
137
141
  :group_id,
138
142
  :member_id)
143
+ SENSITIVE = []
139
144
  include Aws::Structure
140
145
  end
141
146
 
@@ -176,6 +181,7 @@ module Aws::WorkMail
176
181
  :auto_accept_requests,
177
182
  :auto_decline_recurring_requests,
178
183
  :auto_decline_conflicting_requests)
184
+ SENSITIVE = []
179
185
  include Aws::Structure
180
186
  end
181
187
 
@@ -206,6 +212,7 @@ module Aws::WorkMail
206
212
  :organization_id,
207
213
  :entity_id,
208
214
  :alias)
215
+ SENSITIVE = []
209
216
  include Aws::Structure
210
217
  end
211
218
 
@@ -234,6 +241,7 @@ module Aws::WorkMail
234
241
  class CreateGroupRequest < Struct.new(
235
242
  :organization_id,
236
243
  :name)
244
+ SENSITIVE = []
237
245
  include Aws::Structure
238
246
  end
239
247
 
@@ -245,6 +253,7 @@ module Aws::WorkMail
245
253
  #
246
254
  class CreateGroupResponse < Struct.new(
247
255
  :group_id)
256
+ SENSITIVE = []
248
257
  include Aws::Structure
249
258
  end
250
259
 
@@ -277,6 +286,7 @@ module Aws::WorkMail
277
286
  :organization_id,
278
287
  :name,
279
288
  :type)
289
+ SENSITIVE = []
280
290
  include Aws::Structure
281
291
  end
282
292
 
@@ -288,6 +298,7 @@ module Aws::WorkMail
288
298
  #
289
299
  class CreateResourceResponse < Struct.new(
290
300
  :resource_id)
301
+ SENSITIVE = []
291
302
  include Aws::Structure
292
303
  end
293
304
 
@@ -325,6 +336,7 @@ module Aws::WorkMail
325
336
  :name,
326
337
  :display_name,
327
338
  :password)
339
+ SENSITIVE = [:password]
328
340
  include Aws::Structure
329
341
  end
330
342
 
@@ -336,6 +348,7 @@ module Aws::WorkMail
336
348
  #
337
349
  class CreateUserResponse < Struct.new(
338
350
  :user_id)
351
+ SENSITIVE = []
339
352
  include Aws::Structure
340
353
  end
341
354
 
@@ -356,6 +369,7 @@ module Aws::WorkMail
356
369
  class Delegate < Struct.new(
357
370
  :id,
358
371
  :type)
372
+ SENSITIVE = []
359
373
  include Aws::Structure
360
374
  end
361
375
 
@@ -363,7 +377,7 @@ module Aws::WorkMail
363
377
  # data as a hash:
364
378
  #
365
379
  # {
366
- # organization_id: "OrganizationId",
380
+ # organization_id: "OrganizationId", # required
367
381
  # name: "AccessControlRuleName", # required
368
382
  # }
369
383
  #
@@ -380,6 +394,7 @@ module Aws::WorkMail
380
394
  class DeleteAccessControlRuleRequest < Struct.new(
381
395
  :organization_id,
382
396
  :name)
397
+ SENSITIVE = []
383
398
  include Aws::Structure
384
399
  end
385
400
 
@@ -417,6 +432,7 @@ module Aws::WorkMail
417
432
  :organization_id,
418
433
  :entity_id,
419
434
  :alias)
435
+ SENSITIVE = []
420
436
  include Aws::Structure
421
437
  end
422
438
 
@@ -445,6 +461,7 @@ module Aws::WorkMail
445
461
  class DeleteGroupRequest < Struct.new(
446
462
  :organization_id,
447
463
  :group_id)
464
+ SENSITIVE = []
448
465
  include Aws::Structure
449
466
  end
450
467
 
@@ -481,6 +498,7 @@ module Aws::WorkMail
481
498
  :organization_id,
482
499
  :entity_id,
483
500
  :grantee_id)
501
+ SENSITIVE = []
484
502
  include Aws::Structure
485
503
  end
486
504
 
@@ -510,6 +528,7 @@ module Aws::WorkMail
510
528
  class DeleteResourceRequest < Struct.new(
511
529
  :organization_id,
512
530
  :resource_id)
531
+ SENSITIVE = []
513
532
  include Aws::Structure
514
533
  end
515
534
 
@@ -517,6 +536,35 @@ module Aws::WorkMail
517
536
  #
518
537
  class DeleteResourceResponse < Aws::EmptyStructure; end
519
538
 
539
+ # @note When making an API call, you may pass DeleteRetentionPolicyRequest
540
+ # data as a hash:
541
+ #
542
+ # {
543
+ # organization_id: "OrganizationId", # required
544
+ # id: "ShortString", # required
545
+ # }
546
+ #
547
+ # @!attribute [rw] organization_id
548
+ # The organization ID.
549
+ # @return [String]
550
+ #
551
+ # @!attribute [rw] id
552
+ # The retention policy ID.
553
+ # @return [String]
554
+ #
555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteRetentionPolicyRequest AWS API Documentation
556
+ #
557
+ class DeleteRetentionPolicyRequest < Struct.new(
558
+ :organization_id,
559
+ :id)
560
+ SENSITIVE = []
561
+ include Aws::Structure
562
+ end
563
+
564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteRetentionPolicyResponse AWS API Documentation
565
+ #
566
+ class DeleteRetentionPolicyResponse < Aws::EmptyStructure; end
567
+
520
568
  # @note When making an API call, you may pass DeleteUserRequest
521
569
  # data as a hash:
522
570
  #
@@ -538,6 +586,7 @@ module Aws::WorkMail
538
586
  class DeleteUserRequest < Struct.new(
539
587
  :organization_id,
540
588
  :user_id)
589
+ SENSITIVE = []
541
590
  include Aws::Structure
542
591
  end
543
592
 
@@ -567,6 +616,7 @@ module Aws::WorkMail
567
616
  class DeregisterFromWorkMailRequest < Struct.new(
568
617
  :organization_id,
569
618
  :entity_id)
619
+ SENSITIVE = []
570
620
  include Aws::Structure
571
621
  end
572
622
 
@@ -595,6 +645,7 @@ module Aws::WorkMail
595
645
  class DescribeGroupRequest < Struct.new(
596
646
  :organization_id,
597
647
  :group_id)
648
+ SENSITIVE = []
598
649
  include Aws::Structure
599
650
  end
600
651
 
@@ -634,6 +685,7 @@ module Aws::WorkMail
634
685
  :state,
635
686
  :enabled_date,
636
687
  :disabled_date)
688
+ SENSITIVE = []
637
689
  include Aws::Structure
638
690
  end
639
691
 
@@ -652,6 +704,7 @@ module Aws::WorkMail
652
704
  #
653
705
  class DescribeOrganizationRequest < Struct.new(
654
706
  :organization_id)
707
+ SENSITIVE = []
655
708
  include Aws::Structure
656
709
  end
657
710
 
@@ -706,6 +759,7 @@ module Aws::WorkMail
706
759
  :completed_date,
707
760
  :error_message,
708
761
  :arn)
762
+ SENSITIVE = []
709
763
  include Aws::Structure
710
764
  end
711
765
 
@@ -731,6 +785,7 @@ module Aws::WorkMail
731
785
  class DescribeResourceRequest < Struct.new(
732
786
  :organization_id,
733
787
  :resource_id)
788
+ SENSITIVE = []
734
789
  include Aws::Structure
735
790
  end
736
791
 
@@ -780,6 +835,7 @@ module Aws::WorkMail
780
835
  :state,
781
836
  :enabled_date,
782
837
  :disabled_date)
838
+ SENSITIVE = []
783
839
  include Aws::Structure
784
840
  end
785
841
 
@@ -804,6 +860,7 @@ module Aws::WorkMail
804
860
  class DescribeUserRequest < Struct.new(
805
861
  :organization_id,
806
862
  :user_id)
863
+ SENSITIVE = []
807
864
  include Aws::Structure
808
865
  end
809
866
 
@@ -859,6 +916,7 @@ module Aws::WorkMail
859
916
  :user_role,
860
917
  :enabled_date,
861
918
  :disabled_date)
919
+ SENSITIVE = []
862
920
  include Aws::Structure
863
921
  end
864
922
 
@@ -872,6 +930,7 @@ module Aws::WorkMail
872
930
  #
873
931
  class DirectoryServiceAuthenticationFailedException < Struct.new(
874
932
  :message)
933
+ SENSITIVE = []
875
934
  include Aws::Structure
876
935
  end
877
936
 
@@ -885,6 +944,7 @@ module Aws::WorkMail
885
944
  #
886
945
  class DirectoryUnavailableException < Struct.new(
887
946
  :message)
947
+ SENSITIVE = []
888
948
  include Aws::Structure
889
949
  end
890
950
 
@@ -917,6 +977,7 @@ module Aws::WorkMail
917
977
  :organization_id,
918
978
  :resource_id,
919
979
  :entity_id)
980
+ SENSITIVE = []
920
981
  include Aws::Structure
921
982
  end
922
983
 
@@ -951,6 +1012,7 @@ module Aws::WorkMail
951
1012
  :organization_id,
952
1013
  :group_id,
953
1014
  :member_id)
1015
+ SENSITIVE = []
954
1016
  include Aws::Structure
955
1017
  end
956
1018
 
@@ -968,6 +1030,7 @@ module Aws::WorkMail
968
1030
  #
969
1031
  class EmailAddressInUseException < Struct.new(
970
1032
  :message)
1033
+ SENSITIVE = []
971
1034
  include Aws::Structure
972
1035
  end
973
1036
 
@@ -981,6 +1044,7 @@ module Aws::WorkMail
981
1044
  #
982
1045
  class EntityAlreadyRegisteredException < Struct.new(
983
1046
  :message)
1047
+ SENSITIVE = []
984
1048
  include Aws::Structure
985
1049
  end
986
1050
 
@@ -994,6 +1058,7 @@ module Aws::WorkMail
994
1058
  #
995
1059
  class EntityNotFoundException < Struct.new(
996
1060
  :message)
1061
+ SENSITIVE = []
997
1062
  include Aws::Structure
998
1063
  end
999
1064
 
@@ -1007,6 +1072,43 @@ module Aws::WorkMail
1007
1072
  #
1008
1073
  class EntityStateException < Struct.new(
1009
1074
  :message)
1075
+ SENSITIVE = []
1076
+ include Aws::Structure
1077
+ end
1078
+
1079
+ # The configuration applied to an organization's folders by its
1080
+ # retention policy.
1081
+ #
1082
+ # @note When making an API call, you may pass FolderConfiguration
1083
+ # data as a hash:
1084
+ #
1085
+ # {
1086
+ # name: "INBOX", # required, accepts INBOX, DELETED_ITEMS, SENT_ITEMS, DRAFTS, JUNK_EMAIL
1087
+ # action: "NONE", # required, accepts NONE, DELETE, PERMANENTLY_DELETE
1088
+ # period: 1,
1089
+ # }
1090
+ #
1091
+ # @!attribute [rw] name
1092
+ # The folder name.
1093
+ # @return [String]
1094
+ #
1095
+ # @!attribute [rw] action
1096
+ # The action to take on the folder contents at the end of the folder
1097
+ # configuration period.
1098
+ # @return [String]
1099
+ #
1100
+ # @!attribute [rw] period
1101
+ # The period of time at which the folder configuration action is
1102
+ # applied.
1103
+ # @return [Integer]
1104
+ #
1105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/FolderConfiguration AWS API Documentation
1106
+ #
1107
+ class FolderConfiguration < Struct.new(
1108
+ :name,
1109
+ :action,
1110
+ :period)
1111
+ SENSITIVE = []
1010
1112
  include Aws::Structure
1011
1113
  end
1012
1114
 
@@ -1045,6 +1147,7 @@ module Aws::WorkMail
1045
1147
  :ip_address,
1046
1148
  :action,
1047
1149
  :user_id)
1150
+ SENSITIVE = []
1048
1151
  include Aws::Structure
1049
1152
  end
1050
1153
 
@@ -1061,6 +1164,53 @@ module Aws::WorkMail
1061
1164
  class GetAccessControlEffectResponse < Struct.new(
1062
1165
  :effect,
1063
1166
  :matched_rules)
1167
+ SENSITIVE = []
1168
+ include Aws::Structure
1169
+ end
1170
+
1171
+ # @note When making an API call, you may pass GetDefaultRetentionPolicyRequest
1172
+ # data as a hash:
1173
+ #
1174
+ # {
1175
+ # organization_id: "OrganizationId", # required
1176
+ # }
1177
+ #
1178
+ # @!attribute [rw] organization_id
1179
+ # The organization ID.
1180
+ # @return [String]
1181
+ #
1182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetDefaultRetentionPolicyRequest AWS API Documentation
1183
+ #
1184
+ class GetDefaultRetentionPolicyRequest < Struct.new(
1185
+ :organization_id)
1186
+ SENSITIVE = []
1187
+ include Aws::Structure
1188
+ end
1189
+
1190
+ # @!attribute [rw] id
1191
+ # The retention policy ID.
1192
+ # @return [String]
1193
+ #
1194
+ # @!attribute [rw] name
1195
+ # The retention policy name.
1196
+ # @return [String]
1197
+ #
1198
+ # @!attribute [rw] description
1199
+ # The retention policy description.
1200
+ # @return [String]
1201
+ #
1202
+ # @!attribute [rw] folder_configurations
1203
+ # The retention policy folder configurations.
1204
+ # @return [Array<Types::FolderConfiguration>]
1205
+ #
1206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetDefaultRetentionPolicyResponse AWS API Documentation
1207
+ #
1208
+ class GetDefaultRetentionPolicyResponse < Struct.new(
1209
+ :id,
1210
+ :name,
1211
+ :description,
1212
+ :folder_configurations)
1213
+ SENSITIVE = []
1064
1214
  include Aws::Structure
1065
1215
  end
1066
1216
 
@@ -1087,6 +1237,7 @@ module Aws::WorkMail
1087
1237
  class GetMailboxDetailsRequest < Struct.new(
1088
1238
  :organization_id,
1089
1239
  :user_id)
1240
+ SENSITIVE = []
1090
1241
  include Aws::Structure
1091
1242
  end
1092
1243
 
@@ -1103,6 +1254,7 @@ module Aws::WorkMail
1103
1254
  class GetMailboxDetailsResponse < Struct.new(
1104
1255
  :mailbox_quota,
1105
1256
  :mailbox_size)
1257
+ SENSITIVE = []
1106
1258
  include Aws::Structure
1107
1259
  end
1108
1260
 
@@ -1143,6 +1295,7 @@ module Aws::WorkMail
1143
1295
  :state,
1144
1296
  :enabled_date,
1145
1297
  :disabled_date)
1298
+ SENSITIVE = []
1146
1299
  include Aws::Structure
1147
1300
  end
1148
1301
 
@@ -1157,6 +1310,7 @@ module Aws::WorkMail
1157
1310
  #
1158
1311
  class InvalidConfigurationException < Struct.new(
1159
1312
  :message)
1313
+ SENSITIVE = []
1160
1314
  include Aws::Structure
1161
1315
  end
1162
1316
 
@@ -1170,6 +1324,7 @@ module Aws::WorkMail
1170
1324
  #
1171
1325
  class InvalidParameterException < Struct.new(
1172
1326
  :message)
1327
+ SENSITIVE = []
1173
1328
  include Aws::Structure
1174
1329
  end
1175
1330
 
@@ -1183,6 +1338,7 @@ module Aws::WorkMail
1183
1338
  #
1184
1339
  class InvalidPasswordException < Struct.new(
1185
1340
  :message)
1341
+ SENSITIVE = []
1186
1342
  include Aws::Structure
1187
1343
  end
1188
1344
 
@@ -1195,6 +1351,7 @@ module Aws::WorkMail
1195
1351
  #
1196
1352
  class LimitExceededException < Struct.new(
1197
1353
  :message)
1354
+ SENSITIVE = []
1198
1355
  include Aws::Structure
1199
1356
  end
1200
1357
 
@@ -1213,6 +1370,7 @@ module Aws::WorkMail
1213
1370
  #
1214
1371
  class ListAccessControlRulesRequest < Struct.new(
1215
1372
  :organization_id)
1373
+ SENSITIVE = []
1216
1374
  include Aws::Structure
1217
1375
  end
1218
1376
 
@@ -1224,6 +1382,7 @@ module Aws::WorkMail
1224
1382
  #
1225
1383
  class ListAccessControlRulesResponse < Struct.new(
1226
1384
  :rules)
1385
+ SENSITIVE = []
1227
1386
  include Aws::Structure
1228
1387
  end
1229
1388
 
@@ -1261,6 +1420,7 @@ module Aws::WorkMail
1261
1420
  :entity_id,
1262
1421
  :next_token,
1263
1422
  :max_results)
1423
+ SENSITIVE = []
1264
1424
  include Aws::Structure
1265
1425
  end
1266
1426
 
@@ -1278,6 +1438,7 @@ module Aws::WorkMail
1278
1438
  class ListAliasesResponse < Struct.new(
1279
1439
  :aliases,
1280
1440
  :next_token)
1441
+ SENSITIVE = []
1281
1442
  include Aws::Structure
1282
1443
  end
1283
1444
 
@@ -1316,6 +1477,7 @@ module Aws::WorkMail
1316
1477
  :group_id,
1317
1478
  :next_token,
1318
1479
  :max_results)
1480
+ SENSITIVE = []
1319
1481
  include Aws::Structure
1320
1482
  end
1321
1483
 
@@ -1333,6 +1495,7 @@ module Aws::WorkMail
1333
1495
  class ListGroupMembersResponse < Struct.new(
1334
1496
  :members,
1335
1497
  :next_token)
1498
+ SENSITIVE = []
1336
1499
  include Aws::Structure
1337
1500
  end
1338
1501
 
@@ -1364,6 +1527,7 @@ module Aws::WorkMail
1364
1527
  :organization_id,
1365
1528
  :next_token,
1366
1529
  :max_results)
1530
+ SENSITIVE = []
1367
1531
  include Aws::Structure
1368
1532
  end
1369
1533
 
@@ -1381,6 +1545,7 @@ module Aws::WorkMail
1381
1545
  class ListGroupsResponse < Struct.new(
1382
1546
  :groups,
1383
1547
  :next_token)
1548
+ SENSITIVE = []
1384
1549
  include Aws::Structure
1385
1550
  end
1386
1551
 
@@ -1420,6 +1585,7 @@ module Aws::WorkMail
1420
1585
  :entity_id,
1421
1586
  :next_token,
1422
1587
  :max_results)
1588
+ SENSITIVE = []
1423
1589
  include Aws::Structure
1424
1590
  end
1425
1591
 
@@ -1437,6 +1603,7 @@ module Aws::WorkMail
1437
1603
  class ListMailboxPermissionsResponse < Struct.new(
1438
1604
  :permissions,
1439
1605
  :next_token)
1606
+ SENSITIVE = []
1440
1607
  include Aws::Structure
1441
1608
  end
1442
1609
 
@@ -1462,6 +1629,7 @@ module Aws::WorkMail
1462
1629
  class ListOrganizationsRequest < Struct.new(
1463
1630
  :next_token,
1464
1631
  :max_results)
1632
+ SENSITIVE = []
1465
1633
  include Aws::Structure
1466
1634
  end
1467
1635
 
@@ -1480,6 +1648,7 @@ module Aws::WorkMail
1480
1648
  class ListOrganizationsResponse < Struct.new(
1481
1649
  :organization_summaries,
1482
1650
  :next_token)
1651
+ SENSITIVE = []
1483
1652
  include Aws::Structure
1484
1653
  end
1485
1654
 
@@ -1518,6 +1687,7 @@ module Aws::WorkMail
1518
1687
  :resource_id,
1519
1688
  :next_token,
1520
1689
  :max_results)
1690
+ SENSITIVE = []
1521
1691
  include Aws::Structure
1522
1692
  end
1523
1693
 
@@ -1536,6 +1706,7 @@ module Aws::WorkMail
1536
1706
  class ListResourceDelegatesResponse < Struct.new(
1537
1707
  :delegates,
1538
1708
  :next_token)
1709
+ SENSITIVE = []
1539
1710
  include Aws::Structure
1540
1711
  end
1541
1712
 
@@ -1567,6 +1738,7 @@ module Aws::WorkMail
1567
1738
  :organization_id,
1568
1739
  :next_token,
1569
1740
  :max_results)
1741
+ SENSITIVE = []
1570
1742
  include Aws::Structure
1571
1743
  end
1572
1744
 
@@ -1585,6 +1757,7 @@ module Aws::WorkMail
1585
1757
  class ListResourcesResponse < Struct.new(
1586
1758
  :resources,
1587
1759
  :next_token)
1760
+ SENSITIVE = []
1588
1761
  include Aws::Structure
1589
1762
  end
1590
1763
 
@@ -1603,6 +1776,7 @@ module Aws::WorkMail
1603
1776
  #
1604
1777
  class ListTagsForResourceRequest < Struct.new(
1605
1778
  :resource_arn)
1779
+ SENSITIVE = []
1606
1780
  include Aws::Structure
1607
1781
  end
1608
1782
 
@@ -1614,6 +1788,7 @@ module Aws::WorkMail
1614
1788
  #
1615
1789
  class ListTagsForResourceResponse < Struct.new(
1616
1790
  :tags)
1791
+ SENSITIVE = []
1617
1792
  include Aws::Structure
1618
1793
  end
1619
1794
 
@@ -1645,6 +1820,7 @@ module Aws::WorkMail
1645
1820
  :organization_id,
1646
1821
  :next_token,
1647
1822
  :max_results)
1823
+ SENSITIVE = []
1648
1824
  include Aws::Structure
1649
1825
  end
1650
1826
 
@@ -1662,6 +1838,7 @@ module Aws::WorkMail
1662
1838
  class ListUsersResponse < Struct.new(
1663
1839
  :users,
1664
1840
  :next_token)
1841
+ SENSITIVE = []
1665
1842
  include Aws::Structure
1666
1843
  end
1667
1844
 
@@ -1675,6 +1852,7 @@ module Aws::WorkMail
1675
1852
  #
1676
1853
  class MailDomainNotFoundException < Struct.new(
1677
1854
  :message)
1855
+ SENSITIVE = []
1678
1856
  include Aws::Structure
1679
1857
  end
1680
1858
 
@@ -1688,6 +1866,7 @@ module Aws::WorkMail
1688
1866
  #
1689
1867
  class MailDomainStateException < Struct.new(
1690
1868
  :message)
1869
+ SENSITIVE = []
1691
1870
  include Aws::Structure
1692
1871
  end
1693
1872
 
@@ -1728,6 +1907,7 @@ module Aws::WorkMail
1728
1907
  :state,
1729
1908
  :enabled_date,
1730
1909
  :disabled_date)
1910
+ SENSITIVE = []
1731
1911
  include Aws::Structure
1732
1912
  end
1733
1913
 
@@ -1740,6 +1920,7 @@ module Aws::WorkMail
1740
1920
  #
1741
1921
  class NameAvailabilityException < Struct.new(
1742
1922
  :message)
1923
+ SENSITIVE = []
1743
1924
  include Aws::Structure
1744
1925
  end
1745
1926
 
@@ -1753,6 +1934,7 @@ module Aws::WorkMail
1753
1934
  #
1754
1935
  class OrganizationNotFoundException < Struct.new(
1755
1936
  :message)
1937
+ SENSITIVE = []
1756
1938
  include Aws::Structure
1757
1939
  end
1758
1940
 
@@ -1766,6 +1948,7 @@ module Aws::WorkMail
1766
1948
  #
1767
1949
  class OrganizationStateException < Struct.new(
1768
1950
  :message)
1951
+ SENSITIVE = []
1769
1952
  include Aws::Structure
1770
1953
  end
1771
1954
 
@@ -1797,6 +1980,7 @@ module Aws::WorkMail
1797
1980
  :alias,
1798
1981
  :error_message,
1799
1982
  :state)
1983
+ SENSITIVE = []
1800
1984
  include Aws::Structure
1801
1985
  end
1802
1986
 
@@ -1828,6 +2012,7 @@ module Aws::WorkMail
1828
2012
  :grantee_id,
1829
2013
  :grantee_type,
1830
2014
  :permission_values)
2015
+ SENSITIVE = []
1831
2016
  include Aws::Structure
1832
2017
  end
1833
2018
 
@@ -1904,6 +2089,7 @@ module Aws::WorkMail
1904
2089
  :user_ids,
1905
2090
  :not_user_ids,
1906
2091
  :organization_id)
2092
+ SENSITIVE = []
1907
2093
  include Aws::Structure
1908
2094
  end
1909
2095
 
@@ -1953,6 +2139,7 @@ module Aws::WorkMail
1953
2139
  :entity_id,
1954
2140
  :grantee_id,
1955
2141
  :permission_values)
2142
+ SENSITIVE = []
1956
2143
  include Aws::Structure
1957
2144
  end
1958
2145
 
@@ -1960,6 +2147,59 @@ module Aws::WorkMail
1960
2147
  #
1961
2148
  class PutMailboxPermissionsResponse < Aws::EmptyStructure; end
1962
2149
 
2150
+ # @note When making an API call, you may pass PutRetentionPolicyRequest
2151
+ # data as a hash:
2152
+ #
2153
+ # {
2154
+ # organization_id: "OrganizationId", # required
2155
+ # id: "ShortString",
2156
+ # name: "ShortString", # required
2157
+ # description: "PolicyDescription",
2158
+ # folder_configurations: [ # required
2159
+ # {
2160
+ # name: "INBOX", # required, accepts INBOX, DELETED_ITEMS, SENT_ITEMS, DRAFTS, JUNK_EMAIL
2161
+ # action: "NONE", # required, accepts NONE, DELETE, PERMANENTLY_DELETE
2162
+ # period: 1,
2163
+ # },
2164
+ # ],
2165
+ # }
2166
+ #
2167
+ # @!attribute [rw] organization_id
2168
+ # The organization ID.
2169
+ # @return [String]
2170
+ #
2171
+ # @!attribute [rw] id
2172
+ # The retention policy ID.
2173
+ # @return [String]
2174
+ #
2175
+ # @!attribute [rw] name
2176
+ # The retention policy name.
2177
+ # @return [String]
2178
+ #
2179
+ # @!attribute [rw] description
2180
+ # The retention policy description.
2181
+ # @return [String]
2182
+ #
2183
+ # @!attribute [rw] folder_configurations
2184
+ # The retention policy folder configurations.
2185
+ # @return [Array<Types::FolderConfiguration>]
2186
+ #
2187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutRetentionPolicyRequest AWS API Documentation
2188
+ #
2189
+ class PutRetentionPolicyRequest < Struct.new(
2190
+ :organization_id,
2191
+ :id,
2192
+ :name,
2193
+ :description,
2194
+ :folder_configurations)
2195
+ SENSITIVE = []
2196
+ include Aws::Structure
2197
+ end
2198
+
2199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutRetentionPolicyResponse AWS API Documentation
2200
+ #
2201
+ class PutRetentionPolicyResponse < Aws::EmptyStructure; end
2202
+
1963
2203
  # @note When making an API call, you may pass RegisterToWorkMailRequest
1964
2204
  # data as a hash:
1965
2205
  #
@@ -1988,6 +2228,7 @@ module Aws::WorkMail
1988
2228
  :organization_id,
1989
2229
  :entity_id,
1990
2230
  :email)
2231
+ SENSITIVE = []
1991
2232
  include Aws::Structure
1992
2233
  end
1993
2234
 
@@ -2004,6 +2245,7 @@ module Aws::WorkMail
2004
2245
  #
2005
2246
  class ReservedNameException < Struct.new(
2006
2247
  :message)
2248
+ SENSITIVE = []
2007
2249
  include Aws::Structure
2008
2250
  end
2009
2251
 
@@ -2035,6 +2277,7 @@ module Aws::WorkMail
2035
2277
  :organization_id,
2036
2278
  :user_id,
2037
2279
  :password)
2280
+ SENSITIVE = [:password]
2038
2281
  include Aws::Structure
2039
2282
  end
2040
2283
 
@@ -2085,6 +2328,7 @@ module Aws::WorkMail
2085
2328
  :state,
2086
2329
  :enabled_date,
2087
2330
  :disabled_date)
2331
+ SENSITIVE = []
2088
2332
  include Aws::Structure
2089
2333
  end
2090
2334
 
@@ -2097,6 +2341,7 @@ module Aws::WorkMail
2097
2341
  #
2098
2342
  class ResourceNotFoundException < Struct.new(
2099
2343
  :message)
2344
+ SENSITIVE = []
2100
2345
  include Aws::Structure
2101
2346
  end
2102
2347
 
@@ -2123,6 +2368,7 @@ module Aws::WorkMail
2123
2368
  class Tag < Struct.new(
2124
2369
  :key,
2125
2370
  :value)
2371
+ SENSITIVE = []
2126
2372
  include Aws::Structure
2127
2373
  end
2128
2374
 
@@ -2152,6 +2398,7 @@ module Aws::WorkMail
2152
2398
  class TagResourceRequest < Struct.new(
2153
2399
  :resource_arn,
2154
2400
  :tags)
2401
+ SENSITIVE = []
2155
2402
  include Aws::Structure
2156
2403
  end
2157
2404
 
@@ -2168,6 +2415,7 @@ module Aws::WorkMail
2168
2415
  #
2169
2416
  class TooManyTagsException < Struct.new(
2170
2417
  :message)
2418
+ SENSITIVE = []
2171
2419
  include Aws::Structure
2172
2420
  end
2173
2421
 
@@ -2180,6 +2428,7 @@ module Aws::WorkMail
2180
2428
  #
2181
2429
  class UnsupportedOperationException < Struct.new(
2182
2430
  :message)
2431
+ SENSITIVE = []
2183
2432
  include Aws::Structure
2184
2433
  end
2185
2434
 
@@ -2204,6 +2453,7 @@ module Aws::WorkMail
2204
2453
  class UntagResourceRequest < Struct.new(
2205
2454
  :resource_arn,
2206
2455
  :tag_keys)
2456
+ SENSITIVE = []
2207
2457
  include Aws::Structure
2208
2458
  end
2209
2459
 
@@ -2239,6 +2489,7 @@ module Aws::WorkMail
2239
2489
  :organization_id,
2240
2490
  :user_id,
2241
2491
  :mailbox_quota)
2492
+ SENSITIVE = []
2242
2493
  include Aws::Structure
2243
2494
  end
2244
2495
 
@@ -2274,6 +2525,7 @@ module Aws::WorkMail
2274
2525
  :organization_id,
2275
2526
  :entity_id,
2276
2527
  :email)
2528
+ SENSITIVE = []
2277
2529
  include Aws::Structure
2278
2530
  end
2279
2531
 
@@ -2319,6 +2571,7 @@ module Aws::WorkMail
2319
2571
  :resource_id,
2320
2572
  :name,
2321
2573
  :booking_options)
2574
+ SENSITIVE = []
2322
2575
  include Aws::Structure
2323
2576
  end
2324
2577
 
@@ -2373,6 +2626,7 @@ module Aws::WorkMail
2373
2626
  :user_role,
2374
2627
  :enabled_date,
2375
2628
  :disabled_date)
2629
+ SENSITIVE = []
2376
2630
  include Aws::Structure
2377
2631
  end
2378
2632