aws-sdk-cognitoidentityprovider 1.153.0 → 1.155.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2d8e69826a921806c9f32d3f91cf185d90bf22fa6b2dd477232f8b9f1ce5226
4
- data.tar.gz: 939e7fdec1b0bd1276a771ab50b027c804491e939d4ecf352fd3ae8bddf6f84e
3
+ metadata.gz: a908c923924f15c17c6515fe7e58d1f92b3734c6fe21456e2d614a6258fd6c64
4
+ data.tar.gz: e53679cee16d1087089e086cf3e78be8356c6119fa878bd97c60e71a7f06128b
5
5
  SHA512:
6
- metadata.gz: 4ac162517b646d5f5c75c8c28b888f548e656ea2bf6750b6db17631451f0fd3325d1f2bfa78ff1054193206b4f1202d85cb165bcd158cc511cf5db669f920906
7
- data.tar.gz: aaaf50b049e9793cc75565ce4f9a7666d2d389d99ec81137393b4b9eed45cbdb31604e088df17a2fb0984e4739cbdbed546463d64ab0ac5af0577c6e197ad1f4
6
+ metadata.gz: eb2307a53e26b1588114988c855058b9a73f96f7c9317f0706159765f886dd88b02d3b68e8d0b8b984db0c7f0532d22acc936eb3f5fb8f55ea1830287fe3e0b8
7
+ data.tar.gz: 7664f7451ba763fb9206e97f101b12b78676edab081a0cb3fa02211e7a78d305d5ec2070330d9d96415c171c45c9f982eea9c603b7cf8c62295a3edf3ea7a04c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.155.0 (2026-10-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.154.0 (2026-10-02)
10
+ ------------------
11
+
12
+ * Feature - Amazon Cognito User Pools now supports the OIDC-standard authentication context class reference (ACR) and authentication methods reference (AMR) claims on issued access and Id tokens. Amazon Cognito User Pools also now supports step-up authentication via our existing authentication APIs.
13
+
4
14
  1.153.0 (2026-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.153.0
1
+ 1.155.0
@@ -1841,6 +1841,37 @@ module Aws::CognitoIdentityProvider
1841
1841
  # `AvailableChallenges` parameter that specifies the available
1842
1842
  # sign-in methods.
1843
1843
  #
1844
+ # * `TARGET_ACR_VALUES`. An optional, space-separated list of the
1845
+ # authentication context class reference (ACR) level URIs that you
1846
+ # want the user to reach. List the levels in priority order, from
1847
+ # highest to lowest. Amazon Cognito attempts the highest-priority
1848
+ # level that the user can satisfy, and falls back through the list.
1849
+ # Amazon Cognito ignores any value that it doesn't recognize. If
1850
+ # none of the requested values are valid, Amazon Cognito returns an
1851
+ # error.
1852
+ #
1853
+ # Requesting step-up authentication with this parameter requires the
1854
+ # Essentials or Plus feature plan. On a lower feature plan,
1855
+ # AdminInitiateAuth returns a FeatureUnavailableInTierException.
1856
+ # `USERNAME` is required. When you provide an `ACCESS_TOKEN`, you
1857
+ # must also provide `TARGET_ACR_VALUES`. Amazon Cognito returns an
1858
+ # error if you provide an `ACCESS_TOKEN` without
1859
+ # `TARGET_ACR_VALUES`. The `USERNAME` that you provide must match
1860
+ # the user that the `ACCESS_TOKEN` was issued for.
1861
+ #
1862
+ # For more information about step-up authentication and how Amazon
1863
+ # Cognito handles multi-factor authentication requirements, see
1864
+ # [Step-up authentication with ACR and AMR][1] in the *Amazon
1865
+ # Cognito Developer Guide*.
1866
+ #
1867
+ # * `MAX_AGE`. An optional integer that sets the maximum number of
1868
+ # seconds allowed since the user last authenticated. If the user's
1869
+ # most recent authentication is older than this value, Amazon
1870
+ # Cognito discards the authentication-methods credit from any access
1871
+ # token that you provide and processes the request as a fresh
1872
+ # authentication toward the target level. The access token itself
1873
+ # remains valid.
1874
+ #
1844
1875
  # USER\_SRP\_AUTH
1845
1876
  # : * `USERNAME` (required)
1846
1877
  #
@@ -1866,13 +1897,14 @@ module Aws::CognitoIdentityProvider
1866
1897
  # with SRP authentication)
1867
1898
  #
1868
1899
  # For more information about `SECRET_HASH`, see [Computing secret hash
1869
- # values][1]. For information about `DEVICE_KEY`, see [Working with user
1870
- # devices in your user pool][2].
1900
+ # values][2]. For information about `DEVICE_KEY`, see [Working with user
1901
+ # devices in your user pool][3].
1871
1902
  #
1872
1903
  #
1873
1904
  #
1874
- # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#cognito-user-pools-computing-secret-hash
1875
- # [2]: https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html
1905
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-step-up-authentication.html
1906
+ # [2]: https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#cognito-user-pools-computing-secret-hash
1907
+ # [3]: https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html
1876
1908
  #
1877
1909
  # @option params [Hash<String,String>] :client_metadata
1878
1910
  # A map of custom key-value pairs that you can provide as input for any
@@ -2957,6 +2989,7 @@ module Aws::CognitoIdentityProvider
2957
2989
  # * {Types::AdminRespondToAuthChallengeResponse#session #session} => String
2958
2990
  # * {Types::AdminRespondToAuthChallengeResponse#challenge_parameters #challenge_parameters} => Hash&lt;String,String&gt;
2959
2991
  # * {Types::AdminRespondToAuthChallengeResponse#authentication_result #authentication_result} => Types::AuthenticationResultType
2992
+ # * {Types::AdminRespondToAuthChallengeResponse#available_challenges #available_challenges} => Array&lt;String&gt;
2960
2993
  #
2961
2994
  # @example Request syntax with placeholder values
2962
2995
  #
@@ -3001,6 +3034,8 @@ module Aws::CognitoIdentityProvider
3001
3034
  # resp.authentication_result.id_token #=> String
3002
3035
  # resp.authentication_result.new_device_metadata.device_key #=> String
3003
3036
  # resp.authentication_result.new_device_metadata.device_group_key #=> String
3037
+ # resp.available_challenges #=> Array
3038
+ # resp.available_challenges[0] #=> String, one of "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"
3004
3039
  #
3005
3040
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge AWS API Documentation
3006
3041
  #
@@ -4432,6 +4467,21 @@ module Aws::CognitoIdentityProvider
4432
4467
  # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html
4433
4468
  # [2]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managing-saml-idp-naming.html
4434
4469
  #
4470
+ # @option params [Hash<String,String>] :acr_mapping
4471
+ # A mapping between the authentication context class reference (ACR)
4472
+ # levels of your user pool and the ACR values of the external OpenID
4473
+ # Connect (OIDC) identity provider (IdP). The map is keyed by level,
4474
+ # from `Level1` through `Level4`, and each value is the ACR value that
4475
+ # the IdP uses for the corresponding level. Amazon Cognito uses this
4476
+ # mapping to translate a requested user pool ACR level to the value that
4477
+ # the IdP expects, and to map an ACR value that the IdP returns back to
4478
+ # a user pool level. When the IdP returns an ACR value that isn't
4479
+ # mapped, Amazon Cognito resolves it to the lowest level. Only OIDC IdPs
4480
+ # support ACR mapping.
4481
+ #
4482
+ # Setting `AcrMapping` is available in all feature plans. It isn't
4483
+ # restricted to the Essentials or Plus feature plan.
4484
+ #
4435
4485
  # @return [Types::CreateIdentityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4436
4486
  #
4437
4487
  # * {Types::CreateIdentityProviderResponse#identity_provider #identity_provider} => Types::IdentityProviderType
@@ -4449,6 +4499,9 @@ module Aws::CognitoIdentityProvider
4449
4499
  # "AttributeMappingKeyType" => "StringType",
4450
4500
  # },
4451
4501
  # idp_identifiers: ["IdpIdentifierType"],
4502
+ # acr_mapping: {
4503
+ # "AcrMappingKeyType" => "AcrValueType",
4504
+ # },
4452
4505
  # })
4453
4506
  #
4454
4507
  # @example Response structure
@@ -4462,6 +4515,8 @@ module Aws::CognitoIdentityProvider
4462
4515
  # resp.identity_provider.attribute_mapping["AttributeMappingKeyType"] #=> String
4463
4516
  # resp.identity_provider.idp_identifiers #=> Array
4464
4517
  # resp.identity_provider.idp_identifiers[0] #=> String
4518
+ # resp.identity_provider.acr_mapping #=> Hash
4519
+ # resp.identity_provider.acr_mapping["AcrMappingKeyType"] #=> String
4465
4520
  # resp.identity_provider.last_modified_date #=> Time
4466
4521
  # resp.identity_provider.creation_date #=> Time
4467
4522
  #
@@ -5158,6 +5213,30 @@ module Aws::CognitoIdentityProvider
5158
5213
  # The issuer configuration for the user pool. Specifies the issuer type
5159
5214
  # for token generation.
5160
5215
  #
5216
+ # @option params [Hash<String,Types::AcrLevelConfigType>] :acr_configuration
5217
+ # The custom names for the authentication context class reference (ACR)
5218
+ # levels in your user pool. Amazon Cognito defines four fixed ACR levels
5219
+ # that represent increasing authentication assurance. The combination of
5220
+ # authentication factors that satisfies each level is fixed and you
5221
+ # can't change it. With this configuration, you customize only the URI
5222
+ # name that Amazon Cognito reports for each level in the `acr` token
5223
+ # claim.
5224
+ #
5225
+ # You can override a subset of the levels. By default, the levels are
5226
+ # named `urn:cognito:loa:1` through `urn:cognito:loa:4`, and Amazon
5227
+ # Cognito applies the default name to any level that you don't specify.
5228
+ # Each name must be unique across all four levels, including any default
5229
+ # names that apply to levels you don't override. A name can contain any
5230
+ # character that is valid in a URL or a URN.
5231
+ #
5232
+ # Configuring custom ACR level names requires the Essentials or Plus
5233
+ # feature plan. To activate this setting, your user pool must be in the
5234
+ # [ Essentials tier][1] or higher.
5235
+ #
5236
+ #
5237
+ #
5238
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/feature-plans-features-essentials.html
5239
+ #
5161
5240
  # @return [Types::CreateUserPoolResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5162
5241
  #
5163
5242
  # * {Types::CreateUserPoolResponse#user_pool #user_pool} => Types::UserPoolType
@@ -5772,6 +5851,11 @@ module Aws::CognitoIdentityProvider
5772
5851
  # issuer_configuration: {
5773
5852
  # type: "ORIGINAL", # accepts ORIGINAL, UPDATED
5774
5853
  # },
5854
+ # acr_configuration: {
5855
+ # "AcrLevelKeyType" => {
5856
+ # acr_value: "AcrValueType", # required
5857
+ # },
5858
+ # },
5775
5859
  # })
5776
5860
  #
5777
5861
  # @example Response structure
@@ -5879,6 +5963,8 @@ module Aws::CognitoIdentityProvider
5879
5963
  # resp.user_pool.key_configuration.key_type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KEY"
5880
5964
  # resp.user_pool.key_configuration.kms_key_arn #=> String
5881
5965
  # resp.user_pool.issuer_configuration.type #=> String, one of "ORIGINAL", "UPDATED"
5966
+ # resp.user_pool.acr_configuration #=> Hash
5967
+ # resp.user_pool.acr_configuration["AcrLevelKeyType"].acr_value #=> String
5882
5968
  #
5883
5969
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool AWS API Documentation
5884
5970
  #
@@ -7332,6 +7418,8 @@ module Aws::CognitoIdentityProvider
7332
7418
  # resp.identity_provider.attribute_mapping["AttributeMappingKeyType"] #=> String
7333
7419
  # resp.identity_provider.idp_identifiers #=> Array
7334
7420
  # resp.identity_provider.idp_identifiers[0] #=> String
7421
+ # resp.identity_provider.acr_mapping #=> Hash
7422
+ # resp.identity_provider.acr_mapping["AcrMappingKeyType"] #=> String
7335
7423
  # resp.identity_provider.last_modified_date #=> Time
7336
7424
  # resp.identity_provider.creation_date #=> Time
7337
7425
  #
@@ -7640,10 +7728,9 @@ module Aws::CognitoIdentityProvider
7640
7728
  #
7641
7729
  # To call `DescribeTermsByClient`, you must have the
7642
7730
  # `cognito-idp:DescribeTermsByClient` Identity and Access Management
7643
- # (IAM) permission. This operation additionally validates your
7644
- # permission for `cognito-idp:DescribeTerms`, the action for . As a
7645
- # result, an IAM policy that denies `cognito-idp:DescribeTerms` also
7646
- # denies requests to `DescribeTermsByClient`.
7731
+ # (IAM) permission. An IAM policy that denies
7732
+ # `cognito-idp:DescribeTerms` also denies requests to
7733
+ # `DescribeTermsByClient`.
7647
7734
  #
7648
7735
  # <note markdown="1"> Amazon Cognito evaluates Identity and Access Management (IAM) policies
7649
7736
  # in requests for this API operation. For this operation, you must use
@@ -7898,6 +7985,8 @@ module Aws::CognitoIdentityProvider
7898
7985
  # resp.user_pool.key_configuration.key_type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KEY"
7899
7986
  # resp.user_pool.key_configuration.kms_key_arn #=> String
7900
7987
  # resp.user_pool.issuer_configuration.type #=> String, one of "ORIGINAL", "UPDATED"
7988
+ # resp.user_pool.acr_configuration #=> Hash
7989
+ # resp.user_pool.acr_configuration["AcrLevelKeyType"].acr_value #=> String
7901
7990
  #
7902
7991
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool AWS API Documentation
7903
7992
  #
@@ -8339,9 +8428,6 @@ module Aws::CognitoIdentityProvider
8339
8428
  # Issues an access token for machine-to-machine (M2M) authorization.
8340
8429
  # Your app client provides its client ID and secret, and receives an
8341
8430
  # access token that authorizes requests to your resource servers.
8342
- # `GetClientToken` provides the same functionality as the OAuth2
8343
- # client-credentials grant; both authorize an application rather than a
8344
- # user.
8345
8431
  #
8346
8432
  # To use this operation, you must configure the app client with a client
8347
8433
  # secret and enable the `ALLOW_CLIENT_TOKEN_AUTH` authentication flow.
@@ -8629,6 +8715,8 @@ module Aws::CognitoIdentityProvider
8629
8715
  # resp.identity_provider.attribute_mapping["AttributeMappingKeyType"] #=> String
8630
8716
  # resp.identity_provider.idp_identifiers #=> Array
8631
8717
  # resp.identity_provider.idp_identifiers[0] #=> String
8718
+ # resp.identity_provider.acr_mapping #=> Hash
8719
+ # resp.identity_provider.acr_mapping["AcrMappingKeyType"] #=> String
8632
8720
  # resp.identity_provider.last_modified_date #=> Time
8633
8721
  # resp.identity_provider.creation_date #=> Time
8634
8722
  #
@@ -9491,6 +9579,37 @@ module Aws::CognitoIdentityProvider
9491
9579
  # `AvailableChallenges` parameter that specifies the available
9492
9580
  # sign-in methods.
9493
9581
  #
9582
+ # * `TARGET_ACR_VALUES`. An optional, space-separated list of the
9583
+ # authentication context class reference (ACR) level URIs that you
9584
+ # want the user to reach. List the levels in priority order, from
9585
+ # highest to lowest. Amazon Cognito attempts the highest-priority
9586
+ # level that the user can satisfy, and falls back through the list.
9587
+ # Amazon Cognito ignores any value that it doesn't recognize. If
9588
+ # none of the requested values are valid, Amazon Cognito returns an
9589
+ # error.
9590
+ #
9591
+ # Requesting step-up authentication with this parameter requires the
9592
+ # Essentials or Plus feature plan. On a lower feature plan,
9593
+ # InitiateAuth returns a FeatureUnavailableInTierException.
9594
+ # `USERNAME` is required. When you provide an `ACCESS_TOKEN`, you
9595
+ # must also provide `TARGET_ACR_VALUES`. Amazon Cognito returns an
9596
+ # error if you provide an `ACCESS_TOKEN` without
9597
+ # `TARGET_ACR_VALUES`. The `USERNAME` that you provide must match
9598
+ # the user that the `ACCESS_TOKEN` was issued for.
9599
+ #
9600
+ # For more information about step-up authentication and how Amazon
9601
+ # Cognito handles multi-factor authentication requirements, see
9602
+ # [Step-up authentication with ACR and AMR][1] in the *Amazon
9603
+ # Cognito Developer Guide*.
9604
+ #
9605
+ # * `MAX_AGE`. An optional integer that sets the maximum number of
9606
+ # seconds allowed since the user last authenticated. If the user's
9607
+ # most recent authentication is older than this value, Amazon
9608
+ # Cognito discards the authentication-methods credit from any access
9609
+ # token that you provide and processes the request as a fresh
9610
+ # authentication toward the target level. The access token itself
9611
+ # remains valid.
9612
+ #
9494
9613
  # USER\_SRP\_AUTH
9495
9614
  # : * `USERNAME` (required)
9496
9615
  #
@@ -9516,13 +9635,14 @@ module Aws::CognitoIdentityProvider
9516
9635
  # custom challenges)
9517
9636
  #
9518
9637
  # For more information about `SECRET_HASH`, see [Computing secret hash
9519
- # values][1]. For information about `DEVICE_KEY`, see [Working with user
9520
- # devices in your user pool][2].
9638
+ # values][2]. For information about `DEVICE_KEY`, see [Working with user
9639
+ # devices in your user pool][3].
9521
9640
  #
9522
9641
  #
9523
9642
  #
9524
- # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#cognito-user-pools-computing-secret-hash
9525
- # [2]: https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html
9643
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-step-up-authentication.html
9644
+ # [2]: https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#cognito-user-pools-computing-secret-hash
9645
+ # [3]: https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html
9526
9646
  #
9527
9647
  # @option params [Hash<String,String>] :client_metadata
9528
9648
  # A map of custom key-value pairs that you can provide as input for any
@@ -11398,6 +11518,7 @@ module Aws::CognitoIdentityProvider
11398
11518
  # * {Types::RespondToAuthChallengeResponse#session #session} => String
11399
11519
  # * {Types::RespondToAuthChallengeResponse#challenge_parameters #challenge_parameters} => Hash&lt;String,String&gt;
11400
11520
  # * {Types::RespondToAuthChallengeResponse#authentication_result #authentication_result} => Types::AuthenticationResultType
11521
+ # * {Types::RespondToAuthChallengeResponse#available_challenges #available_challenges} => Array&lt;String&gt;
11401
11522
  #
11402
11523
  # @example Request syntax with placeholder values
11403
11524
  #
@@ -11433,6 +11554,8 @@ module Aws::CognitoIdentityProvider
11433
11554
  # resp.authentication_result.id_token #=> String
11434
11555
  # resp.authentication_result.new_device_metadata.device_key #=> String
11435
11556
  # resp.authentication_result.new_device_metadata.device_group_key #=> String
11557
+ # resp.available_challenges #=> Array
11558
+ # resp.available_challenges[0] #=> String, one of "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"
11436
11559
  #
11437
11560
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge AWS API Documentation
11438
11561
  #
@@ -12914,6 +13037,16 @@ module Aws::CognitoIdentityProvider
12914
13037
  # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html
12915
13038
  # [2]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managing-saml-idp-naming.html
12916
13039
  #
13040
+ # @option params [Hash<String,String>] :acr_mapping
13041
+ # A mapping between the authentication context class reference (ACR)
13042
+ # levels of your user pool and the ACR values of the external OpenID
13043
+ # Connect (OIDC) identity provider (IdP). This mapping has the same
13044
+ # behavior as it does when you create an identity provider. Only OIDC
13045
+ # IdPs support ACR mapping.
13046
+ #
13047
+ # Setting `AcrMapping` is available in all feature plans. It isn't
13048
+ # restricted to the Essentials or Plus feature plan.
13049
+ #
12917
13050
  # @return [Types::UpdateIdentityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12918
13051
  #
12919
13052
  # * {Types::UpdateIdentityProviderResponse#identity_provider #identity_provider} => Types::IdentityProviderType
@@ -12930,6 +13063,9 @@ module Aws::CognitoIdentityProvider
12930
13063
  # "AttributeMappingKeyType" => "StringType",
12931
13064
  # },
12932
13065
  # idp_identifiers: ["IdpIdentifierType"],
13066
+ # acr_mapping: {
13067
+ # "AcrMappingKeyType" => "AcrValueType",
13068
+ # },
12933
13069
  # })
12934
13070
  #
12935
13071
  # @example Response structure
@@ -12943,6 +13079,8 @@ module Aws::CognitoIdentityProvider
12943
13079
  # resp.identity_provider.attribute_mapping["AttributeMappingKeyType"] #=> String
12944
13080
  # resp.identity_provider.idp_identifiers #=> Array
12945
13081
  # resp.identity_provider.idp_identifiers[0] #=> String
13082
+ # resp.identity_provider.acr_mapping #=> Hash
13083
+ # resp.identity_provider.acr_mapping["AcrMappingKeyType"] #=> String
12946
13084
  # resp.identity_provider.last_modified_date #=> Time
12947
13085
  # resp.identity_provider.creation_date #=> Time
12948
13086
  #
@@ -13731,6 +13869,22 @@ module Aws::CognitoIdentityProvider
13731
13869
  # parameter must match the existing configuration and cannot be
13732
13870
  # modified.
13733
13871
  #
13872
+ # @option params [Hash<String,Types::AcrLevelConfigType>] :acr_configuration
13873
+ # The custom names for the authentication context class reference (ACR)
13874
+ # levels in your user pool. This configuration has the same behavior as
13875
+ # it does when you create a user pool: you customize only the URI name
13876
+ # that Amazon Cognito reports for each of the four fixed ACR levels, and
13877
+ # any level that you don't specify keeps its default name. Each name
13878
+ # must be unique across all four levels, including default names.
13879
+ #
13880
+ # Configuring custom ACR level names requires the Essentials or Plus
13881
+ # feature plan. To activate this setting, your user pool must be in the
13882
+ # [ Essentials tier][1] or higher.
13883
+ #
13884
+ #
13885
+ #
13886
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/feature-plans-features-essentials.html
13887
+ #
13734
13888
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
13735
13889
  #
13736
13890
  # @example Request syntax with placeholder values
@@ -13858,6 +14012,11 @@ module Aws::CognitoIdentityProvider
13858
14012
  # issuer_configuration: {
13859
14013
  # type: "ORIGINAL", # accepts ORIGINAL, UPDATED
13860
14014
  # },
14015
+ # acr_configuration: {
14016
+ # "AcrLevelKeyType" => {
14017
+ # acr_value: "AcrValueType", # required
14018
+ # },
14019
+ # },
13861
14020
  # })
13862
14021
  #
13863
14022
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool AWS API Documentation
@@ -14682,7 +14841,7 @@ module Aws::CognitoIdentityProvider
14682
14841
  tracer: tracer
14683
14842
  )
14684
14843
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
14685
- context[:gem_version] = '1.153.0'
14844
+ context[:gem_version] = '1.155.0'
14686
14845
  Seahorse::Client::Request.new(handlers, context)
14687
14846
  end
14688
14847
 
@@ -23,6 +23,12 @@ module Aws::CognitoIdentityProvider
23
23
  AccountTakeoverActionsType = Shapes::StructureShape.new(name: 'AccountTakeoverActionsType')
24
24
  AccountTakeoverEventActionType = Shapes::StringShape.new(name: 'AccountTakeoverEventActionType')
25
25
  AccountTakeoverRiskConfigurationType = Shapes::StructureShape.new(name: 'AccountTakeoverRiskConfigurationType')
26
+ AcrConfigurationType = Shapes::MapShape.new(name: 'AcrConfigurationType')
27
+ AcrLevelConfigType = Shapes::StructureShape.new(name: 'AcrLevelConfigType')
28
+ AcrLevelKeyType = Shapes::StringShape.new(name: 'AcrLevelKeyType')
29
+ AcrMappingKeyType = Shapes::StringShape.new(name: 'AcrMappingKeyType')
30
+ AcrMappingType = Shapes::MapShape.new(name: 'AcrMappingType')
31
+ AcrValueType = Shapes::StringShape.new(name: 'AcrValueType')
26
32
  AddCustomAttributesRequest = Shapes::StructureShape.new(name: 'AddCustomAttributesRequest')
27
33
  AddCustomAttributesResponse = Shapes::StructureShape.new(name: 'AddCustomAttributesResponse')
28
34
  AddUserPoolClientSecretRequest = Shapes::StructureShape.new(name: 'AddUserPoolClientSecretRequest')
@@ -670,6 +676,15 @@ module Aws::CognitoIdentityProvider
670
676
  AccountTakeoverRiskConfigurationType.add_member(:actions, Shapes::ShapeRef.new(shape: AccountTakeoverActionsType, required: true, location_name: "Actions"))
671
677
  AccountTakeoverRiskConfigurationType.struct_class = Types::AccountTakeoverRiskConfigurationType
672
678
 
679
+ AcrConfigurationType.key = Shapes::ShapeRef.new(shape: AcrLevelKeyType)
680
+ AcrConfigurationType.value = Shapes::ShapeRef.new(shape: AcrLevelConfigType)
681
+
682
+ AcrLevelConfigType.add_member(:acr_value, Shapes::ShapeRef.new(shape: AcrValueType, required: true, location_name: "AcrValue"))
683
+ AcrLevelConfigType.struct_class = Types::AcrLevelConfigType
684
+
685
+ AcrMappingType.key = Shapes::ShapeRef.new(shape: AcrMappingKeyType)
686
+ AcrMappingType.value = Shapes::ShapeRef.new(shape: AcrValueType)
687
+
673
688
  AddCustomAttributesRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
674
689
  AddCustomAttributesRequest.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesListType, required: true, location_name: "CustomAttributes"))
675
690
  AddCustomAttributesRequest.struct_class = Types::AddCustomAttributesRequest
@@ -868,6 +883,7 @@ module Aws::CognitoIdentityProvider
868
883
  AdminRespondToAuthChallengeResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionType, location_name: "Session"))
869
884
  AdminRespondToAuthChallengeResponse.add_member(:challenge_parameters, Shapes::ShapeRef.new(shape: ChallengeParametersType, location_name: "ChallengeParameters"))
870
885
  AdminRespondToAuthChallengeResponse.add_member(:authentication_result, Shapes::ShapeRef.new(shape: AuthenticationResultType, location_name: "AuthenticationResult"))
886
+ AdminRespondToAuthChallengeResponse.add_member(:available_challenges, Shapes::ShapeRef.new(shape: AvailableChallengeListType, location_name: "AvailableChallenges"))
871
887
  AdminRespondToAuthChallengeResponse.struct_class = Types::AdminRespondToAuthChallengeResponse
872
888
 
873
889
  AdminSetUserMFAPreferenceRequest.add_member(:sms_mfa_settings, Shapes::ShapeRef.new(shape: SMSMfaSettingsType, location_name: "SMSMfaSettings"))
@@ -1132,6 +1148,7 @@ module Aws::CognitoIdentityProvider
1132
1148
  CreateIdentityProviderRequest.add_member(:provider_details, Shapes::ShapeRef.new(shape: ProviderDetailsType, required: true, location_name: "ProviderDetails"))
1133
1149
  CreateIdentityProviderRequest.add_member(:attribute_mapping, Shapes::ShapeRef.new(shape: AttributeMappingType, location_name: "AttributeMapping"))
1134
1150
  CreateIdentityProviderRequest.add_member(:idp_identifiers, Shapes::ShapeRef.new(shape: IdpIdentifiersListType, location_name: "IdpIdentifiers"))
1151
+ CreateIdentityProviderRequest.add_member(:acr_mapping, Shapes::ShapeRef.new(shape: AcrMappingType, location_name: "AcrMapping"))
1135
1152
  CreateIdentityProviderRequest.struct_class = Types::CreateIdentityProviderRequest
1136
1153
 
1137
1154
  CreateIdentityProviderResponse.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProviderType, required: true, location_name: "IdentityProvider"))
@@ -1251,6 +1268,7 @@ module Aws::CognitoIdentityProvider
1251
1268
  CreateUserPoolRequest.add_member(:user_pool_tier, Shapes::ShapeRef.new(shape: UserPoolTierType, location_name: "UserPoolTier"))
1252
1269
  CreateUserPoolRequest.add_member(:key_configuration, Shapes::ShapeRef.new(shape: KeyConfigurationType, location_name: "KeyConfiguration"))
1253
1270
  CreateUserPoolRequest.add_member(:issuer_configuration, Shapes::ShapeRef.new(shape: IssuerConfigurationType, location_name: "IssuerConfiguration"))
1271
+ CreateUserPoolRequest.add_member(:acr_configuration, Shapes::ShapeRef.new(shape: AcrConfigurationType, location_name: "AcrConfiguration"))
1254
1272
  CreateUserPoolRequest.struct_class = Types::CreateUserPoolRequest
1255
1273
 
1256
1274
  CreateUserPoolResponse.add_member(:user_pool, Shapes::ShapeRef.new(shape: UserPoolType, location_name: "UserPool"))
@@ -1666,6 +1684,7 @@ module Aws::CognitoIdentityProvider
1666
1684
  IdentityProviderType.add_member(:provider_details, Shapes::ShapeRef.new(shape: ProviderDetailsType, location_name: "ProviderDetails"))
1667
1685
  IdentityProviderType.add_member(:attribute_mapping, Shapes::ShapeRef.new(shape: AttributeMappingType, location_name: "AttributeMapping"))
1668
1686
  IdentityProviderType.add_member(:idp_identifiers, Shapes::ShapeRef.new(shape: IdpIdentifiersListType, location_name: "IdpIdentifiers"))
1687
+ IdentityProviderType.add_member(:acr_mapping, Shapes::ShapeRef.new(shape: AcrMappingType, location_name: "AcrMapping"))
1669
1688
  IdentityProviderType.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
1670
1689
  IdentityProviderType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
1671
1690
  IdentityProviderType.struct_class = Types::IdentityProviderType
@@ -2052,6 +2071,7 @@ module Aws::CognitoIdentityProvider
2052
2071
  RespondToAuthChallengeResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionType, location_name: "Session"))
2053
2072
  RespondToAuthChallengeResponse.add_member(:challenge_parameters, Shapes::ShapeRef.new(shape: ChallengeParametersType, location_name: "ChallengeParameters"))
2054
2073
  RespondToAuthChallengeResponse.add_member(:authentication_result, Shapes::ShapeRef.new(shape: AuthenticationResultType, location_name: "AuthenticationResult"))
2074
+ RespondToAuthChallengeResponse.add_member(:available_challenges, Shapes::ShapeRef.new(shape: AvailableChallengeListType, location_name: "AvailableChallenges"))
2055
2075
  RespondToAuthChallengeResponse.struct_class = Types::RespondToAuthChallengeResponse
2056
2076
 
2057
2077
  RevokeTokenRequest.add_member(:token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "Token"))
@@ -2338,6 +2358,7 @@ module Aws::CognitoIdentityProvider
2338
2358
  UpdateIdentityProviderRequest.add_member(:provider_details, Shapes::ShapeRef.new(shape: ProviderDetailsType, location_name: "ProviderDetails"))
2339
2359
  UpdateIdentityProviderRequest.add_member(:attribute_mapping, Shapes::ShapeRef.new(shape: AttributeMappingType, location_name: "AttributeMapping"))
2340
2360
  UpdateIdentityProviderRequest.add_member(:idp_identifiers, Shapes::ShapeRef.new(shape: IdpIdentifiersListType, location_name: "IdpIdentifiers"))
2361
+ UpdateIdentityProviderRequest.add_member(:acr_mapping, Shapes::ShapeRef.new(shape: AcrMappingType, location_name: "AcrMapping"))
2341
2362
  UpdateIdentityProviderRequest.struct_class = Types::UpdateIdentityProviderRequest
2342
2363
 
2343
2364
  UpdateIdentityProviderResponse.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProviderType, required: true, location_name: "IdentityProvider"))
@@ -2459,6 +2480,7 @@ module Aws::CognitoIdentityProvider
2459
2480
  UpdateUserPoolRequest.add_member(:user_pool_tier, Shapes::ShapeRef.new(shape: UserPoolTierType, location_name: "UserPoolTier"))
2460
2481
  UpdateUserPoolRequest.add_member(:key_configuration, Shapes::ShapeRef.new(shape: KeyConfigurationType, location_name: "KeyConfiguration"))
2461
2482
  UpdateUserPoolRequest.add_member(:issuer_configuration, Shapes::ShapeRef.new(shape: IssuerConfigurationType, location_name: "IssuerConfiguration"))
2483
+ UpdateUserPoolRequest.add_member(:acr_configuration, Shapes::ShapeRef.new(shape: AcrConfigurationType, location_name: "AcrConfiguration"))
2462
2484
  UpdateUserPoolRequest.struct_class = Types::UpdateUserPoolRequest
2463
2485
 
2464
2486
  UpdateUserPoolResponse.struct_class = Types::UpdateUserPoolResponse
@@ -2611,6 +2633,7 @@ module Aws::CognitoIdentityProvider
2611
2633
  UserPoolType.add_member(:user_pool_tier, Shapes::ShapeRef.new(shape: UserPoolTierType, location_name: "UserPoolTier"))
2612
2634
  UserPoolType.add_member(:key_configuration, Shapes::ShapeRef.new(shape: KeyConfigurationType, location_name: "KeyConfiguration"))
2613
2635
  UserPoolType.add_member(:issuer_configuration, Shapes::ShapeRef.new(shape: IssuerConfigurationType, location_name: "IssuerConfiguration"))
2636
+ UserPoolType.add_member(:acr_configuration, Shapes::ShapeRef.new(shape: AcrConfigurationType, location_name: "AcrConfiguration"))
2614
2637
  UserPoolType.struct_class = Types::UserPoolType
2615
2638
 
2616
2639
  UserType.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, location_name: "Username"))
@@ -2986,6 +3009,7 @@ module Aws::CognitoIdentityProvider
2986
3009
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
2987
3010
  o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
2988
3011
  o.errors << Shapes::ShapeRef.new(shape: OperationNotEnabledException)
3012
+ o.errors << Shapes::ShapeRef.new(shape: FeatureUnavailableInTierException)
2989
3013
  end)
2990
3014
 
2991
3015
  api.add_operation(:admin_link_provider_for_user, Seahorse::Model::Operation.new.tap do |o|
@@ -4237,6 +4261,7 @@ module Aws::CognitoIdentityProvider
4237
4261
  o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
4238
4262
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
4239
4263
  o.errors << Shapes::ShapeRef.new(shape: OperationNotEnabledException)
4264
+ o.errors << Shapes::ShapeRef.new(shape: FeatureUnavailableInTierException)
4240
4265
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
4241
4266
  end)
4242
4267