aws-sdk-cognitoidentityprovider 1.109.0 → 1.111.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,6 +34,7 @@ module Aws::CognitoIdentityProvider
34
34
  # * {DuplicateProviderException}
35
35
  # * {EnableSoftwareTokenMFAException}
36
36
  # * {ExpiredCodeException}
37
+ # * {FeatureUnavailableInTierException}
37
38
  # * {ForbiddenException}
38
39
  # * {GroupExistsException}
39
40
  # * {InternalErrorException}
@@ -47,6 +48,7 @@ module Aws::CognitoIdentityProvider
47
48
  # * {InvalidUserPoolConfigurationException}
48
49
  # * {LimitExceededException}
49
50
  # * {MFAMethodNotFoundException}
51
+ # * {ManagedLoginBrandingExistsException}
50
52
  # * {NotAuthorizedException}
51
53
  # * {PasswordHistoryPolicyViolationException}
52
54
  # * {PasswordResetRequiredException}
@@ -54,6 +56,7 @@ module Aws::CognitoIdentityProvider
54
56
  # * {ResourceNotFoundException}
55
57
  # * {ScopeDoesNotExistException}
56
58
  # * {SoftwareTokenMFANotFoundException}
59
+ # * {TierChangeNotAllowedException}
57
60
  # * {TooManyFailedAttemptsException}
58
61
  # * {TooManyRequestsException}
59
62
  # * {UnauthorizedException}
@@ -69,6 +72,13 @@ module Aws::CognitoIdentityProvider
69
72
  # * {UserPoolAddOnNotEnabledException}
70
73
  # * {UserPoolTaggingException}
71
74
  # * {UsernameExistsException}
75
+ # * {WebAuthnChallengeNotFoundException}
76
+ # * {WebAuthnClientMismatchException}
77
+ # * {WebAuthnConfigurationMissingException}
78
+ # * {WebAuthnCredentialNotSupportedException}
79
+ # * {WebAuthnNotEnabledException}
80
+ # * {WebAuthnOriginNotAllowedException}
81
+ # * {WebAuthnRelyingPartyMismatchException}
72
82
  #
73
83
  # Additionally, error classes are dynamically generated for service errors based on the error code
74
84
  # if they are not defined above.
@@ -181,6 +191,21 @@ module Aws::CognitoIdentityProvider
181
191
  end
182
192
  end
183
193
 
194
+ class FeatureUnavailableInTierException < ServiceError
195
+
196
+ # @param [Seahorse::Client::RequestContext] context
197
+ # @param [String] message
198
+ # @param [Aws::CognitoIdentityProvider::Types::FeatureUnavailableInTierException] data
199
+ def initialize(context, message, data = Aws::EmptyStructure.new)
200
+ super(context, message, data)
201
+ end
202
+
203
+ # @return [String]
204
+ def message
205
+ @message || @data[:message]
206
+ end
207
+ end
208
+
184
209
  class ForbiddenException < ServiceError
185
210
 
186
211
  # @param [Seahorse::Client::RequestContext] context
@@ -284,6 +309,11 @@ module Aws::CognitoIdentityProvider
284
309
  def message
285
310
  @message || @data[:message]
286
311
  end
312
+
313
+ # @return [String]
314
+ def reason_code
315
+ @data[:reason_code]
316
+ end
287
317
  end
288
318
 
289
319
  class InvalidPasswordException < ServiceError
@@ -376,6 +406,21 @@ module Aws::CognitoIdentityProvider
376
406
  end
377
407
  end
378
408
 
409
+ class ManagedLoginBrandingExistsException < ServiceError
410
+
411
+ # @param [Seahorse::Client::RequestContext] context
412
+ # @param [String] message
413
+ # @param [Aws::CognitoIdentityProvider::Types::ManagedLoginBrandingExistsException] data
414
+ def initialize(context, message, data = Aws::EmptyStructure.new)
415
+ super(context, message, data)
416
+ end
417
+
418
+ # @return [String]
419
+ def message
420
+ @message || @data[:message]
421
+ end
422
+ end
423
+
379
424
  class NotAuthorizedException < ServiceError
380
425
 
381
426
  # @param [Seahorse::Client::RequestContext] context
@@ -481,6 +526,21 @@ module Aws::CognitoIdentityProvider
481
526
  end
482
527
  end
483
528
 
529
+ class TierChangeNotAllowedException < ServiceError
530
+
531
+ # @param [Seahorse::Client::RequestContext] context
532
+ # @param [String] message
533
+ # @param [Aws::CognitoIdentityProvider::Types::TierChangeNotAllowedException] data
534
+ def initialize(context, message, data = Aws::EmptyStructure.new)
535
+ super(context, message, data)
536
+ end
537
+
538
+ # @return [String]
539
+ def message
540
+ @message || @data[:message]
541
+ end
542
+ end
543
+
484
544
  class TooManyFailedAttemptsException < ServiceError
485
545
 
486
546
  # @param [Seahorse::Client::RequestContext] context
@@ -706,5 +766,110 @@ module Aws::CognitoIdentityProvider
706
766
  end
707
767
  end
708
768
 
769
+ class WebAuthnChallengeNotFoundException < ServiceError
770
+
771
+ # @param [Seahorse::Client::RequestContext] context
772
+ # @param [String] message
773
+ # @param [Aws::CognitoIdentityProvider::Types::WebAuthnChallengeNotFoundException] data
774
+ def initialize(context, message, data = Aws::EmptyStructure.new)
775
+ super(context, message, data)
776
+ end
777
+
778
+ # @return [String]
779
+ def message
780
+ @message || @data[:message]
781
+ end
782
+ end
783
+
784
+ class WebAuthnClientMismatchException < ServiceError
785
+
786
+ # @param [Seahorse::Client::RequestContext] context
787
+ # @param [String] message
788
+ # @param [Aws::CognitoIdentityProvider::Types::WebAuthnClientMismatchException] data
789
+ def initialize(context, message, data = Aws::EmptyStructure.new)
790
+ super(context, message, data)
791
+ end
792
+
793
+ # @return [String]
794
+ def message
795
+ @message || @data[:message]
796
+ end
797
+ end
798
+
799
+ class WebAuthnConfigurationMissingException < ServiceError
800
+
801
+ # @param [Seahorse::Client::RequestContext] context
802
+ # @param [String] message
803
+ # @param [Aws::CognitoIdentityProvider::Types::WebAuthnConfigurationMissingException] data
804
+ def initialize(context, message, data = Aws::EmptyStructure.new)
805
+ super(context, message, data)
806
+ end
807
+
808
+ # @return [String]
809
+ def message
810
+ @message || @data[:message]
811
+ end
812
+ end
813
+
814
+ class WebAuthnCredentialNotSupportedException < ServiceError
815
+
816
+ # @param [Seahorse::Client::RequestContext] context
817
+ # @param [String] message
818
+ # @param [Aws::CognitoIdentityProvider::Types::WebAuthnCredentialNotSupportedException] data
819
+ def initialize(context, message, data = Aws::EmptyStructure.new)
820
+ super(context, message, data)
821
+ end
822
+
823
+ # @return [String]
824
+ def message
825
+ @message || @data[:message]
826
+ end
827
+ end
828
+
829
+ class WebAuthnNotEnabledException < ServiceError
830
+
831
+ # @param [Seahorse::Client::RequestContext] context
832
+ # @param [String] message
833
+ # @param [Aws::CognitoIdentityProvider::Types::WebAuthnNotEnabledException] data
834
+ def initialize(context, message, data = Aws::EmptyStructure.new)
835
+ super(context, message, data)
836
+ end
837
+
838
+ # @return [String]
839
+ def message
840
+ @message || @data[:message]
841
+ end
842
+ end
843
+
844
+ class WebAuthnOriginNotAllowedException < ServiceError
845
+
846
+ # @param [Seahorse::Client::RequestContext] context
847
+ # @param [String] message
848
+ # @param [Aws::CognitoIdentityProvider::Types::WebAuthnOriginNotAllowedException] data
849
+ def initialize(context, message, data = Aws::EmptyStructure.new)
850
+ super(context, message, data)
851
+ end
852
+
853
+ # @return [String]
854
+ def message
855
+ @message || @data[:message]
856
+ end
857
+ end
858
+
859
+ class WebAuthnRelyingPartyMismatchException < ServiceError
860
+
861
+ # @param [Seahorse::Client::RequestContext] context
862
+ # @param [String] message
863
+ # @param [Aws::CognitoIdentityProvider::Types::WebAuthnRelyingPartyMismatchException] data
864
+ def initialize(context, message, data = Aws::EmptyStructure.new)
865
+ super(context, message, data)
866
+ end
867
+
868
+ # @return [String]
869
+ def message
870
+ @message || @data[:message]
871
+ end
872
+ end
873
+
709
874
  end
710
875
  end