aws-sdk-cognitoidentityprovider 1.102.0 → 1.104.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.
data/sig/types.rbs CHANGED
@@ -176,7 +176,7 @@ module Aws::CognitoIdentityProvider
176
176
  end
177
177
 
178
178
  class AdminInitiateAuthResponse
179
- attr_accessor challenge_name: ("SMS_MFA" | "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")
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
180
  attr_accessor session: ::String
181
181
  attr_accessor challenge_parameters: ::Hash[::String, ::String]
182
182
  attr_accessor authentication_result: Types::AuthenticationResultType
@@ -255,7 +255,7 @@ module Aws::CognitoIdentityProvider
255
255
  class AdminRespondToAuthChallengeRequest
256
256
  attr_accessor user_pool_id: ::String
257
257
  attr_accessor client_id: ::String
258
- attr_accessor challenge_name: ("SMS_MFA" | "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")
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
259
  attr_accessor challenge_responses: ::Hash[::String, ::String]
260
260
  attr_accessor session: ::String
261
261
  attr_accessor analytics_metadata: Types::AnalyticsMetadataType
@@ -265,7 +265,7 @@ module Aws::CognitoIdentityProvider
265
265
  end
266
266
 
267
267
  class AdminRespondToAuthChallengeResponse
268
- attr_accessor challenge_name: ("SMS_MFA" | "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")
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
269
  attr_accessor session: ::String
270
270
  attr_accessor challenge_parameters: ::Hash[::String, ::String]
271
271
  attr_accessor authentication_result: Types::AuthenticationResultType
@@ -275,6 +275,7 @@ module Aws::CognitoIdentityProvider
275
275
  class AdminSetUserMFAPreferenceRequest
276
276
  attr_accessor sms_mfa_settings: Types::SMSMfaSettingsType
277
277
  attr_accessor software_token_mfa_settings: Types::SoftwareTokenMfaSettingsType
278
+ attr_accessor email_mfa_settings: Types::EmailMfaSettingsType
278
279
  attr_accessor username: ::String
279
280
  attr_accessor user_pool_id: ::String
280
281
  SENSITIVE: [:username]
@@ -836,6 +837,18 @@ module Aws::CognitoIdentityProvider
836
837
  SENSITIVE: []
837
838
  end
838
839
 
840
+ class EmailMfaConfigType
841
+ attr_accessor message: ::String
842
+ attr_accessor subject: ::String
843
+ SENSITIVE: []
844
+ end
845
+
846
+ class EmailMfaSettingsType
847
+ attr_accessor enabled: bool
848
+ attr_accessor preferred_mfa: bool
849
+ SENSITIVE: []
850
+ end
851
+
839
852
  class EnableSoftwareTokenMFAException
840
853
  attr_accessor message: ::String
841
854
  SENSITIVE: []
@@ -995,6 +1008,7 @@ module Aws::CognitoIdentityProvider
995
1008
  class GetUserPoolMfaConfigResponse
996
1009
  attr_accessor sms_mfa_configuration: Types::SmsMfaConfigType
997
1010
  attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
1011
+ attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
998
1012
  attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
999
1013
  SENSITIVE: []
1000
1014
  end
@@ -1066,7 +1080,7 @@ module Aws::CognitoIdentityProvider
1066
1080
  end
1067
1081
 
1068
1082
  class InitiateAuthResponse
1069
- attr_accessor challenge_name: ("SMS_MFA" | "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")
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")
1070
1084
  attr_accessor session: ::String
1071
1085
  attr_accessor challenge_parameters: ::Hash[::String, ::String]
1072
1086
  attr_accessor authentication_result: Types::AuthenticationResultType
@@ -1426,7 +1440,7 @@ module Aws::CognitoIdentityProvider
1426
1440
 
1427
1441
  class RespondToAuthChallengeRequest
1428
1442
  attr_accessor client_id: ::String
1429
- attr_accessor challenge_name: ("SMS_MFA" | "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")
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")
1430
1444
  attr_accessor session: ::String
1431
1445
  attr_accessor challenge_responses: ::Hash[::String, ::String]
1432
1446
  attr_accessor analytics_metadata: Types::AnalyticsMetadataType
@@ -1436,7 +1450,7 @@ module Aws::CognitoIdentityProvider
1436
1450
  end
1437
1451
 
1438
1452
  class RespondToAuthChallengeResponse
1439
- attr_accessor challenge_name: ("SMS_MFA" | "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")
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")
1440
1454
  attr_accessor session: ::String
1441
1455
  attr_accessor challenge_parameters: ::Hash[::String, ::String]
1442
1456
  attr_accessor authentication_result: Types::AuthenticationResultType
@@ -1537,6 +1551,7 @@ module Aws::CognitoIdentityProvider
1537
1551
  class SetUserMFAPreferenceRequest
1538
1552
  attr_accessor sms_mfa_settings: Types::SMSMfaSettingsType
1539
1553
  attr_accessor software_token_mfa_settings: Types::SoftwareTokenMfaSettingsType
1554
+ attr_accessor email_mfa_settings: Types::EmailMfaSettingsType
1540
1555
  attr_accessor access_token: ::String
1541
1556
  SENSITIVE: [:access_token]
1542
1557
  end
@@ -1548,6 +1563,7 @@ module Aws::CognitoIdentityProvider
1548
1563
  attr_accessor user_pool_id: ::String
1549
1564
  attr_accessor sms_mfa_configuration: Types::SmsMfaConfigType
1550
1565
  attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
1566
+ attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
1551
1567
  attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
1552
1568
  SENSITIVE: []
1553
1569
  end
@@ -1555,6 +1571,7 @@ module Aws::CognitoIdentityProvider
1555
1571
  class SetUserPoolMfaConfigResponse
1556
1572
  attr_accessor sms_mfa_configuration: Types::SmsMfaConfigType
1557
1573
  attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
1574
+ attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
1558
1575
  attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
1559
1576
  SENSITIVE: []
1560
1577
  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.102.0
4
+ version: 1.104.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-09-10 00:00:00.000000000 Z
11
+ date: 2024-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.203.0
22
+ version: 3.205.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.203.0
32
+ version: 3.205.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement