aws-sdk-cognitoidentityprovider 1.47.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aeaf9e91919db21d3db364967058f99e7c3508600f788e6ccedcf549ffbb4db
|
4
|
+
data.tar.gz: 247f2a12b2c5fdec7817d2c632b260353a86c57e27b9c2b02b19c3097cee640e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47fdb42508be0fdf33788ac955698025fbd692a769986b9074ca5be87f8dc32765984a98588987a844d65ec417a7d1f2327e4a1dd207619c57267206fc183b2e
|
7
|
+
data.tar.gz: 444db0a838c66192a31ff49bfc06968887d5fc0007e9e3d4da1d398955482c51d44246377a97d74e62987eeb986664d45cc0d67d511eb908987c64325a58a2e4
|
@@ -2746,9 +2746,21 @@ module Aws::CognitoIdentityProvider
|
|
2746
2746
|
#
|
2747
2747
|
# @option params [String] :email_verification_message
|
2748
2748
|
# A string representing the email verification message.
|
2749
|
+
# EmailVerificationMessage is allowed only if [EmailSendingAccount][1]
|
2750
|
+
# is DEVELOPER.
|
2751
|
+
#
|
2752
|
+
#
|
2753
|
+
#
|
2754
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
2749
2755
|
#
|
2750
2756
|
# @option params [String] :email_verification_subject
|
2751
2757
|
# A string representing the email verification subject.
|
2758
|
+
# EmailVerificationSubject is allowed only if [EmailSendingAccount][1]
|
2759
|
+
# is DEVELOPER.
|
2760
|
+
#
|
2761
|
+
#
|
2762
|
+
#
|
2763
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
2752
2764
|
#
|
2753
2765
|
# @option params [Types::VerificationMessageTemplateType] :verification_message_template
|
2754
2766
|
# The template for the verification message that the user sees when the
|
@@ -2834,6 +2846,15 @@ module Aws::CognitoIdentityProvider
|
|
2834
2846
|
# verify_auth_challenge_response: "ArnType",
|
2835
2847
|
# pre_token_generation: "ArnType",
|
2836
2848
|
# user_migration: "ArnType",
|
2849
|
+
# custom_sms_sender: {
|
2850
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
2851
|
+
# lambda_arn: "ArnType", # required
|
2852
|
+
# },
|
2853
|
+
# custom_email_sender: {
|
2854
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
2855
|
+
# lambda_arn: "ArnType", # required
|
2856
|
+
# },
|
2857
|
+
# kms_key_id: "ArnType",
|
2837
2858
|
# },
|
2838
2859
|
# auto_verified_attributes: ["phone_number"], # accepts phone_number, email
|
2839
2860
|
# alias_attributes: ["phone_number"], # accepts phone_number, email, preferred_username
|
@@ -2931,6 +2952,11 @@ module Aws::CognitoIdentityProvider
|
|
2931
2952
|
# resp.user_pool.lambda_config.verify_auth_challenge_response #=> String
|
2932
2953
|
# resp.user_pool.lambda_config.pre_token_generation #=> String
|
2933
2954
|
# resp.user_pool.lambda_config.user_migration #=> String
|
2955
|
+
# resp.user_pool.lambda_config.custom_sms_sender.lambda_version #=> String, one of "V1_0"
|
2956
|
+
# resp.user_pool.lambda_config.custom_sms_sender.lambda_arn #=> String
|
2957
|
+
# resp.user_pool.lambda_config.custom_email_sender.lambda_version #=> String, one of "V1_0"
|
2958
|
+
# resp.user_pool.lambda_config.custom_email_sender.lambda_arn #=> String
|
2959
|
+
# resp.user_pool.lambda_config.kms_key_id #=> String
|
2934
2960
|
# resp.user_pool.status #=> String, one of "Enabled", "Disabled"
|
2935
2961
|
# resp.user_pool.last_modified_date #=> Time
|
2936
2962
|
# resp.user_pool.creation_date #=> Time
|
@@ -3746,6 +3772,11 @@ module Aws::CognitoIdentityProvider
|
|
3746
3772
|
# resp.user_pool.lambda_config.verify_auth_challenge_response #=> String
|
3747
3773
|
# resp.user_pool.lambda_config.pre_token_generation #=> String
|
3748
3774
|
# resp.user_pool.lambda_config.user_migration #=> String
|
3775
|
+
# resp.user_pool.lambda_config.custom_sms_sender.lambda_version #=> String, one of "V1_0"
|
3776
|
+
# resp.user_pool.lambda_config.custom_sms_sender.lambda_arn #=> String
|
3777
|
+
# resp.user_pool.lambda_config.custom_email_sender.lambda_version #=> String, one of "V1_0"
|
3778
|
+
# resp.user_pool.lambda_config.custom_email_sender.lambda_arn #=> String
|
3779
|
+
# resp.user_pool.lambda_config.kms_key_id #=> String
|
3749
3780
|
# resp.user_pool.status #=> String, one of "Enabled", "Disabled"
|
3750
3781
|
# resp.user_pool.last_modified_date #=> Time
|
3751
3782
|
# resp.user_pool.creation_date #=> Time
|
@@ -4997,6 +5028,11 @@ module Aws::CognitoIdentityProvider
|
|
4997
5028
|
# resp.user_pools[0].lambda_config.verify_auth_challenge_response #=> String
|
4998
5029
|
# resp.user_pools[0].lambda_config.pre_token_generation #=> String
|
4999
5030
|
# resp.user_pools[0].lambda_config.user_migration #=> String
|
5031
|
+
# resp.user_pools[0].lambda_config.custom_sms_sender.lambda_version #=> String, one of "V1_0"
|
5032
|
+
# resp.user_pools[0].lambda_config.custom_sms_sender.lambda_arn #=> String
|
5033
|
+
# resp.user_pools[0].lambda_config.custom_email_sender.lambda_version #=> String, one of "V1_0"
|
5034
|
+
# resp.user_pools[0].lambda_config.custom_email_sender.lambda_arn #=> String
|
5035
|
+
# resp.user_pools[0].lambda_config.kms_key_id #=> String
|
5000
5036
|
# resp.user_pools[0].status #=> String, one of "Enabled", "Disabled"
|
5001
5037
|
# resp.user_pools[0].last_modified_date #=> Time
|
5002
5038
|
# resp.user_pools[0].creation_date #=> Time
|
@@ -5619,7 +5655,12 @@ module Aws::CognitoIdentityProvider
|
|
5619
5655
|
# one factor can be set as preferred. The preferred MFA factor will be
|
5620
5656
|
# used to authenticate a user if multiple factors are enabled. If
|
5621
5657
|
# multiple options are enabled and no preference is set, a challenge to
|
5622
|
-
# choose an MFA option will be returned during sign in.
|
5658
|
+
# choose an MFA option will be returned during sign in. If an MFA type
|
5659
|
+
# is enabled for a user, the user will be prompted for MFA during all
|
5660
|
+
# sign in attempts, unless device tracking is turned on and the device
|
5661
|
+
# has been trusted. If you would like MFA to be applied selectively
|
5662
|
+
# based on the assessed risk level of sign in attempts, disable MFA for
|
5663
|
+
# users and turn on Adaptive Authentication for the user pool.
|
5623
5664
|
#
|
5624
5665
|
# @option params [Types::SMSMfaSettingsType] :sms_mfa_settings
|
5625
5666
|
# The SMS text message multi-factor authentication (MFA) settings.
|
@@ -6482,6 +6523,15 @@ module Aws::CognitoIdentityProvider
|
|
6482
6523
|
# verify_auth_challenge_response: "ArnType",
|
6483
6524
|
# pre_token_generation: "ArnType",
|
6484
6525
|
# user_migration: "ArnType",
|
6526
|
+
# custom_sms_sender: {
|
6527
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
6528
|
+
# lambda_arn: "ArnType", # required
|
6529
|
+
# },
|
6530
|
+
# custom_email_sender: {
|
6531
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
6532
|
+
# lambda_arn: "ArnType", # required
|
6533
|
+
# },
|
6534
|
+
# kms_key_id: "ArnType",
|
6485
6535
|
# },
|
6486
6536
|
# auto_verified_attributes: ["phone_number"], # accepts phone_number, email
|
6487
6537
|
# sms_verification_message: "SmsVerificationMessageType",
|
@@ -6982,7 +7032,7 @@ module Aws::CognitoIdentityProvider
|
|
6982
7032
|
params: params,
|
6983
7033
|
config: config)
|
6984
7034
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
6985
|
-
context[:gem_version] = '1.
|
7035
|
+
context[:gem_version] = '1.48.0'
|
6986
7036
|
Seahorse::Client::Request.new(handlers, context)
|
6987
7037
|
end
|
6988
7038
|
|
@@ -149,6 +149,10 @@ module Aws::CognitoIdentityProvider
|
|
149
149
|
CustomAttributeNameType = Shapes::StringShape.new(name: 'CustomAttributeNameType')
|
150
150
|
CustomAttributesListType = Shapes::ListShape.new(name: 'CustomAttributesListType')
|
151
151
|
CustomDomainConfigType = Shapes::StructureShape.new(name: 'CustomDomainConfigType')
|
152
|
+
CustomEmailLambdaVersionConfigType = Shapes::StructureShape.new(name: 'CustomEmailLambdaVersionConfigType')
|
153
|
+
CustomEmailSenderLambdaVersionType = Shapes::StringShape.new(name: 'CustomEmailSenderLambdaVersionType')
|
154
|
+
CustomSMSLambdaVersionConfigType = Shapes::StructureShape.new(name: 'CustomSMSLambdaVersionConfigType')
|
155
|
+
CustomSMSSenderLambdaVersionType = Shapes::StringShape.new(name: 'CustomSMSSenderLambdaVersionType')
|
152
156
|
DateType = Shapes::TimestampShape.new(name: 'DateType')
|
153
157
|
DefaultEmailOptionType = Shapes::StringShape.new(name: 'DefaultEmailOptionType')
|
154
158
|
DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
|
@@ -957,6 +961,14 @@ module Aws::CognitoIdentityProvider
|
|
957
961
|
CustomDomainConfigType.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "CertificateArn"))
|
958
962
|
CustomDomainConfigType.struct_class = Types::CustomDomainConfigType
|
959
963
|
|
964
|
+
CustomEmailLambdaVersionConfigType.add_member(:lambda_version, Shapes::ShapeRef.new(shape: CustomEmailSenderLambdaVersionType, required: true, location_name: "LambdaVersion"))
|
965
|
+
CustomEmailLambdaVersionConfigType.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "LambdaArn"))
|
966
|
+
CustomEmailLambdaVersionConfigType.struct_class = Types::CustomEmailLambdaVersionConfigType
|
967
|
+
|
968
|
+
CustomSMSLambdaVersionConfigType.add_member(:lambda_version, Shapes::ShapeRef.new(shape: CustomSMSSenderLambdaVersionType, required: true, location_name: "LambdaVersion"))
|
969
|
+
CustomSMSLambdaVersionConfigType.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "LambdaArn"))
|
970
|
+
CustomSMSLambdaVersionConfigType.struct_class = Types::CustomSMSLambdaVersionConfigType
|
971
|
+
|
960
972
|
DeleteGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupNameType, required: true, location_name: "GroupName"))
|
961
973
|
DeleteGroupRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
962
974
|
DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
|
@@ -1274,6 +1286,9 @@ module Aws::CognitoIdentityProvider
|
|
1274
1286
|
LambdaConfigType.add_member(:verify_auth_challenge_response, Shapes::ShapeRef.new(shape: ArnType, location_name: "VerifyAuthChallengeResponse"))
|
1275
1287
|
LambdaConfigType.add_member(:pre_token_generation, Shapes::ShapeRef.new(shape: ArnType, location_name: "PreTokenGeneration"))
|
1276
1288
|
LambdaConfigType.add_member(:user_migration, Shapes::ShapeRef.new(shape: ArnType, location_name: "UserMigration"))
|
1289
|
+
LambdaConfigType.add_member(:custom_sms_sender, Shapes::ShapeRef.new(shape: CustomSMSLambdaVersionConfigType, location_name: "CustomSMSSender"))
|
1290
|
+
LambdaConfigType.add_member(:custom_email_sender, Shapes::ShapeRef.new(shape: CustomEmailLambdaVersionConfigType, location_name: "CustomEmailSender"))
|
1291
|
+
LambdaConfigType.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: ArnType, location_name: "KMSKeyID"))
|
1277
1292
|
LambdaConfigType.struct_class = Types::LambdaConfigType
|
1278
1293
|
|
1279
1294
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
|
@@ -3628,6 +3628,15 @@ module Aws::CognitoIdentityProvider
|
|
3628
3628
|
# verify_auth_challenge_response: "ArnType",
|
3629
3629
|
# pre_token_generation: "ArnType",
|
3630
3630
|
# user_migration: "ArnType",
|
3631
|
+
# custom_sms_sender: {
|
3632
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
3633
|
+
# lambda_arn: "ArnType", # required
|
3634
|
+
# },
|
3635
|
+
# custom_email_sender: {
|
3636
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
3637
|
+
# lambda_arn: "ArnType", # required
|
3638
|
+
# },
|
3639
|
+
# kms_key_id: "ArnType",
|
3631
3640
|
# },
|
3632
3641
|
# auto_verified_attributes: ["phone_number"], # accepts phone_number, email
|
3633
3642
|
# alias_attributes: ["phone_number"], # accepts phone_number, email, preferred_username
|
@@ -3757,10 +3766,22 @@ module Aws::CognitoIdentityProvider
|
|
3757
3766
|
#
|
3758
3767
|
# @!attribute [rw] email_verification_message
|
3759
3768
|
# A string representing the email verification message.
|
3769
|
+
# EmailVerificationMessage is allowed only if [EmailSendingAccount][1]
|
3770
|
+
# is DEVELOPER.
|
3771
|
+
#
|
3772
|
+
#
|
3773
|
+
#
|
3774
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
3760
3775
|
# @return [String]
|
3761
3776
|
#
|
3762
3777
|
# @!attribute [rw] email_verification_subject
|
3763
3778
|
# A string representing the email verification subject.
|
3779
|
+
# EmailVerificationSubject is allowed only if [EmailSendingAccount][1]
|
3780
|
+
# is DEVELOPER.
|
3781
|
+
#
|
3782
|
+
#
|
3783
|
+
#
|
3784
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
3764
3785
|
# @return [String]
|
3765
3786
|
#
|
3766
3787
|
# @!attribute [rw] verification_message_template
|
@@ -3898,6 +3919,66 @@ module Aws::CognitoIdentityProvider
|
|
3898
3919
|
include Aws::Structure
|
3899
3920
|
end
|
3900
3921
|
|
3922
|
+
# A custom email sender Lambda configuration type.
|
3923
|
+
#
|
3924
|
+
# @note When making an API call, you may pass CustomEmailLambdaVersionConfigType
|
3925
|
+
# data as a hash:
|
3926
|
+
#
|
3927
|
+
# {
|
3928
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
3929
|
+
# lambda_arn: "ArnType", # required
|
3930
|
+
# }
|
3931
|
+
#
|
3932
|
+
# @!attribute [rw] lambda_version
|
3933
|
+
# The Lambda version represents the signature of the "request"
|
3934
|
+
# attribute in the "event" information Amazon Cognito passes to your
|
3935
|
+
# custom email Lambda function. The only supported value is `V1_0`.
|
3936
|
+
# @return [String]
|
3937
|
+
#
|
3938
|
+
# @!attribute [rw] lambda_arn
|
3939
|
+
# The Lambda Amazon Resource Name of the Lambda function that Amazon
|
3940
|
+
# Cognito triggers to send email notifications to users.
|
3941
|
+
# @return [String]
|
3942
|
+
#
|
3943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CustomEmailLambdaVersionConfigType AWS API Documentation
|
3944
|
+
#
|
3945
|
+
class CustomEmailLambdaVersionConfigType < Struct.new(
|
3946
|
+
:lambda_version,
|
3947
|
+
:lambda_arn)
|
3948
|
+
SENSITIVE = []
|
3949
|
+
include Aws::Structure
|
3950
|
+
end
|
3951
|
+
|
3952
|
+
# A custom SMS sender Lambda configuration type.
|
3953
|
+
#
|
3954
|
+
# @note When making an API call, you may pass CustomSMSLambdaVersionConfigType
|
3955
|
+
# data as a hash:
|
3956
|
+
#
|
3957
|
+
# {
|
3958
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
3959
|
+
# lambda_arn: "ArnType", # required
|
3960
|
+
# }
|
3961
|
+
#
|
3962
|
+
# @!attribute [rw] lambda_version
|
3963
|
+
# The Lambda version represents the signature of the "request"
|
3964
|
+
# attribute in the "event" information Amazon Cognito passes to your
|
3965
|
+
# custom SMS Lambda function. The only supported value is `V1_0`.
|
3966
|
+
# @return [String]
|
3967
|
+
#
|
3968
|
+
# @!attribute [rw] lambda_arn
|
3969
|
+
# The Lambda Amazon Resource Name of the Lambda function that Amazon
|
3970
|
+
# Cognito triggers to send SMS notifications to users.
|
3971
|
+
# @return [String]
|
3972
|
+
#
|
3973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CustomSMSLambdaVersionConfigType AWS API Documentation
|
3974
|
+
#
|
3975
|
+
class CustomSMSLambdaVersionConfigType < Struct.new(
|
3976
|
+
:lambda_version,
|
3977
|
+
:lambda_arn)
|
3978
|
+
SENSITIVE = []
|
3979
|
+
include Aws::Structure
|
3980
|
+
end
|
3981
|
+
|
3901
3982
|
# @note When making an API call, you may pass DeleteGroupRequest
|
3902
3983
|
# data as a hash:
|
3903
3984
|
#
|
@@ -4528,6 +4609,16 @@ module Aws::CognitoIdentityProvider
|
|
4528
4609
|
|
4529
4610
|
# The email configuration type.
|
4530
4611
|
#
|
4612
|
+
# <note markdown="1"> Amazon Cognito has specific regions for use with Amazon SES. For more
|
4613
|
+
# information on the supported regions, see [Email Settings for Amazon
|
4614
|
+
# Cognito User Pools][1].
|
4615
|
+
#
|
4616
|
+
# </note>
|
4617
|
+
#
|
4618
|
+
#
|
4619
|
+
#
|
4620
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html
|
4621
|
+
#
|
4531
4622
|
# @note When making an API call, you may pass EmailConfigurationType
|
4532
4623
|
# data as a hash:
|
4533
4624
|
#
|
@@ -4580,6 +4671,29 @@ module Aws::CognitoIdentityProvider
|
|
4580
4671
|
# customize the FROM address, provide the ARN of an Amazon SES
|
4581
4672
|
# verified email address for the `SourceArn` parameter.
|
4582
4673
|
#
|
4674
|
+
# If EmailSendingAccount is COGNITO\_DEFAULT, the following
|
4675
|
+
# parameters aren't allowed:
|
4676
|
+
#
|
4677
|
+
# * EmailVerificationMessage
|
4678
|
+
#
|
4679
|
+
# * EmailVerificationSubject
|
4680
|
+
#
|
4681
|
+
# * InviteMessageTemplate.EmailMessage
|
4682
|
+
#
|
4683
|
+
# * InviteMessageTemplate.EmailSubject
|
4684
|
+
#
|
4685
|
+
# * VerificationMessageTemplate.EmailMessage
|
4686
|
+
#
|
4687
|
+
# * VerificationMessageTemplate.EmailMessageByLink
|
4688
|
+
#
|
4689
|
+
# * VerificationMessageTemplate.EmailSubject,
|
4690
|
+
#
|
4691
|
+
# * VerificationMessageTemplate.EmailSubjectByLink
|
4692
|
+
#
|
4693
|
+
# <note markdown="1"> DEVELOPER EmailSendingAccount is required.
|
4694
|
+
#
|
4695
|
+
# </note>
|
4696
|
+
#
|
4583
4697
|
# DEVELOPER
|
4584
4698
|
#
|
4585
4699
|
# : When Amazon Cognito emails your users, it uses your Amazon SES
|
@@ -5975,6 +6089,15 @@ module Aws::CognitoIdentityProvider
|
|
5975
6089
|
# verify_auth_challenge_response: "ArnType",
|
5976
6090
|
# pre_token_generation: "ArnType",
|
5977
6091
|
# user_migration: "ArnType",
|
6092
|
+
# custom_sms_sender: {
|
6093
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
6094
|
+
# lambda_arn: "ArnType", # required
|
6095
|
+
# },
|
6096
|
+
# custom_email_sender: {
|
6097
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
6098
|
+
# lambda_arn: "ArnType", # required
|
6099
|
+
# },
|
6100
|
+
# kms_key_id: "ArnType",
|
5978
6101
|
# }
|
5979
6102
|
#
|
5980
6103
|
# @!attribute [rw] pre_sign_up
|
@@ -6017,6 +6140,21 @@ module Aws::CognitoIdentityProvider
|
|
6017
6140
|
# The user migration Lambda config type.
|
6018
6141
|
# @return [String]
|
6019
6142
|
#
|
6143
|
+
# @!attribute [rw] custom_sms_sender
|
6144
|
+
# A custom SMS sender AWS Lambda trigger.
|
6145
|
+
# @return [Types::CustomSMSLambdaVersionConfigType]
|
6146
|
+
#
|
6147
|
+
# @!attribute [rw] custom_email_sender
|
6148
|
+
# A custom email sender AWS Lambda trigger.
|
6149
|
+
# @return [Types::CustomEmailLambdaVersionConfigType]
|
6150
|
+
#
|
6151
|
+
# @!attribute [rw] kms_key_id
|
6152
|
+
# The Amazon Resource Name of Key Management Service [Customer master
|
6153
|
+
# keys](/kms/latest/developerguide/concepts.html#master_keys) . Amazon
|
6154
|
+
# Cognito uses the key to encrypt codes and temporary passwords sent
|
6155
|
+
# to `CustomEmailSender` and `CustomSMSSender`.
|
6156
|
+
# @return [String]
|
6157
|
+
#
|
6020
6158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/LambdaConfigType AWS API Documentation
|
6021
6159
|
#
|
6022
6160
|
class LambdaConfigType < Struct.new(
|
@@ -6029,7 +6167,10 @@ module Aws::CognitoIdentityProvider
|
|
6029
6167
|
:create_auth_challenge,
|
6030
6168
|
:verify_auth_challenge_response,
|
6031
6169
|
:pre_token_generation,
|
6032
|
-
:user_migration
|
6170
|
+
:user_migration,
|
6171
|
+
:custom_sms_sender,
|
6172
|
+
:custom_email_sender,
|
6173
|
+
:kms_key_id)
|
6033
6174
|
SENSITIVE = []
|
6034
6175
|
include Aws::Structure
|
6035
6176
|
end
|
@@ -6690,11 +6831,21 @@ module Aws::CognitoIdentityProvider
|
|
6690
6831
|
# @return [String]
|
6691
6832
|
#
|
6692
6833
|
# @!attribute [rw] email_message
|
6693
|
-
# The message template for email messages.
|
6834
|
+
# The message template for email messages. EmailMessage is allowed
|
6835
|
+
# only if [EmailSendingAccount][1] is DEVELOPER.
|
6836
|
+
#
|
6837
|
+
#
|
6838
|
+
#
|
6839
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
6694
6840
|
# @return [String]
|
6695
6841
|
#
|
6696
6842
|
# @!attribute [rw] email_subject
|
6697
|
-
# The subject line for email messages.
|
6843
|
+
# The subject line for email messages. EmailSubject is allowed only if
|
6844
|
+
# [EmailSendingAccount][1] is DEVELOPER.
|
6845
|
+
#
|
6846
|
+
#
|
6847
|
+
#
|
6848
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
6698
6849
|
# @return [String]
|
6699
6850
|
#
|
6700
6851
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/MessageTemplateType AWS API Documentation
|
@@ -7499,7 +7650,13 @@ module Aws::CognitoIdentityProvider
|
|
7499
7650
|
include Aws::Structure
|
7500
7651
|
end
|
7501
7652
|
|
7502
|
-
# The type used for enabling SMS MFA at the user level.
|
7653
|
+
# The type used for enabling SMS MFA at the user level. Phone numbers
|
7654
|
+
# don't need to be verified to be used for SMS MFA. If an MFA type is
|
7655
|
+
# enabled for a user, the user will be prompted for MFA during all sign
|
7656
|
+
# in attempts, unless device tracking is turned on and the device has
|
7657
|
+
# been trusted. If you would like MFA to be applied selectively based on
|
7658
|
+
# the assessed risk level of sign in attempts, disable MFA for users and
|
7659
|
+
# turn on Adaptive Authentication for the user pool.
|
7503
7660
|
#
|
7504
7661
|
# @note When making an API call, you may pass SMSMfaSettingsType
|
7505
7662
|
# data as a hash:
|
@@ -7510,7 +7667,10 @@ module Aws::CognitoIdentityProvider
|
|
7510
7667
|
# }
|
7511
7668
|
#
|
7512
7669
|
# @!attribute [rw] enabled
|
7513
|
-
# Specifies whether SMS text message MFA is enabled.
|
7670
|
+
# Specifies whether SMS text message MFA is enabled. If an MFA type is
|
7671
|
+
# enabled for a user, the user will be prompted for MFA during all
|
7672
|
+
# sign in attempts, unless device tracking is turned on and the device
|
7673
|
+
# has been trusted.
|
7514
7674
|
# @return [Boolean]
|
7515
7675
|
#
|
7516
7676
|
# @!attribute [rw] preferred_mfa
|
@@ -8119,7 +8279,12 @@ module Aws::CognitoIdentityProvider
|
|
8119
8279
|
# @!attribute [rw] sns_caller_arn
|
8120
8280
|
# The Amazon Resource Name (ARN) of the Amazon Simple Notification
|
8121
8281
|
# Service (SNS) caller. This is the ARN of the IAM role in your AWS
|
8122
|
-
# account which Cognito will use to send SMS messages.
|
8282
|
+
# account which Cognito will use to send SMS messages. SMS messages
|
8283
|
+
# are subject to a [spending limit][1].
|
8284
|
+
#
|
8285
|
+
#
|
8286
|
+
#
|
8287
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html
|
8123
8288
|
# @return [String]
|
8124
8289
|
#
|
8125
8290
|
# @!attribute [rw] external_id
|
@@ -8212,7 +8377,13 @@ module Aws::CognitoIdentityProvider
|
|
8212
8377
|
include Aws::Structure
|
8213
8378
|
end
|
8214
8379
|
|
8215
|
-
# The type used for enabling software token MFA at the user level.
|
8380
|
+
# The type used for enabling software token MFA at the user level. If an
|
8381
|
+
# MFA type is enabled for a user, the user will be prompted for MFA
|
8382
|
+
# during all sign in attempts, unless device tracking is turned on and
|
8383
|
+
# the device has been trusted. If you would like MFA to be applied
|
8384
|
+
# selectively based on the assessed risk level of sign in attempts,
|
8385
|
+
# disable MFA for users and turn on Adaptive Authentication for the user
|
8386
|
+
# pool.
|
8216
8387
|
#
|
8217
8388
|
# @note When making an API call, you may pass SoftwareTokenMfaSettingsType
|
8218
8389
|
# data as a hash:
|
@@ -8223,7 +8394,10 @@ module Aws::CognitoIdentityProvider
|
|
8223
8394
|
# }
|
8224
8395
|
#
|
8225
8396
|
# @!attribute [rw] enabled
|
8226
|
-
# Specifies whether software token MFA is enabled.
|
8397
|
+
# Specifies whether software token MFA is enabled. If an MFA type is
|
8398
|
+
# enabled for a user, the user will be prompted for MFA during all
|
8399
|
+
# sign in attempts, unless device tracking is turned on and the device
|
8400
|
+
# has been trusted.
|
8227
8401
|
# @return [Boolean]
|
8228
8402
|
#
|
8229
8403
|
# @!attribute [rw] preferred_mfa
|
@@ -9281,6 +9455,15 @@ module Aws::CognitoIdentityProvider
|
|
9281
9455
|
# verify_auth_challenge_response: "ArnType",
|
9282
9456
|
# pre_token_generation: "ArnType",
|
9283
9457
|
# user_migration: "ArnType",
|
9458
|
+
# custom_sms_sender: {
|
9459
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
9460
|
+
# lambda_arn: "ArnType", # required
|
9461
|
+
# },
|
9462
|
+
# custom_email_sender: {
|
9463
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
9464
|
+
# lambda_arn: "ArnType", # required
|
9465
|
+
# },
|
9466
|
+
# kms_key_id: "ArnType",
|
9284
9467
|
# },
|
9285
9468
|
# auto_verified_attributes: ["phone_number"], # accepts phone_number, email
|
9286
9469
|
# sms_verification_message: "SmsVerificationMessageType",
|
@@ -10347,21 +10530,41 @@ module Aws::CognitoIdentityProvider
|
|
10347
10530
|
# @return [String]
|
10348
10531
|
#
|
10349
10532
|
# @!attribute [rw] email_message
|
10350
|
-
# The email message template.
|
10533
|
+
# The email message template. EmailMessage is allowed only if [
|
10534
|
+
# EmailSendingAccount][1] is DEVELOPER.
|
10535
|
+
#
|
10536
|
+
#
|
10537
|
+
#
|
10538
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
10351
10539
|
# @return [String]
|
10352
10540
|
#
|
10353
10541
|
# @!attribute [rw] email_subject
|
10354
|
-
# The subject line for the email message template.
|
10542
|
+
# The subject line for the email message template. EmailSubject is
|
10543
|
+
# allowed only if [EmailSendingAccount][1] is DEVELOPER.
|
10544
|
+
#
|
10545
|
+
#
|
10546
|
+
#
|
10547
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
10355
10548
|
# @return [String]
|
10356
10549
|
#
|
10357
10550
|
# @!attribute [rw] email_message_by_link
|
10358
10551
|
# The email message template for sending a confirmation link to the
|
10359
|
-
# user.
|
10552
|
+
# user. EmailMessageByLink is allowed only if [
|
10553
|
+
# EmailSendingAccount][1] is DEVELOPER.
|
10554
|
+
#
|
10555
|
+
#
|
10556
|
+
#
|
10557
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
10360
10558
|
# @return [String]
|
10361
10559
|
#
|
10362
10560
|
# @!attribute [rw] email_subject_by_link
|
10363
10561
|
# The subject line for the email message template for sending a
|
10364
|
-
# confirmation link to the user.
|
10562
|
+
# confirmation link to the user. EmailSubjectByLink is allowed only [
|
10563
|
+
# EmailSendingAccount][1] is DEVELOPER.
|
10564
|
+
#
|
10565
|
+
#
|
10566
|
+
#
|
10567
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
10365
10568
|
# @return [String]
|
10366
10569
|
#
|
10367
10570
|
# @!attribute [rw] default_email_option
|
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.48.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: 2020-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|