aws-sdk-cognitoidentityprovider 1.147.0 → 1.149.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +171 -9
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +43 -1
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +246 -11
- data/lib/aws-sdk-cognitoidentityprovider.rb +1 -1
- data/sig/client.rbs +20 -17
- data/sig/params.rbs +18 -1
- data/sig/types.rbs +30 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 596a7ce8aa6cd1e63718f70d3e9760e382113bfc5a0a384c59ee90b4a54f400d
|
|
4
|
+
data.tar.gz: cc937a7321ff09b987ea70b47b0e9ba2e853141238ba481ea1298c6a434d0e89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a33ebb69d6441e6a61e0564f670e834792d19baf3305305a18d97d45c280d8138a35a3ab2ba04d836b395162a0697870ef323842f50a5db7dd3e18d548c73d7
|
|
7
|
+
data.tar.gz: 3b66ac29709c631addae7649fc7872460dbc0eacc7e02064a2763b34ae59cab2f7ae25bdf19a98972167da8df734f432dda4bcf8205e3b24d88d5f09787c4309
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.149.0 (2026-07-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Cognito user pools now support the AdminGetUserAuthFactors operation, which lets administrators retrieve the configured authentication factors (such as password, SMS, email, and TOTP) available for a specific user in a user pool.
|
|
8
|
+
|
|
9
|
+
1.148.0 (2026-07-17)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon Cognito user pools now support sending SMS via AWS End User Messaging. A new EumsSms object in SmsConfigurationType lets you deliver MFA and verification texts through AWS End User Messaging, alongside the existing Amazon SNS option.
|
|
13
|
+
|
|
4
14
|
1.147.0 (2026-07-09)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.149.0
|
|
@@ -1598,6 +1598,75 @@ module Aws::CognitoIdentityProvider
|
|
|
1598
1598
|
req.send_request(options)
|
|
1599
1599
|
end
|
|
1600
1600
|
|
|
1601
|
+
# Lists the authentication options for a user in a user pool. Returns
|
|
1602
|
+
# the following:
|
|
1603
|
+
#
|
|
1604
|
+
# 1. The user's multi-factor authentication (MFA) preferences.
|
|
1605
|
+
#
|
|
1606
|
+
# 2. The user's options for choice-based authentication with the
|
|
1607
|
+
# `USER_AUTH` flow.
|
|
1608
|
+
#
|
|
1609
|
+
# <note markdown="1"> Amazon Cognito evaluates Identity and Access Management (IAM) policies
|
|
1610
|
+
# in requests for this API operation. For this operation, you must use
|
|
1611
|
+
# IAM credentials to authorize requests, and you must grant yourself the
|
|
1612
|
+
# corresponding IAM permission in a policy.
|
|
1613
|
+
#
|
|
1614
|
+
# **Learn more**
|
|
1615
|
+
#
|
|
1616
|
+
# * [Signing Amazon Web Services API Requests][1]
|
|
1617
|
+
#
|
|
1618
|
+
# * [Using the Amazon Cognito user pools API and user pool endpoints][2]
|
|
1619
|
+
#
|
|
1620
|
+
# </note>
|
|
1621
|
+
#
|
|
1622
|
+
#
|
|
1623
|
+
#
|
|
1624
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html
|
|
1625
|
+
# [2]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
|
|
1626
|
+
#
|
|
1627
|
+
# @option params [required, String] :user_pool_id
|
|
1628
|
+
# The ID of the user pool where you want to get information about the
|
|
1629
|
+
# user's authentication factors.
|
|
1630
|
+
#
|
|
1631
|
+
# @option params [required, String] :username
|
|
1632
|
+
# The name of the user that you want to query or modify. The value of
|
|
1633
|
+
# this parameter is typically your user's username, but it can be any
|
|
1634
|
+
# of their alias attributes. If `username` isn't an alias attribute in
|
|
1635
|
+
# your user pool, this value must be the `sub` of a local user or the
|
|
1636
|
+
# username of a user from a third-party IdP.
|
|
1637
|
+
#
|
|
1638
|
+
# @return [Types::AdminGetUserAuthFactorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1639
|
+
#
|
|
1640
|
+
# * {Types::AdminGetUserAuthFactorsResponse#username #username} => String
|
|
1641
|
+
# * {Types::AdminGetUserAuthFactorsResponse#preferred_mfa_setting #preferred_mfa_setting} => String
|
|
1642
|
+
# * {Types::AdminGetUserAuthFactorsResponse#user_mfa_setting_list #user_mfa_setting_list} => Array<String>
|
|
1643
|
+
# * {Types::AdminGetUserAuthFactorsResponse#configured_user_auth_factors #configured_user_auth_factors} => Array<String>
|
|
1644
|
+
#
|
|
1645
|
+
# @example Request syntax with placeholder values
|
|
1646
|
+
#
|
|
1647
|
+
# resp = client.admin_get_user_auth_factors({
|
|
1648
|
+
# user_pool_id: "UserPoolIdType", # required
|
|
1649
|
+
# username: "UsernameType", # required
|
|
1650
|
+
# })
|
|
1651
|
+
#
|
|
1652
|
+
# @example Response structure
|
|
1653
|
+
#
|
|
1654
|
+
# resp.username #=> String
|
|
1655
|
+
# resp.preferred_mfa_setting #=> String
|
|
1656
|
+
# resp.user_mfa_setting_list #=> Array
|
|
1657
|
+
# resp.user_mfa_setting_list[0] #=> String
|
|
1658
|
+
# resp.configured_user_auth_factors #=> Array
|
|
1659
|
+
# resp.configured_user_auth_factors[0] #=> String, one of "PASSWORD", "EMAIL_OTP", "SMS_OTP", "WEB_AUTHN", "SOFTWARE_TOKEN"
|
|
1660
|
+
#
|
|
1661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserAuthFactors AWS API Documentation
|
|
1662
|
+
#
|
|
1663
|
+
# @overload admin_get_user_auth_factors(params = {})
|
|
1664
|
+
# @param [Hash] params ({})
|
|
1665
|
+
def admin_get_user_auth_factors(params = {}, options = {})
|
|
1666
|
+
req = build_request(:admin_get_user_auth_factors, params)
|
|
1667
|
+
req.send_request(options)
|
|
1668
|
+
end
|
|
1669
|
+
|
|
1601
1670
|
# Starts sign-in for applications with a server-side component, for
|
|
1602
1671
|
# example a traditional web application. This operation specifies the
|
|
1603
1672
|
# authentication flow that you'd like to begin. The authentication flow
|
|
@@ -4703,6 +4772,12 @@ module Aws::CognitoIdentityProvider
|
|
|
4703
4772
|
# results to Amazon CloudWatch Logs. This parameter is the ARN of that
|
|
4704
4773
|
# role.
|
|
4705
4774
|
#
|
|
4775
|
+
# @option params [String] :password_hashing_algorithm
|
|
4776
|
+
# The password hashing algorithm used to generate the hashes in the CSV
|
|
4777
|
+
# file for this import job.
|
|
4778
|
+
#
|
|
4779
|
+
# Valid values: `BCRYPT` \| `SCRYPT` \| `ARGON2ID` \| `PBKDF2_SHA256`
|
|
4780
|
+
#
|
|
4706
4781
|
# @return [Types::CreateUserImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4707
4782
|
#
|
|
4708
4783
|
# * {Types::CreateUserImportJobResponse#user_import_job #user_import_job} => Types::UserImportJobType
|
|
@@ -4713,6 +4788,7 @@ module Aws::CognitoIdentityProvider
|
|
|
4713
4788
|
# job_name: "UserImportJobNameType", # required
|
|
4714
4789
|
# user_pool_id: "UserPoolIdType", # required
|
|
4715
4790
|
# cloud_watch_logs_role_arn: "ArnType", # required
|
|
4791
|
+
# password_hashing_algorithm: "BCRYPT", # accepts BCRYPT, SCRYPT, ARGON2ID, PBKDF2_SHA256
|
|
4716
4792
|
# })
|
|
4717
4793
|
#
|
|
4718
4794
|
# @example Response structure
|
|
@@ -4730,6 +4806,7 @@ module Aws::CognitoIdentityProvider
|
|
|
4730
4806
|
# resp.user_import_job.skipped_users #=> Integer
|
|
4731
4807
|
# resp.user_import_job.failed_users #=> Integer
|
|
4732
4808
|
# resp.user_import_job.completion_message #=> String
|
|
4809
|
+
# resp.user_import_job.password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
4733
4810
|
#
|
|
4734
4811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob AWS API Documentation
|
|
4735
4812
|
#
|
|
@@ -4879,6 +4956,23 @@ module Aws::CognitoIdentityProvider
|
|
|
4879
4956
|
# prompts in API responses and in managed login for users who have
|
|
4880
4957
|
# chosen and configured a preferred MFA factor.
|
|
4881
4958
|
#
|
|
4959
|
+
# The `CreateUserPool` operation supports only SMS MFA configuration. If
|
|
4960
|
+
# you set `MfaConfiguration` to either of these values, include an
|
|
4961
|
+
# `SmsConfiguration` in the same request:
|
|
4962
|
+
#
|
|
4963
|
+
# * `ON` – Requires MFA for all users
|
|
4964
|
+
#
|
|
4965
|
+
# * `OPTIONAL` – Makes MFA optional for each user
|
|
4966
|
+
#
|
|
4967
|
+
# If you omit `SmsConfiguration`, the operation returns an
|
|
4968
|
+
# `InvalidParameterException`. To configure TOTP or email MFA, use the
|
|
4969
|
+
# [SetUserPoolMfaConfig][1] operation. You can also use
|
|
4970
|
+
# `SetUserPoolMfaConfig` to add MFA factors later.
|
|
4971
|
+
#
|
|
4972
|
+
#
|
|
4973
|
+
#
|
|
4974
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html
|
|
4975
|
+
#
|
|
4882
4976
|
# @option params [Types::UserAttributeUpdateSettingsType] :user_attribute_update_settings
|
|
4883
4977
|
# The settings for updates to user attributes. These settings include
|
|
4884
4978
|
# the property `AttributesRequireVerificationBeforeUpdate`, a user-pool
|
|
@@ -5496,7 +5590,7 @@ module Aws::CognitoIdentityProvider
|
|
|
5496
5590
|
# temporary_password_validity_days: 1,
|
|
5497
5591
|
# },
|
|
5498
5592
|
# sign_in_policy: {
|
|
5499
|
-
# allowed_first_auth_factors: ["PASSWORD"], # accepts PASSWORD, EMAIL_OTP, SMS_OTP, WEB_AUTHN
|
|
5593
|
+
# allowed_first_auth_factors: ["PASSWORD"], # accepts PASSWORD, EMAIL_OTP, SMS_OTP, WEB_AUTHN, SOFTWARE_TOKEN
|
|
5500
5594
|
# },
|
|
5501
5595
|
# },
|
|
5502
5596
|
# deletion_protection: "ACTIVE", # accepts ACTIVE, INACTIVE
|
|
@@ -5560,9 +5654,18 @@ module Aws::CognitoIdentityProvider
|
|
|
5560
5654
|
# configuration_set: "SESConfigurationSet",
|
|
5561
5655
|
# },
|
|
5562
5656
|
# sms_configuration: {
|
|
5563
|
-
# sns_caller_arn: "
|
|
5657
|
+
# sns_caller_arn: "OptionalArnType",
|
|
5564
5658
|
# external_id: "StringType",
|
|
5565
5659
|
# sns_region: "RegionCodeType",
|
|
5660
|
+
# eums_sms: {
|
|
5661
|
+
# caller_arn: "ArnType", # required
|
|
5662
|
+
# external_id: "StringType",
|
|
5663
|
+
# origination_identity: "StringType",
|
|
5664
|
+
# configuration_set_name: "StringType",
|
|
5665
|
+
# in_entity_id: "StringType",
|
|
5666
|
+
# in_template_id: "StringType",
|
|
5667
|
+
# region: "RegionCodeType",
|
|
5668
|
+
# },
|
|
5566
5669
|
# },
|
|
5567
5670
|
# user_pool_tags: {
|
|
5568
5671
|
# "TagKeysType" => "TagValueType",
|
|
@@ -5632,7 +5735,7 @@ module Aws::CognitoIdentityProvider
|
|
|
5632
5735
|
# resp.user_pool.policies.password_policy.password_history_size #=> Integer
|
|
5633
5736
|
# resp.user_pool.policies.password_policy.temporary_password_validity_days #=> Integer
|
|
5634
5737
|
# resp.user_pool.policies.sign_in_policy.allowed_first_auth_factors #=> Array
|
|
5635
|
-
# resp.user_pool.policies.sign_in_policy.allowed_first_auth_factors[0] #=> String, one of "PASSWORD", "EMAIL_OTP", "SMS_OTP", "WEB_AUTHN"
|
|
5738
|
+
# resp.user_pool.policies.sign_in_policy.allowed_first_auth_factors[0] #=> String, one of "PASSWORD", "EMAIL_OTP", "SMS_OTP", "WEB_AUTHN", "SOFTWARE_TOKEN"
|
|
5636
5739
|
# resp.user_pool.deletion_protection #=> String, one of "ACTIVE", "INACTIVE"
|
|
5637
5740
|
# resp.user_pool.lambda_config.pre_sign_up #=> String
|
|
5638
5741
|
# resp.user_pool.lambda_config.custom_message #=> String
|
|
@@ -5696,6 +5799,13 @@ module Aws::CognitoIdentityProvider
|
|
|
5696
5799
|
# resp.user_pool.sms_configuration.sns_caller_arn #=> String
|
|
5697
5800
|
# resp.user_pool.sms_configuration.external_id #=> String
|
|
5698
5801
|
# resp.user_pool.sms_configuration.sns_region #=> String
|
|
5802
|
+
# resp.user_pool.sms_configuration.eums_sms.caller_arn #=> String
|
|
5803
|
+
# resp.user_pool.sms_configuration.eums_sms.external_id #=> String
|
|
5804
|
+
# resp.user_pool.sms_configuration.eums_sms.origination_identity #=> String
|
|
5805
|
+
# resp.user_pool.sms_configuration.eums_sms.configuration_set_name #=> String
|
|
5806
|
+
# resp.user_pool.sms_configuration.eums_sms.in_entity_id #=> String
|
|
5807
|
+
# resp.user_pool.sms_configuration.eums_sms.in_template_id #=> String
|
|
5808
|
+
# resp.user_pool.sms_configuration.eums_sms.region #=> String
|
|
5699
5809
|
# resp.user_pool.user_pool_tags #=> Hash
|
|
5700
5810
|
# resp.user_pool.user_pool_tags["TagKeysType"] #=> String
|
|
5701
5811
|
# resp.user_pool.sms_configuration_failure #=> String
|
|
@@ -6400,9 +6510,18 @@ module Aws::CognitoIdentityProvider
|
|
|
6400
6510
|
# Managed login requires that your user pool be configured for any
|
|
6401
6511
|
# [feature plan][1] other than `Lite`.
|
|
6402
6512
|
#
|
|
6513
|
+
# A `ManagedLoginVersion` value of `2` does not activate managed login
|
|
6514
|
+
# pages for your app client. When you create an app client
|
|
6515
|
+
# programmatically, your app client has no branding style. To use
|
|
6516
|
+
# managed login, create a branding style using the
|
|
6517
|
+
# [CreateManagedLoginBranding][2] operation. When you use the console,
|
|
6518
|
+
# Amazon Cognito assigns a default branding style automatically. When
|
|
6519
|
+
# you use the API or an SDK, you must create a branding style yourself.
|
|
6520
|
+
#
|
|
6403
6521
|
#
|
|
6404
6522
|
#
|
|
6405
6523
|
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-sign-in-feature-plans.html
|
|
6524
|
+
# [2]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateManagedLoginBranding.html
|
|
6406
6525
|
#
|
|
6407
6526
|
# @option params [Types::CustomDomainConfigType] :custom_domain_config
|
|
6408
6527
|
# The configuration for a custom domain. Configures your domain with an
|
|
@@ -7503,6 +7622,7 @@ module Aws::CognitoIdentityProvider
|
|
|
7503
7622
|
# resp.user_import_job.skipped_users #=> Integer
|
|
7504
7623
|
# resp.user_import_job.failed_users #=> Integer
|
|
7505
7624
|
# resp.user_import_job.completion_message #=> String
|
|
7625
|
+
# resp.user_import_job.password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
7506
7626
|
#
|
|
7507
7627
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob AWS API Documentation
|
|
7508
7628
|
#
|
|
@@ -7560,7 +7680,7 @@ module Aws::CognitoIdentityProvider
|
|
|
7560
7680
|
# resp.user_pool.policies.password_policy.password_history_size #=> Integer
|
|
7561
7681
|
# resp.user_pool.policies.password_policy.temporary_password_validity_days #=> Integer
|
|
7562
7682
|
# resp.user_pool.policies.sign_in_policy.allowed_first_auth_factors #=> Array
|
|
7563
|
-
# resp.user_pool.policies.sign_in_policy.allowed_first_auth_factors[0] #=> String, one of "PASSWORD", "EMAIL_OTP", "SMS_OTP", "WEB_AUTHN"
|
|
7683
|
+
# resp.user_pool.policies.sign_in_policy.allowed_first_auth_factors[0] #=> String, one of "PASSWORD", "EMAIL_OTP", "SMS_OTP", "WEB_AUTHN", "SOFTWARE_TOKEN"
|
|
7564
7684
|
# resp.user_pool.deletion_protection #=> String, one of "ACTIVE", "INACTIVE"
|
|
7565
7685
|
# resp.user_pool.lambda_config.pre_sign_up #=> String
|
|
7566
7686
|
# resp.user_pool.lambda_config.custom_message #=> String
|
|
@@ -7624,6 +7744,13 @@ module Aws::CognitoIdentityProvider
|
|
|
7624
7744
|
# resp.user_pool.sms_configuration.sns_caller_arn #=> String
|
|
7625
7745
|
# resp.user_pool.sms_configuration.external_id #=> String
|
|
7626
7746
|
# resp.user_pool.sms_configuration.sns_region #=> String
|
|
7747
|
+
# resp.user_pool.sms_configuration.eums_sms.caller_arn #=> String
|
|
7748
|
+
# resp.user_pool.sms_configuration.eums_sms.external_id #=> String
|
|
7749
|
+
# resp.user_pool.sms_configuration.eums_sms.origination_identity #=> String
|
|
7750
|
+
# resp.user_pool.sms_configuration.eums_sms.configuration_set_name #=> String
|
|
7751
|
+
# resp.user_pool.sms_configuration.eums_sms.in_entity_id #=> String
|
|
7752
|
+
# resp.user_pool.sms_configuration.eums_sms.in_template_id #=> String
|
|
7753
|
+
# resp.user_pool.sms_configuration.eums_sms.region #=> String
|
|
7627
7754
|
# resp.user_pool.user_pool_tags #=> Hash
|
|
7628
7755
|
# resp.user_pool.user_pool_tags["TagKeysType"] #=> String
|
|
7629
7756
|
# resp.user_pool.sms_configuration_failure #=> String
|
|
@@ -8827,7 +8954,7 @@ module Aws::CognitoIdentityProvider
|
|
|
8827
8954
|
# resp.user_mfa_setting_list #=> Array
|
|
8828
8955
|
# resp.user_mfa_setting_list[0] #=> String
|
|
8829
8956
|
# resp.configured_user_auth_factors #=> Array
|
|
8830
|
-
# resp.configured_user_auth_factors[0] #=> String, one of "PASSWORD", "EMAIL_OTP", "SMS_OTP", "WEB_AUTHN"
|
|
8957
|
+
# resp.configured_user_auth_factors[0] #=> String, one of "PASSWORD", "EMAIL_OTP", "SMS_OTP", "WEB_AUTHN", "SOFTWARE_TOKEN"
|
|
8831
8958
|
#
|
|
8832
8959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAuthFactors AWS API Documentation
|
|
8833
8960
|
#
|
|
@@ -8894,6 +9021,13 @@ module Aws::CognitoIdentityProvider
|
|
|
8894
9021
|
# resp.sms_mfa_configuration.sms_configuration.sns_caller_arn #=> String
|
|
8895
9022
|
# resp.sms_mfa_configuration.sms_configuration.external_id #=> String
|
|
8896
9023
|
# resp.sms_mfa_configuration.sms_configuration.sns_region #=> String
|
|
9024
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.caller_arn #=> String
|
|
9025
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.external_id #=> String
|
|
9026
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.origination_identity #=> String
|
|
9027
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.configuration_set_name #=> String
|
|
9028
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.in_entity_id #=> String
|
|
9029
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.in_template_id #=> String
|
|
9030
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.region #=> String
|
|
8897
9031
|
# resp.software_token_mfa_configuration.enabled #=> Boolean
|
|
8898
9032
|
# resp.email_mfa_configuration.message #=> String
|
|
8899
9033
|
# resp.email_mfa_configuration.subject #=> String
|
|
@@ -9767,6 +9901,7 @@ module Aws::CognitoIdentityProvider
|
|
|
9767
9901
|
# resp.user_import_jobs[0].skipped_users #=> Integer
|
|
9768
9902
|
# resp.user_import_jobs[0].failed_users #=> Integer
|
|
9769
9903
|
# resp.user_import_jobs[0].completion_message #=> String
|
|
9904
|
+
# resp.user_import_jobs[0].password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
9770
9905
|
# resp.pagination_token #=> String
|
|
9771
9906
|
#
|
|
9772
9907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs AWS API Documentation
|
|
@@ -11576,9 +11711,18 @@ module Aws::CognitoIdentityProvider
|
|
|
11576
11711
|
# sms_mfa_configuration: {
|
|
11577
11712
|
# sms_authentication_message: "SmsVerificationMessageType",
|
|
11578
11713
|
# sms_configuration: {
|
|
11579
|
-
# sns_caller_arn: "
|
|
11714
|
+
# sns_caller_arn: "OptionalArnType",
|
|
11580
11715
|
# external_id: "StringType",
|
|
11581
11716
|
# sns_region: "RegionCodeType",
|
|
11717
|
+
# eums_sms: {
|
|
11718
|
+
# caller_arn: "ArnType", # required
|
|
11719
|
+
# external_id: "StringType",
|
|
11720
|
+
# origination_identity: "StringType",
|
|
11721
|
+
# configuration_set_name: "StringType",
|
|
11722
|
+
# in_entity_id: "StringType",
|
|
11723
|
+
# in_template_id: "StringType",
|
|
11724
|
+
# region: "RegionCodeType",
|
|
11725
|
+
# },
|
|
11582
11726
|
# },
|
|
11583
11727
|
# },
|
|
11584
11728
|
# software_token_mfa_configuration: {
|
|
@@ -11602,6 +11746,13 @@ module Aws::CognitoIdentityProvider
|
|
|
11602
11746
|
# resp.sms_mfa_configuration.sms_configuration.sns_caller_arn #=> String
|
|
11603
11747
|
# resp.sms_mfa_configuration.sms_configuration.external_id #=> String
|
|
11604
11748
|
# resp.sms_mfa_configuration.sms_configuration.sns_region #=> String
|
|
11749
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.caller_arn #=> String
|
|
11750
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.external_id #=> String
|
|
11751
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.origination_identity #=> String
|
|
11752
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.configuration_set_name #=> String
|
|
11753
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.in_entity_id #=> String
|
|
11754
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.in_template_id #=> String
|
|
11755
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.region #=> String
|
|
11605
11756
|
# resp.software_token_mfa_configuration.enabled #=> Boolean
|
|
11606
11757
|
# resp.email_mfa_configuration.message #=> String
|
|
11607
11758
|
# resp.email_mfa_configuration.subject #=> String
|
|
@@ -11922,6 +12073,7 @@ module Aws::CognitoIdentityProvider
|
|
|
11922
12073
|
# resp.user_import_job.skipped_users #=> Integer
|
|
11923
12074
|
# resp.user_import_job.failed_users #=> Integer
|
|
11924
12075
|
# resp.user_import_job.completion_message #=> String
|
|
12076
|
+
# resp.user_import_job.password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
11925
12077
|
#
|
|
11926
12078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob AWS API Documentation
|
|
11927
12079
|
#
|
|
@@ -12010,6 +12162,7 @@ module Aws::CognitoIdentityProvider
|
|
|
12010
12162
|
# resp.user_import_job.skipped_users #=> Integer
|
|
12011
12163
|
# resp.user_import_job.failed_users #=> Integer
|
|
12012
12164
|
# resp.user_import_job.completion_message #=> String
|
|
12165
|
+
# resp.user_import_job.password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
12013
12166
|
#
|
|
12014
12167
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob AWS API Documentation
|
|
12015
12168
|
#
|
|
@@ -13331,7 +13484,7 @@ module Aws::CognitoIdentityProvider
|
|
|
13331
13484
|
# temporary_password_validity_days: 1,
|
|
13332
13485
|
# },
|
|
13333
13486
|
# sign_in_policy: {
|
|
13334
|
-
# allowed_first_auth_factors: ["PASSWORD"], # accepts PASSWORD, EMAIL_OTP, SMS_OTP, WEB_AUTHN
|
|
13487
|
+
# allowed_first_auth_factors: ["PASSWORD"], # accepts PASSWORD, EMAIL_OTP, SMS_OTP, WEB_AUTHN, SOFTWARE_TOKEN
|
|
13335
13488
|
# },
|
|
13336
13489
|
# },
|
|
13337
13490
|
# deletion_protection: "ACTIVE", # accepts ACTIVE, INACTIVE
|
|
@@ -13393,9 +13546,18 @@ module Aws::CognitoIdentityProvider
|
|
|
13393
13546
|
# configuration_set: "SESConfigurationSet",
|
|
13394
13547
|
# },
|
|
13395
13548
|
# sms_configuration: {
|
|
13396
|
-
# sns_caller_arn: "
|
|
13549
|
+
# sns_caller_arn: "OptionalArnType",
|
|
13397
13550
|
# external_id: "StringType",
|
|
13398
13551
|
# sns_region: "RegionCodeType",
|
|
13552
|
+
# eums_sms: {
|
|
13553
|
+
# caller_arn: "ArnType", # required
|
|
13554
|
+
# external_id: "StringType",
|
|
13555
|
+
# origination_identity: "StringType",
|
|
13556
|
+
# configuration_set_name: "StringType",
|
|
13557
|
+
# in_entity_id: "StringType",
|
|
13558
|
+
# in_template_id: "StringType",
|
|
13559
|
+
# region: "RegionCodeType",
|
|
13560
|
+
# },
|
|
13399
13561
|
# },
|
|
13400
13562
|
# user_pool_tags: {
|
|
13401
13563
|
# "TagKeysType" => "TagValueType",
|
|
@@ -14256,7 +14418,7 @@ module Aws::CognitoIdentityProvider
|
|
|
14256
14418
|
tracer: tracer
|
|
14257
14419
|
)
|
|
14258
14420
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
|
14259
|
-
context[:gem_version] = '1.
|
|
14421
|
+
context[:gem_version] = '1.149.0'
|
|
14260
14422
|
Seahorse::Client::Request.new(handlers, context)
|
|
14261
14423
|
end
|
|
14262
14424
|
|
|
@@ -46,6 +46,8 @@ module Aws::CognitoIdentityProvider
|
|
|
46
46
|
AdminForgetDeviceRequest = Shapes::StructureShape.new(name: 'AdminForgetDeviceRequest')
|
|
47
47
|
AdminGetDeviceRequest = Shapes::StructureShape.new(name: 'AdminGetDeviceRequest')
|
|
48
48
|
AdminGetDeviceResponse = Shapes::StructureShape.new(name: 'AdminGetDeviceResponse')
|
|
49
|
+
AdminGetUserAuthFactorsRequest = Shapes::StructureShape.new(name: 'AdminGetUserAuthFactorsRequest')
|
|
50
|
+
AdminGetUserAuthFactorsResponse = Shapes::StructureShape.new(name: 'AdminGetUserAuthFactorsResponse')
|
|
49
51
|
AdminGetUserRequest = Shapes::StructureShape.new(name: 'AdminGetUserRequest')
|
|
50
52
|
AdminGetUserResponse = Shapes::StructureShape.new(name: 'AdminGetUserResponse')
|
|
51
53
|
AdminInitiateAuthRequest = Shapes::StructureShape.new(name: 'AdminInitiateAuthRequest')
|
|
@@ -258,6 +260,7 @@ module Aws::CognitoIdentityProvider
|
|
|
258
260
|
EnableSoftwareTokenMFAException = Shapes::StructureShape.new(name: 'EnableSoftwareTokenMFAException')
|
|
259
261
|
EncryptionKeyArnType = Shapes::StringShape.new(name: 'EncryptionKeyArnType')
|
|
260
262
|
EncryptionKeyType = Shapes::StringShape.new(name: 'EncryptionKeyType')
|
|
263
|
+
EumsSmsConfigurationType = Shapes::StructureShape.new(name: 'EumsSmsConfigurationType')
|
|
261
264
|
EventContextDataType = Shapes::StructureShape.new(name: 'EventContextDataType')
|
|
262
265
|
EventFeedbackType = Shapes::StructureShape.new(name: 'EventFeedbackType')
|
|
263
266
|
EventFilterType = Shapes::StringShape.new(name: 'EventFilterType')
|
|
@@ -406,8 +409,10 @@ module Aws::CognitoIdentityProvider
|
|
|
406
409
|
OAuthFlowType = Shapes::StringShape.new(name: 'OAuthFlowType')
|
|
407
410
|
OAuthFlowsType = Shapes::ListShape.new(name: 'OAuthFlowsType')
|
|
408
411
|
OperationNotEnabledException = Shapes::StructureShape.new(name: 'OperationNotEnabledException')
|
|
412
|
+
OptionalArnType = Shapes::StringShape.new(name: 'OptionalArnType')
|
|
409
413
|
PaginationKey = Shapes::StringShape.new(name: 'PaginationKey')
|
|
410
414
|
PaginationKeyType = Shapes::StringShape.new(name: 'PaginationKeyType')
|
|
415
|
+
PasswordHashingAlgorithmType = Shapes::StringShape.new(name: 'PasswordHashingAlgorithmType')
|
|
411
416
|
PasswordHistoryPolicyViolationException = Shapes::StructureShape.new(name: 'PasswordHistoryPolicyViolationException')
|
|
412
417
|
PasswordHistorySizeType = Shapes::IntegerShape.new(name: 'PasswordHistorySizeType')
|
|
413
418
|
PasswordPolicyMinLengthType = Shapes::IntegerShape.new(name: 'PasswordPolicyMinLengthType')
|
|
@@ -745,6 +750,16 @@ module Aws::CognitoIdentityProvider
|
|
|
745
750
|
AdminGetDeviceResponse.add_member(:device, Shapes::ShapeRef.new(shape: DeviceType, required: true, location_name: "Device"))
|
|
746
751
|
AdminGetDeviceResponse.struct_class = Types::AdminGetDeviceResponse
|
|
747
752
|
|
|
753
|
+
AdminGetUserAuthFactorsRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
754
|
+
AdminGetUserAuthFactorsRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
|
|
755
|
+
AdminGetUserAuthFactorsRequest.struct_class = Types::AdminGetUserAuthFactorsRequest
|
|
756
|
+
|
|
757
|
+
AdminGetUserAuthFactorsResponse.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
|
|
758
|
+
AdminGetUserAuthFactorsResponse.add_member(:preferred_mfa_setting, Shapes::ShapeRef.new(shape: StringType, location_name: "PreferredMfaSetting"))
|
|
759
|
+
AdminGetUserAuthFactorsResponse.add_member(:user_mfa_setting_list, Shapes::ShapeRef.new(shape: UserMFASettingListType, location_name: "UserMFASettingList"))
|
|
760
|
+
AdminGetUserAuthFactorsResponse.add_member(:configured_user_auth_factors, Shapes::ShapeRef.new(shape: ConfiguredUserAuthFactorsListType, location_name: "ConfiguredUserAuthFactors"))
|
|
761
|
+
AdminGetUserAuthFactorsResponse.struct_class = Types::AdminGetUserAuthFactorsResponse
|
|
762
|
+
|
|
748
763
|
AdminGetUserRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
749
764
|
AdminGetUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
|
|
750
765
|
AdminGetUserRequest.struct_class = Types::AdminGetUserRequest
|
|
@@ -1137,6 +1152,7 @@ module Aws::CognitoIdentityProvider
|
|
|
1137
1152
|
CreateUserImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: UserImportJobNameType, required: true, location_name: "JobName"))
|
|
1138
1153
|
CreateUserImportJobRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
1139
1154
|
CreateUserImportJobRequest.add_member(:cloud_watch_logs_role_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "CloudWatchLogsRoleArn"))
|
|
1155
|
+
CreateUserImportJobRequest.add_member(:password_hashing_algorithm, Shapes::ShapeRef.new(shape: PasswordHashingAlgorithmType, location_name: "PasswordHashingAlgorithm"))
|
|
1140
1156
|
CreateUserImportJobRequest.struct_class = Types::CreateUserImportJobRequest
|
|
1141
1157
|
|
|
1142
1158
|
CreateUserImportJobResponse.add_member(:user_import_job, Shapes::ShapeRef.new(shape: UserImportJobType, location_name: "UserImportJob"))
|
|
@@ -1423,6 +1439,15 @@ module Aws::CognitoIdentityProvider
|
|
|
1423
1439
|
EnableSoftwareTokenMFAException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
|
|
1424
1440
|
EnableSoftwareTokenMFAException.struct_class = Types::EnableSoftwareTokenMFAException
|
|
1425
1441
|
|
|
1442
|
+
EumsSmsConfigurationType.add_member(:caller_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "CallerArn"))
|
|
1443
|
+
EumsSmsConfigurationType.add_member(:external_id, Shapes::ShapeRef.new(shape: StringType, location_name: "ExternalId"))
|
|
1444
|
+
EumsSmsConfigurationType.add_member(:origination_identity, Shapes::ShapeRef.new(shape: StringType, location_name: "OriginationIdentity"))
|
|
1445
|
+
EumsSmsConfigurationType.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: StringType, location_name: "ConfigurationSetName"))
|
|
1446
|
+
EumsSmsConfigurationType.add_member(:in_entity_id, Shapes::ShapeRef.new(shape: StringType, location_name: "InEntityId"))
|
|
1447
|
+
EumsSmsConfigurationType.add_member(:in_template_id, Shapes::ShapeRef.new(shape: StringType, location_name: "InTemplateId"))
|
|
1448
|
+
EumsSmsConfigurationType.add_member(:region, Shapes::ShapeRef.new(shape: RegionCodeType, location_name: "Region"))
|
|
1449
|
+
EumsSmsConfigurationType.struct_class = Types::EumsSmsConfigurationType
|
|
1450
|
+
|
|
1426
1451
|
EventContextDataType.add_member(:ip_address, Shapes::ShapeRef.new(shape: StringType, location_name: "IpAddress"))
|
|
1427
1452
|
EventContextDataType.add_member(:device_name, Shapes::ShapeRef.new(shape: StringType, location_name: "DeviceName"))
|
|
1428
1453
|
EventContextDataType.add_member(:timezone, Shapes::ShapeRef.new(shape: StringType, location_name: "Timezone"))
|
|
@@ -2122,9 +2147,10 @@ module Aws::CognitoIdentityProvider
|
|
|
2122
2147
|
|
|
2123
2148
|
SkippedIPRangeListType.member = Shapes::ShapeRef.new(shape: StringType)
|
|
2124
2149
|
|
|
2125
|
-
SmsConfigurationType.add_member(:sns_caller_arn, Shapes::ShapeRef.new(shape:
|
|
2150
|
+
SmsConfigurationType.add_member(:sns_caller_arn, Shapes::ShapeRef.new(shape: OptionalArnType, location_name: "SnsCallerArn"))
|
|
2126
2151
|
SmsConfigurationType.add_member(:external_id, Shapes::ShapeRef.new(shape: StringType, location_name: "ExternalId"))
|
|
2127
2152
|
SmsConfigurationType.add_member(:sns_region, Shapes::ShapeRef.new(shape: RegionCodeType, location_name: "SnsRegion"))
|
|
2153
|
+
SmsConfigurationType.add_member(:eums_sms, Shapes::ShapeRef.new(shape: EumsSmsConfigurationType, location_name: "EumsSms"))
|
|
2128
2154
|
SmsConfigurationType.struct_class = Types::SmsConfigurationType
|
|
2129
2155
|
|
|
2130
2156
|
SmsMfaConfigType.add_member(:sms_authentication_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsAuthenticationMessage"))
|
|
@@ -2425,6 +2451,7 @@ module Aws::CognitoIdentityProvider
|
|
|
2425
2451
|
UserImportJobType.add_member(:skipped_users, Shapes::ShapeRef.new(shape: LongType, location_name: "SkippedUsers"))
|
|
2426
2452
|
UserImportJobType.add_member(:failed_users, Shapes::ShapeRef.new(shape: LongType, location_name: "FailedUsers"))
|
|
2427
2453
|
UserImportJobType.add_member(:completion_message, Shapes::ShapeRef.new(shape: CompletionMessageType, location_name: "CompletionMessage"))
|
|
2454
|
+
UserImportJobType.add_member(:password_hashing_algorithm, Shapes::ShapeRef.new(shape: PasswordHashingAlgorithmType, location_name: "PasswordHashingAlgorithm"))
|
|
2428
2455
|
UserImportJobType.struct_class = Types::UserImportJobType
|
|
2429
2456
|
|
|
2430
2457
|
UserImportJobsListType.member = Shapes::ShapeRef.new(shape: UserImportJobType)
|
|
@@ -2869,6 +2896,21 @@ module Aws::CognitoIdentityProvider
|
|
|
2869
2896
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
|
2870
2897
|
end)
|
|
2871
2898
|
|
|
2899
|
+
api.add_operation(:admin_get_user_auth_factors, Seahorse::Model::Operation.new.tap do |o|
|
|
2900
|
+
o.name = "AdminGetUserAuthFactors"
|
|
2901
|
+
o.http_method = "POST"
|
|
2902
|
+
o.http_request_uri = "/"
|
|
2903
|
+
o.input = Shapes::ShapeRef.new(shape: AdminGetUserAuthFactorsRequest)
|
|
2904
|
+
o.output = Shapes::ShapeRef.new(shape: AdminGetUserAuthFactorsResponse)
|
|
2905
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2906
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
2907
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
|
2908
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotEnabledException)
|
|
2909
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2910
|
+
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
|
|
2911
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
|
2912
|
+
end)
|
|
2913
|
+
|
|
2872
2914
|
api.add_operation(:admin_initiate_auth, Seahorse::Model::Operation.new.tap do |o|
|
|
2873
2915
|
o.name = "AdminInitiateAuth"
|
|
2874
2916
|
o.http_method = "POST"
|
|
@@ -809,6 +809,67 @@ module Aws::CognitoIdentityProvider
|
|
|
809
809
|
include Aws::Structure
|
|
810
810
|
end
|
|
811
811
|
|
|
812
|
+
# @!attribute [rw] user_pool_id
|
|
813
|
+
# The ID of the user pool where you want to get information about the
|
|
814
|
+
# user's authentication factors.
|
|
815
|
+
# @return [String]
|
|
816
|
+
#
|
|
817
|
+
# @!attribute [rw] username
|
|
818
|
+
# The name of the user that you want to query or modify. The value of
|
|
819
|
+
# this parameter is typically your user's username, but it can be any
|
|
820
|
+
# of their alias attributes. If `username` isn't an alias attribute
|
|
821
|
+
# in your user pool, this value must be the `sub` of a local user or
|
|
822
|
+
# the username of a user from a third-party IdP.
|
|
823
|
+
# @return [String]
|
|
824
|
+
#
|
|
825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserAuthFactorsRequest AWS API Documentation
|
|
826
|
+
#
|
|
827
|
+
class AdminGetUserAuthFactorsRequest < Struct.new(
|
|
828
|
+
:user_pool_id,
|
|
829
|
+
:username)
|
|
830
|
+
SENSITIVE = [:username]
|
|
831
|
+
include Aws::Structure
|
|
832
|
+
end
|
|
833
|
+
|
|
834
|
+
# @!attribute [rw] username
|
|
835
|
+
# The name of the user who is eligible for the authentication factors
|
|
836
|
+
# in the response.
|
|
837
|
+
# @return [String]
|
|
838
|
+
#
|
|
839
|
+
# @!attribute [rw] preferred_mfa_setting
|
|
840
|
+
# The challenge method that Amazon Cognito returns to the user in
|
|
841
|
+
# response to sign-in requests. Users can prefer SMS message, email
|
|
842
|
+
# message, or TOTP MFA.
|
|
843
|
+
# @return [String]
|
|
844
|
+
#
|
|
845
|
+
# @!attribute [rw] user_mfa_setting_list
|
|
846
|
+
# The MFA options that are activated for the user. The possible values
|
|
847
|
+
# in this list are `SMS_MFA`, `EMAIL_OTP`, and `SOFTWARE_TOKEN_MFA`.
|
|
848
|
+
# @return [Array<String>]
|
|
849
|
+
#
|
|
850
|
+
# @!attribute [rw] configured_user_auth_factors
|
|
851
|
+
# The authentication types that are available to the user with
|
|
852
|
+
# `USER_AUTH` sign-in, for example `["PASSWORD", "WEB_AUTHN"]`.
|
|
853
|
+
#
|
|
854
|
+
# `PASSWORD` can only be used as a first authentication factor.
|
|
855
|
+
# `SOFTWARE_TOKEN` can only be used as an MFA factor. `EMAIL_OTP`,
|
|
856
|
+
# `SMS_OTP`, and `WEB_AUTHN` can be used as either a first
|
|
857
|
+
# authentication factor or an MFA factor. `WEB_AUTHN` is available as
|
|
858
|
+
# an MFA factor only when passkey MFA is enabled at the user pool
|
|
859
|
+
# level.
|
|
860
|
+
# @return [Array<String>]
|
|
861
|
+
#
|
|
862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserAuthFactorsResponse AWS API Documentation
|
|
863
|
+
#
|
|
864
|
+
class AdminGetUserAuthFactorsResponse < Struct.new(
|
|
865
|
+
:username,
|
|
866
|
+
:preferred_mfa_setting,
|
|
867
|
+
:user_mfa_setting_list,
|
|
868
|
+
:configured_user_auth_factors)
|
|
869
|
+
SENSITIVE = [:username]
|
|
870
|
+
include Aws::Structure
|
|
871
|
+
end
|
|
872
|
+
|
|
812
873
|
# Represents the request to get the specified user as an administrator.
|
|
813
874
|
#
|
|
814
875
|
# @!attribute [rw] user_pool_id
|
|
@@ -4052,12 +4113,20 @@ module Aws::CognitoIdentityProvider
|
|
|
4052
4113
|
# role.
|
|
4053
4114
|
# @return [String]
|
|
4054
4115
|
#
|
|
4116
|
+
# @!attribute [rw] password_hashing_algorithm
|
|
4117
|
+
# The password hashing algorithm used to generate the hashes in the
|
|
4118
|
+
# CSV file for this import job.
|
|
4119
|
+
#
|
|
4120
|
+
# Valid values: `BCRYPT` \| `SCRYPT` \| `ARGON2ID` \| `PBKDF2_SHA256`
|
|
4121
|
+
# @return [String]
|
|
4122
|
+
#
|
|
4055
4123
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobRequest AWS API Documentation
|
|
4056
4124
|
#
|
|
4057
4125
|
class CreateUserImportJobRequest < Struct.new(
|
|
4058
4126
|
:job_name,
|
|
4059
4127
|
:user_pool_id,
|
|
4060
|
-
:cloud_watch_logs_role_arn
|
|
4128
|
+
:cloud_watch_logs_role_arn,
|
|
4129
|
+
:password_hashing_algorithm)
|
|
4061
4130
|
SENSITIVE = []
|
|
4062
4131
|
include Aws::Structure
|
|
4063
4132
|
end
|
|
@@ -4535,9 +4604,19 @@ module Aws::CognitoIdentityProvider
|
|
|
4535
4604
|
# Managed login requires that your user pool be configured for any
|
|
4536
4605
|
# [feature plan][1] other than `Lite`.
|
|
4537
4606
|
#
|
|
4607
|
+
# A `ManagedLoginVersion` value of `2` does not activate managed login
|
|
4608
|
+
# pages for your app client. When you create an app client
|
|
4609
|
+
# programmatically, your app client has no branding style. To use
|
|
4610
|
+
# managed login, create a branding style using the
|
|
4611
|
+
# [CreateManagedLoginBranding][2] operation. When you use the console,
|
|
4612
|
+
# Amazon Cognito assigns a default branding style automatically. When
|
|
4613
|
+
# you use the API or an SDK, you must create a branding style
|
|
4614
|
+
# yourself.
|
|
4615
|
+
#
|
|
4538
4616
|
#
|
|
4539
4617
|
#
|
|
4540
4618
|
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-sign-in-feature-plans.html
|
|
4619
|
+
# [2]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateManagedLoginBranding.html
|
|
4541
4620
|
# @return [Integer]
|
|
4542
4621
|
#
|
|
4543
4622
|
# @!attribute [rw] custom_domain_config
|
|
@@ -4753,6 +4832,23 @@ module Aws::CognitoIdentityProvider
|
|
|
4753
4832
|
# automatically prompt users to set up MFA. Amazon Cognito generates
|
|
4754
4833
|
# MFA prompts in API responses and in managed login for users who have
|
|
4755
4834
|
# chosen and configured a preferred MFA factor.
|
|
4835
|
+
#
|
|
4836
|
+
# The `CreateUserPool` operation supports only SMS MFA configuration.
|
|
4837
|
+
# If you set `MfaConfiguration` to either of these values, include an
|
|
4838
|
+
# `SmsConfiguration` in the same request:
|
|
4839
|
+
#
|
|
4840
|
+
# * `ON` – Requires MFA for all users
|
|
4841
|
+
#
|
|
4842
|
+
# * `OPTIONAL` – Makes MFA optional for each user
|
|
4843
|
+
#
|
|
4844
|
+
# If you omit `SmsConfiguration`, the operation returns an
|
|
4845
|
+
# `InvalidParameterException`. To configure TOTP or email MFA, use the
|
|
4846
|
+
# [SetUserPoolMfaConfig][1] operation. You can also use
|
|
4847
|
+
# `SetUserPoolMfaConfig` to add MFA factors later.
|
|
4848
|
+
#
|
|
4849
|
+
#
|
|
4850
|
+
#
|
|
4851
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html
|
|
4756
4852
|
# @return [String]
|
|
4757
4853
|
#
|
|
4758
4854
|
# @!attribute [rw] user_attribute_update_settings
|
|
@@ -4962,17 +5058,33 @@ module Aws::CognitoIdentityProvider
|
|
|
4962
5058
|
#
|
|
4963
5059
|
# @!attribute [rw] security_policy
|
|
4964
5060
|
# The security policy for the custom domain. Defines the minimum TLS
|
|
4965
|
-
# version and cipher suites that CloudFront
|
|
4966
|
-
# with
|
|
5061
|
+
# version and cipher suites that Amazon CloudFront supports when
|
|
5062
|
+
# communicating with clients. For specific guidance, see [Supported
|
|
5063
|
+
# protocols and ciphers between viewers and CloudFront][1]. Valid
|
|
5064
|
+
# values are as follows:
|
|
5065
|
+
#
|
|
5066
|
+
# * `TLS_V1_3_2025` (strictest): A post-quantum-ready policy requiring
|
|
5067
|
+
# TLS 1.3. It provides the strongest security posture and is ideal
|
|
5068
|
+
# for workloads where all clients and browsers are updated to the
|
|
5069
|
+
# latest versions. [Supported protocols and ciphers for
|
|
5070
|
+
# TLSv1.3\_2025][1].
|
|
5071
|
+
#
|
|
5072
|
+
# * `TLS_V1_2_2021` (recommended): A post-quantum-ready policy which
|
|
5073
|
+
# prefers TLS 1.3 but allows fallback to TLS 1.2 to accommodate
|
|
5074
|
+
# older clients. It is the recommended minimum for typical
|
|
5075
|
+
# commercial-grade consumer applications. [Supported protocols and
|
|
5076
|
+
# ciphers for TLSv1.2\_2021][1].
|
|
4967
5077
|
#
|
|
4968
|
-
# * `TLS_V1
|
|
4969
|
-
# compatibility
|
|
5078
|
+
# * `TLS_V1` (strongly discouraged): Permits fallback to TLS 1.0. It
|
|
5079
|
+
# offers the broadest compatibility, including support for legacy
|
|
5080
|
+
# clients that are more than a decade old. This compatibility comes
|
|
5081
|
+
# at the expense of allowing TLS versions and cryptographic
|
|
5082
|
+
# algorithms that are no longer considered safe for commercial use.
|
|
5083
|
+
# [Supported protocols and ciphers for TLSv1][1].
|
|
4970
5084
|
#
|
|
4971
|
-
# * `TLS_V1_2_2021`: Supports TLS 1.2 and later with 2021 cipher
|
|
4972
|
-
# suites. Recommended minimum for most use cases.
|
|
4973
5085
|
#
|
|
4974
|
-
#
|
|
4975
|
-
#
|
|
5086
|
+
#
|
|
5087
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html
|
|
4976
5088
|
# @return [String]
|
|
4977
5089
|
#
|
|
4978
5090
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CustomDomainConfigType AWS API Documentation
|
|
@@ -6082,6 +6194,99 @@ module Aws::CognitoIdentityProvider
|
|
|
6082
6194
|
include Aws::Structure
|
|
6083
6195
|
end
|
|
6084
6196
|
|
|
6197
|
+
# The configuration that Amazon Cognito uses to send SMS messages
|
|
6198
|
+
# through Amazon Web Services End User Messaging SMS. Provide this
|
|
6199
|
+
# structure in the `EumsSms` member of `SmsConfigurationType` to use
|
|
6200
|
+
# Amazon Web Services End User Messaging SMS instead of Amazon SNS.
|
|
6201
|
+
#
|
|
6202
|
+
# @!attribute [rw] caller_arn
|
|
6203
|
+
# The ARN of the IAM role that Amazon Cognito assumes to send SMS
|
|
6204
|
+
# messages through Amazon Web Services End User Messaging SMS. The
|
|
6205
|
+
# role must grant permission to call the `sms-voice:SendTextMessage`
|
|
6206
|
+
# operation.
|
|
6207
|
+
# @return [String]
|
|
6208
|
+
#
|
|
6209
|
+
# @!attribute [rw] external_id
|
|
6210
|
+
# The external ID that Amazon Cognito includes when it assumes the
|
|
6211
|
+
# `CallerArn` role. Use this value as a condition in the role trust
|
|
6212
|
+
# policy to prevent the confused deputy problem.
|
|
6213
|
+
# @return [String]
|
|
6214
|
+
#
|
|
6215
|
+
# @!attribute [rw] origination_identity
|
|
6216
|
+
# The origination identity that Amazon Web Services End User Messaging
|
|
6217
|
+
# SMS uses to send messages to your users. This value can be one of
|
|
6218
|
+
# the following:
|
|
6219
|
+
#
|
|
6220
|
+
# * A phone number – A long code, toll-free number, or short code that
|
|
6221
|
+
# is assigned to your account.
|
|
6222
|
+
#
|
|
6223
|
+
# * A sender ID – An alphabetic name that identifies the message
|
|
6224
|
+
# sender in supported countries.
|
|
6225
|
+
#
|
|
6226
|
+
# * A phone pool – A group of phone numbers that Amazon Web Services
|
|
6227
|
+
# End User Messaging SMS selects from when it sends messages.
|
|
6228
|
+
#
|
|
6229
|
+
# You can provide an E.164 phone number or the ARN of the phone
|
|
6230
|
+
# number, sender ID, or phone pool. Amazon Web Services End User
|
|
6231
|
+
# Messaging SMS evaluates IAM authorization with the value that you
|
|
6232
|
+
# provide. If the permissions policy of your `CallerArn` role scopes
|
|
6233
|
+
# the `sms-voice:SendTextMessage` resource to a specific ARN, provide
|
|
6234
|
+
# that same ARN. If the formats do not match, requests fail with an
|
|
6235
|
+
# `InvalidSmsRoleAccessPolicyException`.
|
|
6236
|
+
#
|
|
6237
|
+
# Depending on the destination country, you must provide an
|
|
6238
|
+
# origination identity. For country-specific requirements, see
|
|
6239
|
+
# [Supported countries and regions for SMS messaging][1] in the Amazon
|
|
6240
|
+
# Web Services End User Messaging SMS User Guide.
|
|
6241
|
+
#
|
|
6242
|
+
#
|
|
6243
|
+
#
|
|
6244
|
+
# [1]: https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html
|
|
6245
|
+
# @return [String]
|
|
6246
|
+
#
|
|
6247
|
+
# @!attribute [rw] configuration_set_name
|
|
6248
|
+
# The name of the Amazon Web Services End User Messaging SMS
|
|
6249
|
+
# configuration set that Amazon Cognito applies to messages, for
|
|
6250
|
+
# logging and event destinations. If you omit this member, Amazon
|
|
6251
|
+
# Cognito sends messages without applying a configuration set.
|
|
6252
|
+
# @return [String]
|
|
6253
|
+
#
|
|
6254
|
+
# @!attribute [rw] in_entity_id
|
|
6255
|
+
# The principal entity ID required by India's Distributed Ledger
|
|
6256
|
+
# Technology (DLT) regulations for SMS messages.
|
|
6257
|
+
# @return [String]
|
|
6258
|
+
#
|
|
6259
|
+
# @!attribute [rw] in_template_id
|
|
6260
|
+
# The registered template ID for the message template required by
|
|
6261
|
+
# India's DLT regulations for SMS messages.
|
|
6262
|
+
# @return [String]
|
|
6263
|
+
#
|
|
6264
|
+
# @!attribute [rw] region
|
|
6265
|
+
# The Amazon Web Services Region of the Amazon Web Services End User
|
|
6266
|
+
# Messaging SMS resources that Amazon Cognito uses to send messages.
|
|
6267
|
+
# Amazon Web Services End User Messaging SMS must be available in your
|
|
6268
|
+
# user pool's Region.
|
|
6269
|
+
#
|
|
6270
|
+
# If you omit this parameter, Amazon Cognito uses the same Region as
|
|
6271
|
+
# your user pool. You can also set this parameter to your user pool's
|
|
6272
|
+
# Region explicitly. Amazon Cognito rejects any other value with an
|
|
6273
|
+
# `InvalidParameterException`.
|
|
6274
|
+
# @return [String]
|
|
6275
|
+
#
|
|
6276
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EumsSmsConfigurationType AWS API Documentation
|
|
6277
|
+
#
|
|
6278
|
+
class EumsSmsConfigurationType < Struct.new(
|
|
6279
|
+
:caller_arn,
|
|
6280
|
+
:external_id,
|
|
6281
|
+
:origination_identity,
|
|
6282
|
+
:configuration_set_name,
|
|
6283
|
+
:in_entity_id,
|
|
6284
|
+
:in_template_id,
|
|
6285
|
+
:region)
|
|
6286
|
+
SENSITIVE = []
|
|
6287
|
+
include Aws::Structure
|
|
6288
|
+
end
|
|
6289
|
+
|
|
6085
6290
|
# The context data that your application submitted in an authentication
|
|
6086
6291
|
# request with threat protection, as displayed in an
|
|
6087
6292
|
# `AdminListUserAuthEvents` response.
|
|
@@ -6858,6 +7063,13 @@ module Aws::CognitoIdentityProvider
|
|
|
6858
7063
|
# @!attribute [rw] configured_user_auth_factors
|
|
6859
7064
|
# The authentication types that are available to the user with
|
|
6860
7065
|
# `USER_AUTH` sign-in, for example `["PASSWORD", "WEB_AUTHN"]`.
|
|
7066
|
+
#
|
|
7067
|
+
# `PASSWORD` can only be used as a first authentication factor.
|
|
7068
|
+
# `SOFTWARE_TOKEN` can only be used as an MFA factor. `EMAIL_OTP`,
|
|
7069
|
+
# `SMS_OTP`, and `WEB_AUTHN` can be used as either a first
|
|
7070
|
+
# authentication factor or an MFA factor. `WEB_AUTHN` is available as
|
|
7071
|
+
# an MFA factor only when passkey MFA is enabled at the user pool
|
|
7072
|
+
# level.
|
|
6861
7073
|
# @return [Array<String>]
|
|
6862
7074
|
#
|
|
6863
7075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAuthFactorsResponse AWS API Documentation
|
|
@@ -10970,6 +11182,11 @@ module Aws::CognitoIdentityProvider
|
|
|
10970
11182
|
# You can permit users to start authentication with a standard
|
|
10971
11183
|
# username and password, or with other one-time password and hardware
|
|
10972
11184
|
# factors.
|
|
11185
|
+
#
|
|
11186
|
+
# <note markdown="1"> `SOFTWARE_TOKEN` is not currently supported as a first auth factor.
|
|
11187
|
+
# Do not include this value in `AllowedFirstAuthFactors`.
|
|
11188
|
+
#
|
|
11189
|
+
# </note>
|
|
10973
11190
|
# @return [Array<String>]
|
|
10974
11191
|
#
|
|
10975
11192
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignInPolicyType AWS API Documentation
|
|
@@ -11212,12 +11429,22 @@ module Aws::CognitoIdentityProvider
|
|
|
11212
11429
|
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html
|
|
11213
11430
|
# @return [String]
|
|
11214
11431
|
#
|
|
11432
|
+
# @!attribute [rw] eums_sms
|
|
11433
|
+
# The configuration for sending SMS messages through Amazon Web
|
|
11434
|
+
# Services End User Messaging SMS, as an alternative to Amazon SNS. In
|
|
11435
|
+
# a user pool, provide either the Amazon SNS configuration
|
|
11436
|
+
# (`SnsCallerArn`) or this configuration, but not both. In Amazon Web
|
|
11437
|
+
# Services Regions where Amazon SNS is not available, this
|
|
11438
|
+
# configuration is required.
|
|
11439
|
+
# @return [Types::EumsSmsConfigurationType]
|
|
11440
|
+
#
|
|
11215
11441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SmsConfigurationType AWS API Documentation
|
|
11216
11442
|
#
|
|
11217
11443
|
class SmsConfigurationType < Struct.new(
|
|
11218
11444
|
:sns_caller_arn,
|
|
11219
11445
|
:external_id,
|
|
11220
|
-
:sns_region
|
|
11446
|
+
:sns_region,
|
|
11447
|
+
:eums_sms)
|
|
11221
11448
|
SENSITIVE = []
|
|
11222
11449
|
include Aws::Structure
|
|
11223
11450
|
end
|
|
@@ -13418,6 +13645,13 @@ module Aws::CognitoIdentityProvider
|
|
|
13418
13645
|
# The message returned when the user import job is completed.
|
|
13419
13646
|
# @return [String]
|
|
13420
13647
|
#
|
|
13648
|
+
# @!attribute [rw] password_hashing_algorithm
|
|
13649
|
+
# The password hashing algorithm used to generate the hashes in the
|
|
13650
|
+
# CSV file for this import job.
|
|
13651
|
+
#
|
|
13652
|
+
# Valid values: `BCRYPT` \| `SCRYPT` \| `ARGON2ID` \| `PBKDF2_SHA256`
|
|
13653
|
+
# @return [String]
|
|
13654
|
+
#
|
|
13421
13655
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserImportJobType AWS API Documentation
|
|
13422
13656
|
#
|
|
13423
13657
|
class UserImportJobType < Struct.new(
|
|
@@ -13433,7 +13667,8 @@ module Aws::CognitoIdentityProvider
|
|
|
13433
13667
|
:imported_users,
|
|
13434
13668
|
:skipped_users,
|
|
13435
13669
|
:failed_users,
|
|
13436
|
-
:completion_message
|
|
13670
|
+
:completion_message,
|
|
13671
|
+
:password_hashing_algorithm)
|
|
13437
13672
|
SENSITIVE = []
|
|
13438
13673
|
include Aws::Structure
|
|
13439
13674
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -241,6 +241,20 @@ module Aws
|
|
|
241
241
|
) -> _AdminGetUserResponseSuccess
|
|
242
242
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AdminGetUserResponseSuccess
|
|
243
243
|
|
|
244
|
+
interface _AdminGetUserAuthFactorsResponseSuccess
|
|
245
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AdminGetUserAuthFactorsResponse]
|
|
246
|
+
def username: () -> ::String
|
|
247
|
+
def preferred_mfa_setting: () -> ::String
|
|
248
|
+
def user_mfa_setting_list: () -> ::Array[::String]
|
|
249
|
+
def configured_user_auth_factors: () -> ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN" | "SOFTWARE_TOKEN")]
|
|
250
|
+
end
|
|
251
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#admin_get_user_auth_factors-instance_method
|
|
252
|
+
def admin_get_user_auth_factors: (
|
|
253
|
+
user_pool_id: ::String,
|
|
254
|
+
username: ::String
|
|
255
|
+
) -> _AdminGetUserAuthFactorsResponseSuccess
|
|
256
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AdminGetUserAuthFactorsResponseSuccess
|
|
257
|
+
|
|
244
258
|
interface _AdminInitiateAuthResponseSuccess
|
|
245
259
|
include ::Seahorse::Client::_ResponseSuccess[Types::AdminInitiateAuthResponse]
|
|
246
260
|
def 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")
|
|
@@ -657,7 +671,8 @@ module Aws
|
|
|
657
671
|
def create_user_import_job: (
|
|
658
672
|
job_name: ::String,
|
|
659
673
|
user_pool_id: ::String,
|
|
660
|
-
cloud_watch_logs_role_arn: ::String
|
|
674
|
+
cloud_watch_logs_role_arn: ::String,
|
|
675
|
+
?password_hashing_algorithm: ("BCRYPT" | "SCRYPT" | "ARGON2ID" | "PBKDF2_SHA256")
|
|
661
676
|
) -> _CreateUserImportJobResponseSuccess
|
|
662
677
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserImportJobResponseSuccess
|
|
663
678
|
|
|
@@ -694,11 +709,7 @@ module Aws
|
|
|
694
709
|
from: ::String?,
|
|
695
710
|
configuration_set: ::String?
|
|
696
711
|
},
|
|
697
|
-
?sms_configuration:
|
|
698
|
-
sns_caller_arn: ::String,
|
|
699
|
-
external_id: ::String?,
|
|
700
|
-
sns_region: ::String?
|
|
701
|
-
},
|
|
712
|
+
?sms_configuration: Params::sms_configuration_type,
|
|
702
713
|
?user_pool_tags: Hash[::String, ::String],
|
|
703
714
|
?admin_create_user_config: Params::admin_create_user_config_type,
|
|
704
715
|
?schema: Array[
|
|
@@ -1190,7 +1201,7 @@ module Aws
|
|
|
1190
1201
|
def username: () -> ::String
|
|
1191
1202
|
def preferred_mfa_setting: () -> ::String
|
|
1192
1203
|
def user_mfa_setting_list: () -> ::Array[::String]
|
|
1193
|
-
def configured_user_auth_factors: () -> ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN")]
|
|
1204
|
+
def configured_user_auth_factors: () -> ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN" | "SOFTWARE_TOKEN")]
|
|
1194
1205
|
end
|
|
1195
1206
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#get_user_auth_factors-instance_method
|
|
1196
1207
|
def get_user_auth_factors: (
|
|
@@ -1613,11 +1624,7 @@ module Aws
|
|
|
1613
1624
|
user_pool_id: ::String,
|
|
1614
1625
|
?sms_mfa_configuration: {
|
|
1615
1626
|
sms_authentication_message: ::String?,
|
|
1616
|
-
sms_configuration:
|
|
1617
|
-
sns_caller_arn: ::String,
|
|
1618
|
-
external_id: ::String?,
|
|
1619
|
-
sns_region: ::String?
|
|
1620
|
-
}?
|
|
1627
|
+
sms_configuration: Params::sms_configuration_type?
|
|
1621
1628
|
},
|
|
1622
1629
|
?software_token_mfa_configuration: {
|
|
1623
1630
|
enabled: bool?
|
|
@@ -1907,11 +1914,7 @@ module Aws
|
|
|
1907
1914
|
from: ::String?,
|
|
1908
1915
|
configuration_set: ::String?
|
|
1909
1916
|
},
|
|
1910
|
-
?sms_configuration:
|
|
1911
|
-
sns_caller_arn: ::String,
|
|
1912
|
-
external_id: ::String?,
|
|
1913
|
-
sns_region: ::String?
|
|
1914
|
-
},
|
|
1917
|
+
?sms_configuration: Params::sms_configuration_type,
|
|
1915
1918
|
?user_pool_tags: Hash[::String, ::String],
|
|
1916
1919
|
?admin_create_user_config: Params::admin_create_user_config_type,
|
|
1917
1920
|
?user_pool_add_ons: {
|
data/sig/params.rbs
CHANGED
|
@@ -50,7 +50,7 @@ module Aws
|
|
|
50
50
|
type user_pool_policy_type = {
|
|
51
51
|
password_policy: Params::password_policy_type?,
|
|
52
52
|
sign_in_policy: {
|
|
53
|
-
allowed_first_auth_factors: Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN")]?
|
|
53
|
+
allowed_first_auth_factors: Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN" | "SOFTWARE_TOKEN")]?
|
|
54
54
|
}?
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -93,6 +93,23 @@ module Aws
|
|
|
93
93
|
default_email_option: ("CONFIRM_WITH_LINK" | "CONFIRM_WITH_CODE")?
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
type eums_sms_configuration_type = {
|
|
97
|
+
caller_arn: ::String,
|
|
98
|
+
external_id: ::String?,
|
|
99
|
+
origination_identity: ::String?,
|
|
100
|
+
configuration_set_name: ::String?,
|
|
101
|
+
in_entity_id: ::String?,
|
|
102
|
+
in_template_id: ::String?,
|
|
103
|
+
region: ::String?
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
type sms_configuration_type = {
|
|
107
|
+
sns_caller_arn: ::String?,
|
|
108
|
+
external_id: ::String?,
|
|
109
|
+
sns_region: ::String?,
|
|
110
|
+
eums_sms: Params::eums_sms_configuration_type?
|
|
111
|
+
}
|
|
112
|
+
|
|
96
113
|
type admin_create_user_config_type = {
|
|
97
114
|
allow_admin_create_user_only: bool?,
|
|
98
115
|
unused_account_validity_days: ::Integer?,
|
data/sig/types.rbs
CHANGED
|
@@ -162,6 +162,20 @@ module Aws::CognitoIdentityProvider
|
|
|
162
162
|
SENSITIVE: []
|
|
163
163
|
end
|
|
164
164
|
|
|
165
|
+
class AdminGetUserAuthFactorsRequest
|
|
166
|
+
attr_accessor user_pool_id: ::String
|
|
167
|
+
attr_accessor username: ::String
|
|
168
|
+
SENSITIVE: [:username]
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
class AdminGetUserAuthFactorsResponse
|
|
172
|
+
attr_accessor username: ::String
|
|
173
|
+
attr_accessor preferred_mfa_setting: ::String
|
|
174
|
+
attr_accessor user_mfa_setting_list: ::Array[::String]
|
|
175
|
+
attr_accessor configured_user_auth_factors: ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN" | "SOFTWARE_TOKEN")]
|
|
176
|
+
SENSITIVE: [:username]
|
|
177
|
+
end
|
|
178
|
+
|
|
165
179
|
class AdminGetUserRequest
|
|
166
180
|
attr_accessor user_pool_id: ::String
|
|
167
181
|
attr_accessor username: ::String
|
|
@@ -640,6 +654,7 @@ module Aws::CognitoIdentityProvider
|
|
|
640
654
|
attr_accessor job_name: ::String
|
|
641
655
|
attr_accessor user_pool_id: ::String
|
|
642
656
|
attr_accessor cloud_watch_logs_role_arn: ::String
|
|
657
|
+
attr_accessor password_hashing_algorithm: ("BCRYPT" | "SCRYPT" | "ARGON2ID" | "PBKDF2_SHA256")
|
|
643
658
|
SENSITIVE: []
|
|
644
659
|
end
|
|
645
660
|
|
|
@@ -1037,6 +1052,17 @@ module Aws::CognitoIdentityProvider
|
|
|
1037
1052
|
SENSITIVE: []
|
|
1038
1053
|
end
|
|
1039
1054
|
|
|
1055
|
+
class EumsSmsConfigurationType
|
|
1056
|
+
attr_accessor caller_arn: ::String
|
|
1057
|
+
attr_accessor external_id: ::String
|
|
1058
|
+
attr_accessor origination_identity: ::String
|
|
1059
|
+
attr_accessor configuration_set_name: ::String
|
|
1060
|
+
attr_accessor in_entity_id: ::String
|
|
1061
|
+
attr_accessor in_template_id: ::String
|
|
1062
|
+
attr_accessor region: ::String
|
|
1063
|
+
SENSITIVE: []
|
|
1064
|
+
end
|
|
1065
|
+
|
|
1040
1066
|
class EventContextDataType
|
|
1041
1067
|
attr_accessor ip_address: ::String
|
|
1042
1068
|
attr_accessor device_name: ::String
|
|
@@ -1227,7 +1253,7 @@ module Aws::CognitoIdentityProvider
|
|
|
1227
1253
|
attr_accessor username: ::String
|
|
1228
1254
|
attr_accessor preferred_mfa_setting: ::String
|
|
1229
1255
|
attr_accessor user_mfa_setting_list: ::Array[::String]
|
|
1230
|
-
attr_accessor configured_user_auth_factors: ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN")]
|
|
1256
|
+
attr_accessor configured_user_auth_factors: ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN" | "SOFTWARE_TOKEN")]
|
|
1231
1257
|
SENSITIVE: [:username]
|
|
1232
1258
|
end
|
|
1233
1259
|
|
|
@@ -1953,7 +1979,7 @@ module Aws::CognitoIdentityProvider
|
|
|
1953
1979
|
end
|
|
1954
1980
|
|
|
1955
1981
|
class SignInPolicyType
|
|
1956
|
-
attr_accessor allowed_first_auth_factors: ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN")]
|
|
1982
|
+
attr_accessor allowed_first_auth_factors: ::Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN" | "SOFTWARE_TOKEN")]
|
|
1957
1983
|
SENSITIVE: []
|
|
1958
1984
|
end
|
|
1959
1985
|
|
|
@@ -1982,6 +2008,7 @@ module Aws::CognitoIdentityProvider
|
|
|
1982
2008
|
attr_accessor sns_caller_arn: ::String
|
|
1983
2009
|
attr_accessor external_id: ::String
|
|
1984
2010
|
attr_accessor sns_region: ::String
|
|
2011
|
+
attr_accessor eums_sms: Types::EumsSmsConfigurationType
|
|
1985
2012
|
SENSITIVE: []
|
|
1986
2013
|
end
|
|
1987
2014
|
|
|
@@ -2388,6 +2415,7 @@ module Aws::CognitoIdentityProvider
|
|
|
2388
2415
|
attr_accessor skipped_users: ::Integer
|
|
2389
2416
|
attr_accessor failed_users: ::Integer
|
|
2390
2417
|
attr_accessor completion_message: ::String
|
|
2418
|
+
attr_accessor password_hashing_algorithm: ("BCRYPT" | "SCRYPT" | "ARGON2ID" | "PBKDF2_SHA256")
|
|
2391
2419
|
SENSITIVE: []
|
|
2392
2420
|
end
|
|
2393
2421
|
|