aws-sdk-cognitoidentityprovider 1.109.0 → 1.110.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs CHANGED
@@ -167,16 +167,17 @@ module Aws::CognitoIdentityProvider
167
167
  class AdminInitiateAuthRequest
168
168
  attr_accessor user_pool_id: ::String
169
169
  attr_accessor client_id: ::String
170
- attr_accessor auth_flow: ("USER_SRP_AUTH" | "REFRESH_TOKEN_AUTH" | "REFRESH_TOKEN" | "CUSTOM_AUTH" | "ADMIN_NO_SRP_AUTH" | "USER_PASSWORD_AUTH" | "ADMIN_USER_PASSWORD_AUTH")
170
+ attr_accessor auth_flow: ("USER_SRP_AUTH" | "REFRESH_TOKEN_AUTH" | "REFRESH_TOKEN" | "CUSTOM_AUTH" | "ADMIN_NO_SRP_AUTH" | "USER_PASSWORD_AUTH" | "ADMIN_USER_PASSWORD_AUTH" | "USER_AUTH")
171
171
  attr_accessor auth_parameters: ::Hash[::String, ::String]
172
172
  attr_accessor client_metadata: ::Hash[::String, ::String]
173
173
  attr_accessor analytics_metadata: Types::AnalyticsMetadataType
174
174
  attr_accessor context_data: Types::ContextDataType
175
- SENSITIVE: [:client_id, :auth_parameters]
175
+ attr_accessor session: ::String
176
+ SENSITIVE: [:client_id, :auth_parameters, :session]
176
177
  end
177
178
 
178
179
  class AdminInitiateAuthResponse
179
- attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
180
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "SELECT_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED" | "SMS_OTP" | "PASSWORD" | "WEB_AUTHN" | "PASSWORD_SRP")
180
181
  attr_accessor session: ::String
181
182
  attr_accessor challenge_parameters: ::Hash[::String, ::String]
182
183
  attr_accessor authentication_result: Types::AuthenticationResultType
@@ -255,7 +256,7 @@ module Aws::CognitoIdentityProvider
255
256
  class AdminRespondToAuthChallengeRequest
256
257
  attr_accessor user_pool_id: ::String
257
258
  attr_accessor client_id: ::String
258
- attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
259
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "SELECT_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED" | "SMS_OTP" | "PASSWORD" | "WEB_AUTHN" | "PASSWORD_SRP")
259
260
  attr_accessor challenge_responses: ::Hash[::String, ::String]
260
261
  attr_accessor session: ::String
261
262
  attr_accessor analytics_metadata: Types::AnalyticsMetadataType
@@ -265,7 +266,7 @@ module Aws::CognitoIdentityProvider
265
266
  end
266
267
 
267
268
  class AdminRespondToAuthChallengeResponse
268
- attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
269
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "SELECT_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED" | "SMS_OTP" | "PASSWORD" | "WEB_AUTHN" | "PASSWORD_SRP")
269
270
  attr_accessor session: ::String
270
271
  attr_accessor challenge_parameters: ::Hash[::String, ::String]
271
272
  attr_accessor authentication_result: Types::AuthenticationResultType
@@ -371,6 +372,15 @@ module Aws::CognitoIdentityProvider
371
372
  SENSITIVE: []
372
373
  end
373
374
 
375
+ class AssetType
376
+ attr_accessor category: ("FAVICON_ICO" | "FAVICON_SVG" | "EMAIL_GRAPHIC" | "SMS_GRAPHIC" | "AUTH_APP_GRAPHIC" | "PASSWORD_GRAPHIC" | "PASSKEY_GRAPHIC" | "PAGE_HEADER_LOGO" | "PAGE_HEADER_BACKGROUND" | "PAGE_FOOTER_LOGO" | "PAGE_FOOTER_BACKGROUND" | "PAGE_BACKGROUND" | "FORM_BACKGROUND" | "FORM_LOGO" | "IDP_BUTTON_ICON")
377
+ attr_accessor color_mode: ("LIGHT" | "DARK" | "DYNAMIC")
378
+ attr_accessor extension: ("ICO" | "JPEG" | "PNG" | "SVG" | "WEBP")
379
+ attr_accessor bytes: ::String
380
+ attr_accessor resource_id: ::String
381
+ SENSITIVE: []
382
+ end
383
+
374
384
  class AssociateSoftwareTokenRequest
375
385
  attr_accessor access_token: ::String
376
386
  attr_accessor session: ::String
@@ -449,6 +459,15 @@ module Aws::CognitoIdentityProvider
449
459
  SENSITIVE: []
450
460
  end
451
461
 
462
+ class CompleteWebAuthnRegistrationRequest
463
+ attr_accessor access_token: ::String
464
+ attr_accessor credential: untyped
465
+ SENSITIVE: [:access_token]
466
+ end
467
+
468
+ class CompleteWebAuthnRegistrationResponse < Aws::EmptyStructure
469
+ end
470
+
452
471
  class CompromisedCredentialsActionsType
453
472
  attr_accessor event_action: ("BLOCK" | "NO_ACTION")
454
473
  SENSITIVE: []
@@ -502,10 +521,13 @@ module Aws::CognitoIdentityProvider
502
521
  attr_accessor analytics_metadata: Types::AnalyticsMetadataType
503
522
  attr_accessor user_context_data: Types::UserContextDataType
504
523
  attr_accessor client_metadata: ::Hash[::String, ::String]
505
- SENSITIVE: [:client_id, :secret_hash, :username, :user_context_data]
524
+ attr_accessor session: ::String
525
+ SENSITIVE: [:client_id, :secret_hash, :username, :user_context_data, :session]
506
526
  end
507
527
 
508
- class ConfirmSignUpResponse < Aws::EmptyStructure
528
+ class ConfirmSignUpResponse
529
+ attr_accessor session: ::String
530
+ SENSITIVE: [:session]
509
531
  end
510
532
 
511
533
  class ContextDataType
@@ -546,6 +568,20 @@ module Aws::CognitoIdentityProvider
546
568
  SENSITIVE: []
547
569
  end
548
570
 
571
+ class CreateManagedLoginBrandingRequest
572
+ attr_accessor user_pool_id: ::String
573
+ attr_accessor client_id: ::String
574
+ attr_accessor use_cognito_provided_values: bool
575
+ attr_accessor settings: untyped
576
+ attr_accessor assets: ::Array[Types::AssetType]
577
+ SENSITIVE: [:client_id]
578
+ end
579
+
580
+ class CreateManagedLoginBrandingResponse
581
+ attr_accessor managed_login_branding: Types::ManagedLoginBrandingType
582
+ SENSITIVE: []
583
+ end
584
+
549
585
  class CreateResourceServerRequest
550
586
  attr_accessor user_pool_id: ::String
551
587
  attr_accessor identifier: ::String
@@ -581,7 +617,7 @@ module Aws::CognitoIdentityProvider
581
617
  attr_accessor token_validity_units: Types::TokenValidityUnitsType
582
618
  attr_accessor read_attributes: ::Array[::String]
583
619
  attr_accessor write_attributes: ::Array[::String]
584
- attr_accessor explicit_auth_flows: ::Array[("ADMIN_NO_SRP_AUTH" | "CUSTOM_AUTH_FLOW_ONLY" | "USER_PASSWORD_AUTH" | "ALLOW_ADMIN_USER_PASSWORD_AUTH" | "ALLOW_CUSTOM_AUTH" | "ALLOW_USER_PASSWORD_AUTH" | "ALLOW_USER_SRP_AUTH" | "ALLOW_REFRESH_TOKEN_AUTH")]
620
+ attr_accessor explicit_auth_flows: ::Array[("ADMIN_NO_SRP_AUTH" | "CUSTOM_AUTH_FLOW_ONLY" | "USER_PASSWORD_AUTH" | "ALLOW_ADMIN_USER_PASSWORD_AUTH" | "ALLOW_CUSTOM_AUTH" | "ALLOW_USER_PASSWORD_AUTH" | "ALLOW_USER_SRP_AUTH" | "ALLOW_REFRESH_TOKEN_AUTH" | "ALLOW_USER_AUTH")]
585
621
  attr_accessor supported_identity_providers: ::Array[::String]
586
622
  attr_accessor callback_urls: ::Array[::String]
587
623
  attr_accessor logout_urls: ::Array[::String]
@@ -605,11 +641,13 @@ module Aws::CognitoIdentityProvider
605
641
  class CreateUserPoolDomainRequest
606
642
  attr_accessor domain: ::String
607
643
  attr_accessor user_pool_id: ::String
644
+ attr_accessor managed_login_version: ::Integer
608
645
  attr_accessor custom_domain_config: Types::CustomDomainConfigType
609
646
  SENSITIVE: []
610
647
  end
611
648
 
612
649
  class CreateUserPoolDomainResponse
650
+ attr_accessor managed_login_version: ::Integer
613
651
  attr_accessor cloud_front_domain: ::String
614
652
  SENSITIVE: []
615
653
  end
@@ -638,6 +676,7 @@ module Aws::CognitoIdentityProvider
638
676
  attr_accessor user_pool_add_ons: Types::UserPoolAddOnsType
639
677
  attr_accessor username_configuration: Types::UsernameConfigurationType
640
678
  attr_accessor account_recovery_setting: Types::AccountRecoverySettingType
679
+ attr_accessor user_pool_tier: ("LITE" | "ESSENTIALS" | "PLUS")
641
680
  SENSITIVE: []
642
681
  end
643
682
 
@@ -675,6 +714,12 @@ module Aws::CognitoIdentityProvider
675
714
  SENSITIVE: []
676
715
  end
677
716
 
717
+ class DeleteManagedLoginBrandingRequest
718
+ attr_accessor managed_login_branding_id: ::String
719
+ attr_accessor user_pool_id: ::String
720
+ SENSITIVE: []
721
+ end
722
+
678
723
  class DeleteResourceServerRequest
679
724
  attr_accessor user_pool_id: ::String
680
725
  attr_accessor identifier: ::String
@@ -715,6 +760,15 @@ module Aws::CognitoIdentityProvider
715
760
  SENSITIVE: [:access_token]
716
761
  end
717
762
 
763
+ class DeleteWebAuthnCredentialRequest
764
+ attr_accessor access_token: ::String
765
+ attr_accessor credential_id: ::String
766
+ SENSITIVE: [:access_token]
767
+ end
768
+
769
+ class DeleteWebAuthnCredentialResponse < Aws::EmptyStructure
770
+ end
771
+
718
772
  class DescribeIdentityProviderRequest
719
773
  attr_accessor user_pool_id: ::String
720
774
  attr_accessor provider_name: ::String
@@ -726,6 +780,30 @@ module Aws::CognitoIdentityProvider
726
780
  SENSITIVE: []
727
781
  end
728
782
 
783
+ class DescribeManagedLoginBrandingByClientRequest
784
+ attr_accessor user_pool_id: ::String
785
+ attr_accessor client_id: ::String
786
+ attr_accessor return_merged_resources: bool
787
+ SENSITIVE: [:client_id]
788
+ end
789
+
790
+ class DescribeManagedLoginBrandingByClientResponse
791
+ attr_accessor managed_login_branding: Types::ManagedLoginBrandingType
792
+ SENSITIVE: []
793
+ end
794
+
795
+ class DescribeManagedLoginBrandingRequest
796
+ attr_accessor user_pool_id: ::String
797
+ attr_accessor managed_login_branding_id: ::String
798
+ attr_accessor return_merged_resources: bool
799
+ SENSITIVE: []
800
+ end
801
+
802
+ class DescribeManagedLoginBrandingResponse
803
+ attr_accessor managed_login_branding: Types::ManagedLoginBrandingType
804
+ SENSITIVE: []
805
+ end
806
+
729
807
  class DescribeResourceServerRequest
730
808
  attr_accessor user_pool_id: ::String
731
809
  attr_accessor identifier: ::String
@@ -820,6 +898,7 @@ module Aws::CognitoIdentityProvider
820
898
  attr_accessor version: ::String
821
899
  attr_accessor status: ("CREATING" | "DELETING" | "UPDATING" | "ACTIVE" | "FAILED")
822
900
  attr_accessor custom_domain_config: Types::CustomDomainConfigType
901
+ attr_accessor managed_login_version: ::Integer
823
902
  SENSITIVE: []
824
903
  end
825
904
 
@@ -882,6 +961,11 @@ module Aws::CognitoIdentityProvider
882
961
  SENSITIVE: []
883
962
  end
884
963
 
964
+ class FeatureUnavailableInTierException
965
+ attr_accessor message: ::String
966
+ SENSITIVE: []
967
+ end
968
+
885
969
  class FirehoseConfigurationType
886
970
  attr_accessor stream_arn: ::String
887
971
  SENSITIVE: []
@@ -1000,6 +1084,19 @@ module Aws::CognitoIdentityProvider
1000
1084
  SENSITIVE: []
1001
1085
  end
1002
1086
 
1087
+ class GetUserAuthFactorsRequest
1088
+ attr_accessor access_token: ::String
1089
+ SENSITIVE: [:access_token]
1090
+ end
1091
+
1092
+ class GetUserAuthFactorsResponse
1093
+ attr_accessor username: ::String
1094
+ attr_accessor preferred_mfa_setting: ::String
1095
+ attr_accessor user_mfa_setting_list: ::Array[::String]
1096
+ attr_accessor configured_user_auth_factors: ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN")]
1097
+ SENSITIVE: [:username]
1098
+ end
1099
+
1003
1100
  class GetUserPoolMfaConfigRequest
1004
1101
  attr_accessor user_pool_id: ::String
1005
1102
  SENSITIVE: []
@@ -1010,6 +1107,7 @@ module Aws::CognitoIdentityProvider
1010
1107
  attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
1011
1108
  attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
1012
1109
  attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
1110
+ attr_accessor web_authn_configuration: Types::WebAuthnConfigurationType
1013
1111
  SENSITIVE: []
1014
1112
  end
1015
1113
 
@@ -1070,20 +1168,22 @@ module Aws::CognitoIdentityProvider
1070
1168
  end
1071
1169
 
1072
1170
  class InitiateAuthRequest
1073
- attr_accessor auth_flow: ("USER_SRP_AUTH" | "REFRESH_TOKEN_AUTH" | "REFRESH_TOKEN" | "CUSTOM_AUTH" | "ADMIN_NO_SRP_AUTH" | "USER_PASSWORD_AUTH" | "ADMIN_USER_PASSWORD_AUTH")
1171
+ attr_accessor auth_flow: ("USER_SRP_AUTH" | "REFRESH_TOKEN_AUTH" | "REFRESH_TOKEN" | "CUSTOM_AUTH" | "ADMIN_NO_SRP_AUTH" | "USER_PASSWORD_AUTH" | "ADMIN_USER_PASSWORD_AUTH" | "USER_AUTH")
1074
1172
  attr_accessor auth_parameters: ::Hash[::String, ::String]
1075
1173
  attr_accessor client_metadata: ::Hash[::String, ::String]
1076
1174
  attr_accessor client_id: ::String
1077
1175
  attr_accessor analytics_metadata: Types::AnalyticsMetadataType
1078
1176
  attr_accessor user_context_data: Types::UserContextDataType
1079
- SENSITIVE: [:auth_parameters, :client_id, :user_context_data]
1177
+ attr_accessor session: ::String
1178
+ SENSITIVE: [:auth_parameters, :client_id, :user_context_data, :session]
1080
1179
  end
1081
1180
 
1082
1181
  class InitiateAuthResponse
1083
- attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
1182
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "SELECT_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED" | "SMS_OTP" | "PASSWORD" | "WEB_AUTHN" | "PASSWORD_SRP")
1084
1183
  attr_accessor session: ::String
1085
1184
  attr_accessor challenge_parameters: ::Hash[::String, ::String]
1086
1185
  attr_accessor authentication_result: Types::AuthenticationResultType
1186
+ attr_accessor available_challenges: ::Array[("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "SELECT_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED" | "SMS_OTP" | "PASSWORD" | "WEB_AUTHN" | "PASSWORD_SRP")]
1087
1187
  SENSITIVE: [:session]
1088
1188
  end
1089
1189
 
@@ -1109,6 +1209,7 @@ module Aws::CognitoIdentityProvider
1109
1209
 
1110
1210
  class InvalidParameterException
1111
1211
  attr_accessor message: ::String
1212
+ attr_accessor reason_code: ::String
1112
1213
  SENSITIVE: []
1113
1214
  end
1114
1215
 
@@ -1284,6 +1385,19 @@ module Aws::CognitoIdentityProvider
1284
1385
  SENSITIVE: []
1285
1386
  end
1286
1387
 
1388
+ class ListWebAuthnCredentialsRequest
1389
+ attr_accessor access_token: ::String
1390
+ attr_accessor next_token: ::String
1391
+ attr_accessor max_results: ::Integer
1392
+ SENSITIVE: [:access_token]
1393
+ end
1394
+
1395
+ class ListWebAuthnCredentialsResponse
1396
+ attr_accessor credentials: ::Array[Types::WebAuthnCredentialDescription]
1397
+ attr_accessor next_token: ::String
1398
+ SENSITIVE: []
1399
+ end
1400
+
1287
1401
  class LogConfigurationType
1288
1402
  attr_accessor log_level: ("ERROR" | "INFO")
1289
1403
  attr_accessor event_source: ("userNotification" | "userAuthEvents")
@@ -1310,6 +1424,22 @@ module Aws::CognitoIdentityProvider
1310
1424
  SENSITIVE: []
1311
1425
  end
1312
1426
 
1427
+ class ManagedLoginBrandingExistsException
1428
+ attr_accessor message: ::String
1429
+ SENSITIVE: []
1430
+ end
1431
+
1432
+ class ManagedLoginBrandingType
1433
+ attr_accessor managed_login_branding_id: ::String
1434
+ attr_accessor user_pool_id: ::String
1435
+ attr_accessor use_cognito_provided_values: bool
1436
+ attr_accessor settings: untyped
1437
+ attr_accessor assets: ::Array[Types::AssetType]
1438
+ attr_accessor creation_date: ::Time
1439
+ attr_accessor last_modified_date: ::Time
1440
+ SENSITIVE: []
1441
+ end
1442
+
1313
1443
  class MessageTemplateType
1314
1444
  attr_accessor sms_message: ::String
1315
1445
  attr_accessor email_message: ::String
@@ -1440,7 +1570,7 @@ module Aws::CognitoIdentityProvider
1440
1570
 
1441
1571
  class RespondToAuthChallengeRequest
1442
1572
  attr_accessor client_id: ::String
1443
- attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
1573
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "SELECT_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED" | "SMS_OTP" | "PASSWORD" | "WEB_AUTHN" | "PASSWORD_SRP")
1444
1574
  attr_accessor session: ::String
1445
1575
  attr_accessor challenge_responses: ::Hash[::String, ::String]
1446
1576
  attr_accessor analytics_metadata: Types::AnalyticsMetadataType
@@ -1450,7 +1580,7 @@ module Aws::CognitoIdentityProvider
1450
1580
  end
1451
1581
 
1452
1582
  class RespondToAuthChallengeResponse
1453
- attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
1583
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "SELECT_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED" | "SMS_OTP" | "PASSWORD" | "WEB_AUTHN" | "PASSWORD_SRP")
1454
1584
  attr_accessor session: ::String
1455
1585
  attr_accessor challenge_parameters: ::Hash[::String, ::String]
1456
1586
  attr_accessor authentication_result: Types::AuthenticationResultType
@@ -1565,6 +1695,7 @@ module Aws::CognitoIdentityProvider
1565
1695
  attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
1566
1696
  attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
1567
1697
  attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
1698
+ attr_accessor web_authn_configuration: Types::WebAuthnConfigurationType
1568
1699
  SENSITIVE: []
1569
1700
  end
1570
1701
 
@@ -1573,6 +1704,7 @@ module Aws::CognitoIdentityProvider
1573
1704
  attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
1574
1705
  attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
1575
1706
  attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
1707
+ attr_accessor web_authn_configuration: Types::WebAuthnConfigurationType
1576
1708
  SENSITIVE: []
1577
1709
  end
1578
1710
 
@@ -1585,6 +1717,11 @@ module Aws::CognitoIdentityProvider
1585
1717
  class SetUserSettingsResponse < Aws::EmptyStructure
1586
1718
  end
1587
1719
 
1720
+ class SignInPolicyType
1721
+ attr_accessor allowed_first_auth_factors: ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN")]
1722
+ SENSITIVE: []
1723
+ end
1724
+
1588
1725
  class SignUpRequest
1589
1726
  attr_accessor client_id: ::String
1590
1727
  attr_accessor secret_hash: ::String
@@ -1602,7 +1739,8 @@ module Aws::CognitoIdentityProvider
1602
1739
  attr_accessor user_confirmed: bool
1603
1740
  attr_accessor code_delivery_details: Types::CodeDeliveryDetailsType
1604
1741
  attr_accessor user_sub: ::String
1605
- SENSITIVE: []
1742
+ attr_accessor session: ::String
1743
+ SENSITIVE: [:session]
1606
1744
  end
1607
1745
 
1608
1746
  class SmsConfigurationType
@@ -1645,6 +1783,16 @@ module Aws::CognitoIdentityProvider
1645
1783
  SENSITIVE: []
1646
1784
  end
1647
1785
 
1786
+ class StartWebAuthnRegistrationRequest
1787
+ attr_accessor access_token: ::String
1788
+ SENSITIVE: [:access_token]
1789
+ end
1790
+
1791
+ class StartWebAuthnRegistrationResponse
1792
+ attr_accessor credential_creation_options: untyped
1793
+ SENSITIVE: []
1794
+ end
1795
+
1648
1796
  class StopUserImportJobRequest
1649
1797
  attr_accessor user_pool_id: ::String
1650
1798
  attr_accessor job_id: ::String
@@ -1671,6 +1819,11 @@ module Aws::CognitoIdentityProvider
1671
1819
  class TagResourceResponse < Aws::EmptyStructure
1672
1820
  end
1673
1821
 
1822
+ class TierChangeNotAllowedException
1823
+ attr_accessor message: ::String
1824
+ SENSITIVE: []
1825
+ end
1826
+
1674
1827
  class TokenValidityUnitsType
1675
1828
  attr_accessor access_token: ("seconds" | "minutes" | "hours" | "days")
1676
1829
  attr_accessor id_token: ("seconds" | "minutes" | "hours" | "days")
@@ -1788,6 +1941,20 @@ module Aws::CognitoIdentityProvider
1788
1941
  SENSITIVE: []
1789
1942
  end
1790
1943
 
1944
+ class UpdateManagedLoginBrandingRequest
1945
+ attr_accessor user_pool_id: ::String
1946
+ attr_accessor managed_login_branding_id: ::String
1947
+ attr_accessor use_cognito_provided_values: bool
1948
+ attr_accessor settings: untyped
1949
+ attr_accessor assets: ::Array[Types::AssetType]
1950
+ SENSITIVE: []
1951
+ end
1952
+
1953
+ class UpdateManagedLoginBrandingResponse
1954
+ attr_accessor managed_login_branding: Types::ManagedLoginBrandingType
1955
+ SENSITIVE: []
1956
+ end
1957
+
1791
1958
  class UpdateResourceServerRequest
1792
1959
  attr_accessor user_pool_id: ::String
1793
1960
  attr_accessor identifier: ::String
@@ -1823,7 +1990,7 @@ module Aws::CognitoIdentityProvider
1823
1990
  attr_accessor token_validity_units: Types::TokenValidityUnitsType
1824
1991
  attr_accessor read_attributes: ::Array[::String]
1825
1992
  attr_accessor write_attributes: ::Array[::String]
1826
- attr_accessor explicit_auth_flows: ::Array[("ADMIN_NO_SRP_AUTH" | "CUSTOM_AUTH_FLOW_ONLY" | "USER_PASSWORD_AUTH" | "ALLOW_ADMIN_USER_PASSWORD_AUTH" | "ALLOW_CUSTOM_AUTH" | "ALLOW_USER_PASSWORD_AUTH" | "ALLOW_USER_SRP_AUTH" | "ALLOW_REFRESH_TOKEN_AUTH")]
1993
+ attr_accessor explicit_auth_flows: ::Array[("ADMIN_NO_SRP_AUTH" | "CUSTOM_AUTH_FLOW_ONLY" | "USER_PASSWORD_AUTH" | "ALLOW_ADMIN_USER_PASSWORD_AUTH" | "ALLOW_CUSTOM_AUTH" | "ALLOW_USER_PASSWORD_AUTH" | "ALLOW_USER_SRP_AUTH" | "ALLOW_REFRESH_TOKEN_AUTH" | "ALLOW_USER_AUTH")]
1827
1994
  attr_accessor supported_identity_providers: ::Array[::String]
1828
1995
  attr_accessor callback_urls: ::Array[::String]
1829
1996
  attr_accessor logout_urls: ::Array[::String]
@@ -1847,11 +2014,13 @@ module Aws::CognitoIdentityProvider
1847
2014
  class UpdateUserPoolDomainRequest
1848
2015
  attr_accessor domain: ::String
1849
2016
  attr_accessor user_pool_id: ::String
2017
+ attr_accessor managed_login_version: ::Integer
1850
2018
  attr_accessor custom_domain_config: Types::CustomDomainConfigType
1851
2019
  SENSITIVE: []
1852
2020
  end
1853
2021
 
1854
2022
  class UpdateUserPoolDomainResponse
2023
+ attr_accessor managed_login_version: ::Integer
1855
2024
  attr_accessor cloud_front_domain: ::String
1856
2025
  SENSITIVE: []
1857
2026
  end
@@ -1876,6 +2045,8 @@ module Aws::CognitoIdentityProvider
1876
2045
  attr_accessor admin_create_user_config: Types::AdminCreateUserConfigType
1877
2046
  attr_accessor user_pool_add_ons: Types::UserPoolAddOnsType
1878
2047
  attr_accessor account_recovery_setting: Types::AccountRecoverySettingType
2048
+ attr_accessor pool_name: ::String
2049
+ attr_accessor user_pool_tier: ("LITE" | "ESSENTIALS" | "PLUS")
1879
2050
  SENSITIVE: []
1880
2051
  end
1881
2052
 
@@ -1961,7 +2132,7 @@ module Aws::CognitoIdentityProvider
1961
2132
  attr_accessor token_validity_units: Types::TokenValidityUnitsType
1962
2133
  attr_accessor read_attributes: ::Array[::String]
1963
2134
  attr_accessor write_attributes: ::Array[::String]
1964
- attr_accessor explicit_auth_flows: ::Array[("ADMIN_NO_SRP_AUTH" | "CUSTOM_AUTH_FLOW_ONLY" | "USER_PASSWORD_AUTH" | "ALLOW_ADMIN_USER_PASSWORD_AUTH" | "ALLOW_CUSTOM_AUTH" | "ALLOW_USER_PASSWORD_AUTH" | "ALLOW_USER_SRP_AUTH" | "ALLOW_REFRESH_TOKEN_AUTH")]
2135
+ attr_accessor explicit_auth_flows: ::Array[("ADMIN_NO_SRP_AUTH" | "CUSTOM_AUTH_FLOW_ONLY" | "USER_PASSWORD_AUTH" | "ALLOW_ADMIN_USER_PASSWORD_AUTH" | "ALLOW_CUSTOM_AUTH" | "ALLOW_USER_PASSWORD_AUTH" | "ALLOW_USER_SRP_AUTH" | "ALLOW_REFRESH_TOKEN_AUTH" | "ALLOW_USER_AUTH")]
1965
2136
  attr_accessor supported_identity_providers: ::Array[::String]
1966
2137
  attr_accessor callback_urls: ::Array[::String]
1967
2138
  attr_accessor logout_urls: ::Array[::String]
@@ -1989,6 +2160,7 @@ module Aws::CognitoIdentityProvider
1989
2160
 
1990
2161
  class UserPoolPolicyType
1991
2162
  attr_accessor password_policy: Types::PasswordPolicyType
2163
+ attr_accessor sign_in_policy: Types::SignInPolicyType
1992
2164
  SENSITIVE: []
1993
2165
  end
1994
2166
 
@@ -2031,6 +2203,7 @@ module Aws::CognitoIdentityProvider
2031
2203
  attr_accessor username_configuration: Types::UsernameConfigurationType
2032
2204
  attr_accessor arn: ::String
2033
2205
  attr_accessor account_recovery_setting: Types::AccountRecoverySettingType
2206
+ attr_accessor user_pool_tier: ("LITE" | "ESSENTIALS" | "PLUS")
2034
2207
  SENSITIVE: []
2035
2208
  end
2036
2209
 
@@ -2088,5 +2261,56 @@ module Aws::CognitoIdentityProvider
2088
2261
 
2089
2262
  class VerifyUserAttributeResponse < Aws::EmptyStructure
2090
2263
  end
2264
+
2265
+ class WebAuthnChallengeNotFoundException
2266
+ attr_accessor message: ::String
2267
+ SENSITIVE: []
2268
+ end
2269
+
2270
+ class WebAuthnClientMismatchException
2271
+ attr_accessor message: ::String
2272
+ SENSITIVE: []
2273
+ end
2274
+
2275
+ class WebAuthnConfigurationMissingException
2276
+ attr_accessor message: ::String
2277
+ SENSITIVE: []
2278
+ end
2279
+
2280
+ class WebAuthnConfigurationType
2281
+ attr_accessor relying_party_id: ::String
2282
+ attr_accessor user_verification: ("required" | "preferred")
2283
+ SENSITIVE: []
2284
+ end
2285
+
2286
+ class WebAuthnCredentialDescription
2287
+ attr_accessor credential_id: ::String
2288
+ attr_accessor friendly_credential_name: ::String
2289
+ attr_accessor relying_party_id: ::String
2290
+ attr_accessor authenticator_attachment: ::String
2291
+ attr_accessor authenticator_transports: ::Array[::String]
2292
+ attr_accessor created_at: ::Time
2293
+ SENSITIVE: []
2294
+ end
2295
+
2296
+ class WebAuthnCredentialNotSupportedException
2297
+ attr_accessor message: ::String
2298
+ SENSITIVE: []
2299
+ end
2300
+
2301
+ class WebAuthnNotEnabledException
2302
+ attr_accessor message: ::String
2303
+ SENSITIVE: []
2304
+ end
2305
+
2306
+ class WebAuthnOriginNotAllowedException
2307
+ attr_accessor message: ::String
2308
+ SENSITIVE: []
2309
+ end
2310
+
2311
+ class WebAuthnRelyingPartyMismatchException
2312
+ attr_accessor message: ::String
2313
+ SENSITIVE: []
2314
+ end
2091
2315
  end
2092
2316
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cognitoidentityprovider
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.109.0
4
+ version: 1.110.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core