aws-sdk-cognitoidentityprovider 1.69.0 → 1.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +48 -13
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +4 -0
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +119 -35
- data/lib/aws-sdk-cognitoidentityprovider.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1de940aa4198a67bc226ccb78d804e5915412e4b6b106b9dc3b05952c7cdec81
|
4
|
+
data.tar.gz: eca470406c2e4a4a50859eb8d453c6d1fe69f210fc1df8e5b8902cc5e6af4a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77b66cec3d3b6820f4d6bce2b21f38d18b3f51e1cd3c3c0f23990339b0b7cb28988926de5bc33980a274c989fba643d4028225f3e4433688f506a52f3fa07e5e
|
7
|
+
data.tar.gz: 7a2e44f6160c961fd17deddb48f12e1b577864c74cfc590b6b10bc02128a8911bf9b9ef9c8c5f71d39d835758f978572119412cdfe71d30dc81e5ef8867c737d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.70.0 (2022-09-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new "AuthSessionValidity" field to the UserPoolClient in Cognito. Application admins can configure this value for their users' authentication duration, which is currently fixed at 3 minutes, up to 15 minutes. Setting this field will also apply to the SMS MFA authentication flow.
|
8
|
+
|
4
9
|
1.69.0 (2022-08-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
@@ -3005,25 +3005,28 @@ module Aws::CognitoIdentityProvider
|
|
3005
3005
|
# username when they sign up.
|
3006
3006
|
#
|
3007
3007
|
# @option params [String] :sms_verification_message
|
3008
|
-
#
|
3008
|
+
# This parameter is no longer used. See
|
3009
|
+
# [VerificationMessageTemplateType][1].
|
3010
|
+
#
|
3011
|
+
#
|
3012
|
+
#
|
3013
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
3009
3014
|
#
|
3010
3015
|
# @option params [String] :email_verification_message
|
3011
|
-
#
|
3012
|
-
#
|
3013
|
-
# is DEVELOPER.
|
3016
|
+
# This parameter is no longer used. See
|
3017
|
+
# [VerificationMessageTemplateType][1].
|
3014
3018
|
#
|
3015
3019
|
#
|
3016
3020
|
#
|
3017
|
-
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/
|
3021
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
3018
3022
|
#
|
3019
3023
|
# @option params [String] :email_verification_subject
|
3020
|
-
#
|
3021
|
-
#
|
3022
|
-
# is DEVELOPER.
|
3024
|
+
# This parameter is no longer used. See
|
3025
|
+
# [VerificationMessageTemplateType][1].
|
3023
3026
|
#
|
3024
3027
|
#
|
3025
3028
|
#
|
3026
|
-
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/
|
3029
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
3027
3030
|
#
|
3028
3031
|
# @option params [Types::VerificationMessageTemplateType] :verification_message_template
|
3029
3032
|
# The template for the verification message that the user sees when the
|
@@ -3585,6 +3588,12 @@ module Aws::CognitoIdentityProvider
|
|
3585
3588
|
#
|
3586
3589
|
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
|
3587
3590
|
#
|
3591
|
+
# @option params [Integer] :auth_session_validity
|
3592
|
+
# Amazon Cognito creates a session token for each API request in an
|
3593
|
+
# authentication flow. `AuthSessionValidity` is the duration, in
|
3594
|
+
# minutes, of that session token. Your user pool native user must
|
3595
|
+
# respond to each authentication challenge before the session expires.
|
3596
|
+
#
|
3588
3597
|
# @return [Types::CreateUserPoolClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3589
3598
|
#
|
3590
3599
|
# * {Types::CreateUserPoolClientResponse#user_pool_client #user_pool_client} => Types::UserPoolClientType
|
@@ -3623,6 +3632,7 @@ module Aws::CognitoIdentityProvider
|
|
3623
3632
|
# prevent_user_existence_errors: "LEGACY", # accepts LEGACY, ENABLED
|
3624
3633
|
# enable_token_revocation: false,
|
3625
3634
|
# enable_propagate_additional_user_context_data: false,
|
3635
|
+
# auth_session_validity: 1,
|
3626
3636
|
# })
|
3627
3637
|
#
|
3628
3638
|
# @example Response structure
|
@@ -3665,6 +3675,7 @@ module Aws::CognitoIdentityProvider
|
|
3665
3675
|
# resp.user_pool_client.prevent_user_existence_errors #=> String, one of "LEGACY", "ENABLED"
|
3666
3676
|
# resp.user_pool_client.enable_token_revocation #=> Boolean
|
3667
3677
|
# resp.user_pool_client.enable_propagate_additional_user_context_data #=> Boolean
|
3678
|
+
# resp.user_pool_client.auth_session_validity #=> Integer
|
3668
3679
|
#
|
3669
3680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient AWS API Documentation
|
3670
3681
|
#
|
@@ -4292,6 +4303,7 @@ module Aws::CognitoIdentityProvider
|
|
4292
4303
|
# resp.user_pool_client.prevent_user_existence_errors #=> String, one of "LEGACY", "ENABLED"
|
4293
4304
|
# resp.user_pool_client.enable_token_revocation #=> Boolean
|
4294
4305
|
# resp.user_pool_client.enable_propagate_additional_user_context_data #=> Boolean
|
4306
|
+
# resp.user_pool_client.auth_session_validity #=> Integer
|
4295
4307
|
#
|
4296
4308
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient AWS API Documentation
|
4297
4309
|
#
|
@@ -7160,13 +7172,28 @@ module Aws::CognitoIdentityProvider
|
|
7160
7172
|
# requests to update user pools.
|
7161
7173
|
#
|
7162
7174
|
# @option params [String] :sms_verification_message
|
7163
|
-
#
|
7175
|
+
# This parameter is no longer used. See
|
7176
|
+
# [VerificationMessageTemplateType][1].
|
7177
|
+
#
|
7178
|
+
#
|
7179
|
+
#
|
7180
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
7164
7181
|
#
|
7165
7182
|
# @option params [String] :email_verification_message
|
7166
|
-
#
|
7183
|
+
# This parameter is no longer used. See
|
7184
|
+
# [VerificationMessageTemplateType][1].
|
7185
|
+
#
|
7186
|
+
#
|
7187
|
+
#
|
7188
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
7167
7189
|
#
|
7168
7190
|
# @option params [String] :email_verification_subject
|
7169
|
-
#
|
7191
|
+
# This parameter is no longer used. See
|
7192
|
+
# [VerificationMessageTemplateType][1].
|
7193
|
+
#
|
7194
|
+
#
|
7195
|
+
#
|
7196
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
7170
7197
|
#
|
7171
7198
|
# @option params [Types::VerificationMessageTemplateType] :verification_message_template
|
7172
7199
|
# The template for verification messages.
|
@@ -7592,6 +7619,12 @@ module Aws::CognitoIdentityProvider
|
|
7592
7619
|
#
|
7593
7620
|
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
|
7594
7621
|
#
|
7622
|
+
# @option params [Integer] :auth_session_validity
|
7623
|
+
# Amazon Cognito creates a session token for each API request in an
|
7624
|
+
# authentication flow. `AuthSessionValidity` is the duration, in
|
7625
|
+
# minutes, of that session token. Your user pool native user must
|
7626
|
+
# respond to each authentication challenge before the session expires.
|
7627
|
+
#
|
7595
7628
|
# @return [Types::UpdateUserPoolClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7596
7629
|
#
|
7597
7630
|
# * {Types::UpdateUserPoolClientResponse#user_pool_client #user_pool_client} => Types::UserPoolClientType
|
@@ -7630,6 +7663,7 @@ module Aws::CognitoIdentityProvider
|
|
7630
7663
|
# prevent_user_existence_errors: "LEGACY", # accepts LEGACY, ENABLED
|
7631
7664
|
# enable_token_revocation: false,
|
7632
7665
|
# enable_propagate_additional_user_context_data: false,
|
7666
|
+
# auth_session_validity: 1,
|
7633
7667
|
# })
|
7634
7668
|
#
|
7635
7669
|
# @example Response structure
|
@@ -7672,6 +7706,7 @@ module Aws::CognitoIdentityProvider
|
|
7672
7706
|
# resp.user_pool_client.prevent_user_existence_errors #=> String, one of "LEGACY", "ENABLED"
|
7673
7707
|
# resp.user_pool_client.enable_token_revocation #=> Boolean
|
7674
7708
|
# resp.user_pool_client.enable_propagate_additional_user_context_data #=> Boolean
|
7709
|
+
# resp.user_pool_client.auth_session_validity #=> Integer
|
7675
7710
|
#
|
7676
7711
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient AWS API Documentation
|
7677
7712
|
#
|
@@ -7867,7 +7902,7 @@ module Aws::CognitoIdentityProvider
|
|
7867
7902
|
params: params,
|
7868
7903
|
config: config)
|
7869
7904
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
7870
|
-
context[:gem_version] = '1.
|
7905
|
+
context[:gem_version] = '1.70.0'
|
7871
7906
|
Seahorse::Client::Request.new(handlers, context)
|
7872
7907
|
end
|
7873
7908
|
|
@@ -95,6 +95,7 @@ module Aws::CognitoIdentityProvider
|
|
95
95
|
AuthEventsType = Shapes::ListShape.new(name: 'AuthEventsType')
|
96
96
|
AuthFlowType = Shapes::StringShape.new(name: 'AuthFlowType')
|
97
97
|
AuthParametersType = Shapes::MapShape.new(name: 'AuthParametersType')
|
98
|
+
AuthSessionValidityType = Shapes::IntegerShape.new(name: 'AuthSessionValidityType')
|
98
99
|
AuthenticationResultType = Shapes::StructureShape.new(name: 'AuthenticationResultType')
|
99
100
|
BlockedIPRangeListType = Shapes::ListShape.new(name: 'BlockedIPRangeListType')
|
100
101
|
BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
|
@@ -930,6 +931,7 @@ module Aws::CognitoIdentityProvider
|
|
930
931
|
CreateUserPoolClientRequest.add_member(:prevent_user_existence_errors, Shapes::ShapeRef.new(shape: PreventUserExistenceErrorTypes, location_name: "PreventUserExistenceErrors"))
|
931
932
|
CreateUserPoolClientRequest.add_member(:enable_token_revocation, Shapes::ShapeRef.new(shape: WrappedBooleanType, location_name: "EnableTokenRevocation"))
|
932
933
|
CreateUserPoolClientRequest.add_member(:enable_propagate_additional_user_context_data, Shapes::ShapeRef.new(shape: WrappedBooleanType, location_name: "EnablePropagateAdditionalUserContextData"))
|
934
|
+
CreateUserPoolClientRequest.add_member(:auth_session_validity, Shapes::ShapeRef.new(shape: AuthSessionValidityType, location_name: "AuthSessionValidity"))
|
933
935
|
CreateUserPoolClientRequest.struct_class = Types::CreateUserPoolClientRequest
|
934
936
|
|
935
937
|
CreateUserPoolClientResponse.add_member(:user_pool_client, Shapes::ShapeRef.new(shape: UserPoolClientType, location_name: "UserPoolClient"))
|
@@ -1788,6 +1790,7 @@ module Aws::CognitoIdentityProvider
|
|
1788
1790
|
UpdateUserPoolClientRequest.add_member(:prevent_user_existence_errors, Shapes::ShapeRef.new(shape: PreventUserExistenceErrorTypes, location_name: "PreventUserExistenceErrors"))
|
1789
1791
|
UpdateUserPoolClientRequest.add_member(:enable_token_revocation, Shapes::ShapeRef.new(shape: WrappedBooleanType, location_name: "EnableTokenRevocation"))
|
1790
1792
|
UpdateUserPoolClientRequest.add_member(:enable_propagate_additional_user_context_data, Shapes::ShapeRef.new(shape: WrappedBooleanType, location_name: "EnablePropagateAdditionalUserContextData"))
|
1793
|
+
UpdateUserPoolClientRequest.add_member(:auth_session_validity, Shapes::ShapeRef.new(shape: AuthSessionValidityType, location_name: "AuthSessionValidity"))
|
1791
1794
|
UpdateUserPoolClientRequest.struct_class = Types::UpdateUserPoolClientRequest
|
1792
1795
|
|
1793
1796
|
UpdateUserPoolClientResponse.add_member(:user_pool_client, Shapes::ShapeRef.new(shape: UserPoolClientType, location_name: "UserPoolClient"))
|
@@ -1898,6 +1901,7 @@ module Aws::CognitoIdentityProvider
|
|
1898
1901
|
UserPoolClientType.add_member(:prevent_user_existence_errors, Shapes::ShapeRef.new(shape: PreventUserExistenceErrorTypes, location_name: "PreventUserExistenceErrors"))
|
1899
1902
|
UserPoolClientType.add_member(:enable_token_revocation, Shapes::ShapeRef.new(shape: WrappedBooleanType, location_name: "EnableTokenRevocation"))
|
1900
1903
|
UserPoolClientType.add_member(:enable_propagate_additional_user_context_data, Shapes::ShapeRef.new(shape: WrappedBooleanType, location_name: "EnablePropagateAdditionalUserContextData"))
|
1904
|
+
UserPoolClientType.add_member(:auth_session_validity, Shapes::ShapeRef.new(shape: AuthSessionValidityType, location_name: "AuthSessionValidity"))
|
1901
1905
|
UserPoolClientType.struct_class = Types::UserPoolClientType
|
1902
1906
|
|
1903
1907
|
UserPoolDescriptionType.add_member(:id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "Id"))
|
@@ -3401,6 +3401,7 @@ module Aws::CognitoIdentityProvider
|
|
3401
3401
|
# prevent_user_existence_errors: "LEGACY", # accepts LEGACY, ENABLED
|
3402
3402
|
# enable_token_revocation: false,
|
3403
3403
|
# enable_propagate_additional_user_context_data: false,
|
3404
|
+
# auth_session_validity: 1,
|
3404
3405
|
# }
|
3405
3406
|
#
|
3406
3407
|
# @!attribute [rw] user_pool_id
|
@@ -3678,6 +3679,13 @@ module Aws::CognitoIdentityProvider
|
|
3678
3679
|
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
|
3679
3680
|
# @return [Boolean]
|
3680
3681
|
#
|
3682
|
+
# @!attribute [rw] auth_session_validity
|
3683
|
+
# Amazon Cognito creates a session token for each API request in an
|
3684
|
+
# authentication flow. `AuthSessionValidity` is the duration, in
|
3685
|
+
# minutes, of that session token. Your user pool native user must
|
3686
|
+
# respond to each authentication challenge before the session expires.
|
3687
|
+
# @return [Integer]
|
3688
|
+
#
|
3681
3689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClientRequest AWS API Documentation
|
3682
3690
|
#
|
3683
3691
|
class CreateUserPoolClientRequest < Struct.new(
|
@@ -3701,7 +3709,8 @@ module Aws::CognitoIdentityProvider
|
|
3701
3709
|
:analytics_configuration,
|
3702
3710
|
:prevent_user_existence_errors,
|
3703
3711
|
:enable_token_revocation,
|
3704
|
-
:enable_propagate_additional_user_context_data
|
3712
|
+
:enable_propagate_additional_user_context_data,
|
3713
|
+
:auth_session_validity)
|
3705
3714
|
SENSITIVE = []
|
3706
3715
|
include Aws::Structure
|
3707
3716
|
end
|
@@ -3945,27 +3954,30 @@ module Aws::CognitoIdentityProvider
|
|
3945
3954
|
# @return [Array<String>]
|
3946
3955
|
#
|
3947
3956
|
# @!attribute [rw] sms_verification_message
|
3948
|
-
#
|
3957
|
+
# This parameter is no longer used. See
|
3958
|
+
# [VerificationMessageTemplateType][1].
|
3959
|
+
#
|
3960
|
+
#
|
3961
|
+
#
|
3962
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
3949
3963
|
# @return [String]
|
3950
3964
|
#
|
3951
3965
|
# @!attribute [rw] email_verification_message
|
3952
|
-
#
|
3953
|
-
#
|
3954
|
-
# [EmailSendingAccount][1] is DEVELOPER.
|
3966
|
+
# This parameter is no longer used. See
|
3967
|
+
# [VerificationMessageTemplateType][1].
|
3955
3968
|
#
|
3956
3969
|
#
|
3957
3970
|
#
|
3958
|
-
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/
|
3971
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
3959
3972
|
# @return [String]
|
3960
3973
|
#
|
3961
3974
|
# @!attribute [rw] email_verification_subject
|
3962
|
-
#
|
3963
|
-
#
|
3964
|
-
# [EmailSendingAccount][1] is DEVELOPER.
|
3975
|
+
# This parameter is no longer used. See
|
3976
|
+
# [VerificationMessageTemplateType][1].
|
3965
3977
|
#
|
3966
3978
|
#
|
3967
3979
|
#
|
3968
|
-
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/
|
3980
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
3969
3981
|
# @return [String]
|
3970
3982
|
#
|
3971
3983
|
# @!attribute [rw] verification_message_template
|
@@ -4672,15 +4684,35 @@ module Aws::CognitoIdentityProvider
|
|
4672
4684
|
include Aws::Structure
|
4673
4685
|
end
|
4674
4686
|
|
4675
|
-
# The device-remembering configuration for a user pool. A
|
4676
|
-
#
|
4677
|
-
# pool.
|
4687
|
+
# The device-remembering configuration for a user pool. A [
|
4688
|
+
# DescribeUserPool][1] request returns a null value for this object when
|
4689
|
+
# the user pool isn't configured to remember devices. When device
|
4690
|
+
# remembering is active, you can remember a user's device with a
|
4691
|
+
# [ConfirmDevice][2] API request. Additionally. when the property
|
4692
|
+
# `DeviceOnlyRememberedOnUserPrompt` is `true`, you must follow
|
4693
|
+
# `ConfirmDevice` with an [UpdateDeviceStatus][3] API request that sets
|
4694
|
+
# the user's device to `remembered` or `not_remembered`.
|
4678
4695
|
#
|
4679
|
-
#
|
4680
|
-
#
|
4696
|
+
# To sign in with a remembered device, include `DEVICE_KEY` in the
|
4697
|
+
# authentication parameters in your user's [ InitiateAuth][4] request.
|
4698
|
+
# If your app doesn't include a `DEVICE_KEY` parameter, the
|
4699
|
+
# [response][5] from Amazon Cognito includes newly-generated
|
4700
|
+
# `DEVICE_KEY` and `DEVICE_GROUP_KEY` values under `NewDeviceMetadata`.
|
4701
|
+
# Store these values to use in future device-authentication requests.
|
4702
|
+
#
|
4703
|
+
# <note markdown="1"> When you provide a value for any property of `DeviceConfiguration`,
|
4704
|
+
# you activate the device remembering for the user pool.
|
4681
4705
|
#
|
4682
4706
|
# </note>
|
4683
4707
|
#
|
4708
|
+
#
|
4709
|
+
#
|
4710
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html
|
4711
|
+
# [2]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmDevice.html
|
4712
|
+
# [3]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html
|
4713
|
+
# [4]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html
|
4714
|
+
# [5]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html#API_InitiateAuth_ResponseSyntax
|
4715
|
+
#
|
4684
4716
|
# @note When making an API call, you may pass DeviceConfigurationType
|
4685
4717
|
# data as a hash:
|
4686
4718
|
#
|
@@ -4690,27 +4722,32 @@ module Aws::CognitoIdentityProvider
|
|
4690
4722
|
# }
|
4691
4723
|
#
|
4692
4724
|
# @!attribute [rw] challenge_required_on_new_device
|
4693
|
-
# When true, device
|
4694
|
-
#
|
4695
|
-
# (MFA).
|
4725
|
+
# When true, a remembered device can sign in with device
|
4726
|
+
# authentication instead of SMS and time-based one-time password
|
4727
|
+
# (TOTP) factors for multi-factor authentication (MFA).
|
4696
4728
|
#
|
4697
|
-
# <note markdown="1">
|
4698
|
-
# devices that have not been confirmed or remembered must
|
4699
|
-
# second factor
|
4729
|
+
# <note markdown="1"> Whether or not `ChallengeRequiredOnNewDevice` is true, users who
|
4730
|
+
# sign in with devices that have not been confirmed or remembered must
|
4731
|
+
# still provide a second factor in a user pool that requires MFA.
|
4700
4732
|
#
|
4701
4733
|
# </note>
|
4702
4734
|
# @return [Boolean]
|
4703
4735
|
#
|
4704
4736
|
# @!attribute [rw] device_only_remembered_on_user_prompt
|
4705
|
-
# When true, Amazon Cognito doesn't remember
|
4706
|
-
#
|
4707
|
-
#
|
4708
|
-
#
|
4709
|
-
#
|
4737
|
+
# When true, Amazon Cognito doesn't automatically remember a user's
|
4738
|
+
# device when your app sends a [ ConfirmDevice][1] API request. In
|
4739
|
+
# your app, create a prompt for your user to choose whether they want
|
4740
|
+
# to remember their device. Return the user's choice in an [
|
4741
|
+
# UpdateDeviceStatus][2] API request.
|
4742
|
+
#
|
4743
|
+
# When `DeviceOnlyRememberedOnUserPrompt` is `false`, Amazon Cognito
|
4744
|
+
# immediately remembers devices that you register in a `ConfirmDevice`
|
4745
|
+
# API request.
|
4710
4746
|
#
|
4711
4747
|
#
|
4712
4748
|
#
|
4713
|
-
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/
|
4749
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmDevice.html
|
4750
|
+
# [2]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html
|
4714
4751
|
# @return [Boolean]
|
4715
4752
|
#
|
4716
4753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceConfigurationType AWS API Documentation
|
@@ -9617,6 +9654,7 @@ module Aws::CognitoIdentityProvider
|
|
9617
9654
|
# prevent_user_existence_errors: "LEGACY", # accepts LEGACY, ENABLED
|
9618
9655
|
# enable_token_revocation: false,
|
9619
9656
|
# enable_propagate_additional_user_context_data: false,
|
9657
|
+
# auth_session_validity: 1,
|
9620
9658
|
# }
|
9621
9659
|
#
|
9622
9660
|
# @!attribute [rw] user_pool_id
|
@@ -9863,6 +9901,13 @@ module Aws::CognitoIdentityProvider
|
|
9863
9901
|
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
|
9864
9902
|
# @return [Boolean]
|
9865
9903
|
#
|
9904
|
+
# @!attribute [rw] auth_session_validity
|
9905
|
+
# Amazon Cognito creates a session token for each API request in an
|
9906
|
+
# authentication flow. `AuthSessionValidity` is the duration, in
|
9907
|
+
# minutes, of that session token. Your user pool native user must
|
9908
|
+
# respond to each authentication challenge before the session expires.
|
9909
|
+
# @return [Integer]
|
9910
|
+
#
|
9866
9911
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClientRequest AWS API Documentation
|
9867
9912
|
#
|
9868
9913
|
class UpdateUserPoolClientRequest < Struct.new(
|
@@ -9886,7 +9931,8 @@ module Aws::CognitoIdentityProvider
|
|
9886
9931
|
:analytics_configuration,
|
9887
9932
|
:prevent_user_existence_errors,
|
9888
9933
|
:enable_token_revocation,
|
9889
|
-
:enable_propagate_additional_user_context_data
|
9934
|
+
:enable_propagate_additional_user_context_data,
|
9935
|
+
:auth_session_validity)
|
9890
9936
|
SENSITIVE = [:client_id]
|
9891
9937
|
include Aws::Structure
|
9892
9938
|
end
|
@@ -10081,15 +10127,30 @@ module Aws::CognitoIdentityProvider
|
|
10081
10127
|
# @return [Array<String>]
|
10082
10128
|
#
|
10083
10129
|
# @!attribute [rw] sms_verification_message
|
10084
|
-
#
|
10130
|
+
# This parameter is no longer used. See
|
10131
|
+
# [VerificationMessageTemplateType][1].
|
10132
|
+
#
|
10133
|
+
#
|
10134
|
+
#
|
10135
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
10085
10136
|
# @return [String]
|
10086
10137
|
#
|
10087
10138
|
# @!attribute [rw] email_verification_message
|
10088
|
-
#
|
10139
|
+
# This parameter is no longer used. See
|
10140
|
+
# [VerificationMessageTemplateType][1].
|
10141
|
+
#
|
10142
|
+
#
|
10143
|
+
#
|
10144
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
10089
10145
|
# @return [String]
|
10090
10146
|
#
|
10091
10147
|
# @!attribute [rw] email_verification_subject
|
10092
|
-
#
|
10148
|
+
# This parameter is no longer used. See
|
10149
|
+
# [VerificationMessageTemplateType][1].
|
10150
|
+
#
|
10151
|
+
#
|
10152
|
+
#
|
10153
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
10093
10154
|
# @return [String]
|
10094
10155
|
#
|
10095
10156
|
# @!attribute [rw] verification_message_template
|
@@ -10794,6 +10855,13 @@ module Aws::CognitoIdentityProvider
|
|
10794
10855
|
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint
|
10795
10856
|
# @return [Boolean]
|
10796
10857
|
#
|
10858
|
+
# @!attribute [rw] auth_session_validity
|
10859
|
+
# Amazon Cognito creates a session token for each API request in an
|
10860
|
+
# authentication flow. `AuthSessionValidity` is the duration, in
|
10861
|
+
# minutes, of that session token. Your user pool native user must
|
10862
|
+
# respond to each authentication challenge before the session expires.
|
10863
|
+
# @return [Integer]
|
10864
|
+
#
|
10797
10865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolClientType AWS API Documentation
|
10798
10866
|
#
|
10799
10867
|
class UserPoolClientType < Struct.new(
|
@@ -10820,7 +10888,8 @@ module Aws::CognitoIdentityProvider
|
|
10820
10888
|
:analytics_configuration,
|
10821
10889
|
:prevent_user_existence_errors,
|
10822
10890
|
:enable_token_revocation,
|
10823
|
-
:enable_propagate_additional_user_context_data
|
10891
|
+
:enable_propagate_additional_user_context_data,
|
10892
|
+
:auth_session_validity)
|
10824
10893
|
SENSITIVE = [:client_id, :client_secret]
|
10825
10894
|
include Aws::Structure
|
10826
10895
|
end
|
@@ -10954,15 +11023,30 @@ module Aws::CognitoIdentityProvider
|
|
10954
11023
|
# @return [Array<String>]
|
10955
11024
|
#
|
10956
11025
|
# @!attribute [rw] sms_verification_message
|
10957
|
-
#
|
11026
|
+
# This parameter is no longer used. See
|
11027
|
+
# [VerificationMessageTemplateType][1].
|
11028
|
+
#
|
11029
|
+
#
|
11030
|
+
#
|
11031
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
10958
11032
|
# @return [String]
|
10959
11033
|
#
|
10960
11034
|
# @!attribute [rw] email_verification_message
|
10961
|
-
#
|
11035
|
+
# This parameter is no longer used. See
|
11036
|
+
# [VerificationMessageTemplateType][1].
|
11037
|
+
#
|
11038
|
+
#
|
11039
|
+
#
|
11040
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
10962
11041
|
# @return [String]
|
10963
11042
|
#
|
10964
11043
|
# @!attribute [rw] email_verification_subject
|
10965
|
-
#
|
11044
|
+
# This parameter is no longer used. See
|
11045
|
+
# [VerificationMessageTemplateType][1].
|
11046
|
+
#
|
11047
|
+
#
|
11048
|
+
#
|
11049
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html
|
10966
11050
|
# @return [String]
|
10967
11051
|
#
|
10968
11052
|
# @!attribute [rw] verification_message_template
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cognitoidentityprovider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|