aws-sdk-cognitoidentityprovider 1.97.0 → 1.107.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +237 -108
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +50 -0
- data/lib/aws-sdk-cognitoidentityprovider/endpoints.rb +103 -412
- data/lib/aws-sdk-cognitoidentityprovider/errors.rb +16 -0
- data/lib/aws-sdk-cognitoidentityprovider/plugins/endpoints.rb +18 -6
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +386 -82
- data/lib/aws-sdk-cognitoidentityprovider.rb +15 -11
- data/sig/client.rbs +40 -10
- data/sig/errors.rbs +3 -0
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +49 -8
- metadata +4 -4
@@ -11,16 +11,7 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
|
15
|
-
require_relative 'aws-sdk-cognitoidentityprovider/client_api'
|
16
|
-
require_relative 'aws-sdk-cognitoidentityprovider/plugins/endpoints.rb'
|
17
|
-
require_relative 'aws-sdk-cognitoidentityprovider/client'
|
18
|
-
require_relative 'aws-sdk-cognitoidentityprovider/errors'
|
19
|
-
require_relative 'aws-sdk-cognitoidentityprovider/resource'
|
20
|
-
require_relative 'aws-sdk-cognitoidentityprovider/endpoint_parameters'
|
21
|
-
require_relative 'aws-sdk-cognitoidentityprovider/endpoint_provider'
|
22
|
-
require_relative 'aws-sdk-cognitoidentityprovider/endpoints'
|
23
|
-
require_relative 'aws-sdk-cognitoidentityprovider/customizations'
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:cognitoidentityprovider)
|
24
15
|
|
25
16
|
# This module provides support for Amazon Cognito Identity Provider. This module is available in the
|
26
17
|
# `aws-sdk-cognitoidentityprovider` gem.
|
@@ -51,7 +42,20 @@ require_relative 'aws-sdk-cognitoidentityprovider/customizations'
|
|
51
42
|
#
|
52
43
|
# @!group service
|
53
44
|
module Aws::CognitoIdentityProvider
|
45
|
+
autoload :Types, 'aws-sdk-cognitoidentityprovider/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-cognitoidentityprovider/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-cognitoidentityprovider/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-cognitoidentityprovider/client'
|
51
|
+
autoload :Errors, 'aws-sdk-cognitoidentityprovider/errors'
|
52
|
+
autoload :Resource, 'aws-sdk-cognitoidentityprovider/resource'
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-cognitoidentityprovider/endpoint_parameters'
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-cognitoidentityprovider/endpoint_provider'
|
55
|
+
autoload :Endpoints, 'aws-sdk-cognitoidentityprovider/endpoints'
|
54
56
|
|
55
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.107.0'
|
56
58
|
|
57
59
|
end
|
60
|
+
|
61
|
+
require_relative 'aws-sdk-cognitoidentityprovider/customizations'
|
data/sig/client.rbs
CHANGED
@@ -15,6 +15,7 @@ module Aws
|
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
17
|
?access_key_id: String,
|
18
|
+
?account_id: String,
|
18
19
|
?active_endpoint_cache: bool,
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
20
21
|
?client_side_monitoring: bool,
|
@@ -51,6 +52,7 @@ module Aws
|
|
51
52
|
?sigv4a_signing_region_set: Array[String],
|
52
53
|
?simple_json: bool,
|
53
54
|
?stub_responses: untyped,
|
55
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
56
|
?token_provider: untyped,
|
55
57
|
?use_dualstack_endpoint: bool,
|
56
58
|
?use_fips_endpoint: bool,
|
@@ -240,7 +242,7 @@ module Aws
|
|
240
242
|
|
241
243
|
interface _AdminInitiateAuthResponseSuccess
|
242
244
|
include ::Seahorse::Client::_ResponseSuccess[Types::AdminInitiateAuthResponse]
|
243
|
-
def 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")
|
245
|
+
def 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")
|
244
246
|
def session: () -> ::String
|
245
247
|
def challenge_parameters: () -> ::Hash[::String, ::String]
|
246
248
|
def authentication_result: () -> Types::AuthenticationResultType
|
@@ -352,7 +354,7 @@ module Aws
|
|
352
354
|
|
353
355
|
interface _AdminRespondToAuthChallengeResponseSuccess
|
354
356
|
include ::Seahorse::Client::_ResponseSuccess[Types::AdminRespondToAuthChallengeResponse]
|
355
|
-
def 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")
|
357
|
+
def 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")
|
356
358
|
def session: () -> ::String
|
357
359
|
def challenge_parameters: () -> ::Hash[::String, ::String]
|
358
360
|
def authentication_result: () -> Types::AuthenticationResultType
|
@@ -361,7 +363,7 @@ module Aws
|
|
361
363
|
def admin_respond_to_auth_challenge: (
|
362
364
|
user_pool_id: ::String,
|
363
365
|
client_id: ::String,
|
364
|
-
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"),
|
366
|
+
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"),
|
365
367
|
?challenge_responses: Hash[::String, ::String],
|
366
368
|
?session: ::String,
|
367
369
|
?analytics_metadata: {
|
@@ -396,6 +398,10 @@ module Aws
|
|
396
398
|
enabled: bool?,
|
397
399
|
preferred_mfa: bool?
|
398
400
|
},
|
401
|
+
?email_mfa_settings: {
|
402
|
+
enabled: bool?,
|
403
|
+
preferred_mfa: bool?
|
404
|
+
},
|
399
405
|
username: ::String,
|
400
406
|
user_pool_id: ::String
|
401
407
|
) -> _AdminSetUserMFAPreferenceResponseSuccess
|
@@ -634,6 +640,7 @@ module Aws
|
|
634
640
|
require_lowercase: bool?,
|
635
641
|
require_numbers: bool?,
|
636
642
|
require_symbols: bool?,
|
643
|
+
password_history_size: ::Integer?,
|
637
644
|
temporary_password_validity_days: ::Integer?
|
638
645
|
}?
|
639
646
|
},
|
@@ -726,7 +733,10 @@ module Aws
|
|
726
733
|
},
|
727
734
|
],
|
728
735
|
?user_pool_add_ons: {
|
729
|
-
advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED")
|
736
|
+
advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED"),
|
737
|
+
advanced_security_additional_flows: {
|
738
|
+
custom_auth_mode: ("AUDIT" | "ENFORCED")?
|
739
|
+
}?
|
730
740
|
},
|
731
741
|
?username_configuration: {
|
732
742
|
case_sensitive: bool
|
@@ -1064,6 +1074,7 @@ module Aws
|
|
1064
1074
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetUserPoolMfaConfigResponse]
|
1065
1075
|
def sms_mfa_configuration: () -> Types::SmsMfaConfigType
|
1066
1076
|
def software_token_mfa_configuration: () -> Types::SoftwareTokenMfaConfigType
|
1077
|
+
def email_mfa_configuration: () -> Types::EmailMfaConfigType
|
1067
1078
|
def mfa_configuration: () -> ("OFF" | "ON" | "OPTIONAL")
|
1068
1079
|
end
|
1069
1080
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#get_user_pool_mfa_config-instance_method
|
@@ -1083,7 +1094,7 @@ module Aws
|
|
1083
1094
|
|
1084
1095
|
interface _InitiateAuthResponseSuccess
|
1085
1096
|
include ::Seahorse::Client::_ResponseSuccess[Types::InitiateAuthResponse]
|
1086
|
-
def 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")
|
1097
|
+
def 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")
|
1087
1098
|
def session: () -> ::String
|
1088
1099
|
def challenge_parameters: () -> ::Hash[::String, ::String]
|
1089
1100
|
def authentication_result: () -> Types::AuthenticationResultType
|
@@ -1255,7 +1266,7 @@ module Aws
|
|
1255
1266
|
|
1256
1267
|
interface _RespondToAuthChallengeResponseSuccess
|
1257
1268
|
include ::Seahorse::Client::_ResponseSuccess[Types::RespondToAuthChallengeResponse]
|
1258
|
-
def 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")
|
1269
|
+
def 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")
|
1259
1270
|
def session: () -> ::String
|
1260
1271
|
def challenge_parameters: () -> ::Hash[::String, ::String]
|
1261
1272
|
def authentication_result: () -> Types::AuthenticationResultType
|
@@ -1263,7 +1274,7 @@ module Aws
|
|
1263
1274
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#respond_to_auth_challenge-instance_method
|
1264
1275
|
def respond_to_auth_challenge: (
|
1265
1276
|
client_id: ::String,
|
1266
|
-
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"),
|
1277
|
+
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"),
|
1267
1278
|
?session: ::String,
|
1268
1279
|
?challenge_responses: Hash[::String, ::String],
|
1269
1280
|
?analytics_metadata: {
|
@@ -1297,10 +1308,16 @@ module Aws
|
|
1297
1308
|
user_pool_id: ::String,
|
1298
1309
|
log_configurations: Array[
|
1299
1310
|
{
|
1300
|
-
log_level: ("ERROR"),
|
1301
|
-
event_source: ("userNotification"),
|
1311
|
+
log_level: ("ERROR" | "INFO"),
|
1312
|
+
event_source: ("userNotification" | "userAuthEvents"),
|
1302
1313
|
cloud_watch_logs_configuration: {
|
1303
1314
|
log_group_arn: ::String?
|
1315
|
+
}?,
|
1316
|
+
s3_configuration: {
|
1317
|
+
bucket_arn: ::String?
|
1318
|
+
}?,
|
1319
|
+
firehose_configuration: {
|
1320
|
+
stream_arn: ::String?
|
1304
1321
|
}?
|
1305
1322
|
},
|
1306
1323
|
]
|
@@ -1390,6 +1407,10 @@ module Aws
|
|
1390
1407
|
enabled: bool?,
|
1391
1408
|
preferred_mfa: bool?
|
1392
1409
|
},
|
1410
|
+
?email_mfa_settings: {
|
1411
|
+
enabled: bool?,
|
1412
|
+
preferred_mfa: bool?
|
1413
|
+
},
|
1393
1414
|
access_token: ::String
|
1394
1415
|
) -> _SetUserMFAPreferenceResponseSuccess
|
1395
1416
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetUserMFAPreferenceResponseSuccess
|
@@ -1398,6 +1419,7 @@ module Aws
|
|
1398
1419
|
include ::Seahorse::Client::_ResponseSuccess[Types::SetUserPoolMfaConfigResponse]
|
1399
1420
|
def sms_mfa_configuration: () -> Types::SmsMfaConfigType
|
1400
1421
|
def software_token_mfa_configuration: () -> Types::SoftwareTokenMfaConfigType
|
1422
|
+
def email_mfa_configuration: () -> Types::EmailMfaConfigType
|
1401
1423
|
def mfa_configuration: () -> ("OFF" | "ON" | "OPTIONAL")
|
1402
1424
|
end
|
1403
1425
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#set_user_pool_mfa_config-instance_method
|
@@ -1414,6 +1436,10 @@ module Aws
|
|
1414
1436
|
?software_token_mfa_configuration: {
|
1415
1437
|
enabled: bool?
|
1416
1438
|
},
|
1439
|
+
?email_mfa_configuration: {
|
1440
|
+
message: ::String?,
|
1441
|
+
subject: ::String?
|
1442
|
+
},
|
1417
1443
|
?mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
|
1418
1444
|
) -> _SetUserPoolMfaConfigResponseSuccess
|
1419
1445
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetUserPoolMfaConfigResponseSuccess
|
@@ -1610,6 +1636,7 @@ module Aws
|
|
1610
1636
|
require_lowercase: bool?,
|
1611
1637
|
require_numbers: bool?,
|
1612
1638
|
require_symbols: bool?,
|
1639
|
+
password_history_size: ::Integer?,
|
1613
1640
|
temporary_password_validity_days: ::Integer?
|
1614
1641
|
}?
|
1615
1642
|
},
|
@@ -1683,7 +1710,10 @@ module Aws
|
|
1683
1710
|
}?
|
1684
1711
|
},
|
1685
1712
|
?user_pool_add_ons: {
|
1686
|
-
advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED")
|
1713
|
+
advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED"),
|
1714
|
+
advanced_security_additional_flows: {
|
1715
|
+
custom_auth_mode: ("AUDIT" | "ENFORCED")?
|
1716
|
+
}?
|
1687
1717
|
},
|
1688
1718
|
?account_recovery_setting: {
|
1689
1719
|
recovery_mechanisms: Array[
|
data/sig/errors.rbs
CHANGED
@@ -74,6 +74,9 @@ module Aws
|
|
74
74
|
class NotAuthorizedException < ::Aws::Errors::ServiceError
|
75
75
|
def message: () -> ::String
|
76
76
|
end
|
77
|
+
class PasswordHistoryPolicyViolationException < ::Aws::Errors::ServiceError
|
78
|
+
def message: () -> ::String
|
79
|
+
end
|
77
80
|
class PasswordResetRequiredException < ::Aws::Errors::ServiceError
|
78
81
|
def message: () -> ::String
|
79
82
|
end
|
data/sig/resource.rbs
CHANGED
@@ -15,6 +15,7 @@ module Aws
|
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
17
|
?access_key_id: String,
|
18
|
+
?account_id: String,
|
18
19
|
?active_endpoint_cache: bool,
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
20
21
|
?client_side_monitoring: bool,
|
@@ -51,6 +52,7 @@ module Aws
|
|
51
52
|
?sigv4a_signing_region_set: Array[String],
|
52
53
|
?simple_json: bool,
|
53
54
|
?stub_responses: untyped,
|
55
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
56
|
?token_provider: untyped,
|
55
57
|
?use_dualstack_endpoint: bool,
|
56
58
|
?use_fips_endpoint: bool,
|
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]
|
@@ -346,6 +347,11 @@ module Aws::CognitoIdentityProvider
|
|
346
347
|
class AdminUserGlobalSignOutResponse < Aws::EmptyStructure
|
347
348
|
end
|
348
349
|
|
350
|
+
class AdvancedSecurityAdditionalFlowsType
|
351
|
+
attr_accessor custom_auth_mode: ("AUDIT" | "ENFORCED")
|
352
|
+
SENSITIVE: []
|
353
|
+
end
|
354
|
+
|
349
355
|
class AliasExistsException
|
350
356
|
attr_accessor message: ::String
|
351
357
|
SENSITIVE: []
|
@@ -831,6 +837,18 @@ module Aws::CognitoIdentityProvider
|
|
831
837
|
SENSITIVE: []
|
832
838
|
end
|
833
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
|
+
|
834
852
|
class EnableSoftwareTokenMFAException
|
835
853
|
attr_accessor message: ::String
|
836
854
|
SENSITIVE: []
|
@@ -864,6 +882,11 @@ module Aws::CognitoIdentityProvider
|
|
864
882
|
SENSITIVE: []
|
865
883
|
end
|
866
884
|
|
885
|
+
class FirehoseConfigurationType
|
886
|
+
attr_accessor stream_arn: ::String
|
887
|
+
SENSITIVE: []
|
888
|
+
end
|
889
|
+
|
867
890
|
class ForbiddenException
|
868
891
|
attr_accessor message: ::String
|
869
892
|
SENSITIVE: []
|
@@ -985,6 +1008,7 @@ module Aws::CognitoIdentityProvider
|
|
985
1008
|
class GetUserPoolMfaConfigResponse
|
986
1009
|
attr_accessor sms_mfa_configuration: Types::SmsMfaConfigType
|
987
1010
|
attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
|
1011
|
+
attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
|
988
1012
|
attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
|
989
1013
|
SENSITIVE: []
|
990
1014
|
end
|
@@ -1056,7 +1080,7 @@ module Aws::CognitoIdentityProvider
|
|
1056
1080
|
end
|
1057
1081
|
|
1058
1082
|
class InitiateAuthResponse
|
1059
|
-
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")
|
1060
1084
|
attr_accessor session: ::String
|
1061
1085
|
attr_accessor challenge_parameters: ::Hash[::String, ::String]
|
1062
1086
|
attr_accessor authentication_result: Types::AuthenticationResultType
|
@@ -1261,9 +1285,11 @@ module Aws::CognitoIdentityProvider
|
|
1261
1285
|
end
|
1262
1286
|
|
1263
1287
|
class LogConfigurationType
|
1264
|
-
attr_accessor log_level: ("ERROR")
|
1265
|
-
attr_accessor event_source: ("userNotification")
|
1288
|
+
attr_accessor log_level: ("ERROR" | "INFO")
|
1289
|
+
attr_accessor event_source: ("userNotification" | "userAuthEvents")
|
1266
1290
|
attr_accessor cloud_watch_logs_configuration: Types::CloudWatchLogsConfigurationType
|
1291
|
+
attr_accessor s3_configuration: Types::S3ConfigurationType
|
1292
|
+
attr_accessor firehose_configuration: Types::FirehoseConfigurationType
|
1267
1293
|
SENSITIVE: []
|
1268
1294
|
end
|
1269
1295
|
|
@@ -1325,12 +1351,18 @@ module Aws::CognitoIdentityProvider
|
|
1325
1351
|
SENSITIVE: []
|
1326
1352
|
end
|
1327
1353
|
|
1354
|
+
class PasswordHistoryPolicyViolationException
|
1355
|
+
attr_accessor message: ::String
|
1356
|
+
SENSITIVE: []
|
1357
|
+
end
|
1358
|
+
|
1328
1359
|
class PasswordPolicyType
|
1329
1360
|
attr_accessor minimum_length: ::Integer
|
1330
1361
|
attr_accessor require_uppercase: bool
|
1331
1362
|
attr_accessor require_lowercase: bool
|
1332
1363
|
attr_accessor require_numbers: bool
|
1333
1364
|
attr_accessor require_symbols: bool
|
1365
|
+
attr_accessor password_history_size: ::Integer
|
1334
1366
|
attr_accessor temporary_password_validity_days: ::Integer
|
1335
1367
|
SENSITIVE: []
|
1336
1368
|
end
|
@@ -1408,7 +1440,7 @@ module Aws::CognitoIdentityProvider
|
|
1408
1440
|
|
1409
1441
|
class RespondToAuthChallengeRequest
|
1410
1442
|
attr_accessor client_id: ::String
|
1411
|
-
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")
|
1412
1444
|
attr_accessor session: ::String
|
1413
1445
|
attr_accessor challenge_responses: ::Hash[::String, ::String]
|
1414
1446
|
attr_accessor analytics_metadata: Types::AnalyticsMetadataType
|
@@ -1418,7 +1450,7 @@ module Aws::CognitoIdentityProvider
|
|
1418
1450
|
end
|
1419
1451
|
|
1420
1452
|
class RespondToAuthChallengeResponse
|
1421
|
-
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")
|
1422
1454
|
attr_accessor session: ::String
|
1423
1455
|
attr_accessor challenge_parameters: ::Hash[::String, ::String]
|
1424
1456
|
attr_accessor authentication_result: Types::AuthenticationResultType
|
@@ -1451,6 +1483,11 @@ module Aws::CognitoIdentityProvider
|
|
1451
1483
|
SENSITIVE: []
|
1452
1484
|
end
|
1453
1485
|
|
1486
|
+
class S3ConfigurationType
|
1487
|
+
attr_accessor bucket_arn: ::String
|
1488
|
+
SENSITIVE: []
|
1489
|
+
end
|
1490
|
+
|
1454
1491
|
class SMSMfaSettingsType
|
1455
1492
|
attr_accessor enabled: bool
|
1456
1493
|
attr_accessor preferred_mfa: bool
|
@@ -1514,6 +1551,7 @@ module Aws::CognitoIdentityProvider
|
|
1514
1551
|
class SetUserMFAPreferenceRequest
|
1515
1552
|
attr_accessor sms_mfa_settings: Types::SMSMfaSettingsType
|
1516
1553
|
attr_accessor software_token_mfa_settings: Types::SoftwareTokenMfaSettingsType
|
1554
|
+
attr_accessor email_mfa_settings: Types::EmailMfaSettingsType
|
1517
1555
|
attr_accessor access_token: ::String
|
1518
1556
|
SENSITIVE: [:access_token]
|
1519
1557
|
end
|
@@ -1525,6 +1563,7 @@ module Aws::CognitoIdentityProvider
|
|
1525
1563
|
attr_accessor user_pool_id: ::String
|
1526
1564
|
attr_accessor sms_mfa_configuration: Types::SmsMfaConfigType
|
1527
1565
|
attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
|
1566
|
+
attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
|
1528
1567
|
attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
|
1529
1568
|
SENSITIVE: []
|
1530
1569
|
end
|
@@ -1532,6 +1571,7 @@ module Aws::CognitoIdentityProvider
|
|
1532
1571
|
class SetUserPoolMfaConfigResponse
|
1533
1572
|
attr_accessor sms_mfa_configuration: Types::SmsMfaConfigType
|
1534
1573
|
attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
|
1574
|
+
attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
|
1535
1575
|
attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
|
1536
1576
|
SENSITIVE: []
|
1537
1577
|
end
|
@@ -1897,6 +1937,7 @@ module Aws::CognitoIdentityProvider
|
|
1897
1937
|
|
1898
1938
|
class UserPoolAddOnsType
|
1899
1939
|
attr_accessor advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED")
|
1940
|
+
attr_accessor advanced_security_additional_flows: Types::AdvancedSecurityAdditionalFlowsType
|
1900
1941
|
SENSITIVE: []
|
1901
1942
|
end
|
1902
1943
|
|
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.
|
4
|
+
version: 1.107.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
|
+
date: 2024-09-24 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.
|
22
|
+
version: 3.207.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.
|
32
|
+
version: 3.207.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|