aws-sdk-cognitoidentityprovider 1.21.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8eda8fdc8017b7aae5c47d46167f9f236463fa3b
4
- data.tar.gz: f25d5c6a7ed7f83894fd054e683971ac9d41e9c4
3
+ metadata.gz: c4e3074cd55f6e63ebf0e1af16dd71e1790f464f
4
+ data.tar.gz: a6642605918f45b37aadd980d81819f6c7029100
5
5
  SHA512:
6
- metadata.gz: 9e47353caff8abd3e4828439986f473f0432ecec4479e7a8f4b3a2ba75411cd14c6aeaf6fe298712c8e06f571004bcbd688fcf0c9f4bc279203e630b4a50dcb7
7
- data.tar.gz: c833bf362c805104e6e96b76071391f5c179e7a018f6aacda59547553a6d43bb81ab1bc532677ebcbca193738cc7baafc01a62614ab795245bd40fbb10d3dfbf
6
+ metadata.gz: a0e7d014ea74b15353859985766941228e42fba6f2af0b444b5eed9ee45a03d5d51249bb93d2173e2b075b80b2ea302bfe7242f7578a9d3de845bd410c2ee3f8
7
+ data.tar.gz: 948c7867baf1b139853358a38451d2373fe332cd408516a60a8b6bbee2ab94f48ba3ad1f61317bcd684a298ff2ddb161f605b1a9f68d3eaedaf2c11f5d370a34
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cognitoidentityprovider/customizations'
42
42
  # @service
43
43
  module Aws::CognitoIdentityProvider
44
44
 
45
- GEM_VERSION = '1.21.0'
45
+ GEM_VERSION = '1.22.0'
46
46
 
47
47
  end
@@ -5791,7 +5791,7 @@ module Aws::CognitoIdentityProvider
5791
5791
  params: params,
5792
5792
  config: config)
5793
5793
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
5794
- context[:gem_version] = '1.21.0'
5794
+ context[:gem_version] = '1.22.0'
5795
5795
  Seahorse::Client::Request.new(handlers, context)
5796
5796
  end
5797
5797
 
@@ -687,6 +687,9 @@ module Aws::CognitoIdentityProvider
687
687
 
688
688
  AliasAttributesListType.member = Shapes::ShapeRef.new(shape: AliasAttributeType)
689
689
 
690
+ AliasExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
691
+ AliasExistsException.struct_class = Types::AliasExistsException
692
+
690
693
  AnalyticsConfigurationType.add_member(:application_id, Shapes::ShapeRef.new(shape: HexStringType, required: true, location_name: "ApplicationId"))
691
694
  AnalyticsConfigurationType.add_member(:role_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "RoleArn"))
692
695
  AnalyticsConfigurationType.add_member(:external_id, Shapes::ShapeRef.new(shape: StringType, required: true, location_name: "ExternalId"))
@@ -773,6 +776,12 @@ module Aws::CognitoIdentityProvider
773
776
  CodeDeliveryDetailsType.add_member(:attribute_name, Shapes::ShapeRef.new(shape: AttributeNameType, location_name: "AttributeName"))
774
777
  CodeDeliveryDetailsType.struct_class = Types::CodeDeliveryDetailsType
775
778
 
779
+ CodeDeliveryFailureException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
780
+ CodeDeliveryFailureException.struct_class = Types::CodeDeliveryFailureException
781
+
782
+ CodeMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
783
+ CodeMismatchException.struct_class = Types::CodeMismatchException
784
+
776
785
  CompromisedCredentialsActionsType.add_member(:event_action, Shapes::ShapeRef.new(shape: CompromisedCredentialsEventActionType, required: true, location_name: "EventAction"))
777
786
  CompromisedCredentialsActionsType.struct_class = Types::CompromisedCredentialsActionsType
778
787
 
@@ -780,6 +789,9 @@ module Aws::CognitoIdentityProvider
780
789
  CompromisedCredentialsRiskConfigurationType.add_member(:actions, Shapes::ShapeRef.new(shape: CompromisedCredentialsActionsType, required: true, location_name: "Actions"))
781
790
  CompromisedCredentialsRiskConfigurationType.struct_class = Types::CompromisedCredentialsRiskConfigurationType
782
791
 
792
+ ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
793
+ ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
794
+
783
795
  ConfirmDeviceRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
784
796
  ConfirmDeviceRequest.add_member(:device_key, Shapes::ShapeRef.new(shape: DeviceKeyType, required: true, location_name: "DeviceKey"))
785
797
  ConfirmDeviceRequest.add_member(:device_secret_verifier_config, Shapes::ShapeRef.new(shape: DeviceSecretVerifierConfigType, location_name: "DeviceSecretVerifierConfig"))
@@ -1023,11 +1035,17 @@ module Aws::CognitoIdentityProvider
1023
1035
  DomainDescriptionType.add_member(:custom_domain_config, Shapes::ShapeRef.new(shape: CustomDomainConfigType, location_name: "CustomDomainConfig"))
1024
1036
  DomainDescriptionType.struct_class = Types::DomainDescriptionType
1025
1037
 
1038
+ DuplicateProviderException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1039
+ DuplicateProviderException.struct_class = Types::DuplicateProviderException
1040
+
1026
1041
  EmailConfigurationType.add_member(:source_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "SourceArn"))
1027
1042
  EmailConfigurationType.add_member(:reply_to_email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "ReplyToEmailAddress"))
1028
1043
  EmailConfigurationType.add_member(:email_sending_account, Shapes::ShapeRef.new(shape: EmailSendingAccountType, location_name: "EmailSendingAccount"))
1029
1044
  EmailConfigurationType.struct_class = Types::EmailConfigurationType
1030
1045
 
1046
+ EnableSoftwareTokenMFAException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1047
+ EnableSoftwareTokenMFAException.struct_class = Types::EnableSoftwareTokenMFAException
1048
+
1031
1049
  EventContextDataType.add_member(:ip_address, Shapes::ShapeRef.new(shape: StringType, location_name: "IpAddress"))
1032
1050
  EventContextDataType.add_member(:device_name, Shapes::ShapeRef.new(shape: StringType, location_name: "DeviceName"))
1033
1051
  EventContextDataType.add_member(:timezone, Shapes::ShapeRef.new(shape: StringType, location_name: "Timezone"))
@@ -1046,6 +1064,9 @@ module Aws::CognitoIdentityProvider
1046
1064
  EventRiskType.add_member(:risk_level, Shapes::ShapeRef.new(shape: RiskLevelType, location_name: "RiskLevel"))
1047
1065
  EventRiskType.struct_class = Types::EventRiskType
1048
1066
 
1067
+ ExpiredCodeException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1068
+ ExpiredCodeException.struct_class = Types::ExpiredCodeException
1069
+
1049
1070
  ExplicitAuthFlowsListType.member = Shapes::ShapeRef.new(shape: ExplicitAuthFlowsType)
1050
1071
 
1051
1072
  ForgetDeviceRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
@@ -1133,6 +1154,9 @@ module Aws::CognitoIdentityProvider
1133
1154
 
1134
1155
  GlobalSignOutResponse.struct_class = Types::GlobalSignOutResponse
1135
1156
 
1157
+ GroupExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1158
+ GroupExistsException.struct_class = Types::GroupExistsException
1159
+
1136
1160
  GroupListType.member = Shapes::ShapeRef.new(shape: GroupType)
1137
1161
 
1138
1162
  GroupType.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupNameType, location_name: "GroupName"))
@@ -1176,6 +1200,33 @@ module Aws::CognitoIdentityProvider
1176
1200
  InitiateAuthResponse.add_member(:authentication_result, Shapes::ShapeRef.new(shape: AuthenticationResultType, location_name: "AuthenticationResult"))
1177
1201
  InitiateAuthResponse.struct_class = Types::InitiateAuthResponse
1178
1202
 
1203
+ InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1204
+ InternalErrorException.struct_class = Types::InternalErrorException
1205
+
1206
+ InvalidEmailRoleAccessPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1207
+ InvalidEmailRoleAccessPolicyException.struct_class = Types::InvalidEmailRoleAccessPolicyException
1208
+
1209
+ InvalidLambdaResponseException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1210
+ InvalidLambdaResponseException.struct_class = Types::InvalidLambdaResponseException
1211
+
1212
+ InvalidOAuthFlowException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1213
+ InvalidOAuthFlowException.struct_class = Types::InvalidOAuthFlowException
1214
+
1215
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1216
+ InvalidParameterException.struct_class = Types::InvalidParameterException
1217
+
1218
+ InvalidPasswordException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1219
+ InvalidPasswordException.struct_class = Types::InvalidPasswordException
1220
+
1221
+ InvalidSmsRoleAccessPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1222
+ InvalidSmsRoleAccessPolicyException.struct_class = Types::InvalidSmsRoleAccessPolicyException
1223
+
1224
+ InvalidSmsRoleTrustRelationshipException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1225
+ InvalidSmsRoleTrustRelationshipException.struct_class = Types::InvalidSmsRoleTrustRelationshipException
1226
+
1227
+ InvalidUserPoolConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1228
+ InvalidUserPoolConfigurationException.struct_class = Types::InvalidUserPoolConfigurationException
1229
+
1179
1230
  LambdaConfigType.add_member(:pre_sign_up, Shapes::ShapeRef.new(shape: ArnType, location_name: "PreSignUp"))
1180
1231
  LambdaConfigType.add_member(:custom_message, Shapes::ShapeRef.new(shape: ArnType, location_name: "CustomMessage"))
1181
1232
  LambdaConfigType.add_member(:post_confirmation, Shapes::ShapeRef.new(shape: ArnType, location_name: "PostConfirmation"))
@@ -1188,6 +1239,9 @@ module Aws::CognitoIdentityProvider
1188
1239
  LambdaConfigType.add_member(:user_migration, Shapes::ShapeRef.new(shape: ArnType, location_name: "UserMigration"))
1189
1240
  LambdaConfigType.struct_class = Types::LambdaConfigType
1190
1241
 
1242
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1243
+ LimitExceededException.struct_class = Types::LimitExceededException
1244
+
1191
1245
  ListDevicesRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
1192
1246
  ListDevicesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: QueryLimitType, location_name: "Limit"))
1193
1247
  ListDevicesRequest.add_member(:pagination_token, Shapes::ShapeRef.new(shape: SearchPaginationTokenType, location_name: "PaginationToken"))
@@ -1281,6 +1335,9 @@ module Aws::CognitoIdentityProvider
1281
1335
 
1282
1336
  LogoutURLsListType.member = Shapes::ShapeRef.new(shape: RedirectUrlType)
1283
1337
 
1338
+ MFAMethodNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1339
+ MFAMethodNotFoundException.struct_class = Types::MFAMethodNotFoundException
1340
+
1284
1341
  MFAOptionListType.member = Shapes::ShapeRef.new(shape: MFAOptionType)
1285
1342
 
1286
1343
  MFAOptionType.add_member(:delivery_medium, Shapes::ShapeRef.new(shape: DeliveryMediumType, location_name: "DeliveryMedium"))
@@ -1296,6 +1353,9 @@ module Aws::CognitoIdentityProvider
1296
1353
  NewDeviceMetadataType.add_member(:device_group_key, Shapes::ShapeRef.new(shape: StringType, location_name: "DeviceGroupKey"))
1297
1354
  NewDeviceMetadataType.struct_class = Types::NewDeviceMetadataType
1298
1355
 
1356
+ NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1357
+ NotAuthorizedException.struct_class = Types::NotAuthorizedException
1358
+
1299
1359
  NotifyConfigurationType.add_member(:from, Shapes::ShapeRef.new(shape: StringType, location_name: "From"))
1300
1360
  NotifyConfigurationType.add_member(:reply_to, Shapes::ShapeRef.new(shape: StringType, location_name: "ReplyTo"))
1301
1361
  NotifyConfigurationType.add_member(:source_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "SourceArn"))
@@ -1323,6 +1383,12 @@ module Aws::CognitoIdentityProvider
1323
1383
  PasswordPolicyType.add_member(:temporary_password_validity_days, Shapes::ShapeRef.new(shape: TemporaryPasswordValidityDaysType, location_name: "TemporaryPasswordValidityDays"))
1324
1384
  PasswordPolicyType.struct_class = Types::PasswordPolicyType
1325
1385
 
1386
+ PasswordResetRequiredException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1387
+ PasswordResetRequiredException.struct_class = Types::PasswordResetRequiredException
1388
+
1389
+ PreconditionNotMetException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1390
+ PreconditionNotMetException.struct_class = Types::PreconditionNotMetException
1391
+
1326
1392
  ProviderDescription.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderNameType, location_name: "ProviderName"))
1327
1393
  ProviderDescription.add_member(:provider_type, Shapes::ShapeRef.new(shape: IdentityProviderTypeType, location_name: "ProviderType"))
1328
1394
  ProviderDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
@@ -1349,6 +1415,9 @@ module Aws::CognitoIdentityProvider
1349
1415
  ResendConfirmationCodeResponse.add_member(:code_delivery_details, Shapes::ShapeRef.new(shape: CodeDeliveryDetailsType, location_name: "CodeDeliveryDetails"))
1350
1416
  ResendConfirmationCodeResponse.struct_class = Types::ResendConfirmationCodeResponse
1351
1417
 
1418
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1419
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1420
+
1352
1421
  ResourceServerScopeListType.member = Shapes::ShapeRef.new(shape: ResourceServerScopeType)
1353
1422
 
1354
1423
  ResourceServerScopeType.add_member(:scope_name, Shapes::ShapeRef.new(shape: ResourceServerScopeNameType, required: true, location_name: "ScopeName"))
@@ -1404,6 +1473,9 @@ module Aws::CognitoIdentityProvider
1404
1473
 
1405
1474
  SchemaAttributesListType.member = Shapes::ShapeRef.new(shape: SchemaAttributeType)
1406
1475
 
1476
+ ScopeDoesNotExistException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1477
+ ScopeDoesNotExistException.struct_class = Types::ScopeDoesNotExistException
1478
+
1407
1479
  ScopeListType.member = Shapes::ShapeRef.new(shape: ScopeType)
1408
1480
 
1409
1481
  SearchedAttributeNamesListType.member = Shapes::ShapeRef.new(shape: AttributeNameType)
@@ -1476,6 +1548,9 @@ module Aws::CognitoIdentityProvider
1476
1548
  SmsMfaConfigType.add_member(:sms_configuration, Shapes::ShapeRef.new(shape: SmsConfigurationType, location_name: "SmsConfiguration"))
1477
1549
  SmsMfaConfigType.struct_class = Types::SmsMfaConfigType
1478
1550
 
1551
+ SoftwareTokenMFANotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1552
+ SoftwareTokenMFANotFoundException.struct_class = Types::SoftwareTokenMFANotFoundException
1553
+
1479
1554
  SoftwareTokenMfaConfigType.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Enabled"))
1480
1555
  SoftwareTokenMfaConfigType.struct_class = Types::SoftwareTokenMfaConfigType
1481
1556
 
@@ -1509,6 +1584,12 @@ module Aws::CognitoIdentityProvider
1509
1584
 
1510
1585
  TagResourceResponse.struct_class = Types::TagResourceResponse
1511
1586
 
1587
+ TooManyFailedAttemptsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1588
+ TooManyFailedAttemptsException.struct_class = Types::TooManyFailedAttemptsException
1589
+
1590
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1591
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
1592
+
1512
1593
  UICustomizationType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "UserPoolId"))
1513
1594
  UICustomizationType.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
1514
1595
  UICustomizationType.add_member(:image_url, Shapes::ShapeRef.new(shape: ImageUrlType, location_name: "ImageUrl"))
@@ -1518,6 +1599,15 @@ module Aws::CognitoIdentityProvider
1518
1599
  UICustomizationType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
1519
1600
  UICustomizationType.struct_class = Types::UICustomizationType
1520
1601
 
1602
+ UnexpectedLambdaException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1603
+ UnexpectedLambdaException.struct_class = Types::UnexpectedLambdaException
1604
+
1605
+ UnsupportedIdentityProviderException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1606
+ UnsupportedIdentityProviderException.struct_class = Types::UnsupportedIdentityProviderException
1607
+
1608
+ UnsupportedUserStateException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1609
+ UnsupportedUserStateException.struct_class = Types::UnsupportedUserStateException
1610
+
1521
1611
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "ResourceArn"))
1522
1612
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: UserPoolTagsListType, location_name: "TagKeys"))
1523
1613
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1627,6 +1717,9 @@ module Aws::CognitoIdentityProvider
1627
1717
  UserContextDataType.add_member(:encoded_data, Shapes::ShapeRef.new(shape: StringType, location_name: "EncodedData"))
1628
1718
  UserContextDataType.struct_class = Types::UserContextDataType
1629
1719
 
1720
+ UserImportInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1721
+ UserImportInProgressException.struct_class = Types::UserImportInProgressException
1722
+
1630
1723
  UserImportJobType.add_member(:job_name, Shapes::ShapeRef.new(shape: UserImportJobNameType, location_name: "JobName"))
1631
1724
  UserImportJobType.add_member(:job_id, Shapes::ShapeRef.new(shape: UserImportJobIdType, location_name: "JobId"))
1632
1725
  UserImportJobType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "UserPoolId"))
@@ -1644,8 +1737,20 @@ module Aws::CognitoIdentityProvider
1644
1737
 
1645
1738
  UserImportJobsListType.member = Shapes::ShapeRef.new(shape: UserImportJobType)
1646
1739
 
1740
+ UserLambdaValidationException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1741
+ UserLambdaValidationException.struct_class = Types::UserLambdaValidationException
1742
+
1647
1743
  UserMFASettingListType.member = Shapes::ShapeRef.new(shape: StringType)
1648
1744
 
1745
+ UserNotConfirmedException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1746
+ UserNotConfirmedException.struct_class = Types::UserNotConfirmedException
1747
+
1748
+ UserNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1749
+ UserNotFoundException.struct_class = Types::UserNotFoundException
1750
+
1751
+ UserPoolAddOnNotEnabledException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1752
+ UserPoolAddOnNotEnabledException.struct_class = Types::UserPoolAddOnNotEnabledException
1753
+
1649
1754
  UserPoolAddOnsType.add_member(:advanced_security_mode, Shapes::ShapeRef.new(shape: AdvancedSecurityModeType, required: true, location_name: "AdvancedSecurityMode"))
1650
1755
  UserPoolAddOnsType.struct_class = Types::UserPoolAddOnsType
1651
1756
 
@@ -1689,6 +1794,9 @@ module Aws::CognitoIdentityProvider
1689
1794
  UserPoolPolicyType.add_member(:password_policy, Shapes::ShapeRef.new(shape: PasswordPolicyType, location_name: "PasswordPolicy"))
1690
1795
  UserPoolPolicyType.struct_class = Types::UserPoolPolicyType
1691
1796
 
1797
+ UserPoolTaggingException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1798
+ UserPoolTaggingException.struct_class = Types::UserPoolTaggingException
1799
+
1692
1800
  UserPoolTagsListType.member = Shapes::ShapeRef.new(shape: TagKeysType)
1693
1801
 
1694
1802
  UserPoolTagsType.key = Shapes::ShapeRef.new(shape: TagKeysType)
@@ -1736,6 +1844,9 @@ module Aws::CognitoIdentityProvider
1736
1844
 
1737
1845
  UsernameAttributesListType.member = Shapes::ShapeRef.new(shape: UsernameAttributeType)
1738
1846
 
1847
+ UsernameExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
1848
+ UsernameExistsException.struct_class = Types::UsernameExistsException
1849
+
1739
1850
  UsersListType.member = Shapes::ShapeRef.new(shape: UserType)
1740
1851
 
1741
1852
  VerificationMessageTemplateType.add_member(:sms_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsMessage"))
@@ -10,5 +10,597 @@ module Aws::CognitoIdentityProvider
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AliasExistsException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::CognitoIdentityProvider::Types::AliasExistsException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class CodeDeliveryFailureException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::CognitoIdentityProvider::Types::CodeDeliveryFailureException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class CodeMismatchException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::CognitoIdentityProvider::Types::CodeMismatchException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class ConcurrentModificationException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::CognitoIdentityProvider::Types::ConcurrentModificationException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class DuplicateProviderException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::CognitoIdentityProvider::Types::DuplicateProviderException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class EnableSoftwareTokenMFAException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::CognitoIdentityProvider::Types::EnableSoftwareTokenMFAException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class ExpiredCodeException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::CognitoIdentityProvider::Types::ExpiredCodeException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class GroupExistsException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::CognitoIdentityProvider::Types::GroupExistsException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class InternalErrorException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::CognitoIdentityProvider::Types::InternalErrorException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
157
+ class InvalidEmailRoleAccessPolicyException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::CognitoIdentityProvider::Types::InvalidEmailRoleAccessPolicyException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ end
172
+
173
+ class InvalidLambdaResponseException < ServiceError
174
+
175
+ # @param [Seahorse::Client::RequestContext] context
176
+ # @param [String] message
177
+ # @param [Aws::CognitoIdentityProvider::Types::InvalidLambdaResponseException] data
178
+ def initialize(context, message, data = Aws::EmptyStructure.new)
179
+ super(context, message, data)
180
+ end
181
+
182
+ # @return [String]
183
+ def message
184
+ @message || @data[:message]
185
+ end
186
+
187
+ end
188
+
189
+ class InvalidOAuthFlowException < ServiceError
190
+
191
+ # @param [Seahorse::Client::RequestContext] context
192
+ # @param [String] message
193
+ # @param [Aws::CognitoIdentityProvider::Types::InvalidOAuthFlowException] data
194
+ def initialize(context, message, data = Aws::EmptyStructure.new)
195
+ super(context, message, data)
196
+ end
197
+
198
+ # @return [String]
199
+ def message
200
+ @message || @data[:message]
201
+ end
202
+
203
+ end
204
+
205
+ class InvalidParameterException < ServiceError
206
+
207
+ # @param [Seahorse::Client::RequestContext] context
208
+ # @param [String] message
209
+ # @param [Aws::CognitoIdentityProvider::Types::InvalidParameterException] data
210
+ def initialize(context, message, data = Aws::EmptyStructure.new)
211
+ super(context, message, data)
212
+ end
213
+
214
+ # @return [String]
215
+ def message
216
+ @message || @data[:message]
217
+ end
218
+
219
+ end
220
+
221
+ class InvalidPasswordException < ServiceError
222
+
223
+ # @param [Seahorse::Client::RequestContext] context
224
+ # @param [String] message
225
+ # @param [Aws::CognitoIdentityProvider::Types::InvalidPasswordException] data
226
+ def initialize(context, message, data = Aws::EmptyStructure.new)
227
+ super(context, message, data)
228
+ end
229
+
230
+ # @return [String]
231
+ def message
232
+ @message || @data[:message]
233
+ end
234
+
235
+ end
236
+
237
+ class InvalidSmsRoleAccessPolicyException < ServiceError
238
+
239
+ # @param [Seahorse::Client::RequestContext] context
240
+ # @param [String] message
241
+ # @param [Aws::CognitoIdentityProvider::Types::InvalidSmsRoleAccessPolicyException] data
242
+ def initialize(context, message, data = Aws::EmptyStructure.new)
243
+ super(context, message, data)
244
+ end
245
+
246
+ # @return [String]
247
+ def message
248
+ @message || @data[:message]
249
+ end
250
+
251
+ end
252
+
253
+ class InvalidSmsRoleTrustRelationshipException < ServiceError
254
+
255
+ # @param [Seahorse::Client::RequestContext] context
256
+ # @param [String] message
257
+ # @param [Aws::CognitoIdentityProvider::Types::InvalidSmsRoleTrustRelationshipException] data
258
+ def initialize(context, message, data = Aws::EmptyStructure.new)
259
+ super(context, message, data)
260
+ end
261
+
262
+ # @return [String]
263
+ def message
264
+ @message || @data[:message]
265
+ end
266
+
267
+ end
268
+
269
+ class InvalidUserPoolConfigurationException < ServiceError
270
+
271
+ # @param [Seahorse::Client::RequestContext] context
272
+ # @param [String] message
273
+ # @param [Aws::CognitoIdentityProvider::Types::InvalidUserPoolConfigurationException] data
274
+ def initialize(context, message, data = Aws::EmptyStructure.new)
275
+ super(context, message, data)
276
+ end
277
+
278
+ # @return [String]
279
+ def message
280
+ @message || @data[:message]
281
+ end
282
+
283
+ end
284
+
285
+ class LimitExceededException < ServiceError
286
+
287
+ # @param [Seahorse::Client::RequestContext] context
288
+ # @param [String] message
289
+ # @param [Aws::CognitoIdentityProvider::Types::LimitExceededException] data
290
+ def initialize(context, message, data = Aws::EmptyStructure.new)
291
+ super(context, message, data)
292
+ end
293
+
294
+ # @return [String]
295
+ def message
296
+ @message || @data[:message]
297
+ end
298
+
299
+ end
300
+
301
+ class MFAMethodNotFoundException < ServiceError
302
+
303
+ # @param [Seahorse::Client::RequestContext] context
304
+ # @param [String] message
305
+ # @param [Aws::CognitoIdentityProvider::Types::MFAMethodNotFoundException] data
306
+ def initialize(context, message, data = Aws::EmptyStructure.new)
307
+ super(context, message, data)
308
+ end
309
+
310
+ # @return [String]
311
+ def message
312
+ @message || @data[:message]
313
+ end
314
+
315
+ end
316
+
317
+ class NotAuthorizedException < ServiceError
318
+
319
+ # @param [Seahorse::Client::RequestContext] context
320
+ # @param [String] message
321
+ # @param [Aws::CognitoIdentityProvider::Types::NotAuthorizedException] data
322
+ def initialize(context, message, data = Aws::EmptyStructure.new)
323
+ super(context, message, data)
324
+ end
325
+
326
+ # @return [String]
327
+ def message
328
+ @message || @data[:message]
329
+ end
330
+
331
+ end
332
+
333
+ class PasswordResetRequiredException < ServiceError
334
+
335
+ # @param [Seahorse::Client::RequestContext] context
336
+ # @param [String] message
337
+ # @param [Aws::CognitoIdentityProvider::Types::PasswordResetRequiredException] data
338
+ def initialize(context, message, data = Aws::EmptyStructure.new)
339
+ super(context, message, data)
340
+ end
341
+
342
+ # @return [String]
343
+ def message
344
+ @message || @data[:message]
345
+ end
346
+
347
+ end
348
+
349
+ class PreconditionNotMetException < ServiceError
350
+
351
+ # @param [Seahorse::Client::RequestContext] context
352
+ # @param [String] message
353
+ # @param [Aws::CognitoIdentityProvider::Types::PreconditionNotMetException] data
354
+ def initialize(context, message, data = Aws::EmptyStructure.new)
355
+ super(context, message, data)
356
+ end
357
+
358
+ # @return [String]
359
+ def message
360
+ @message || @data[:message]
361
+ end
362
+
363
+ end
364
+
365
+ class ResourceNotFoundException < ServiceError
366
+
367
+ # @param [Seahorse::Client::RequestContext] context
368
+ # @param [String] message
369
+ # @param [Aws::CognitoIdentityProvider::Types::ResourceNotFoundException] data
370
+ def initialize(context, message, data = Aws::EmptyStructure.new)
371
+ super(context, message, data)
372
+ end
373
+
374
+ # @return [String]
375
+ def message
376
+ @message || @data[:message]
377
+ end
378
+
379
+ end
380
+
381
+ class ScopeDoesNotExistException < ServiceError
382
+
383
+ # @param [Seahorse::Client::RequestContext] context
384
+ # @param [String] message
385
+ # @param [Aws::CognitoIdentityProvider::Types::ScopeDoesNotExistException] data
386
+ def initialize(context, message, data = Aws::EmptyStructure.new)
387
+ super(context, message, data)
388
+ end
389
+
390
+ # @return [String]
391
+ def message
392
+ @message || @data[:message]
393
+ end
394
+
395
+ end
396
+
397
+ class SoftwareTokenMFANotFoundException < ServiceError
398
+
399
+ # @param [Seahorse::Client::RequestContext] context
400
+ # @param [String] message
401
+ # @param [Aws::CognitoIdentityProvider::Types::SoftwareTokenMFANotFoundException] data
402
+ def initialize(context, message, data = Aws::EmptyStructure.new)
403
+ super(context, message, data)
404
+ end
405
+
406
+ # @return [String]
407
+ def message
408
+ @message || @data[:message]
409
+ end
410
+
411
+ end
412
+
413
+ class TooManyFailedAttemptsException < ServiceError
414
+
415
+ # @param [Seahorse::Client::RequestContext] context
416
+ # @param [String] message
417
+ # @param [Aws::CognitoIdentityProvider::Types::TooManyFailedAttemptsException] data
418
+ def initialize(context, message, data = Aws::EmptyStructure.new)
419
+ super(context, message, data)
420
+ end
421
+
422
+ # @return [String]
423
+ def message
424
+ @message || @data[:message]
425
+ end
426
+
427
+ end
428
+
429
+ class TooManyRequestsException < ServiceError
430
+
431
+ # @param [Seahorse::Client::RequestContext] context
432
+ # @param [String] message
433
+ # @param [Aws::CognitoIdentityProvider::Types::TooManyRequestsException] data
434
+ def initialize(context, message, data = Aws::EmptyStructure.new)
435
+ super(context, message, data)
436
+ end
437
+
438
+ # @return [String]
439
+ def message
440
+ @message || @data[:message]
441
+ end
442
+
443
+ end
444
+
445
+ class UnexpectedLambdaException < ServiceError
446
+
447
+ # @param [Seahorse::Client::RequestContext] context
448
+ # @param [String] message
449
+ # @param [Aws::CognitoIdentityProvider::Types::UnexpectedLambdaException] data
450
+ def initialize(context, message, data = Aws::EmptyStructure.new)
451
+ super(context, message, data)
452
+ end
453
+
454
+ # @return [String]
455
+ def message
456
+ @message || @data[:message]
457
+ end
458
+
459
+ end
460
+
461
+ class UnsupportedIdentityProviderException < ServiceError
462
+
463
+ # @param [Seahorse::Client::RequestContext] context
464
+ # @param [String] message
465
+ # @param [Aws::CognitoIdentityProvider::Types::UnsupportedIdentityProviderException] data
466
+ def initialize(context, message, data = Aws::EmptyStructure.new)
467
+ super(context, message, data)
468
+ end
469
+
470
+ # @return [String]
471
+ def message
472
+ @message || @data[:message]
473
+ end
474
+
475
+ end
476
+
477
+ class UnsupportedUserStateException < ServiceError
478
+
479
+ # @param [Seahorse::Client::RequestContext] context
480
+ # @param [String] message
481
+ # @param [Aws::CognitoIdentityProvider::Types::UnsupportedUserStateException] data
482
+ def initialize(context, message, data = Aws::EmptyStructure.new)
483
+ super(context, message, data)
484
+ end
485
+
486
+ # @return [String]
487
+ def message
488
+ @message || @data[:message]
489
+ end
490
+
491
+ end
492
+
493
+ class UserImportInProgressException < ServiceError
494
+
495
+ # @param [Seahorse::Client::RequestContext] context
496
+ # @param [String] message
497
+ # @param [Aws::CognitoIdentityProvider::Types::UserImportInProgressException] data
498
+ def initialize(context, message, data = Aws::EmptyStructure.new)
499
+ super(context, message, data)
500
+ end
501
+
502
+ # @return [String]
503
+ def message
504
+ @message || @data[:message]
505
+ end
506
+
507
+ end
508
+
509
+ class UserLambdaValidationException < ServiceError
510
+
511
+ # @param [Seahorse::Client::RequestContext] context
512
+ # @param [String] message
513
+ # @param [Aws::CognitoIdentityProvider::Types::UserLambdaValidationException] data
514
+ def initialize(context, message, data = Aws::EmptyStructure.new)
515
+ super(context, message, data)
516
+ end
517
+
518
+ # @return [String]
519
+ def message
520
+ @message || @data[:message]
521
+ end
522
+
523
+ end
524
+
525
+ class UserNotConfirmedException < ServiceError
526
+
527
+ # @param [Seahorse::Client::RequestContext] context
528
+ # @param [String] message
529
+ # @param [Aws::CognitoIdentityProvider::Types::UserNotConfirmedException] data
530
+ def initialize(context, message, data = Aws::EmptyStructure.new)
531
+ super(context, message, data)
532
+ end
533
+
534
+ # @return [String]
535
+ def message
536
+ @message || @data[:message]
537
+ end
538
+
539
+ end
540
+
541
+ class UserNotFoundException < ServiceError
542
+
543
+ # @param [Seahorse::Client::RequestContext] context
544
+ # @param [String] message
545
+ # @param [Aws::CognitoIdentityProvider::Types::UserNotFoundException] data
546
+ def initialize(context, message, data = Aws::EmptyStructure.new)
547
+ super(context, message, data)
548
+ end
549
+
550
+ # @return [String]
551
+ def message
552
+ @message || @data[:message]
553
+ end
554
+
555
+ end
556
+
557
+ class UserPoolAddOnNotEnabledException < ServiceError
558
+
559
+ # @param [Seahorse::Client::RequestContext] context
560
+ # @param [String] message
561
+ # @param [Aws::CognitoIdentityProvider::Types::UserPoolAddOnNotEnabledException] data
562
+ def initialize(context, message, data = Aws::EmptyStructure.new)
563
+ super(context, message, data)
564
+ end
565
+
566
+ # @return [String]
567
+ def message
568
+ @message || @data[:message]
569
+ end
570
+
571
+ end
572
+
573
+ class UserPoolTaggingException < ServiceError
574
+
575
+ # @param [Seahorse::Client::RequestContext] context
576
+ # @param [String] message
577
+ # @param [Aws::CognitoIdentityProvider::Types::UserPoolTaggingException] data
578
+ def initialize(context, message, data = Aws::EmptyStructure.new)
579
+ super(context, message, data)
580
+ end
581
+
582
+ # @return [String]
583
+ def message
584
+ @message || @data[:message]
585
+ end
586
+
587
+ end
588
+
589
+ class UsernameExistsException < ServiceError
590
+
591
+ # @param [Seahorse::Client::RequestContext] context
592
+ # @param [String] message
593
+ # @param [Aws::CognitoIdentityProvider::Types::UsernameExistsException] data
594
+ def initialize(context, message, data = Aws::EmptyStructure.new)
595
+ super(context, message, data)
596
+ end
597
+
598
+ # @return [String]
599
+ def message
600
+ @message || @data[:message]
601
+ end
602
+
603
+ end
604
+
13
605
  end
14
606
  end