aws-sdk-workmail 1.77.0 → 1.78.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workmail/client.rb +323 -3
- data/lib/aws-sdk-workmail/client_api.rb +225 -0
- data/lib/aws-sdk-workmail/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-workmail/types.rb +422 -11
- data/lib/aws-sdk-workmail.rb +1 -1
- data/sig/client.rbs +111 -4
- data/sig/types.rbs +126 -4
- metadata +2 -2
@@ -25,6 +25,7 @@ module Aws::WorkMail
|
|
25
25
|
ActionsList = Shapes::ListShape.new(name: 'ActionsList')
|
26
26
|
Aliases = Shapes::ListShape.new(name: 'Aliases')
|
27
27
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
28
|
+
ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
|
28
29
|
AssociateDelegateToResourceRequest = Shapes::StructureShape.new(name: 'AssociateDelegateToResourceRequest')
|
29
30
|
AssociateDelegateToResourceResponse = Shapes::StructureShape.new(name: 'AssociateDelegateToResourceResponse')
|
30
31
|
AssociateMemberToGroupRequest = Shapes::StructureShape.new(name: 'AssociateMemberToGroupRequest')
|
@@ -45,6 +46,8 @@ module Aws::WorkMail
|
|
45
46
|
CreateAvailabilityConfigurationResponse = Shapes::StructureShape.new(name: 'CreateAvailabilityConfigurationResponse')
|
46
47
|
CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
|
47
48
|
CreateGroupResponse = Shapes::StructureShape.new(name: 'CreateGroupResponse')
|
49
|
+
CreateIdentityCenterApplicationRequest = Shapes::StructureShape.new(name: 'CreateIdentityCenterApplicationRequest')
|
50
|
+
CreateIdentityCenterApplicationResponse = Shapes::StructureShape.new(name: 'CreateIdentityCenterApplicationResponse')
|
48
51
|
CreateImpersonationRoleRequest = Shapes::StructureShape.new(name: 'CreateImpersonationRoleRequest')
|
49
52
|
CreateImpersonationRoleResponse = Shapes::StructureShape.new(name: 'CreateImpersonationRoleResponse')
|
50
53
|
CreateMobileDeviceAccessRuleRequest = Shapes::StructureShape.new(name: 'CreateMobileDeviceAccessRuleRequest')
|
@@ -66,6 +69,10 @@ module Aws::WorkMail
|
|
66
69
|
DeleteEmailMonitoringConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteEmailMonitoringConfigurationResponse')
|
67
70
|
DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
|
68
71
|
DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
|
72
|
+
DeleteIdentityCenterApplicationRequest = Shapes::StructureShape.new(name: 'DeleteIdentityCenterApplicationRequest')
|
73
|
+
DeleteIdentityCenterApplicationResponse = Shapes::StructureShape.new(name: 'DeleteIdentityCenterApplicationResponse')
|
74
|
+
DeleteIdentityProviderConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteIdentityProviderConfigurationRequest')
|
75
|
+
DeleteIdentityProviderConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteIdentityProviderConfigurationResponse')
|
69
76
|
DeleteImpersonationRoleRequest = Shapes::StructureShape.new(name: 'DeleteImpersonationRoleRequest')
|
70
77
|
DeleteImpersonationRoleResponse = Shapes::StructureShape.new(name: 'DeleteImpersonationRoleResponse')
|
71
78
|
DeleteMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsRequest')
|
@@ -76,6 +83,8 @@ module Aws::WorkMail
|
|
76
83
|
DeleteMobileDeviceAccessRuleResponse = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessRuleResponse')
|
77
84
|
DeleteOrganizationRequest = Shapes::StructureShape.new(name: 'DeleteOrganizationRequest')
|
78
85
|
DeleteOrganizationResponse = Shapes::StructureShape.new(name: 'DeleteOrganizationResponse')
|
86
|
+
DeletePersonalAccessTokenRequest = Shapes::StructureShape.new(name: 'DeletePersonalAccessTokenRequest')
|
87
|
+
DeletePersonalAccessTokenResponse = Shapes::StructureShape.new(name: 'DeletePersonalAccessTokenResponse')
|
79
88
|
DeleteResourceRequest = Shapes::StructureShape.new(name: 'DeleteResourceRequest')
|
80
89
|
DeleteResourceResponse = Shapes::StructureShape.new(name: 'DeleteResourceResponse')
|
81
90
|
DeleteRetentionPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRetentionPolicyRequest')
|
@@ -92,6 +101,8 @@ module Aws::WorkMail
|
|
92
101
|
DescribeEntityResponse = Shapes::StructureShape.new(name: 'DescribeEntityResponse')
|
93
102
|
DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
|
94
103
|
DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
|
104
|
+
DescribeIdentityProviderConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigurationRequest')
|
105
|
+
DescribeIdentityProviderConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigurationResponse')
|
95
106
|
DescribeInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsRequest')
|
96
107
|
DescribeInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsResponse')
|
97
108
|
DescribeMailboxExportJobRequest = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobRequest')
|
@@ -156,6 +167,8 @@ module Aws::WorkMail
|
|
156
167
|
GetMobileDeviceAccessEffectResponse = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessEffectResponse')
|
157
168
|
GetMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideRequest')
|
158
169
|
GetMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideResponse')
|
170
|
+
GetPersonalAccessTokenMetadataRequest = Shapes::StructureShape.new(name: 'GetPersonalAccessTokenMetadataRequest')
|
171
|
+
GetPersonalAccessTokenMetadataResponse = Shapes::StructureShape.new(name: 'GetPersonalAccessTokenMetadataResponse')
|
159
172
|
Group = Shapes::StructureShape.new(name: 'Group')
|
160
173
|
GroupIdentifier = Shapes::StructureShape.new(name: 'GroupIdentifier')
|
161
174
|
GroupIdentifiers = Shapes::ListShape.new(name: 'GroupIdentifiers')
|
@@ -163,6 +176,13 @@ module Aws::WorkMail
|
|
163
176
|
Groups = Shapes::ListShape.new(name: 'Groups')
|
164
177
|
HostedZoneId = Shapes::StringShape.new(name: 'HostedZoneId')
|
165
178
|
IdempotencyClientToken = Shapes::StringShape.new(name: 'IdempotencyClientToken')
|
179
|
+
IdentityCenterApplicationName = Shapes::StringShape.new(name: 'IdentityCenterApplicationName')
|
180
|
+
IdentityCenterConfiguration = Shapes::StructureShape.new(name: 'IdentityCenterConfiguration')
|
181
|
+
IdentityProviderAuthenticationMode = Shapes::StringShape.new(name: 'IdentityProviderAuthenticationMode')
|
182
|
+
IdentityProviderIdentityStoreId = Shapes::StringShape.new(name: 'IdentityProviderIdentityStoreId')
|
183
|
+
IdentityProviderUserId = Shapes::StringShape.new(name: 'IdentityProviderUserId')
|
184
|
+
IdentityProviderUserIdForUpdate = Shapes::StringShape.new(name: 'IdentityProviderUserIdForUpdate')
|
185
|
+
IdentityProviderUserIdPrefix = Shapes::StringShape.new(name: 'IdentityProviderUserIdPrefix')
|
166
186
|
ImpersonationMatchedRule = Shapes::StructureShape.new(name: 'ImpersonationMatchedRule')
|
167
187
|
ImpersonationMatchedRuleList = Shapes::ListShape.new(name: 'ImpersonationMatchedRuleList')
|
168
188
|
ImpersonationRole = Shapes::StructureShape.new(name: 'ImpersonationRole')
|
@@ -178,6 +198,7 @@ module Aws::WorkMail
|
|
178
198
|
ImpersonationRuleList = Shapes::ListShape.new(name: 'ImpersonationRuleList')
|
179
199
|
ImpersonationRuleName = Shapes::StringShape.new(name: 'ImpersonationRuleName')
|
180
200
|
ImpersonationToken = Shapes::StringShape.new(name: 'ImpersonationToken')
|
201
|
+
InstanceArn = Shapes::StringShape.new(name: 'InstanceArn')
|
181
202
|
InvalidConfigurationException = Shapes::StructureShape.new(name: 'InvalidConfigurationException')
|
182
203
|
InvalidCustomSesConfigurationException = Shapes::StructureShape.new(name: 'InvalidCustomSesConfigurationException')
|
183
204
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
@@ -218,6 +239,8 @@ module Aws::WorkMail
|
|
218
239
|
ListMobileDeviceAccessRulesResponse = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessRulesResponse')
|
219
240
|
ListOrganizationsRequest = Shapes::StructureShape.new(name: 'ListOrganizationsRequest')
|
220
241
|
ListOrganizationsResponse = Shapes::StructureShape.new(name: 'ListOrganizationsResponse')
|
242
|
+
ListPersonalAccessTokensRequest = Shapes::StructureShape.new(name: 'ListPersonalAccessTokensRequest')
|
243
|
+
ListPersonalAccessTokensResponse = Shapes::StructureShape.new(name: 'ListPersonalAccessTokensResponse')
|
221
244
|
ListResourceDelegatesRequest = Shapes::StructureShape.new(name: 'ListResourceDelegatesRequest')
|
222
245
|
ListResourceDelegatesResponse = Shapes::StructureShape.new(name: 'ListResourceDelegatesResponse')
|
223
246
|
ListResourcesFilters = Shapes::StructureShape.new(name: 'ListResourcesFilters')
|
@@ -269,11 +292,22 @@ module Aws::WorkMail
|
|
269
292
|
PermissionType = Shapes::StringShape.new(name: 'PermissionType')
|
270
293
|
PermissionValues = Shapes::ListShape.new(name: 'PermissionValues')
|
271
294
|
Permissions = Shapes::ListShape.new(name: 'Permissions')
|
295
|
+
PersonalAccessTokenConfiguration = Shapes::StructureShape.new(name: 'PersonalAccessTokenConfiguration')
|
296
|
+
PersonalAccessTokenConfigurationStatus = Shapes::StringShape.new(name: 'PersonalAccessTokenConfigurationStatus')
|
297
|
+
PersonalAccessTokenId = Shapes::StringShape.new(name: 'PersonalAccessTokenId')
|
298
|
+
PersonalAccessTokenLifetimeInDays = Shapes::IntegerShape.new(name: 'PersonalAccessTokenLifetimeInDays')
|
299
|
+
PersonalAccessTokenName = Shapes::StringShape.new(name: 'PersonalAccessTokenName')
|
300
|
+
PersonalAccessTokenScope = Shapes::StringShape.new(name: 'PersonalAccessTokenScope')
|
301
|
+
PersonalAccessTokenScopeList = Shapes::ListShape.new(name: 'PersonalAccessTokenScopeList')
|
302
|
+
PersonalAccessTokenSummary = Shapes::StructureShape.new(name: 'PersonalAccessTokenSummary')
|
303
|
+
PersonalAccessTokenSummaryList = Shapes::ListShape.new(name: 'PersonalAccessTokenSummaryList')
|
272
304
|
PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
|
273
305
|
PutAccessControlRuleRequest = Shapes::StructureShape.new(name: 'PutAccessControlRuleRequest')
|
274
306
|
PutAccessControlRuleResponse = Shapes::StructureShape.new(name: 'PutAccessControlRuleResponse')
|
275
307
|
PutEmailMonitoringConfigurationRequest = Shapes::StructureShape.new(name: 'PutEmailMonitoringConfigurationRequest')
|
276
308
|
PutEmailMonitoringConfigurationResponse = Shapes::StructureShape.new(name: 'PutEmailMonitoringConfigurationResponse')
|
309
|
+
PutIdentityProviderConfigurationRequest = Shapes::StructureShape.new(name: 'PutIdentityProviderConfigurationRequest')
|
310
|
+
PutIdentityProviderConfigurationResponse = Shapes::StructureShape.new(name: 'PutIdentityProviderConfigurationResponse')
|
277
311
|
PutInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsRequest')
|
278
312
|
PutInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsResponse')
|
279
313
|
PutMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'PutMailboxPermissionsRequest')
|
@@ -441,6 +475,14 @@ module Aws::WorkMail
|
|
441
475
|
CreateGroupResponse.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "GroupId"))
|
442
476
|
CreateGroupResponse.struct_class = Types::CreateGroupResponse
|
443
477
|
|
478
|
+
CreateIdentityCenterApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: IdentityCenterApplicationName, required: true, location_name: "Name"))
|
479
|
+
CreateIdentityCenterApplicationRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
|
480
|
+
CreateIdentityCenterApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
481
|
+
CreateIdentityCenterApplicationRequest.struct_class = Types::CreateIdentityCenterApplicationRequest
|
482
|
+
|
483
|
+
CreateIdentityCenterApplicationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "ApplicationArn"))
|
484
|
+
CreateIdentityCenterApplicationResponse.struct_class = Types::CreateIdentityCenterApplicationResponse
|
485
|
+
|
444
486
|
CreateImpersonationRoleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
445
487
|
CreateImpersonationRoleRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
446
488
|
CreateImpersonationRoleRequest.add_member(:name, Shapes::ShapeRef.new(shape: ImpersonationRoleName, required: true, location_name: "Name"))
|
@@ -499,6 +541,7 @@ module Aws::WorkMail
|
|
499
541
|
CreateUserRequest.add_member(:first_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "FirstName"))
|
500
542
|
CreateUserRequest.add_member(:last_name, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "LastName"))
|
501
543
|
CreateUserRequest.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiddenFromGlobalAddressList"))
|
544
|
+
CreateUserRequest.add_member(:identity_provider_user_id, Shapes::ShapeRef.new(shape: IdentityProviderUserId, location_name: "IdentityProviderUserId"))
|
502
545
|
CreateUserRequest.struct_class = Types::CreateUserRequest
|
503
546
|
|
504
547
|
CreateUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
|
@@ -538,6 +581,16 @@ module Aws::WorkMail
|
|
538
581
|
|
539
582
|
DeleteGroupResponse.struct_class = Types::DeleteGroupResponse
|
540
583
|
|
584
|
+
DeleteIdentityCenterApplicationRequest.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "ApplicationArn"))
|
585
|
+
DeleteIdentityCenterApplicationRequest.struct_class = Types::DeleteIdentityCenterApplicationRequest
|
586
|
+
|
587
|
+
DeleteIdentityCenterApplicationResponse.struct_class = Types::DeleteIdentityCenterApplicationResponse
|
588
|
+
|
589
|
+
DeleteIdentityProviderConfigurationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
590
|
+
DeleteIdentityProviderConfigurationRequest.struct_class = Types::DeleteIdentityProviderConfigurationRequest
|
591
|
+
|
592
|
+
DeleteIdentityProviderConfigurationResponse.struct_class = Types::DeleteIdentityProviderConfigurationResponse
|
593
|
+
|
541
594
|
DeleteImpersonationRoleRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
542
595
|
DeleteImpersonationRoleRequest.add_member(:impersonation_role_id, Shapes::ShapeRef.new(shape: ImpersonationRoleId, required: true, location_name: "ImpersonationRoleId"))
|
543
596
|
DeleteImpersonationRoleRequest.struct_class = Types::DeleteImpersonationRoleRequest
|
@@ -568,12 +621,19 @@ module Aws::WorkMail
|
|
568
621
|
DeleteOrganizationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
569
622
|
DeleteOrganizationRequest.add_member(:delete_directory, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "DeleteDirectory"))
|
570
623
|
DeleteOrganizationRequest.add_member(:force_delete, Shapes::ShapeRef.new(shape: Boolean, location_name: "ForceDelete"))
|
624
|
+
DeleteOrganizationRequest.add_member(:delete_identity_center_application, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteIdentityCenterApplication"))
|
571
625
|
DeleteOrganizationRequest.struct_class = Types::DeleteOrganizationRequest
|
572
626
|
|
573
627
|
DeleteOrganizationResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
|
574
628
|
DeleteOrganizationResponse.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
|
575
629
|
DeleteOrganizationResponse.struct_class = Types::DeleteOrganizationResponse
|
576
630
|
|
631
|
+
DeletePersonalAccessTokenRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
632
|
+
DeletePersonalAccessTokenRequest.add_member(:personal_access_token_id, Shapes::ShapeRef.new(shape: PersonalAccessTokenId, required: true, location_name: "PersonalAccessTokenId"))
|
633
|
+
DeletePersonalAccessTokenRequest.struct_class = Types::DeletePersonalAccessTokenRequest
|
634
|
+
|
635
|
+
DeletePersonalAccessTokenResponse.struct_class = Types::DeletePersonalAccessTokenResponse
|
636
|
+
|
577
637
|
DeleteResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
578
638
|
DeleteResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "ResourceId"))
|
579
639
|
DeleteResourceRequest.struct_class = Types::DeleteResourceRequest
|
@@ -633,6 +693,14 @@ module Aws::WorkMail
|
|
633
693
|
DescribeGroupResponse.add_member(:hidden_from_global_address_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiddenFromGlobalAddressList"))
|
634
694
|
DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
|
635
695
|
|
696
|
+
DescribeIdentityProviderConfigurationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
697
|
+
DescribeIdentityProviderConfigurationRequest.struct_class = Types::DescribeIdentityProviderConfigurationRequest
|
698
|
+
|
699
|
+
DescribeIdentityProviderConfigurationResponse.add_member(:authentication_mode, Shapes::ShapeRef.new(shape: IdentityProviderAuthenticationMode, location_name: "AuthenticationMode"))
|
700
|
+
DescribeIdentityProviderConfigurationResponse.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfiguration, location_name: "IdentityCenterConfiguration"))
|
701
|
+
DescribeIdentityProviderConfigurationResponse.add_member(:personal_access_token_configuration, Shapes::ShapeRef.new(shape: PersonalAccessTokenConfiguration, location_name: "PersonalAccessTokenConfiguration"))
|
702
|
+
DescribeIdentityProviderConfigurationResponse.struct_class = Types::DescribeIdentityProviderConfigurationResponse
|
703
|
+
|
636
704
|
DescribeInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
637
705
|
DescribeInboundDmarcSettingsRequest.struct_class = Types::DescribeInboundDmarcSettingsRequest
|
638
706
|
|
@@ -716,6 +784,8 @@ module Aws::WorkMail
|
|
716
784
|
DescribeUserResponse.add_member(:department, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Department"))
|
717
785
|
DescribeUserResponse.add_member(:country, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Country"))
|
718
786
|
DescribeUserResponse.add_member(:office, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Office"))
|
787
|
+
DescribeUserResponse.add_member(:identity_provider_user_id, Shapes::ShapeRef.new(shape: IdentityProviderUserId, location_name: "IdentityProviderUserId"))
|
788
|
+
DescribeUserResponse.add_member(:identity_provider_identity_store_id, Shapes::ShapeRef.new(shape: IdentityProviderIdentityStoreId, location_name: "IdentityProviderIdentityStoreId"))
|
719
789
|
DescribeUserResponse.struct_class = Types::DescribeUserResponse
|
720
790
|
|
721
791
|
DeviceModelList.member = Shapes::ShapeRef.new(shape: DeviceModel)
|
@@ -872,6 +942,19 @@ module Aws::WorkMail
|
|
872
942
|
GetMobileDeviceAccessOverrideResponse.add_member(:date_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateModified"))
|
873
943
|
GetMobileDeviceAccessOverrideResponse.struct_class = Types::GetMobileDeviceAccessOverrideResponse
|
874
944
|
|
945
|
+
GetPersonalAccessTokenMetadataRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
946
|
+
GetPersonalAccessTokenMetadataRequest.add_member(:personal_access_token_id, Shapes::ShapeRef.new(shape: PersonalAccessTokenId, required: true, location_name: "PersonalAccessTokenId"))
|
947
|
+
GetPersonalAccessTokenMetadataRequest.struct_class = Types::GetPersonalAccessTokenMetadataRequest
|
948
|
+
|
949
|
+
GetPersonalAccessTokenMetadataResponse.add_member(:personal_access_token_id, Shapes::ShapeRef.new(shape: PersonalAccessTokenId, location_name: "PersonalAccessTokenId"))
|
950
|
+
GetPersonalAccessTokenMetadataResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
|
951
|
+
GetPersonalAccessTokenMetadataResponse.add_member(:name, Shapes::ShapeRef.new(shape: PersonalAccessTokenName, location_name: "Name"))
|
952
|
+
GetPersonalAccessTokenMetadataResponse.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateCreated"))
|
953
|
+
GetPersonalAccessTokenMetadataResponse.add_member(:date_last_used, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateLastUsed"))
|
954
|
+
GetPersonalAccessTokenMetadataResponse.add_member(:expires_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpiresTime"))
|
955
|
+
GetPersonalAccessTokenMetadataResponse.add_member(:scopes, Shapes::ShapeRef.new(shape: PersonalAccessTokenScopeList, location_name: "Scopes"))
|
956
|
+
GetPersonalAccessTokenMetadataResponse.struct_class = Types::GetPersonalAccessTokenMetadataResponse
|
957
|
+
|
875
958
|
Group.add_member(:id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "Id"))
|
876
959
|
Group.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
|
877
960
|
Group.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, location_name: "Name"))
|
@@ -888,6 +971,10 @@ module Aws::WorkMail
|
|
888
971
|
|
889
972
|
Groups.member = Shapes::ShapeRef.new(shape: Group)
|
890
973
|
|
974
|
+
IdentityCenterConfiguration.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
|
975
|
+
IdentityCenterConfiguration.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "ApplicationArn"))
|
976
|
+
IdentityCenterConfiguration.struct_class = Types::IdentityCenterConfiguration
|
977
|
+
|
891
978
|
ImpersonationMatchedRule.add_member(:impersonation_rule_id, Shapes::ShapeRef.new(shape: ImpersonationRuleId, location_name: "ImpersonationRuleId"))
|
892
979
|
ImpersonationMatchedRule.add_member(:name, Shapes::ShapeRef.new(shape: ImpersonationRuleName, location_name: "Name"))
|
893
980
|
ImpersonationMatchedRule.struct_class = Types::ImpersonationMatchedRule
|
@@ -1063,6 +1150,16 @@ module Aws::WorkMail
|
|
1063
1150
|
ListOrganizationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1064
1151
|
ListOrganizationsResponse.struct_class = Types::ListOrganizationsResponse
|
1065
1152
|
|
1153
|
+
ListPersonalAccessTokensRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
1154
|
+
ListPersonalAccessTokensRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "UserId"))
|
1155
|
+
ListPersonalAccessTokensRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1156
|
+
ListPersonalAccessTokensRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
1157
|
+
ListPersonalAccessTokensRequest.struct_class = Types::ListPersonalAccessTokensRequest
|
1158
|
+
|
1159
|
+
ListPersonalAccessTokensResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1160
|
+
ListPersonalAccessTokensResponse.add_member(:personal_access_token_summaries, Shapes::ShapeRef.new(shape: PersonalAccessTokenSummaryList, location_name: "PersonalAccessTokenSummaries"))
|
1161
|
+
ListPersonalAccessTokensResponse.struct_class = Types::ListPersonalAccessTokensResponse
|
1162
|
+
|
1066
1163
|
ListResourceDelegatesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
1067
1164
|
ListResourceDelegatesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "ResourceId"))
|
1068
1165
|
ListResourceDelegatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -1098,6 +1195,7 @@ module Aws::WorkMail
|
|
1098
1195
|
ListUsersFilters.add_member(:display_name_prefix, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "DisplayNamePrefix"))
|
1099
1196
|
ListUsersFilters.add_member(:primary_email_prefix, Shapes::ShapeRef.new(shape: String, location_name: "PrimaryEmailPrefix"))
|
1100
1197
|
ListUsersFilters.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
|
1198
|
+
ListUsersFilters.add_member(:identity_provider_user_id_prefix, Shapes::ShapeRef.new(shape: IdentityProviderUserIdPrefix, location_name: "IdentityProviderUserIdPrefix"))
|
1101
1199
|
ListUsersFilters.struct_class = Types::ListUsersFilters
|
1102
1200
|
|
1103
1201
|
ListUsersRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
@@ -1207,6 +1305,23 @@ module Aws::WorkMail
|
|
1207
1305
|
|
1208
1306
|
Permissions.member = Shapes::ShapeRef.new(shape: Permission)
|
1209
1307
|
|
1308
|
+
PersonalAccessTokenConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: PersonalAccessTokenConfigurationStatus, required: true, location_name: "Status"))
|
1309
|
+
PersonalAccessTokenConfiguration.add_member(:lifetime_in_days, Shapes::ShapeRef.new(shape: PersonalAccessTokenLifetimeInDays, location_name: "LifetimeInDays"))
|
1310
|
+
PersonalAccessTokenConfiguration.struct_class = Types::PersonalAccessTokenConfiguration
|
1311
|
+
|
1312
|
+
PersonalAccessTokenScopeList.member = Shapes::ShapeRef.new(shape: PersonalAccessTokenScope)
|
1313
|
+
|
1314
|
+
PersonalAccessTokenSummary.add_member(:personal_access_token_id, Shapes::ShapeRef.new(shape: PersonalAccessTokenId, location_name: "PersonalAccessTokenId"))
|
1315
|
+
PersonalAccessTokenSummary.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
|
1316
|
+
PersonalAccessTokenSummary.add_member(:name, Shapes::ShapeRef.new(shape: PersonalAccessTokenName, location_name: "Name"))
|
1317
|
+
PersonalAccessTokenSummary.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateCreated"))
|
1318
|
+
PersonalAccessTokenSummary.add_member(:date_last_used, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateLastUsed"))
|
1319
|
+
PersonalAccessTokenSummary.add_member(:expires_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpiresTime"))
|
1320
|
+
PersonalAccessTokenSummary.add_member(:scopes, Shapes::ShapeRef.new(shape: PersonalAccessTokenScopeList, location_name: "Scopes"))
|
1321
|
+
PersonalAccessTokenSummary.struct_class = Types::PersonalAccessTokenSummary
|
1322
|
+
|
1323
|
+
PersonalAccessTokenSummaryList.member = Shapes::ShapeRef.new(shape: PersonalAccessTokenSummary)
|
1324
|
+
|
1210
1325
|
PutAccessControlRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessControlRuleName, required: true, location_name: "Name"))
|
1211
1326
|
PutAccessControlRuleRequest.add_member(:effect, Shapes::ShapeRef.new(shape: AccessControlRuleEffect, required: true, location_name: "Effect"))
|
1212
1327
|
PutAccessControlRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: AccessControlRuleDescription, required: true, location_name: "Description"))
|
@@ -1230,6 +1345,14 @@ module Aws::WorkMail
|
|
1230
1345
|
|
1231
1346
|
PutEmailMonitoringConfigurationResponse.struct_class = Types::PutEmailMonitoringConfigurationResponse
|
1232
1347
|
|
1348
|
+
PutIdentityProviderConfigurationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
1349
|
+
PutIdentityProviderConfigurationRequest.add_member(:authentication_mode, Shapes::ShapeRef.new(shape: IdentityProviderAuthenticationMode, required: true, location_name: "AuthenticationMode"))
|
1350
|
+
PutIdentityProviderConfigurationRequest.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfiguration, required: true, location_name: "IdentityCenterConfiguration"))
|
1351
|
+
PutIdentityProviderConfigurationRequest.add_member(:personal_access_token_configuration, Shapes::ShapeRef.new(shape: PersonalAccessTokenConfiguration, required: true, location_name: "PersonalAccessTokenConfiguration"))
|
1352
|
+
PutIdentityProviderConfigurationRequest.struct_class = Types::PutIdentityProviderConfigurationRequest
|
1353
|
+
|
1354
|
+
PutIdentityProviderConfigurationResponse.struct_class = Types::PutIdentityProviderConfigurationResponse
|
1355
|
+
|
1233
1356
|
PutInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
1234
1357
|
PutInboundDmarcSettingsRequest.add_member(:enforced, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "Enforced"))
|
1235
1358
|
PutInboundDmarcSettingsRequest.struct_class = Types::PutInboundDmarcSettingsRequest
|
@@ -1448,6 +1571,7 @@ module Aws::WorkMail
|
|
1448
1571
|
UpdateUserRequest.add_member(:department, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Department"))
|
1449
1572
|
UpdateUserRequest.add_member(:country, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Country"))
|
1450
1573
|
UpdateUserRequest.add_member(:office, Shapes::ShapeRef.new(shape: UserAttribute, location_name: "Office"))
|
1574
|
+
UpdateUserRequest.add_member(:identity_provider_user_id, Shapes::ShapeRef.new(shape: IdentityProviderUserIdForUpdate, location_name: "IdentityProviderUserId"))
|
1451
1575
|
UpdateUserRequest.struct_class = Types::UpdateUserRequest
|
1452
1576
|
|
1453
1577
|
UpdateUserResponse.struct_class = Types::UpdateUserResponse
|
@@ -1460,6 +1584,8 @@ module Aws::WorkMail
|
|
1460
1584
|
User.add_member(:user_role, Shapes::ShapeRef.new(shape: UserRole, location_name: "UserRole"))
|
1461
1585
|
User.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
|
1462
1586
|
User.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
1587
|
+
User.add_member(:identity_provider_user_id, Shapes::ShapeRef.new(shape: IdentityProviderUserId, location_name: "IdentityProviderUserId"))
|
1588
|
+
User.add_member(:identity_provider_identity_store_id, Shapes::ShapeRef.new(shape: IdentityProviderIdentityStoreId, location_name: "IdentityProviderIdentityStoreId"))
|
1463
1589
|
User.struct_class = Types::User
|
1464
1590
|
|
1465
1591
|
UserIdList.member = Shapes::ShapeRef.new(shape: WorkMailIdentifier)
|
@@ -1586,6 +1712,15 @@ module Aws::WorkMail
|
|
1586
1712
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1587
1713
|
end)
|
1588
1714
|
|
1715
|
+
api.add_operation(:create_identity_center_application, Seahorse::Model::Operation.new.tap do |o|
|
1716
|
+
o.name = "CreateIdentityCenterApplication"
|
1717
|
+
o.http_method = "POST"
|
1718
|
+
o.http_request_uri = "/"
|
1719
|
+
o.input = Shapes::ShapeRef.new(shape: CreateIdentityCenterApplicationRequest)
|
1720
|
+
o.output = Shapes::ShapeRef.new(shape: CreateIdentityCenterApplicationResponse)
|
1721
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1722
|
+
end)
|
1723
|
+
|
1589
1724
|
api.add_operation(:create_impersonation_role, Seahorse::Model::Operation.new.tap do |o|
|
1590
1725
|
o.name = "CreateImpersonationRole"
|
1591
1726
|
o.http_method = "POST"
|
@@ -1717,6 +1852,27 @@ module Aws::WorkMail
|
|
1717
1852
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1718
1853
|
end)
|
1719
1854
|
|
1855
|
+
api.add_operation(:delete_identity_center_application, Seahorse::Model::Operation.new.tap do |o|
|
1856
|
+
o.name = "DeleteIdentityCenterApplication"
|
1857
|
+
o.http_method = "POST"
|
1858
|
+
o.http_request_uri = "/"
|
1859
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIdentityCenterApplicationRequest)
|
1860
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteIdentityCenterApplicationResponse)
|
1861
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1862
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1863
|
+
end)
|
1864
|
+
|
1865
|
+
api.add_operation(:delete_identity_provider_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1866
|
+
o.name = "DeleteIdentityProviderConfiguration"
|
1867
|
+
o.http_method = "POST"
|
1868
|
+
o.http_request_uri = "/"
|
1869
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIdentityProviderConfigurationRequest)
|
1870
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteIdentityProviderConfigurationResponse)
|
1871
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1872
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1873
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1874
|
+
end)
|
1875
|
+
|
1720
1876
|
api.add_operation(:delete_impersonation_role, Seahorse::Model::Operation.new.tap do |o|
|
1721
1877
|
o.name = "DeleteImpersonationRole"
|
1722
1878
|
o.http_method = "POST"
|
@@ -1775,6 +1931,17 @@ module Aws::WorkMail
|
|
1775
1931
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1776
1932
|
end)
|
1777
1933
|
|
1934
|
+
api.add_operation(:delete_personal_access_token, Seahorse::Model::Operation.new.tap do |o|
|
1935
|
+
o.name = "DeletePersonalAccessToken"
|
1936
|
+
o.http_method = "POST"
|
1937
|
+
o.http_request_uri = "/"
|
1938
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePersonalAccessTokenRequest)
|
1939
|
+
o.output = Shapes::ShapeRef.new(shape: DeletePersonalAccessTokenResponse)
|
1940
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1942
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1943
|
+
end)
|
1944
|
+
|
1778
1945
|
api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
|
1779
1946
|
o.name = "DeleteResource"
|
1780
1947
|
o.http_method = "POST"
|
@@ -1876,6 +2043,18 @@ module Aws::WorkMail
|
|
1876
2043
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1877
2044
|
end)
|
1878
2045
|
|
2046
|
+
api.add_operation(:describe_identity_provider_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2047
|
+
o.name = "DescribeIdentityProviderConfiguration"
|
2048
|
+
o.http_method = "POST"
|
2049
|
+
o.http_request_uri = "/"
|
2050
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeIdentityProviderConfigurationRequest)
|
2051
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeIdentityProviderConfigurationResponse)
|
2052
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2053
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
2054
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
2055
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2056
|
+
end)
|
2057
|
+
|
1879
2058
|
api.add_operation(:describe_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
|
1880
2059
|
o.name = "DescribeInboundDmarcSettings"
|
1881
2060
|
o.http_method = "POST"
|
@@ -1927,6 +2106,8 @@ module Aws::WorkMail
|
|
1927
2106
|
o.http_request_uri = "/"
|
1928
2107
|
o.input = Shapes::ShapeRef.new(shape: DescribeUserRequest)
|
1929
2108
|
o.output = Shapes::ShapeRef.new(shape: DescribeUserResponse)
|
2109
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
2110
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
1930
2111
|
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1931
2112
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1932
2113
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
@@ -2062,6 +2243,18 @@ module Aws::WorkMail
|
|
2062
2243
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2063
2244
|
end)
|
2064
2245
|
|
2246
|
+
api.add_operation(:get_personal_access_token_metadata, Seahorse::Model::Operation.new.tap do |o|
|
2247
|
+
o.name = "GetPersonalAccessTokenMetadata"
|
2248
|
+
o.http_method = "POST"
|
2249
|
+
o.http_request_uri = "/"
|
2250
|
+
o.input = Shapes::ShapeRef.new(shape: GetPersonalAccessTokenMetadataRequest)
|
2251
|
+
o.output = Shapes::ShapeRef.new(shape: GetPersonalAccessTokenMetadataResponse)
|
2252
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2253
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2254
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
2255
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
2256
|
+
end)
|
2257
|
+
|
2065
2258
|
api.add_operation(:list_access_control_rules, Seahorse::Model::Operation.new.tap do |o|
|
2066
2259
|
o.name = "ListAccessControlRules"
|
2067
2260
|
o.http_method = "POST"
|
@@ -2099,6 +2292,7 @@ module Aws::WorkMail
|
|
2099
2292
|
o.output = Shapes::ShapeRef.new(shape: ListAvailabilityConfigurationsResponse)
|
2100
2293
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
2101
2294
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
2295
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2102
2296
|
o[:pager] = Aws::Pager.new(
|
2103
2297
|
limit_key: "max_results",
|
2104
2298
|
tokens: {
|
@@ -2276,6 +2470,25 @@ module Aws::WorkMail
|
|
2276
2470
|
)
|
2277
2471
|
end)
|
2278
2472
|
|
2473
|
+
api.add_operation(:list_personal_access_tokens, Seahorse::Model::Operation.new.tap do |o|
|
2474
|
+
o.name = "ListPersonalAccessTokens"
|
2475
|
+
o.http_method = "POST"
|
2476
|
+
o.http_request_uri = "/"
|
2477
|
+
o.input = Shapes::ShapeRef.new(shape: ListPersonalAccessTokensRequest)
|
2478
|
+
o.output = Shapes::ShapeRef.new(shape: ListPersonalAccessTokensResponse)
|
2479
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2480
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
2481
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
2482
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
2483
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
2484
|
+
o[:pager] = Aws::Pager.new(
|
2485
|
+
limit_key: "max_results",
|
2486
|
+
tokens: {
|
2487
|
+
"next_token" => "next_token"
|
2488
|
+
}
|
2489
|
+
)
|
2490
|
+
end)
|
2491
|
+
|
2279
2492
|
api.add_operation(:list_resource_delegates, Seahorse::Model::Operation.new.tap do |o|
|
2280
2493
|
o.name = "ListResourceDelegates"
|
2281
2494
|
o.http_method = "POST"
|
@@ -2366,6 +2579,18 @@ module Aws::WorkMail
|
|
2366
2579
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
2367
2580
|
end)
|
2368
2581
|
|
2582
|
+
api.add_operation(:put_identity_provider_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2583
|
+
o.name = "PutIdentityProviderConfiguration"
|
2584
|
+
o.http_method = "POST"
|
2585
|
+
o.http_request_uri = "/"
|
2586
|
+
o.input = Shapes::ShapeRef.new(shape: PutIdentityProviderConfigurationRequest)
|
2587
|
+
o.output = Shapes::ShapeRef.new(shape: PutIdentityProviderConfigurationResponse)
|
2588
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2589
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
2590
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
2591
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2592
|
+
end)
|
2593
|
+
|
2369
2594
|
api.add_operation(:put_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
|
2370
2595
|
o.name = "PutInboundDmarcSettings"
|
2371
2596
|
o.http_method = "POST"
|
@@ -32,7 +32,7 @@ module Aws::WorkMail
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://workmail-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|