aws-sdk-workmail 1.57.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -87,6 +87,8 @@ module Aws::WorkMail
87
87
  DeregisterMailDomainResponse = Shapes::StructureShape.new(name: 'DeregisterMailDomainResponse')
88
88
  DescribeEmailMonitoringConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeEmailMonitoringConfigurationRequest')
89
89
  DescribeEmailMonitoringConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeEmailMonitoringConfigurationResponse')
90
+ DescribeEntityRequest = Shapes::StructureShape.new(name: 'DescribeEntityRequest')
91
+ DescribeEntityResponse = Shapes::StructureShape.new(name: 'DescribeEntityResponse')
90
92
  DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
91
93
  DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
92
94
  DescribeInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsRequest')
@@ -130,6 +132,7 @@ module Aws::WorkMail
130
132
  EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
131
133
  EntityState = Shapes::StringShape.new(name: 'EntityState')
132
134
  EntityStateException = Shapes::StructureShape.new(name: 'EntityStateException')
135
+ EntityType = Shapes::StringShape.new(name: 'EntityType')
133
136
  EwsAvailabilityProvider = Shapes::StructureShape.new(name: 'EwsAvailabilityProvider')
134
137
  ExpiresIn = Shapes::IntegerShape.new(name: 'ExpiresIn')
135
138
  ExternalUserName = Shapes::StringShape.new(name: 'ExternalUserName')
@@ -153,6 +156,8 @@ module Aws::WorkMail
153
156
  GetMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideRequest')
154
157
  GetMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideResponse')
155
158
  Group = Shapes::StructureShape.new(name: 'Group')
159
+ GroupIdentifier = Shapes::StructureShape.new(name: 'GroupIdentifier')
160
+ GroupIdentifiers = Shapes::ListShape.new(name: 'GroupIdentifiers')
156
161
  GroupName = Shapes::StringShape.new(name: 'GroupName')
157
162
  Groups = Shapes::ListShape.new(name: 'Groups')
158
163
  HostedZoneId = Shapes::StringShape.new(name: 'HostedZoneId')
@@ -192,6 +197,10 @@ module Aws::WorkMail
192
197
  ListAvailabilityConfigurationsResponse = Shapes::StructureShape.new(name: 'ListAvailabilityConfigurationsResponse')
193
198
  ListGroupMembersRequest = Shapes::StructureShape.new(name: 'ListGroupMembersRequest')
194
199
  ListGroupMembersResponse = Shapes::StructureShape.new(name: 'ListGroupMembersResponse')
200
+ ListGroupsFilters = Shapes::StructureShape.new(name: 'ListGroupsFilters')
201
+ ListGroupsForEntityFilters = Shapes::StructureShape.new(name: 'ListGroupsForEntityFilters')
202
+ ListGroupsForEntityRequest = Shapes::StructureShape.new(name: 'ListGroupsForEntityRequest')
203
+ ListGroupsForEntityResponse = Shapes::StructureShape.new(name: 'ListGroupsForEntityResponse')
195
204
  ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
196
205
  ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
197
206
  ListImpersonationRolesRequest = Shapes::StructureShape.new(name: 'ListImpersonationRolesRequest')
@@ -210,10 +219,12 @@ module Aws::WorkMail
210
219
  ListOrganizationsResponse = Shapes::StructureShape.new(name: 'ListOrganizationsResponse')
211
220
  ListResourceDelegatesRequest = Shapes::StructureShape.new(name: 'ListResourceDelegatesRequest')
212
221
  ListResourceDelegatesResponse = Shapes::StructureShape.new(name: 'ListResourceDelegatesResponse')
222
+ ListResourcesFilters = Shapes::StructureShape.new(name: 'ListResourcesFilters')
213
223
  ListResourcesRequest = Shapes::StructureShape.new(name: 'ListResourcesRequest')
214
224
  ListResourcesResponse = Shapes::StructureShape.new(name: 'ListResourcesResponse')
215
225
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
216
226
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
227
+ ListUsersFilters = Shapes::StructureShape.new(name: 'ListUsersFilters')
217
228
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
218
229
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
219
230
  LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
@@ -243,6 +254,7 @@ module Aws::WorkMail
243
254
  MobileDeviceAccessRuleName = Shapes::StringShape.new(name: 'MobileDeviceAccessRuleName')
244
255
  MobileDeviceAccessRulesList = Shapes::ListShape.new(name: 'MobileDeviceAccessRulesList')
245
256
  NameAvailabilityException = Shapes::StructureShape.new(name: 'NameAvailabilityException')
257
+ NewResourceDescription = Shapes::StringShape.new(name: 'NewResourceDescription')
246
258
  NextToken = Shapes::StringShape.new(name: 'NextToken')
247
259
  OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
248
260
  OrganizationName = Shapes::StringShape.new(name: 'OrganizationName')
@@ -279,6 +291,7 @@ module Aws::WorkMail
279
291
  ResetPasswordResponse = Shapes::StructureShape.new(name: 'ResetPasswordResponse')
280
292
  Resource = Shapes::StructureShape.new(name: 'Resource')
281
293
  ResourceDelegates = Shapes::ListShape.new(name: 'ResourceDelegates')
294
+ ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
282
295
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
283
296
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
284
297
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -312,6 +325,8 @@ module Aws::WorkMail
312
325
  UpdateAvailabilityConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAvailabilityConfigurationResponse')
313
326
  UpdateDefaultMailDomainRequest = Shapes::StructureShape.new(name: 'UpdateDefaultMailDomainRequest')
314
327
  UpdateDefaultMailDomainResponse = Shapes::StructureShape.new(name: 'UpdateDefaultMailDomainResponse')
328
+ UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
329
+ UpdateGroupResponse = Shapes::StructureShape.new(name: 'UpdateGroupResponse')
315
330
  UpdateImpersonationRoleRequest = Shapes::StructureShape.new(name: 'UpdateImpersonationRoleRequest')
316
331
  UpdateImpersonationRoleResponse = Shapes::StructureShape.new(name: 'UpdateImpersonationRoleResponse')
317
332
  UpdateMailboxQuotaRequest = Shapes::StructureShape.new(name: 'UpdateMailboxQuotaRequest')
@@ -322,8 +337,11 @@ module Aws::WorkMail
322
337
  UpdatePrimaryEmailAddressResponse = Shapes::StructureShape.new(name: 'UpdatePrimaryEmailAddressResponse')
323
338
  UpdateResourceRequest = Shapes::StructureShape.new(name: 'UpdateResourceRequest')
324
339
  UpdateResourceResponse = Shapes::StructureShape.new(name: 'UpdateResourceResponse')
340
+ UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
341
+ UpdateUserResponse = Shapes::StructureShape.new(name: 'UpdateUserResponse')
325
342
  Url = Shapes::StringShape.new(name: 'Url')
326
343
  User = Shapes::StructureShape.new(name: 'User')
344
+ UserAttribute = Shapes::StringShape.new(name: 'UserAttribute')
327
345
  UserIdList = Shapes::ListShape.new(name: 'UserIdList')
328
346
  UserName = Shapes::StringShape.new(name: 'UserName')
329
347
  UserRole = Shapes::StringShape.new(name: 'UserRole')
@@ -355,15 +373,15 @@ module Aws::WorkMail
355
373
  Aliases.member = Shapes::ShapeRef.new(shape: EmailAddress)
356
374
 
357
375
  AssociateDelegateToResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
358
- AssociateDelegateToResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
359
- AssociateDelegateToResourceRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
376
+ AssociateDelegateToResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "ResourceId"))
377
+ AssociateDelegateToResourceRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
360
378
  AssociateDelegateToResourceRequest.struct_class = Types::AssociateDelegateToResourceRequest
361
379
 
362
380
  AssociateDelegateToResourceResponse.struct_class = Types::AssociateDelegateToResourceResponse
363
381
 
364
382
  AssociateMemberToGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
365
- AssociateMemberToGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
366
- AssociateMemberToGroupRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "MemberId"))
383
+ AssociateMemberToGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "GroupId"))
384
+ AssociateMemberToGroupRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "MemberId"))
367
385
  AssociateMemberToGroupRequest.struct_class = Types::AssociateMemberToGroupRequest
368
386
 
369
387
  AssociateMemberToGroupResponse.struct_class = Types::AssociateMemberToGroupResponse
@@ -416,6 +434,7 @@ module Aws::WorkMail
416
434
 
417
435
  CreateGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
418
436
  CreateGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "Name"))
437
+ CreateGroupRequest.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiddenFromGlobalAddressList"))
419
438
  CreateGroupRequest.struct_class = Types::CreateGroupRequest
420
439
 
421
440
  CreateGroupResponse.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "GroupId"))
@@ -464,6 +483,8 @@ module Aws::WorkMail
464
483
  CreateResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
465
484
  CreateResourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
466
485
  CreateResourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "Type"))
486
+ CreateResourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
487
+ CreateResourceRequest.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiddenFromGlobalAddressList"))
467
488
  CreateResourceRequest.struct_class = Types::CreateResourceRequest
468
489
 
469
490
  CreateResourceResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
@@ -471,8 +492,12 @@ module Aws::WorkMail
471
492
 
472
493
  CreateUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
473
494
  CreateUserRequest.add_member(:name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "Name"))
474
- CreateUserRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DisplayName"))
475
- CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "Password"))
495
+ CreateUserRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: UserAttribute, required: true, location_name: "DisplayName"))
496
+ CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
497
+ CreateUserRequest.add_member(:role, Shapes::ShapeRef.new(shape: UserRole, location_name: "Role"))
498
+ CreateUserRequest.add_member(:first_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "FirstName"))
499
+ CreateUserRequest.add_member(:last_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "LastName"))
500
+ CreateUserRequest.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiddenFromGlobalAddressList"))
476
501
  CreateUserRequest.struct_class = Types::CreateUserRequest
477
502
 
478
503
  CreateUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
@@ -507,7 +532,7 @@ module Aws::WorkMail
507
532
  DeleteEmailMonitoringConfigurationResponse.struct_class = Types::DeleteEmailMonitoringConfigurationResponse
508
533
 
509
534
  DeleteGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
510
- DeleteGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
535
+ DeleteGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "GroupId"))
511
536
  DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
512
537
 
513
538
  DeleteGroupResponse.struct_class = Types::DeleteGroupResponse
@@ -519,8 +544,8 @@ module Aws::WorkMail
519
544
  DeleteImpersonationRoleResponse.struct_class = Types::DeleteImpersonationRoleResponse
520
545
 
521
546
  DeleteMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
522
- DeleteMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
523
- DeleteMailboxPermissionsRequest.add_member(:grantee_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GranteeId"))
547
+ DeleteMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
548
+ DeleteMailboxPermissionsRequest.add_member(:grantee_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "GranteeId"))
524
549
  DeleteMailboxPermissionsRequest.struct_class = Types::DeleteMailboxPermissionsRequest
525
550
 
526
551
  DeleteMailboxPermissionsResponse.struct_class = Types::DeleteMailboxPermissionsResponse
@@ -541,6 +566,7 @@ module Aws::WorkMail
541
566
  DeleteOrganizationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
542
567
  DeleteOrganizationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
543
568
  DeleteOrganizationRequest.add_member(:delete_directory, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "DeleteDirectory"))
569
+ DeleteOrganizationRequest.add_member(:force_delete, Shapes::ShapeRef.new(shape: Boolean, location_name: "ForceDelete"))
544
570
  DeleteOrganizationRequest.struct_class = Types::DeleteOrganizationRequest
545
571
 
546
572
  DeleteOrganizationResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
@@ -548,7 +574,7 @@ module Aws::WorkMail
548
574
  DeleteOrganizationResponse.struct_class = Types::DeleteOrganizationResponse
549
575
 
550
576
  DeleteResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
551
- DeleteResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
577
+ DeleteResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "ResourceId"))
552
578
  DeleteResourceRequest.struct_class = Types::DeleteResourceRequest
553
579
 
554
580
  DeleteResourceResponse.struct_class = Types::DeleteResourceResponse
@@ -560,13 +586,13 @@ module Aws::WorkMail
560
586
  DeleteRetentionPolicyResponse.struct_class = Types::DeleteRetentionPolicyResponse
561
587
 
562
588
  DeleteUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
563
- DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
589
+ DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
564
590
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
565
591
 
566
592
  DeleteUserResponse.struct_class = Types::DeleteUserResponse
567
593
 
568
594
  DeregisterFromWorkMailRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
569
- DeregisterFromWorkMailRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
595
+ DeregisterFromWorkMailRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
570
596
  DeregisterFromWorkMailRequest.struct_class = Types::DeregisterFromWorkMailRequest
571
597
 
572
598
  DeregisterFromWorkMailResponse.struct_class = Types::DeregisterFromWorkMailResponse
@@ -584,8 +610,17 @@ module Aws::WorkMail
584
610
  DescribeEmailMonitoringConfigurationResponse.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "LogGroupArn"))
585
611
  DescribeEmailMonitoringConfigurationResponse.struct_class = Types::DescribeEmailMonitoringConfigurationResponse
586
612
 
613
+ DescribeEntityRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
614
+ DescribeEntityRequest.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Email"))
615
+ DescribeEntityRequest.struct_class = Types::DescribeEntityRequest
616
+
617
+ DescribeEntityResponse.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "EntityId"))
618
+ DescribeEntityResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
619
+ DescribeEntityResponse.add_member(:type, Shapes::ShapeRef.new(shape: EntityType, location_name: "Type"))
620
+ DescribeEntityResponse.struct_class = Types::DescribeEntityResponse
621
+
587
622
  DescribeGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
588
- DescribeGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
623
+ DescribeGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "GroupId"))
589
624
  DescribeGroupRequest.struct_class = Types::DescribeGroupRequest
590
625
 
591
626
  DescribeGroupResponse.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "GroupId"))
@@ -594,6 +629,7 @@ module Aws::WorkMail
594
629
  DescribeGroupResponse.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
595
630
  DescribeGroupResponse.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
596
631
  DescribeGroupResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
632
+ DescribeGroupResponse.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiddenFromGlobalAddressList"))
597
633
  DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
598
634
 
599
635
  DescribeInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
@@ -632,10 +668,12 @@ module Aws::WorkMail
632
668
  DescribeOrganizationResponse.add_member(:completed_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletedDate"))
633
669
  DescribeOrganizationResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
634
670
  DescribeOrganizationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ARN"))
671
+ DescribeOrganizationResponse.add_member(:migration_admin, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "MigrationAdmin"))
672
+ DescribeOrganizationResponse.add_member(:interoperability_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InteroperabilityEnabled"))
635
673
  DescribeOrganizationResponse.struct_class = Types::DescribeOrganizationResponse
636
674
 
637
675
  DescribeResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
638
- DescribeResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
676
+ DescribeResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "ResourceId"))
639
677
  DescribeResourceRequest.struct_class = Types::DescribeResourceRequest
640
678
 
641
679
  DescribeResourceResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
@@ -646,20 +684,37 @@ module Aws::WorkMail
646
684
  DescribeResourceResponse.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
647
685
  DescribeResourceResponse.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
648
686
  DescribeResourceResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
687
+ DescribeResourceResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
688
+ DescribeResourceResponse.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiddenFromGlobalAddressList"))
649
689
  DescribeResourceResponse.struct_class = Types::DescribeResourceResponse
650
690
 
651
691
  DescribeUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
652
- DescribeUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
692
+ DescribeUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
653
693
  DescribeUserRequest.struct_class = Types::DescribeUserRequest
654
694
 
655
695
  DescribeUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
656
696
  DescribeUserResponse.add_member(:name, Shapes::ShapeRef.new(shape: UserName, location_name: "Name"))
657
697
  DescribeUserResponse.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
658
- DescribeUserResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "DisplayName"))
698
+ DescribeUserResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "DisplayName"))
659
699
  DescribeUserResponse.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
660
700
  DescribeUserResponse.add_member(:user_role, Shapes::ShapeRef.new(shape: UserRole, location_name: "UserRole"))
661
701
  DescribeUserResponse.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
662
702
  DescribeUserResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
703
+ DescribeUserResponse.add_member(:mailbox_provisioned_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "MailboxProvisionedDate"))
704
+ DescribeUserResponse.add_member(:mailbox_deprovisioned_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "MailboxDeprovisionedDate"))
705
+ DescribeUserResponse.add_member(:first_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "FirstName"))
706
+ DescribeUserResponse.add_member(:last_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "LastName"))
707
+ DescribeUserResponse.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiddenFromGlobalAddressList"))
708
+ DescribeUserResponse.add_member(:initials, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Initials"))
709
+ DescribeUserResponse.add_member(:telephone, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Telephone"))
710
+ DescribeUserResponse.add_member(:street, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Street"))
711
+ DescribeUserResponse.add_member(:job_title, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "JobTitle"))
712
+ DescribeUserResponse.add_member(:city, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "City"))
713
+ DescribeUserResponse.add_member(:company, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Company"))
714
+ DescribeUserResponse.add_member(:zip_code, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "ZipCode"))
715
+ DescribeUserResponse.add_member(:department, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Department"))
716
+ DescribeUserResponse.add_member(:country, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Country"))
717
+ DescribeUserResponse.add_member(:office, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Office"))
663
718
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
664
719
 
665
720
  DeviceModelList.member = Shapes::ShapeRef.new(shape: DeviceModel)
@@ -680,15 +735,15 @@ module Aws::WorkMail
680
735
  DirectoryUnavailableException.struct_class = Types::DirectoryUnavailableException
681
736
 
682
737
  DisassociateDelegateFromResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
683
- DisassociateDelegateFromResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
684
- DisassociateDelegateFromResourceRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
738
+ DisassociateDelegateFromResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "ResourceId"))
739
+ DisassociateDelegateFromResourceRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
685
740
  DisassociateDelegateFromResourceRequest.struct_class = Types::DisassociateDelegateFromResourceRequest
686
741
 
687
742
  DisassociateDelegateFromResourceResponse.struct_class = Types::DisassociateDelegateFromResourceResponse
688
743
 
689
744
  DisassociateMemberFromGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
690
- DisassociateMemberFromGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
691
- DisassociateMemberFromGroupRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "MemberId"))
745
+ DisassociateMemberFromGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "GroupId"))
746
+ DisassociateMemberFromGroupRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "MemberId"))
692
747
  DisassociateMemberFromGroupRequest.struct_class = Types::DisassociateMemberFromGroupRequest
693
748
 
694
749
  DisassociateMemberFromGroupResponse.struct_class = Types::DisassociateMemberFromGroupResponse
@@ -700,7 +755,7 @@ module Aws::WorkMail
700
755
 
701
756
  DnsRecords.member = Shapes::ShapeRef.new(shape: DnsRecord)
702
757
 
703
- Domain.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
758
+ Domain.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
704
759
  Domain.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: HostedZoneId, location_name: "HostedZoneId"))
705
760
  Domain.struct_class = Types::Domain
706
761
 
@@ -785,7 +840,7 @@ module Aws::WorkMail
785
840
  GetMailDomainResponse.struct_class = Types::GetMailDomainResponse
786
841
 
787
842
  GetMailboxDetailsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
788
- GetMailboxDetailsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
843
+ GetMailboxDetailsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
789
844
  GetMailboxDetailsRequest.struct_class = Types::GetMailboxDetailsRequest
790
845
 
791
846
  GetMailboxDetailsResponse.add_member(:mailbox_quota, Shapes::ShapeRef.new(shape: MailboxQuota, location_name: "MailboxQuota"))
@@ -824,6 +879,12 @@ module Aws::WorkMail
824
879
  Group.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
825
880
  Group.struct_class = Types::Group
826
881
 
882
+ GroupIdentifier.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "GroupId"))
883
+ GroupIdentifier.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
884
+ GroupIdentifier.struct_class = Types::GroupIdentifier
885
+
886
+ GroupIdentifiers.member = Shapes::ShapeRef.new(shape: GroupIdentifier)
887
+
827
888
  Groups.member = Shapes::ShapeRef.new(shape: Group)
828
889
 
829
890
  ImpersonationMatchedRule.add_member(:impersonation_rule_id, Shapes::ShapeRef.new(shape: ImpersonationRuleId, location_name: "ImpersonationRuleId"))
@@ -901,7 +962,7 @@ module Aws::WorkMail
901
962
  ListAvailabilityConfigurationsResponse.struct_class = Types::ListAvailabilityConfigurationsResponse
902
963
 
903
964
  ListGroupMembersRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
904
- ListGroupMembersRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
965
+ ListGroupMembersRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "GroupId"))
905
966
  ListGroupMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
906
967
  ListGroupMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
907
968
  ListGroupMembersRequest.struct_class = Types::ListGroupMembersRequest
@@ -910,9 +971,29 @@ module Aws::WorkMail
910
971
  ListGroupMembersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
911
972
  ListGroupMembersResponse.struct_class = Types::ListGroupMembersResponse
912
973
 
974
+ ListGroupsFilters.add_member(:name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "NamePrefix"))
975
+ ListGroupsFilters.add_member(:primary_email_prefix, Shapes::ShapeRef.new(shape: String, location_name: "PrimaryEmailPrefix"))
976
+ ListGroupsFilters.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
977
+ ListGroupsFilters.struct_class = Types::ListGroupsFilters
978
+
979
+ ListGroupsForEntityFilters.add_member(:group_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "GroupNamePrefix"))
980
+ ListGroupsForEntityFilters.struct_class = Types::ListGroupsForEntityFilters
981
+
982
+ ListGroupsForEntityRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
983
+ ListGroupsForEntityRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
984
+ ListGroupsForEntityRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListGroupsForEntityFilters, location_name: "Filters"))
985
+ ListGroupsForEntityRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
986
+ ListGroupsForEntityRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
987
+ ListGroupsForEntityRequest.struct_class = Types::ListGroupsForEntityRequest
988
+
989
+ ListGroupsForEntityResponse.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifiers, location_name: "Groups"))
990
+ ListGroupsForEntityResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
991
+ ListGroupsForEntityResponse.struct_class = Types::ListGroupsForEntityResponse
992
+
913
993
  ListGroupsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
914
994
  ListGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
915
995
  ListGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
996
+ ListGroupsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListGroupsFilters, location_name: "Filters"))
916
997
  ListGroupsRequest.struct_class = Types::ListGroupsRequest
917
998
 
918
999
  ListGroupsResponse.add_member(:groups, Shapes::ShapeRef.new(shape: Groups, location_name: "Groups"))
@@ -947,7 +1028,7 @@ module Aws::WorkMail
947
1028
  ListMailboxExportJobsResponse.struct_class = Types::ListMailboxExportJobsResponse
948
1029
 
949
1030
  ListMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
950
- ListMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
1031
+ ListMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
951
1032
  ListMailboxPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
952
1033
  ListMailboxPermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
953
1034
  ListMailboxPermissionsRequest.struct_class = Types::ListMailboxPermissionsRequest
@@ -982,7 +1063,7 @@ module Aws::WorkMail
982
1063
  ListOrganizationsResponse.struct_class = Types::ListOrganizationsResponse
983
1064
 
984
1065
  ListResourceDelegatesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
985
- ListResourceDelegatesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "ResourceId"))
1066
+ ListResourceDelegatesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "ResourceId"))
986
1067
  ListResourceDelegatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
987
1068
  ListResourceDelegatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
988
1069
  ListResourceDelegatesRequest.struct_class = Types::ListResourceDelegatesRequest
@@ -991,9 +1072,15 @@ module Aws::WorkMail
991
1072
  ListResourceDelegatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
992
1073
  ListResourceDelegatesResponse.struct_class = Types::ListResourceDelegatesResponse
993
1074
 
1075
+ ListResourcesFilters.add_member(:name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "NamePrefix"))
1076
+ ListResourcesFilters.add_member(:primary_email_prefix, Shapes::ShapeRef.new(shape: String, location_name: "PrimaryEmailPrefix"))
1077
+ ListResourcesFilters.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
1078
+ ListResourcesFilters.struct_class = Types::ListResourcesFilters
1079
+
994
1080
  ListResourcesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
995
1081
  ListResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
996
1082
  ListResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
1083
+ ListResourcesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListResourcesFilters, location_name: "Filters"))
997
1084
  ListResourcesRequest.struct_class = Types::ListResourcesRequest
998
1085
 
999
1086
  ListResourcesResponse.add_member(:resources, Shapes::ShapeRef.new(shape: Resources, location_name: "Resources"))
@@ -1006,9 +1093,16 @@ module Aws::WorkMail
1006
1093
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1007
1094
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1008
1095
 
1096
+ ListUsersFilters.add_member(:username_prefix, Shapes::ShapeRef.new(shape: String, location_name: "UsernamePrefix"))
1097
+ ListUsersFilters.add_member(:display_name_prefix, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "DisplayNamePrefix"))
1098
+ ListUsersFilters.add_member(:primary_email_prefix, Shapes::ShapeRef.new(shape: String, location_name: "PrimaryEmailPrefix"))
1099
+ ListUsersFilters.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
1100
+ ListUsersFilters.struct_class = Types::ListUsersFilters
1101
+
1009
1102
  ListUsersRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1010
1103
  ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1011
1104
  ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
1105
+ ListUsersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListUsersFilters, location_name: "Filters"))
1012
1106
  ListUsersRequest.struct_class = Types::ListUsersRequest
1013
1107
 
1014
1108
  ListUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: Users, location_name: "Users"))
@@ -1142,8 +1236,8 @@ module Aws::WorkMail
1142
1236
  PutInboundDmarcSettingsResponse.struct_class = Types::PutInboundDmarcSettingsResponse
1143
1237
 
1144
1238
  PutMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1145
- PutMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
1146
- PutMailboxPermissionsRequest.add_member(:grantee_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GranteeId"))
1239
+ PutMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
1240
+ PutMailboxPermissionsRequest.add_member(:grantee_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "GranteeId"))
1147
1241
  PutMailboxPermissionsRequest.add_member(:permission_values, Shapes::ShapeRef.new(shape: PermissionValues, required: true, location_name: "PermissionValues"))
1148
1242
  PutMailboxPermissionsRequest.struct_class = Types::PutMailboxPermissionsRequest
1149
1243
 
@@ -1179,7 +1273,7 @@ module Aws::WorkMail
1179
1273
  RegisterMailDomainResponse.struct_class = Types::RegisterMailDomainResponse
1180
1274
 
1181
1275
  RegisterToWorkMailRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1182
- RegisterToWorkMailRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
1276
+ RegisterToWorkMailRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
1183
1277
  RegisterToWorkMailRequest.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Email"))
1184
1278
  RegisterToWorkMailRequest.struct_class = Types::RegisterToWorkMailRequest
1185
1279
 
@@ -1202,6 +1296,7 @@ module Aws::WorkMail
1202
1296
  Resource.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
1203
1297
  Resource.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
1204
1298
  Resource.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
1299
+ Resource.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
1205
1300
  Resource.struct_class = Types::Resource
1206
1301
 
1207
1302
  ResourceDelegates.member = Shapes::ShapeRef.new(shape: Delegate)
@@ -1213,7 +1308,7 @@ module Aws::WorkMail
1213
1308
 
1214
1309
  StartMailboxExportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
1215
1310
  StartMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1216
- StartMailboxExportJobRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
1311
+ StartMailboxExportJobRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
1217
1312
  StartMailboxExportJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1218
1313
  StartMailboxExportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
1219
1314
  StartMailboxExportJobRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, required: true, location_name: "KmsKeyArn"))
@@ -1276,6 +1371,13 @@ module Aws::WorkMail
1276
1371
 
1277
1372
  UpdateDefaultMailDomainResponse.struct_class = Types::UpdateDefaultMailDomainResponse
1278
1373
 
1374
+ UpdateGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1375
+ UpdateGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "GroupId"))
1376
+ UpdateGroupRequest.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "HiddenFromGlobalAddressList"))
1377
+ UpdateGroupRequest.struct_class = Types::UpdateGroupRequest
1378
+
1379
+ UpdateGroupResponse.struct_class = Types::UpdateGroupResponse
1380
+
1279
1381
  UpdateImpersonationRoleRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1280
1382
  UpdateImpersonationRoleRequest.add_member(:impersonation_role_id, Shapes::ShapeRef.new(shape: ImpersonationRoleId, required: true, location_name: "ImpersonationRoleId"))
1281
1383
  UpdateImpersonationRoleRequest.add_member(:name, Shapes::ShapeRef.new(shape: ImpersonationRoleName, required: true, location_name: "Name"))
@@ -1287,7 +1389,7 @@ module Aws::WorkMail
1287
1389
  UpdateImpersonationRoleResponse.struct_class = Types::UpdateImpersonationRoleResponse
1288
1390
 
1289
1391
  UpdateMailboxQuotaRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1290
- UpdateMailboxQuotaRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
1392
+ UpdateMailboxQuotaRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
1291
1393
  UpdateMailboxQuotaRequest.add_member(:mailbox_quota, Shapes::ShapeRef.new(shape: MailboxQuota, required: true, location_name: "MailboxQuota"))
1292
1394
  UpdateMailboxQuotaRequest.struct_class = Types::UpdateMailboxQuotaRequest
1293
1395
 
@@ -1311,20 +1413,44 @@ module Aws::WorkMail
1311
1413
  UpdateMobileDeviceAccessRuleResponse.struct_class = Types::UpdateMobileDeviceAccessRuleResponse
1312
1414
 
1313
1415
  UpdatePrimaryEmailAddressRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1314
- UpdatePrimaryEmailAddressRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
1416
+ UpdatePrimaryEmailAddressRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "EntityId"))
1315
1417
  UpdatePrimaryEmailAddressRequest.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Email"))
1316
1418
  UpdatePrimaryEmailAddressRequest.struct_class = Types::UpdatePrimaryEmailAddressRequest
1317
1419
 
1318
1420
  UpdatePrimaryEmailAddressResponse.struct_class = Types::UpdatePrimaryEmailAddressResponse
1319
1421
 
1320
1422
  UpdateResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1321
- UpdateResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
1423
+ UpdateResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "ResourceId"))
1322
1424
  UpdateResourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "Name"))
1323
1425
  UpdateResourceRequest.add_member(:booking_options, Shapes::ShapeRef.new(shape: BookingOptions, location_name: "BookingOptions"))
1426
+ UpdateResourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: NewResourceDescription, location_name: "Description"))
1427
+ UpdateResourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type"))
1428
+ UpdateResourceRequest.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "HiddenFromGlobalAddressList"))
1324
1429
  UpdateResourceRequest.struct_class = Types::UpdateResourceRequest
1325
1430
 
1326
1431
  UpdateResourceResponse.struct_class = Types::UpdateResourceResponse
1327
1432
 
1433
+ UpdateUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
1434
+ UpdateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
1435
+ UpdateUserRequest.add_member(:role, Shapes::ShapeRef.new(shape: UserRole, location_name: "Role"))
1436
+ UpdateUserRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "DisplayName"))
1437
+ UpdateUserRequest.add_member(:first_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "FirstName"))
1438
+ UpdateUserRequest.add_member(:last_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "LastName"))
1439
+ UpdateUserRequest.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "HiddenFromGlobalAddressList"))
1440
+ UpdateUserRequest.add_member(:initials, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Initials"))
1441
+ UpdateUserRequest.add_member(:telephone, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Telephone"))
1442
+ UpdateUserRequest.add_member(:street, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Street"))
1443
+ UpdateUserRequest.add_member(:job_title, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "JobTitle"))
1444
+ UpdateUserRequest.add_member(:city, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "City"))
1445
+ UpdateUserRequest.add_member(:company, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Company"))
1446
+ UpdateUserRequest.add_member(:zip_code, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "ZipCode"))
1447
+ UpdateUserRequest.add_member(:department, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Department"))
1448
+ UpdateUserRequest.add_member(:country, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Country"))
1449
+ UpdateUserRequest.add_member(:office, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Office"))
1450
+ UpdateUserRequest.struct_class = Types::UpdateUserRequest
1451
+
1452
+ UpdateUserResponse.struct_class = Types::UpdateUserResponse
1453
+
1328
1454
  User.add_member(:id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "Id"))
1329
1455
  User.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
1330
1456
  User.add_member(:name, Shapes::ShapeRef.new(shape: UserName, location_name: "Name"))
@@ -1368,6 +1494,7 @@ module Aws::WorkMail
1368
1494
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1369
1495
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1370
1496
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1371
1498
  end)
1372
1499
 
1373
1500
  api.add_operation(:associate_member_to_group, Seahorse::Model::Operation.new.tap do |o|
@@ -1508,6 +1635,7 @@ module Aws::WorkMail
1508
1635
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1509
1636
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1510
1637
  o.errors << Shapes::ShapeRef.new(shape: ReservedNameException)
1638
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1511
1639
  end)
1512
1640
 
1513
1641
  api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
@@ -1654,6 +1782,7 @@ module Aws::WorkMail
1654
1782
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1655
1783
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1656
1784
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1785
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1657
1786
  end)
1658
1787
 
1659
1788
  api.add_operation(:delete_retention_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1720,6 +1849,18 @@ module Aws::WorkMail
1720
1849
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1721
1850
  end)
1722
1851
 
1852
+ api.add_operation(:describe_entity, Seahorse::Model::Operation.new.tap do |o|
1853
+ o.name = "DescribeEntity"
1854
+ o.http_method = "POST"
1855
+ o.http_request_uri = "/"
1856
+ o.input = Shapes::ShapeRef.new(shape: DescribeEntityRequest)
1857
+ o.output = Shapes::ShapeRef.new(shape: DescribeEntityResponse)
1858
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
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
+
1723
1864
  api.add_operation(:describe_group, Seahorse::Model::Operation.new.tap do |o|
1724
1865
  o.name = "DescribeGroup"
1725
1866
  o.http_method = "POST"
@@ -1774,6 +1915,7 @@ module Aws::WorkMail
1774
1915
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1775
1916
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1776
1917
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1918
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1777
1919
  end)
1778
1920
 
1779
1921
  api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
@@ -1799,6 +1941,7 @@ module Aws::WorkMail
1799
1941
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1800
1942
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1801
1943
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1944
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1802
1945
  end)
1803
1946
 
1804
1947
  api.add_operation(:disassociate_member_from_group, Seahorse::Model::Operation.new.tap do |o|
@@ -1886,6 +2029,7 @@ module Aws::WorkMail
1886
2029
  o.http_request_uri = "/"
1887
2030
  o.input = Shapes::ShapeRef.new(shape: GetMailboxDetailsRequest)
1888
2031
  o.output = Shapes::ShapeRef.new(shape: GetMailboxDetailsResponse)
2032
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1889
2033
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1890
2034
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1891
2035
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
@@ -1997,6 +2141,25 @@ module Aws::WorkMail
1997
2141
  )
1998
2142
  end)
1999
2143
 
2144
+ api.add_operation(:list_groups_for_entity, Seahorse::Model::Operation.new.tap do |o|
2145
+ o.name = "ListGroupsForEntity"
2146
+ o.http_method = "POST"
2147
+ o.http_request_uri = "/"
2148
+ o.input = Shapes::ShapeRef.new(shape: ListGroupsForEntityRequest)
2149
+ o.output = Shapes::ShapeRef.new(shape: ListGroupsForEntityResponse)
2150
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
2151
+ o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
2152
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2153
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
2154
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2155
+ o[:pager] = Aws::Pager.new(
2156
+ limit_key: "max_results",
2157
+ tokens: {
2158
+ "next_token" => "next_token"
2159
+ }
2160
+ )
2161
+ end)
2162
+
2000
2163
  api.add_operation(:list_impersonation_roles, Seahorse::Model::Operation.new.tap do |o|
2001
2164
  o.name = "ListImpersonationRoles"
2002
2165
  o.http_method = "POST"
@@ -2121,6 +2284,7 @@ module Aws::WorkMail
2121
2284
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2122
2285
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2123
2286
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
2287
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2124
2288
  o[:pager] = Aws::Pager.new(
2125
2289
  limit_key: "max_results",
2126
2290
  tokens: {
@@ -2138,6 +2302,7 @@ module Aws::WorkMail
2138
2302
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2139
2303
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2140
2304
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
2305
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2141
2306
  o[:pager] = Aws::Pager.new(
2142
2307
  limit_key: "max_results",
2143
2308
  tokens: {
@@ -2314,6 +2479,7 @@ module Aws::WorkMail
2314
2479
  o.http_request_uri = "/"
2315
2480
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2316
2481
  o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
2482
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2317
2483
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2318
2484
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2319
2485
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
@@ -2365,6 +2531,20 @@ module Aws::WorkMail
2365
2531
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2366
2532
  end)
2367
2533
 
2534
+ api.add_operation(:update_group, Seahorse::Model::Operation.new.tap do |o|
2535
+ o.name = "UpdateGroup"
2536
+ o.http_method = "POST"
2537
+ o.http_request_uri = "/"
2538
+ o.input = Shapes::ShapeRef.new(shape: UpdateGroupRequest)
2539
+ o.output = Shapes::ShapeRef.new(shape: UpdateGroupResponse)
2540
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
2541
+ o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
2542
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2543
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
2544
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2545
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2546
+ end)
2547
+
2368
2548
  api.add_operation(:update_impersonation_role, Seahorse::Model::Operation.new.tap do |o|
2369
2549
  o.name = "UpdateImpersonationRole"
2370
2550
  o.http_method = "POST"
@@ -2441,6 +2621,24 @@ module Aws::WorkMail
2441
2621
  o.errors << Shapes::ShapeRef.new(shape: NameAvailabilityException)
2442
2622
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2443
2623
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
2624
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2625
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2626
+ end)
2627
+
2628
+ api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
2629
+ o.name = "UpdateUser"
2630
+ o.http_method = "POST"
2631
+ o.http_request_uri = "/"
2632
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest)
2633
+ o.output = Shapes::ShapeRef.new(shape: UpdateUserResponse)
2634
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
2635
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
2636
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
2637
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2638
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
2639
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
2640
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2641
+ o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
2444
2642
  end)
2445
2643
  end
2446
2644