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.
@@ -1768,6 +1768,22 @@ module Aws::CognitoIdentityProvider
1768
1768
  #
1769
1769
  class AdminUserGlobalSignOutResponse < Aws::EmptyStructure; end
1770
1770
 
1771
+ # This exception is thrown when a user tries to confirm the account with
1772
+ # an email or phone number that has already been supplied as an alias
1773
+ # from a different account. This exception tells user that an account
1774
+ # with this email or phone already exists.
1775
+ #
1776
+ # @!attribute [rw] message
1777
+ # The message sent to the user when an alias exists.
1778
+ # @return [String]
1779
+ #
1780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AliasExistsException AWS API Documentation
1781
+ #
1782
+ class AliasExistsException < Struct.new(
1783
+ :message)
1784
+ include Aws::Structure
1785
+ end
1786
+
1771
1787
  # The Amazon Pinpoint analytics configuration for collecting metrics for
1772
1788
  # a user pool.
1773
1789
  #
@@ -2071,6 +2087,35 @@ module Aws::CognitoIdentityProvider
2071
2087
  include Aws::Structure
2072
2088
  end
2073
2089
 
2090
+ # This exception is thrown when a verification code fails to deliver
2091
+ # successfully.
2092
+ #
2093
+ # @!attribute [rw] message
2094
+ # The message sent when a verification code fails to deliver
2095
+ # successfully.
2096
+ # @return [String]
2097
+ #
2098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CodeDeliveryFailureException AWS API Documentation
2099
+ #
2100
+ class CodeDeliveryFailureException < Struct.new(
2101
+ :message)
2102
+ include Aws::Structure
2103
+ end
2104
+
2105
+ # This exception is thrown if the provided code does not match what the
2106
+ # server was expecting.
2107
+ #
2108
+ # @!attribute [rw] message
2109
+ # The message provided when the code mismatch exception is thrown.
2110
+ # @return [String]
2111
+ #
2112
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CodeMismatchException AWS API Documentation
2113
+ #
2114
+ class CodeMismatchException < Struct.new(
2115
+ :message)
2116
+ include Aws::Structure
2117
+ end
2118
+
2074
2119
  # The compromised credentials actions type
2075
2120
  #
2076
2121
  # @note When making an API call, you may pass CompromisedCredentialsActionsType
@@ -2120,6 +2165,20 @@ module Aws::CognitoIdentityProvider
2120
2165
  include Aws::Structure
2121
2166
  end
2122
2167
 
2168
+ # This exception is thrown if two or more modifications are happening
2169
+ # concurrently.
2170
+ #
2171
+ # @!attribute [rw] message
2172
+ # The message provided when the concurrent exception is thrown.
2173
+ # @return [String]
2174
+ #
2175
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConcurrentModificationException AWS API Documentation
2176
+ #
2177
+ class ConcurrentModificationException < Struct.new(
2178
+ :message)
2179
+ include Aws::Structure
2180
+ end
2181
+
2123
2182
  # Confirms the device request.
2124
2183
  #
2125
2184
  # @note When making an API call, you may pass ConfirmDeviceRequest
@@ -3705,6 +3764,19 @@ module Aws::CognitoIdentityProvider
3705
3764
  include Aws::Structure
3706
3765
  end
3707
3766
 
3767
+ # This exception is thrown when the provider is already supported by the
3768
+ # user pool.
3769
+ #
3770
+ # @!attribute [rw] message
3771
+ # @return [String]
3772
+ #
3773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DuplicateProviderException AWS API Documentation
3774
+ #
3775
+ class DuplicateProviderException < Struct.new(
3776
+ :message)
3777
+ include Aws::Structure
3778
+ end
3779
+
3708
3780
  # The email configuration type.
3709
3781
  #
3710
3782
  # @note When making an API call, you may pass EmailConfigurationType
@@ -3793,6 +3865,20 @@ module Aws::CognitoIdentityProvider
3793
3865
  include Aws::Structure
3794
3866
  end
3795
3867
 
3868
+ # This exception is thrown when there is a code mismatch and the service
3869
+ # fails to configure the software token TOTP multi-factor authentication
3870
+ # (MFA).
3871
+ #
3872
+ # @!attribute [rw] message
3873
+ # @return [String]
3874
+ #
3875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EnableSoftwareTokenMFAException AWS API Documentation
3876
+ #
3877
+ class EnableSoftwareTokenMFAException < Struct.new(
3878
+ :message)
3879
+ include Aws::Structure
3880
+ end
3881
+
3796
3882
  # Specifies the user context data captured at the time of an event
3797
3883
  # request.
3798
3884
  #
@@ -3868,6 +3954,19 @@ module Aws::CognitoIdentityProvider
3868
3954
  include Aws::Structure
3869
3955
  end
3870
3956
 
3957
+ # This exception is thrown if a code has expired.
3958
+ #
3959
+ # @!attribute [rw] message
3960
+ # The message returned when the expired code exception is thrown.
3961
+ # @return [String]
3962
+ #
3963
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ExpiredCodeException AWS API Documentation
3964
+ #
3965
+ class ExpiredCodeException < Struct.new(
3966
+ :message)
3967
+ include Aws::Structure
3968
+ end
3969
+
3871
3970
  # Represents the request to forget the device.
3872
3971
  #
3873
3972
  # @note When making an API call, you may pass ForgetDeviceRequest
@@ -4349,6 +4448,19 @@ module Aws::CognitoIdentityProvider
4349
4448
  #
4350
4449
  class GlobalSignOutResponse < Aws::EmptyStructure; end
4351
4450
 
4451
+ # This exception is thrown when Amazon Cognito encounters a group that
4452
+ # already exists in the user pool.
4453
+ #
4454
+ # @!attribute [rw] message
4455
+ # @return [String]
4456
+ #
4457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GroupExistsException AWS API Documentation
4458
+ #
4459
+ class GroupExistsException < Struct.new(
4460
+ :message)
4461
+ include Aws::Structure
4462
+ end
4463
+
4352
4464
  # The group type.
4353
4465
  #
4354
4466
  # @!attribute [rw] group_name
@@ -4658,6 +4770,140 @@ module Aws::CognitoIdentityProvider
4658
4770
  include Aws::Structure
4659
4771
  end
4660
4772
 
4773
+ # This exception is thrown when Amazon Cognito encounters an internal
4774
+ # error.
4775
+ #
4776
+ # @!attribute [rw] message
4777
+ # The message returned when Amazon Cognito throws an internal error
4778
+ # exception.
4779
+ # @return [String]
4780
+ #
4781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InternalErrorException AWS API Documentation
4782
+ #
4783
+ class InternalErrorException < Struct.new(
4784
+ :message)
4785
+ include Aws::Structure
4786
+ end
4787
+
4788
+ # This exception is thrown when Amazon Cognito is not allowed to use
4789
+ # your email identity. HTTP status code: 400.
4790
+ #
4791
+ # @!attribute [rw] message
4792
+ # The message returned when you have an unverified email address or
4793
+ # the identity policy is not set on an email address that Amazon
4794
+ # Cognito can access.
4795
+ # @return [String]
4796
+ #
4797
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InvalidEmailRoleAccessPolicyException AWS API Documentation
4798
+ #
4799
+ class InvalidEmailRoleAccessPolicyException < Struct.new(
4800
+ :message)
4801
+ include Aws::Structure
4802
+ end
4803
+
4804
+ # This exception is thrown when the Amazon Cognito service encounters an
4805
+ # invalid AWS Lambda response.
4806
+ #
4807
+ # @!attribute [rw] message
4808
+ # The message returned when the Amazon Cognito service throws an
4809
+ # invalid AWS Lambda response exception.
4810
+ # @return [String]
4811
+ #
4812
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InvalidLambdaResponseException AWS API Documentation
4813
+ #
4814
+ class InvalidLambdaResponseException < Struct.new(
4815
+ :message)
4816
+ include Aws::Structure
4817
+ end
4818
+
4819
+ # This exception is thrown when the specified OAuth flow is invalid.
4820
+ #
4821
+ # @!attribute [rw] message
4822
+ # @return [String]
4823
+ #
4824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InvalidOAuthFlowException AWS API Documentation
4825
+ #
4826
+ class InvalidOAuthFlowException < Struct.new(
4827
+ :message)
4828
+ include Aws::Structure
4829
+ end
4830
+
4831
+ # This exception is thrown when the Amazon Cognito service encounters an
4832
+ # invalid parameter.
4833
+ #
4834
+ # @!attribute [rw] message
4835
+ # The message returned when the Amazon Cognito service throws an
4836
+ # invalid parameter exception.
4837
+ # @return [String]
4838
+ #
4839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InvalidParameterException AWS API Documentation
4840
+ #
4841
+ class InvalidParameterException < Struct.new(
4842
+ :message)
4843
+ include Aws::Structure
4844
+ end
4845
+
4846
+ # This exception is thrown when the Amazon Cognito service encounters an
4847
+ # invalid password.
4848
+ #
4849
+ # @!attribute [rw] message
4850
+ # The message returned when the Amazon Cognito service throws an
4851
+ # invalid user password exception.
4852
+ # @return [String]
4853
+ #
4854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InvalidPasswordException AWS API Documentation
4855
+ #
4856
+ class InvalidPasswordException < Struct.new(
4857
+ :message)
4858
+ include Aws::Structure
4859
+ end
4860
+
4861
+ # This exception is returned when the role provided for SMS
4862
+ # configuration does not have permission to publish using Amazon SNS.
4863
+ #
4864
+ # @!attribute [rw] message
4865
+ # The message retuned when the invalid SMS role access policy
4866
+ # exception is thrown.
4867
+ # @return [String]
4868
+ #
4869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InvalidSmsRoleAccessPolicyException AWS API Documentation
4870
+ #
4871
+ class InvalidSmsRoleAccessPolicyException < Struct.new(
4872
+ :message)
4873
+ include Aws::Structure
4874
+ end
4875
+
4876
+ # This exception is thrown when the trust relationship is invalid for
4877
+ # the role provided for SMS configuration. This can happen if you do not
4878
+ # trust **cognito-idp.amazonaws.com** or the external ID provided in the
4879
+ # role does not match what is provided in the SMS configuration for the
4880
+ # user pool.
4881
+ #
4882
+ # @!attribute [rw] message
4883
+ # The message returned when the role trust relationship for the SMS
4884
+ # message is invalid.
4885
+ # @return [String]
4886
+ #
4887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InvalidSmsRoleTrustRelationshipException AWS API Documentation
4888
+ #
4889
+ class InvalidSmsRoleTrustRelationshipException < Struct.new(
4890
+ :message)
4891
+ include Aws::Structure
4892
+ end
4893
+
4894
+ # This exception is thrown when the user pool configuration is invalid.
4895
+ #
4896
+ # @!attribute [rw] message
4897
+ # The message returned when the user pool configuration is invalid.
4898
+ # @return [String]
4899
+ #
4900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InvalidUserPoolConfigurationException AWS API Documentation
4901
+ #
4902
+ class InvalidUserPoolConfigurationException < Struct.new(
4903
+ :message)
4904
+ include Aws::Structure
4905
+ end
4906
+
4661
4907
  # Specifies the configuration for AWS Lambda triggers.
4662
4908
  #
4663
4909
  # @note When making an API call, you may pass LambdaConfigType
@@ -4732,6 +4978,21 @@ module Aws::CognitoIdentityProvider
4732
4978
  include Aws::Structure
4733
4979
  end
4734
4980
 
4981
+ # This exception is thrown when a user exceeds the limit for a requested
4982
+ # AWS resource.
4983
+ #
4984
+ # @!attribute [rw] message
4985
+ # The message returned when Amazon Cognito throws a limit exceeded
4986
+ # exception.
4987
+ # @return [String]
4988
+ #
4989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/LimitExceededException AWS API Documentation
4990
+ #
4991
+ class LimitExceededException < Struct.new(
4992
+ :message)
4993
+ include Aws::Structure
4994
+ end
4995
+
4735
4996
  # Represents the request to list the devices.
4736
4997
  #
4737
4998
  # @note When making an API call, you may pass ListDevicesRequest
@@ -5289,6 +5550,21 @@ module Aws::CognitoIdentityProvider
5289
5550
  include Aws::Structure
5290
5551
  end
5291
5552
 
5553
+ # This exception is thrown when Amazon Cognito cannot find a
5554
+ # multi-factor authentication (MFA) method.
5555
+ #
5556
+ # @!attribute [rw] message
5557
+ # The message returned when Amazon Cognito throws an MFA method not
5558
+ # found exception.
5559
+ # @return [String]
5560
+ #
5561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/MFAMethodNotFoundException AWS API Documentation
5562
+ #
5563
+ class MFAMethodNotFoundException < Struct.new(
5564
+ :message)
5565
+ include Aws::Structure
5566
+ end
5567
+
5292
5568
  # Specifies the different settings for multi-factor authentication
5293
5569
  # (MFA).
5294
5570
  #
@@ -5367,6 +5643,20 @@ module Aws::CognitoIdentityProvider
5367
5643
  include Aws::Structure
5368
5644
  end
5369
5645
 
5646
+ # This exception is thrown when a user is not authorized.
5647
+ #
5648
+ # @!attribute [rw] message
5649
+ # The message returned when the Amazon Cognito service returns a not
5650
+ # authorized exception.
5651
+ # @return [String]
5652
+ #
5653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NotAuthorizedException AWS API Documentation
5654
+ #
5655
+ class NotAuthorizedException < Struct.new(
5656
+ :message)
5657
+ include Aws::Structure
5658
+ end
5659
+
5370
5660
  # The notify configuration type.
5371
5661
  #
5372
5662
  # @note When making an API call, you may pass NotifyConfigurationType
@@ -5549,6 +5839,32 @@ module Aws::CognitoIdentityProvider
5549
5839
  include Aws::Structure
5550
5840
  end
5551
5841
 
5842
+ # This exception is thrown when a password reset is required.
5843
+ #
5844
+ # @!attribute [rw] message
5845
+ # The message returned when a password reset is required.
5846
+ # @return [String]
5847
+ #
5848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/PasswordResetRequiredException AWS API Documentation
5849
+ #
5850
+ class PasswordResetRequiredException < Struct.new(
5851
+ :message)
5852
+ include Aws::Structure
5853
+ end
5854
+
5855
+ # This exception is thrown when a precondition is not met.
5856
+ #
5857
+ # @!attribute [rw] message
5858
+ # The message returned when a precondition is not met.
5859
+ # @return [String]
5860
+ #
5861
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/PreconditionNotMetException AWS API Documentation
5862
+ #
5863
+ class PreconditionNotMetException < Struct.new(
5864
+ :message)
5865
+ include Aws::Structure
5866
+ end
5867
+
5552
5868
  # A container for identity provider details.
5553
5869
  #
5554
5870
  # @!attribute [rw] provider_name
@@ -5682,6 +5998,21 @@ module Aws::CognitoIdentityProvider
5682
5998
  include Aws::Structure
5683
5999
  end
5684
6000
 
6001
+ # This exception is thrown when the Amazon Cognito service cannot find
6002
+ # the requested resource.
6003
+ #
6004
+ # @!attribute [rw] message
6005
+ # The message returned when the Amazon Cognito service returns a
6006
+ # resource not found exception.
6007
+ # @return [String]
6008
+ #
6009
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResourceNotFoundException AWS API Documentation
6010
+ #
6011
+ class ResourceNotFoundException < Struct.new(
6012
+ :message)
6013
+ include Aws::Structure
6014
+ end
6015
+
5685
6016
  # A resource server scope.
5686
6017
  #
5687
6018
  # @note When making an API call, you may pass ResourceServerScopeType
@@ -6019,6 +6350,18 @@ module Aws::CognitoIdentityProvider
6019
6350
  include Aws::Structure
6020
6351
  end
6021
6352
 
6353
+ # This exception is thrown when the specified scope does not exist.
6354
+ #
6355
+ # @!attribute [rw] message
6356
+ # @return [String]
6357
+ #
6358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ScopeDoesNotExistException AWS API Documentation
6359
+ #
6360
+ class ScopeDoesNotExistException < Struct.new(
6361
+ :message)
6362
+ include Aws::Structure
6363
+ end
6364
+
6022
6365
  # @note When making an API call, you may pass SetRiskConfigurationRequest
6023
6366
  # data as a hash:
6024
6367
  #
@@ -6478,6 +6821,19 @@ module Aws::CognitoIdentityProvider
6478
6821
  include Aws::Structure
6479
6822
  end
6480
6823
 
6824
+ # This exception is thrown when the software token TOTP multi-factor
6825
+ # authentication (MFA) is not enabled for the user pool.
6826
+ #
6827
+ # @!attribute [rw] message
6828
+ # @return [String]
6829
+ #
6830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SoftwareTokenMFANotFoundException AWS API Documentation
6831
+ #
6832
+ class SoftwareTokenMFANotFoundException < Struct.new(
6833
+ :message)
6834
+ include Aws::Structure
6835
+ end
6836
+
6481
6837
  # The type used for enabling software token MFA at the user pool level.
6482
6838
  #
6483
6839
  # @note When making an API call, you may pass SoftwareTokenMfaConfigType
@@ -6663,6 +7019,36 @@ module Aws::CognitoIdentityProvider
6663
7019
  #
6664
7020
  class TagResourceResponse < Aws::EmptyStructure; end
6665
7021
 
7022
+ # This exception is thrown when the user has made too many failed
7023
+ # attempts for a given action (e.g., sign in).
7024
+ #
7025
+ # @!attribute [rw] message
7026
+ # The message returned when the Amazon Cognito service returns a too
7027
+ # many failed attempts exception.
7028
+ # @return [String]
7029
+ #
7030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TooManyFailedAttemptsException AWS API Documentation
7031
+ #
7032
+ class TooManyFailedAttemptsException < Struct.new(
7033
+ :message)
7034
+ include Aws::Structure
7035
+ end
7036
+
7037
+ # This exception is thrown when the user has made too many requests for
7038
+ # a given operation.
7039
+ #
7040
+ # @!attribute [rw] message
7041
+ # The message returned when the Amazon Cognito service returns a too
7042
+ # many requests exception.
7043
+ # @return [String]
7044
+ #
7045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TooManyRequestsException AWS API Documentation
7046
+ #
7047
+ class TooManyRequestsException < Struct.new(
7048
+ :message)
7049
+ include Aws::Structure
7050
+ end
7051
+
6666
7052
  # A container for the UI customization information for a user pool's
6667
7053
  # built-in app UI.
6668
7054
  #
@@ -6707,6 +7093,47 @@ module Aws::CognitoIdentityProvider
6707
7093
  include Aws::Structure
6708
7094
  end
6709
7095
 
7096
+ # This exception is thrown when the Amazon Cognito service encounters an
7097
+ # unexpected exception with the AWS Lambda service.
7098
+ #
7099
+ # @!attribute [rw] message
7100
+ # The message returned when the Amazon Cognito service returns an
7101
+ # unexpected AWS Lambda exception.
7102
+ # @return [String]
7103
+ #
7104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UnexpectedLambdaException AWS API Documentation
7105
+ #
7106
+ class UnexpectedLambdaException < Struct.new(
7107
+ :message)
7108
+ include Aws::Structure
7109
+ end
7110
+
7111
+ # This exception is thrown when the specified identifier is not
7112
+ # supported.
7113
+ #
7114
+ # @!attribute [rw] message
7115
+ # @return [String]
7116
+ #
7117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UnsupportedIdentityProviderException AWS API Documentation
7118
+ #
7119
+ class UnsupportedIdentityProviderException < Struct.new(
7120
+ :message)
7121
+ include Aws::Structure
7122
+ end
7123
+
7124
+ # The request failed because the user is in an unsupported state.
7125
+ #
7126
+ # @!attribute [rw] message
7127
+ # The message returned when the user is in an unsupported state.
7128
+ # @return [String]
7129
+ #
7130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UnsupportedUserStateException AWS API Documentation
7131
+ #
7132
+ class UnsupportedUserStateException < Struct.new(
7133
+ :message)
7134
+ include Aws::Structure
7135
+ end
7136
+
6710
7137
  # @note When making an API call, you may pass UntagResourceRequest
6711
7138
  # data as a hash:
6712
7139
  #
@@ -7465,6 +7892,20 @@ module Aws::CognitoIdentityProvider
7465
7892
  include Aws::Structure
7466
7893
  end
7467
7894
 
7895
+ # This exception is thrown when you are trying to modify a user pool
7896
+ # while a user import job is in progress for that pool.
7897
+ #
7898
+ # @!attribute [rw] message
7899
+ # The message returned when the user pool has an import job running.
7900
+ # @return [String]
7901
+ #
7902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserImportInProgressException AWS API Documentation
7903
+ #
7904
+ class UserImportInProgressException < Struct.new(
7905
+ :message)
7906
+ include Aws::Structure
7907
+ end
7908
+
7468
7909
  # The user import job type.
7469
7910
  #
7470
7911
  # @!attribute [rw] job_name
@@ -7562,6 +8003,59 @@ module Aws::CognitoIdentityProvider
7562
8003
  include Aws::Structure
7563
8004
  end
7564
8005
 
8006
+ # This exception is thrown when the Amazon Cognito service encounters a
8007
+ # user validation exception with the AWS Lambda service.
8008
+ #
8009
+ # @!attribute [rw] message
8010
+ # The message returned when the Amazon Cognito service returns a user
8011
+ # validation exception with the AWS Lambda service.
8012
+ # @return [String]
8013
+ #
8014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserLambdaValidationException AWS API Documentation
8015
+ #
8016
+ class UserLambdaValidationException < Struct.new(
8017
+ :message)
8018
+ include Aws::Structure
8019
+ end
8020
+
8021
+ # This exception is thrown when a user is not confirmed successfully.
8022
+ #
8023
+ # @!attribute [rw] message
8024
+ # The message returned when a user is not confirmed successfully.
8025
+ # @return [String]
8026
+ #
8027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserNotConfirmedException AWS API Documentation
8028
+ #
8029
+ class UserNotConfirmedException < Struct.new(
8030
+ :message)
8031
+ include Aws::Structure
8032
+ end
8033
+
8034
+ # This exception is thrown when a user is not found.
8035
+ #
8036
+ # @!attribute [rw] message
8037
+ # The message returned when a user is not found.
8038
+ # @return [String]
8039
+ #
8040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserNotFoundException AWS API Documentation
8041
+ #
8042
+ class UserNotFoundException < Struct.new(
8043
+ :message)
8044
+ include Aws::Structure
8045
+ end
8046
+
8047
+ # This exception is thrown when user pool add-ons are not enabled.
8048
+ #
8049
+ # @!attribute [rw] message
8050
+ # @return [String]
8051
+ #
8052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolAddOnNotEnabledException AWS API Documentation
8053
+ #
8054
+ class UserPoolAddOnNotEnabledException < Struct.new(
8055
+ :message)
8056
+ include Aws::Structure
8057
+ end
8058
+
7565
8059
  # The user pool add-ons type.
7566
8060
  #
7567
8061
  # @note When making an API call, you may pass UserPoolAddOnsType
@@ -7818,6 +8312,19 @@ module Aws::CognitoIdentityProvider
7818
8312
  include Aws::Structure
7819
8313
  end
7820
8314
 
8315
+ # This exception is thrown when a user pool tag cannot be set or
8316
+ # updated.
8317
+ #
8318
+ # @!attribute [rw] message
8319
+ # @return [String]
8320
+ #
8321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolTaggingException AWS API Documentation
8322
+ #
8323
+ class UserPoolTaggingException < Struct.new(
8324
+ :message)
8325
+ include Aws::Structure
8326
+ end
8327
+
7821
8328
  # A container for information about the user pool.
7822
8329
  #
7823
8330
  # @!attribute [rw] id
@@ -8058,6 +8565,21 @@ module Aws::CognitoIdentityProvider
8058
8565
  include Aws::Structure
8059
8566
  end
8060
8567
 
8568
+ # This exception is thrown when Amazon Cognito encounters a user name
8569
+ # that already exists in the user pool.
8570
+ #
8571
+ # @!attribute [rw] message
8572
+ # The message returned when Amazon Cognito throws a user name exists
8573
+ # exception.
8574
+ # @return [String]
8575
+ #
8576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UsernameExistsException AWS API Documentation
8577
+ #
8578
+ class UsernameExistsException < Struct.new(
8579
+ :message)
8580
+ include Aws::Structure
8581
+ end
8582
+
8061
8583
  # The template for verification messages.
8062
8584
  #
8063
8585
  # @note When making an API call, you may pass VerificationMessageTemplateType