aws-sdk-cognitoidentityprovider 1.97.0 → 1.107.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  module Aws::CognitoIdentityProvider
11
12
  # @api private
12
13
  module ClientApi
@@ -73,6 +74,8 @@ module Aws::CognitoIdentityProvider
73
74
  AdminUpdateUserAttributesResponse = Shapes::StructureShape.new(name: 'AdminUpdateUserAttributesResponse')
74
75
  AdminUserGlobalSignOutRequest = Shapes::StructureShape.new(name: 'AdminUserGlobalSignOutRequest')
75
76
  AdminUserGlobalSignOutResponse = Shapes::StructureShape.new(name: 'AdminUserGlobalSignOutResponse')
77
+ AdvancedSecurityAdditionalFlowsType = Shapes::StructureShape.new(name: 'AdvancedSecurityAdditionalFlowsType')
78
+ AdvancedSecurityEnabledModeType = Shapes::StringShape.new(name: 'AdvancedSecurityEnabledModeType')
76
79
  AdvancedSecurityModeType = Shapes::StringShape.new(name: 'AdvancedSecurityModeType')
77
80
  AliasAttributeType = Shapes::StringShape.new(name: 'AliasAttributeType')
78
81
  AliasAttributesListType = Shapes::ListShape.new(name: 'AliasAttributesListType')
@@ -200,6 +203,10 @@ module Aws::CognitoIdentityProvider
200
203
  DuplicateProviderException = Shapes::StructureShape.new(name: 'DuplicateProviderException')
201
204
  EmailAddressType = Shapes::StringShape.new(name: 'EmailAddressType')
202
205
  EmailConfigurationType = Shapes::StructureShape.new(name: 'EmailConfigurationType')
206
+ EmailMfaConfigType = Shapes::StructureShape.new(name: 'EmailMfaConfigType')
207
+ EmailMfaMessageType = Shapes::StringShape.new(name: 'EmailMfaMessageType')
208
+ EmailMfaSettingsType = Shapes::StructureShape.new(name: 'EmailMfaSettingsType')
209
+ EmailMfaSubjectType = Shapes::StringShape.new(name: 'EmailMfaSubjectType')
203
210
  EmailNotificationBodyType = Shapes::StringShape.new(name: 'EmailNotificationBodyType')
204
211
  EmailNotificationSubjectType = Shapes::StringShape.new(name: 'EmailNotificationSubjectType')
205
212
  EmailSendingAccountType = Shapes::StringShape.new(name: 'EmailSendingAccountType')
@@ -221,6 +228,7 @@ module Aws::CognitoIdentityProvider
221
228
  ExplicitAuthFlowsListType = Shapes::ListShape.new(name: 'ExplicitAuthFlowsListType')
222
229
  ExplicitAuthFlowsType = Shapes::StringShape.new(name: 'ExplicitAuthFlowsType')
223
230
  FeedbackValueType = Shapes::StringShape.new(name: 'FeedbackValueType')
231
+ FirehoseConfigurationType = Shapes::StructureShape.new(name: 'FirehoseConfigurationType')
224
232
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
225
233
  ForceAliasCreation = Shapes::BooleanShape.new(name: 'ForceAliasCreation')
226
234
  ForgetDeviceRequest = Shapes::StructureShape.new(name: 'ForgetDeviceRequest')
@@ -321,6 +329,8 @@ module Aws::CognitoIdentityProvider
321
329
  OAuthFlowsType = Shapes::ListShape.new(name: 'OAuthFlowsType')
322
330
  PaginationKey = Shapes::StringShape.new(name: 'PaginationKey')
323
331
  PaginationKeyType = Shapes::StringShape.new(name: 'PaginationKeyType')
332
+ PasswordHistoryPolicyViolationException = Shapes::StructureShape.new(name: 'PasswordHistoryPolicyViolationException')
333
+ PasswordHistorySizeType = Shapes::IntegerShape.new(name: 'PasswordHistorySizeType')
324
334
  PasswordPolicyMinLengthType = Shapes::IntegerShape.new(name: 'PasswordPolicyMinLengthType')
325
335
  PasswordPolicyType = Shapes::StructureShape.new(name: 'PasswordPolicyType')
326
336
  PasswordResetRequiredException = Shapes::StructureShape.new(name: 'PasswordResetRequiredException')
@@ -366,7 +376,9 @@ module Aws::CognitoIdentityProvider
366
376
  RiskDecisionType = Shapes::StringShape.new(name: 'RiskDecisionType')
367
377
  RiskExceptionConfigurationType = Shapes::StructureShape.new(name: 'RiskExceptionConfigurationType')
368
378
  RiskLevelType = Shapes::StringShape.new(name: 'RiskLevelType')
379
+ S3ArnType = Shapes::StringShape.new(name: 'S3ArnType')
369
380
  S3BucketType = Shapes::StringShape.new(name: 'S3BucketType')
381
+ S3ConfigurationType = Shapes::StructureShape.new(name: 'S3ConfigurationType')
370
382
  SESConfigurationSet = Shapes::StringShape.new(name: 'SESConfigurationSet')
371
383
  SMSMfaSettingsType = Shapes::StructureShape.new(name: 'SMSMfaSettingsType')
372
384
  SchemaAttributeType = Shapes::StructureShape.new(name: 'SchemaAttributeType')
@@ -684,6 +696,7 @@ module Aws::CognitoIdentityProvider
684
696
 
685
697
  AdminSetUserMFAPreferenceRequest.add_member(:sms_mfa_settings, Shapes::ShapeRef.new(shape: SMSMfaSettingsType, location_name: "SMSMfaSettings"))
686
698
  AdminSetUserMFAPreferenceRequest.add_member(:software_token_mfa_settings, Shapes::ShapeRef.new(shape: SoftwareTokenMfaSettingsType, location_name: "SoftwareTokenMfaSettings"))
699
+ AdminSetUserMFAPreferenceRequest.add_member(:email_mfa_settings, Shapes::ShapeRef.new(shape: EmailMfaSettingsType, location_name: "EmailMfaSettings"))
687
700
  AdminSetUserMFAPreferenceRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
688
701
  AdminSetUserMFAPreferenceRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
689
702
  AdminSetUserMFAPreferenceRequest.struct_class = Types::AdminSetUserMFAPreferenceRequest
@@ -735,6 +748,9 @@ module Aws::CognitoIdentityProvider
735
748
 
736
749
  AdminUserGlobalSignOutResponse.struct_class = Types::AdminUserGlobalSignOutResponse
737
750
 
751
+ AdvancedSecurityAdditionalFlowsType.add_member(:custom_auth_mode, Shapes::ShapeRef.new(shape: AdvancedSecurityEnabledModeType, location_name: "CustomAuthMode"))
752
+ AdvancedSecurityAdditionalFlowsType.struct_class = Types::AdvancedSecurityAdditionalFlowsType
753
+
738
754
  AliasAttributesListType.member = Shapes::ShapeRef.new(shape: AliasAttributeType)
739
755
 
740
756
  AliasExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
@@ -1122,6 +1138,14 @@ module Aws::CognitoIdentityProvider
1122
1138
  EmailConfigurationType.add_member(:configuration_set, Shapes::ShapeRef.new(shape: SESConfigurationSet, location_name: "ConfigurationSet"))
1123
1139
  EmailConfigurationType.struct_class = Types::EmailConfigurationType
1124
1140
 
1141
+ EmailMfaConfigType.add_member(:message, Shapes::ShapeRef.new(shape: EmailMfaMessageType, location_name: "Message"))
1142
+ EmailMfaConfigType.add_member(:subject, Shapes::ShapeRef.new(shape: EmailMfaSubjectType, location_name: "Subject"))
1143
+ EmailMfaConfigType.struct_class = Types::EmailMfaConfigType
1144
+
1145
+ EmailMfaSettingsType.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Enabled"))
1146
+ EmailMfaSettingsType.add_member(:preferred_mfa, Shapes::ShapeRef.new(shape: BooleanType, location_name: "PreferredMfa"))
1147
+ EmailMfaSettingsType.struct_class = Types::EmailMfaSettingsType
1148
+
1125
1149
  EnableSoftwareTokenMFAException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1126
1150
  EnableSoftwareTokenMFAException.struct_class = Types::EnableSoftwareTokenMFAException
1127
1151
 
@@ -1149,6 +1173,9 @@ module Aws::CognitoIdentityProvider
1149
1173
 
1150
1174
  ExplicitAuthFlowsListType.member = Shapes::ShapeRef.new(shape: ExplicitAuthFlowsType)
1151
1175
 
1176
+ FirehoseConfigurationType.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "StreamArn"))
1177
+ FirehoseConfigurationType.struct_class = Types::FirehoseConfigurationType
1178
+
1152
1179
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1153
1180
  ForbiddenException.struct_class = Types::ForbiddenException
1154
1181
 
@@ -1227,6 +1254,7 @@ module Aws::CognitoIdentityProvider
1227
1254
 
1228
1255
  GetUserPoolMfaConfigResponse.add_member(:sms_mfa_configuration, Shapes::ShapeRef.new(shape: SmsMfaConfigType, location_name: "SmsMfaConfiguration"))
1229
1256
  GetUserPoolMfaConfigResponse.add_member(:software_token_mfa_configuration, Shapes::ShapeRef.new(shape: SoftwareTokenMfaConfigType, location_name: "SoftwareTokenMfaConfiguration"))
1257
+ GetUserPoolMfaConfigResponse.add_member(:email_mfa_configuration, Shapes::ShapeRef.new(shape: EmailMfaConfigType, location_name: "EmailMfaConfiguration"))
1230
1258
  GetUserPoolMfaConfigResponse.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
1231
1259
  GetUserPoolMfaConfigResponse.struct_class = Types::GetUserPoolMfaConfigResponse
1232
1260
 
@@ -1433,6 +1461,8 @@ module Aws::CognitoIdentityProvider
1433
1461
  LogConfigurationType.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
1434
1462
  LogConfigurationType.add_member(:event_source, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "EventSource"))
1435
1463
  LogConfigurationType.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: CloudWatchLogsConfigurationType, location_name: "CloudWatchLogsConfiguration"))
1464
+ LogConfigurationType.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3ConfigurationType, location_name: "S3Configuration"))
1465
+ LogConfigurationType.add_member(:firehose_configuration, Shapes::ShapeRef.new(shape: FirehoseConfigurationType, location_name: "FirehoseConfiguration"))
1436
1466
  LogConfigurationType.struct_class = Types::LogConfigurationType
1437
1467
 
1438
1468
  LogDeliveryConfigurationType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
@@ -1481,11 +1511,15 @@ module Aws::CognitoIdentityProvider
1481
1511
 
1482
1512
  OAuthFlowsType.member = Shapes::ShapeRef.new(shape: OAuthFlowType)
1483
1513
 
1514
+ PasswordHistoryPolicyViolationException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1515
+ PasswordHistoryPolicyViolationException.struct_class = Types::PasswordHistoryPolicyViolationException
1516
+
1484
1517
  PasswordPolicyType.add_member(:minimum_length, Shapes::ShapeRef.new(shape: PasswordPolicyMinLengthType, location_name: "MinimumLength"))
1485
1518
  PasswordPolicyType.add_member(:require_uppercase, Shapes::ShapeRef.new(shape: BooleanType, location_name: "RequireUppercase"))
1486
1519
  PasswordPolicyType.add_member(:require_lowercase, Shapes::ShapeRef.new(shape: BooleanType, location_name: "RequireLowercase"))
1487
1520
  PasswordPolicyType.add_member(:require_numbers, Shapes::ShapeRef.new(shape: BooleanType, location_name: "RequireNumbers"))
1488
1521
  PasswordPolicyType.add_member(:require_symbols, Shapes::ShapeRef.new(shape: BooleanType, location_name: "RequireSymbols"))
1522
+ PasswordPolicyType.add_member(:password_history_size, Shapes::ShapeRef.new(shape: PasswordHistorySizeType, location_name: "PasswordHistorySize"))
1489
1523
  PasswordPolicyType.add_member(:temporary_password_validity_days, Shapes::ShapeRef.new(shape: TemporaryPasswordValidityDaysType, location_name: "TemporaryPasswordValidityDays"))
1490
1524
  PasswordPolicyType.struct_class = Types::PasswordPolicyType
1491
1525
 
@@ -1583,6 +1617,9 @@ module Aws::CognitoIdentityProvider
1583
1617
  RiskExceptionConfigurationType.add_member(:skipped_ip_range_list, Shapes::ShapeRef.new(shape: SkippedIPRangeListType, location_name: "SkippedIPRangeList"))
1584
1618
  RiskExceptionConfigurationType.struct_class = Types::RiskExceptionConfigurationType
1585
1619
 
1620
+ S3ConfigurationType.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3ArnType, location_name: "BucketArn"))
1621
+ S3ConfigurationType.struct_class = Types::S3ConfigurationType
1622
+
1586
1623
  SMSMfaSettingsType.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Enabled"))
1587
1624
  SMSMfaSettingsType.add_member(:preferred_mfa, Shapes::ShapeRef.new(shape: BooleanType, location_name: "PreferredMfa"))
1588
1625
  SMSMfaSettingsType.struct_class = Types::SMSMfaSettingsType
@@ -1633,6 +1670,7 @@ module Aws::CognitoIdentityProvider
1633
1670
 
1634
1671
  SetUserMFAPreferenceRequest.add_member(:sms_mfa_settings, Shapes::ShapeRef.new(shape: SMSMfaSettingsType, location_name: "SMSMfaSettings"))
1635
1672
  SetUserMFAPreferenceRequest.add_member(:software_token_mfa_settings, Shapes::ShapeRef.new(shape: SoftwareTokenMfaSettingsType, location_name: "SoftwareTokenMfaSettings"))
1673
+ SetUserMFAPreferenceRequest.add_member(:email_mfa_settings, Shapes::ShapeRef.new(shape: EmailMfaSettingsType, location_name: "EmailMfaSettings"))
1636
1674
  SetUserMFAPreferenceRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
1637
1675
  SetUserMFAPreferenceRequest.struct_class = Types::SetUserMFAPreferenceRequest
1638
1676
 
@@ -1641,11 +1679,13 @@ module Aws::CognitoIdentityProvider
1641
1679
  SetUserPoolMfaConfigRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
1642
1680
  SetUserPoolMfaConfigRequest.add_member(:sms_mfa_configuration, Shapes::ShapeRef.new(shape: SmsMfaConfigType, location_name: "SmsMfaConfiguration"))
1643
1681
  SetUserPoolMfaConfigRequest.add_member(:software_token_mfa_configuration, Shapes::ShapeRef.new(shape: SoftwareTokenMfaConfigType, location_name: "SoftwareTokenMfaConfiguration"))
1682
+ SetUserPoolMfaConfigRequest.add_member(:email_mfa_configuration, Shapes::ShapeRef.new(shape: EmailMfaConfigType, location_name: "EmailMfaConfiguration"))
1644
1683
  SetUserPoolMfaConfigRequest.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
1645
1684
  SetUserPoolMfaConfigRequest.struct_class = Types::SetUserPoolMfaConfigRequest
1646
1685
 
1647
1686
  SetUserPoolMfaConfigResponse.add_member(:sms_mfa_configuration, Shapes::ShapeRef.new(shape: SmsMfaConfigType, location_name: "SmsMfaConfiguration"))
1648
1687
  SetUserPoolMfaConfigResponse.add_member(:software_token_mfa_configuration, Shapes::ShapeRef.new(shape: SoftwareTokenMfaConfigType, location_name: "SoftwareTokenMfaConfiguration"))
1688
+ SetUserPoolMfaConfigResponse.add_member(:email_mfa_configuration, Shapes::ShapeRef.new(shape: EmailMfaConfigType, location_name: "EmailMfaConfiguration"))
1649
1689
  SetUserPoolMfaConfigResponse.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
1650
1690
  SetUserPoolMfaConfigResponse.struct_class = Types::SetUserPoolMfaConfigResponse
1651
1691
 
@@ -1915,6 +1955,7 @@ module Aws::CognitoIdentityProvider
1915
1955
  UserPoolAddOnNotEnabledException.struct_class = Types::UserPoolAddOnNotEnabledException
1916
1956
 
1917
1957
  UserPoolAddOnsType.add_member(:advanced_security_mode, Shapes::ShapeRef.new(shape: AdvancedSecurityModeType, required: true, location_name: "AdvancedSecurityMode"))
1958
+ UserPoolAddOnsType.add_member(:advanced_security_additional_flows, Shapes::ShapeRef.new(shape: AdvancedSecurityAdditionalFlowsType, location_name: "AdvancedSecurityAdditionalFlows"))
1918
1959
  UserPoolAddOnsType.struct_class = Types::UserPoolAddOnsType
1919
1960
 
1920
1961
  UserPoolClientDescription.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
@@ -2275,6 +2316,7 @@ module Aws::CognitoIdentityProvider
2275
2316
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaResponseException)
2276
2317
  o.errors << Shapes::ShapeRef.new(shape: MFAMethodNotFoundException)
2277
2318
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
2319
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
2278
2320
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
2279
2321
  o.errors << Shapes::ShapeRef.new(shape: PasswordResetRequiredException)
2280
2322
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
@@ -2400,12 +2442,14 @@ module Aws::CognitoIdentityProvider
2400
2442
  o.errors << Shapes::ShapeRef.new(shape: ExpiredCodeException)
2401
2443
  o.errors << Shapes::ShapeRef.new(shape: UnexpectedLambdaException)
2402
2444
  o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException)
2445
+ o.errors << Shapes::ShapeRef.new(shape: PasswordHistoryPolicyViolationException)
2403
2446
  o.errors << Shapes::ShapeRef.new(shape: UserLambdaValidationException)
2404
2447
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaResponseException)
2405
2448
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2406
2449
  o.errors << Shapes::ShapeRef.new(shape: InvalidUserPoolConfigurationException)
2407
2450
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2408
2451
  o.errors << Shapes::ShapeRef.new(shape: MFAMethodNotFoundException)
2452
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
2409
2453
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
2410
2454
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
2411
2455
  o.errors << Shapes::ShapeRef.new(shape: AliasExistsException)
@@ -2443,6 +2487,7 @@ module Aws::CognitoIdentityProvider
2443
2487
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2444
2488
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2445
2489
  o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException)
2490
+ o.errors << Shapes::ShapeRef.new(shape: PasswordHistoryPolicyViolationException)
2446
2491
  end)
2447
2492
 
2448
2493
  api.add_operation(:admin_set_user_settings, Seahorse::Model::Operation.new.tap do |o|
@@ -2551,6 +2596,7 @@ module Aws::CognitoIdentityProvider
2551
2596
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2552
2597
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2553
2598
  o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException)
2599
+ o.errors << Shapes::ShapeRef.new(shape: PasswordHistoryPolicyViolationException)
2554
2600
  o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2555
2601
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2556
2602
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
@@ -2597,6 +2643,7 @@ module Aws::CognitoIdentityProvider
2597
2643
  o.errors << Shapes::ShapeRef.new(shape: UserLambdaValidationException)
2598
2644
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2599
2645
  o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException)
2646
+ o.errors << Shapes::ShapeRef.new(shape: PasswordHistoryPolicyViolationException)
2600
2647
  o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2601
2648
  o.errors << Shapes::ShapeRef.new(shape: CodeMismatchException)
2602
2649
  o.errors << Shapes::ShapeRef.new(shape: ExpiredCodeException)
@@ -3190,6 +3237,7 @@ module Aws::CognitoIdentityProvider
3190
3237
  o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
3191
3238
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
3192
3239
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
3240
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
3193
3241
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
3194
3242
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
3195
3243
  end)
@@ -3413,6 +3461,7 @@ module Aws::CognitoIdentityProvider
3413
3461
  o.errors << Shapes::ShapeRef.new(shape: UnexpectedLambdaException)
3414
3462
  o.errors << Shapes::ShapeRef.new(shape: UserLambdaValidationException)
3415
3463
  o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException)
3464
+ o.errors << Shapes::ShapeRef.new(shape: PasswordHistoryPolicyViolationException)
3416
3465
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaResponseException)
3417
3466
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3418
3467
  o.errors << Shapes::ShapeRef.new(shape: InvalidUserPoolConfigurationException)
@@ -3422,6 +3471,7 @@ module Aws::CognitoIdentityProvider
3422
3471
  o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
3423
3472
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
3424
3473
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
3474
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
3425
3475
  o.errors << Shapes::ShapeRef.new(shape: AliasExistsException)
3426
3476
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
3427
3477
  o.errors << Shapes::ShapeRef.new(shape: SoftwareTokenMFANotFoundException)