aws-sdk-cognitoidentityprovider 1.147.0 → 1.148.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +71 -4
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +16 -1
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +146 -11
- data/lib/aws-sdk-cognitoidentityprovider.rb +1 -1
- data/sig/client.rbs +5 -16
- data/sig/params.rbs +17 -0
- data/sig/types.rbs +14 -0
- 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: d8baf80545c66988b5292061a646dd936793b4ecf241ab05dcb7892fd4959cef
|
|
4
|
+
data.tar.gz: 9a687ebd782e428ab54ad5bb1d5ae87b258c05ccb4d5570ed692ff8aeb72fd35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bef190b5d9b7c2ff52450fd9d6075290f3d1049e423aeb5ac45fff99110b3d6de3c0fa0a5492c1b912580191ba106c9cc27eaebd4a669b86ad461c26f37a9a6d
|
|
7
|
+
data.tar.gz: 9d073a1ed2609957964879e32b0e608aeaf434e1d74b9bbbbb9c8e15238161c57f33968374ac86dc9a08f79408c842cef3d857f4ba38eabec5d03427ef2a9ea8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.148.0 (2026-07-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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.
|
|
8
|
+
|
|
4
9
|
1.147.0 (2026-07-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.148.0
|
|
@@ -4703,6 +4703,12 @@ module Aws::CognitoIdentityProvider
|
|
|
4703
4703
|
# results to Amazon CloudWatch Logs. This parameter is the ARN of that
|
|
4704
4704
|
# role.
|
|
4705
4705
|
#
|
|
4706
|
+
# @option params [String] :password_hashing_algorithm
|
|
4707
|
+
# The password hashing algorithm used to generate the hashes in the CSV
|
|
4708
|
+
# file for this import job.
|
|
4709
|
+
#
|
|
4710
|
+
# Valid values: `BCRYPT` \| `SCRYPT` \| `ARGON2ID` \| `PBKDF2_SHA256`
|
|
4711
|
+
#
|
|
4706
4712
|
# @return [Types::CreateUserImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4707
4713
|
#
|
|
4708
4714
|
# * {Types::CreateUserImportJobResponse#user_import_job #user_import_job} => Types::UserImportJobType
|
|
@@ -4713,6 +4719,7 @@ module Aws::CognitoIdentityProvider
|
|
|
4713
4719
|
# job_name: "UserImportJobNameType", # required
|
|
4714
4720
|
# user_pool_id: "UserPoolIdType", # required
|
|
4715
4721
|
# cloud_watch_logs_role_arn: "ArnType", # required
|
|
4722
|
+
# password_hashing_algorithm: "BCRYPT", # accepts BCRYPT, SCRYPT, ARGON2ID, PBKDF2_SHA256
|
|
4716
4723
|
# })
|
|
4717
4724
|
#
|
|
4718
4725
|
# @example Response structure
|
|
@@ -4730,6 +4737,7 @@ module Aws::CognitoIdentityProvider
|
|
|
4730
4737
|
# resp.user_import_job.skipped_users #=> Integer
|
|
4731
4738
|
# resp.user_import_job.failed_users #=> Integer
|
|
4732
4739
|
# resp.user_import_job.completion_message #=> String
|
|
4740
|
+
# resp.user_import_job.password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
4733
4741
|
#
|
|
4734
4742
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob AWS API Documentation
|
|
4735
4743
|
#
|
|
@@ -5560,9 +5568,18 @@ module Aws::CognitoIdentityProvider
|
|
|
5560
5568
|
# configuration_set: "SESConfigurationSet",
|
|
5561
5569
|
# },
|
|
5562
5570
|
# sms_configuration: {
|
|
5563
|
-
# sns_caller_arn: "
|
|
5571
|
+
# sns_caller_arn: "OptionalArnType",
|
|
5564
5572
|
# external_id: "StringType",
|
|
5565
5573
|
# sns_region: "RegionCodeType",
|
|
5574
|
+
# eums_sms: {
|
|
5575
|
+
# caller_arn: "ArnType", # required
|
|
5576
|
+
# external_id: "StringType",
|
|
5577
|
+
# origination_identity: "StringType",
|
|
5578
|
+
# configuration_set_name: "StringType",
|
|
5579
|
+
# in_entity_id: "StringType",
|
|
5580
|
+
# in_template_id: "StringType",
|
|
5581
|
+
# region: "RegionCodeType",
|
|
5582
|
+
# },
|
|
5566
5583
|
# },
|
|
5567
5584
|
# user_pool_tags: {
|
|
5568
5585
|
# "TagKeysType" => "TagValueType",
|
|
@@ -5696,6 +5713,13 @@ module Aws::CognitoIdentityProvider
|
|
|
5696
5713
|
# resp.user_pool.sms_configuration.sns_caller_arn #=> String
|
|
5697
5714
|
# resp.user_pool.sms_configuration.external_id #=> String
|
|
5698
5715
|
# resp.user_pool.sms_configuration.sns_region #=> String
|
|
5716
|
+
# resp.user_pool.sms_configuration.eums_sms.caller_arn #=> String
|
|
5717
|
+
# resp.user_pool.sms_configuration.eums_sms.external_id #=> String
|
|
5718
|
+
# resp.user_pool.sms_configuration.eums_sms.origination_identity #=> String
|
|
5719
|
+
# resp.user_pool.sms_configuration.eums_sms.configuration_set_name #=> String
|
|
5720
|
+
# resp.user_pool.sms_configuration.eums_sms.in_entity_id #=> String
|
|
5721
|
+
# resp.user_pool.sms_configuration.eums_sms.in_template_id #=> String
|
|
5722
|
+
# resp.user_pool.sms_configuration.eums_sms.region #=> String
|
|
5699
5723
|
# resp.user_pool.user_pool_tags #=> Hash
|
|
5700
5724
|
# resp.user_pool.user_pool_tags["TagKeysType"] #=> String
|
|
5701
5725
|
# resp.user_pool.sms_configuration_failure #=> String
|
|
@@ -7503,6 +7527,7 @@ module Aws::CognitoIdentityProvider
|
|
|
7503
7527
|
# resp.user_import_job.skipped_users #=> Integer
|
|
7504
7528
|
# resp.user_import_job.failed_users #=> Integer
|
|
7505
7529
|
# resp.user_import_job.completion_message #=> String
|
|
7530
|
+
# resp.user_import_job.password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
7506
7531
|
#
|
|
7507
7532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob AWS API Documentation
|
|
7508
7533
|
#
|
|
@@ -7624,6 +7649,13 @@ module Aws::CognitoIdentityProvider
|
|
|
7624
7649
|
# resp.user_pool.sms_configuration.sns_caller_arn #=> String
|
|
7625
7650
|
# resp.user_pool.sms_configuration.external_id #=> String
|
|
7626
7651
|
# resp.user_pool.sms_configuration.sns_region #=> String
|
|
7652
|
+
# resp.user_pool.sms_configuration.eums_sms.caller_arn #=> String
|
|
7653
|
+
# resp.user_pool.sms_configuration.eums_sms.external_id #=> String
|
|
7654
|
+
# resp.user_pool.sms_configuration.eums_sms.origination_identity #=> String
|
|
7655
|
+
# resp.user_pool.sms_configuration.eums_sms.configuration_set_name #=> String
|
|
7656
|
+
# resp.user_pool.sms_configuration.eums_sms.in_entity_id #=> String
|
|
7657
|
+
# resp.user_pool.sms_configuration.eums_sms.in_template_id #=> String
|
|
7658
|
+
# resp.user_pool.sms_configuration.eums_sms.region #=> String
|
|
7627
7659
|
# resp.user_pool.user_pool_tags #=> Hash
|
|
7628
7660
|
# resp.user_pool.user_pool_tags["TagKeysType"] #=> String
|
|
7629
7661
|
# resp.user_pool.sms_configuration_failure #=> String
|
|
@@ -8894,6 +8926,13 @@ module Aws::CognitoIdentityProvider
|
|
|
8894
8926
|
# resp.sms_mfa_configuration.sms_configuration.sns_caller_arn #=> String
|
|
8895
8927
|
# resp.sms_mfa_configuration.sms_configuration.external_id #=> String
|
|
8896
8928
|
# resp.sms_mfa_configuration.sms_configuration.sns_region #=> String
|
|
8929
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.caller_arn #=> String
|
|
8930
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.external_id #=> String
|
|
8931
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.origination_identity #=> String
|
|
8932
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.configuration_set_name #=> String
|
|
8933
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.in_entity_id #=> String
|
|
8934
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.in_template_id #=> String
|
|
8935
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.region #=> String
|
|
8897
8936
|
# resp.software_token_mfa_configuration.enabled #=> Boolean
|
|
8898
8937
|
# resp.email_mfa_configuration.message #=> String
|
|
8899
8938
|
# resp.email_mfa_configuration.subject #=> String
|
|
@@ -9767,6 +9806,7 @@ module Aws::CognitoIdentityProvider
|
|
|
9767
9806
|
# resp.user_import_jobs[0].skipped_users #=> Integer
|
|
9768
9807
|
# resp.user_import_jobs[0].failed_users #=> Integer
|
|
9769
9808
|
# resp.user_import_jobs[0].completion_message #=> String
|
|
9809
|
+
# resp.user_import_jobs[0].password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
9770
9810
|
# resp.pagination_token #=> String
|
|
9771
9811
|
#
|
|
9772
9812
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs AWS API Documentation
|
|
@@ -11576,9 +11616,18 @@ module Aws::CognitoIdentityProvider
|
|
|
11576
11616
|
# sms_mfa_configuration: {
|
|
11577
11617
|
# sms_authentication_message: "SmsVerificationMessageType",
|
|
11578
11618
|
# sms_configuration: {
|
|
11579
|
-
# sns_caller_arn: "
|
|
11619
|
+
# sns_caller_arn: "OptionalArnType",
|
|
11580
11620
|
# external_id: "StringType",
|
|
11581
11621
|
# sns_region: "RegionCodeType",
|
|
11622
|
+
# eums_sms: {
|
|
11623
|
+
# caller_arn: "ArnType", # required
|
|
11624
|
+
# external_id: "StringType",
|
|
11625
|
+
# origination_identity: "StringType",
|
|
11626
|
+
# configuration_set_name: "StringType",
|
|
11627
|
+
# in_entity_id: "StringType",
|
|
11628
|
+
# in_template_id: "StringType",
|
|
11629
|
+
# region: "RegionCodeType",
|
|
11630
|
+
# },
|
|
11582
11631
|
# },
|
|
11583
11632
|
# },
|
|
11584
11633
|
# software_token_mfa_configuration: {
|
|
@@ -11602,6 +11651,13 @@ module Aws::CognitoIdentityProvider
|
|
|
11602
11651
|
# resp.sms_mfa_configuration.sms_configuration.sns_caller_arn #=> String
|
|
11603
11652
|
# resp.sms_mfa_configuration.sms_configuration.external_id #=> String
|
|
11604
11653
|
# resp.sms_mfa_configuration.sms_configuration.sns_region #=> String
|
|
11654
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.caller_arn #=> String
|
|
11655
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.external_id #=> String
|
|
11656
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.origination_identity #=> String
|
|
11657
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.configuration_set_name #=> String
|
|
11658
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.in_entity_id #=> String
|
|
11659
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.in_template_id #=> String
|
|
11660
|
+
# resp.sms_mfa_configuration.sms_configuration.eums_sms.region #=> String
|
|
11605
11661
|
# resp.software_token_mfa_configuration.enabled #=> Boolean
|
|
11606
11662
|
# resp.email_mfa_configuration.message #=> String
|
|
11607
11663
|
# resp.email_mfa_configuration.subject #=> String
|
|
@@ -11922,6 +11978,7 @@ module Aws::CognitoIdentityProvider
|
|
|
11922
11978
|
# resp.user_import_job.skipped_users #=> Integer
|
|
11923
11979
|
# resp.user_import_job.failed_users #=> Integer
|
|
11924
11980
|
# resp.user_import_job.completion_message #=> String
|
|
11981
|
+
# resp.user_import_job.password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
11925
11982
|
#
|
|
11926
11983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob AWS API Documentation
|
|
11927
11984
|
#
|
|
@@ -12010,6 +12067,7 @@ module Aws::CognitoIdentityProvider
|
|
|
12010
12067
|
# resp.user_import_job.skipped_users #=> Integer
|
|
12011
12068
|
# resp.user_import_job.failed_users #=> Integer
|
|
12012
12069
|
# resp.user_import_job.completion_message #=> String
|
|
12070
|
+
# resp.user_import_job.password_hashing_algorithm #=> String, one of "BCRYPT", "SCRYPT", "ARGON2ID", "PBKDF2_SHA256"
|
|
12013
12071
|
#
|
|
12014
12072
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob AWS API Documentation
|
|
12015
12073
|
#
|
|
@@ -13393,9 +13451,18 @@ module Aws::CognitoIdentityProvider
|
|
|
13393
13451
|
# configuration_set: "SESConfigurationSet",
|
|
13394
13452
|
# },
|
|
13395
13453
|
# sms_configuration: {
|
|
13396
|
-
# sns_caller_arn: "
|
|
13454
|
+
# sns_caller_arn: "OptionalArnType",
|
|
13397
13455
|
# external_id: "StringType",
|
|
13398
13456
|
# sns_region: "RegionCodeType",
|
|
13457
|
+
# eums_sms: {
|
|
13458
|
+
# caller_arn: "ArnType", # required
|
|
13459
|
+
# external_id: "StringType",
|
|
13460
|
+
# origination_identity: "StringType",
|
|
13461
|
+
# configuration_set_name: "StringType",
|
|
13462
|
+
# in_entity_id: "StringType",
|
|
13463
|
+
# in_template_id: "StringType",
|
|
13464
|
+
# region: "RegionCodeType",
|
|
13465
|
+
# },
|
|
13399
13466
|
# },
|
|
13400
13467
|
# user_pool_tags: {
|
|
13401
13468
|
# "TagKeysType" => "TagValueType",
|
|
@@ -14256,7 +14323,7 @@ module Aws::CognitoIdentityProvider
|
|
|
14256
14323
|
tracer: tracer
|
|
14257
14324
|
)
|
|
14258
14325
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
|
14259
|
-
context[:gem_version] = '1.
|
|
14326
|
+
context[:gem_version] = '1.148.0'
|
|
14260
14327
|
Seahorse::Client::Request.new(handlers, context)
|
|
14261
14328
|
end
|
|
14262
14329
|
|
|
@@ -258,6 +258,7 @@ module Aws::CognitoIdentityProvider
|
|
|
258
258
|
EnableSoftwareTokenMFAException = Shapes::StructureShape.new(name: 'EnableSoftwareTokenMFAException')
|
|
259
259
|
EncryptionKeyArnType = Shapes::StringShape.new(name: 'EncryptionKeyArnType')
|
|
260
260
|
EncryptionKeyType = Shapes::StringShape.new(name: 'EncryptionKeyType')
|
|
261
|
+
EumsSmsConfigurationType = Shapes::StructureShape.new(name: 'EumsSmsConfigurationType')
|
|
261
262
|
EventContextDataType = Shapes::StructureShape.new(name: 'EventContextDataType')
|
|
262
263
|
EventFeedbackType = Shapes::StructureShape.new(name: 'EventFeedbackType')
|
|
263
264
|
EventFilterType = Shapes::StringShape.new(name: 'EventFilterType')
|
|
@@ -406,8 +407,10 @@ module Aws::CognitoIdentityProvider
|
|
|
406
407
|
OAuthFlowType = Shapes::StringShape.new(name: 'OAuthFlowType')
|
|
407
408
|
OAuthFlowsType = Shapes::ListShape.new(name: 'OAuthFlowsType')
|
|
408
409
|
OperationNotEnabledException = Shapes::StructureShape.new(name: 'OperationNotEnabledException')
|
|
410
|
+
OptionalArnType = Shapes::StringShape.new(name: 'OptionalArnType')
|
|
409
411
|
PaginationKey = Shapes::StringShape.new(name: 'PaginationKey')
|
|
410
412
|
PaginationKeyType = Shapes::StringShape.new(name: 'PaginationKeyType')
|
|
413
|
+
PasswordHashingAlgorithmType = Shapes::StringShape.new(name: 'PasswordHashingAlgorithmType')
|
|
411
414
|
PasswordHistoryPolicyViolationException = Shapes::StructureShape.new(name: 'PasswordHistoryPolicyViolationException')
|
|
412
415
|
PasswordHistorySizeType = Shapes::IntegerShape.new(name: 'PasswordHistorySizeType')
|
|
413
416
|
PasswordPolicyMinLengthType = Shapes::IntegerShape.new(name: 'PasswordPolicyMinLengthType')
|
|
@@ -1137,6 +1140,7 @@ module Aws::CognitoIdentityProvider
|
|
|
1137
1140
|
CreateUserImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: UserImportJobNameType, required: true, location_name: "JobName"))
|
|
1138
1141
|
CreateUserImportJobRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
1139
1142
|
CreateUserImportJobRequest.add_member(:cloud_watch_logs_role_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "CloudWatchLogsRoleArn"))
|
|
1143
|
+
CreateUserImportJobRequest.add_member(:password_hashing_algorithm, Shapes::ShapeRef.new(shape: PasswordHashingAlgorithmType, location_name: "PasswordHashingAlgorithm"))
|
|
1140
1144
|
CreateUserImportJobRequest.struct_class = Types::CreateUserImportJobRequest
|
|
1141
1145
|
|
|
1142
1146
|
CreateUserImportJobResponse.add_member(:user_import_job, Shapes::ShapeRef.new(shape: UserImportJobType, location_name: "UserImportJob"))
|
|
@@ -1423,6 +1427,15 @@ module Aws::CognitoIdentityProvider
|
|
|
1423
1427
|
EnableSoftwareTokenMFAException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
|
|
1424
1428
|
EnableSoftwareTokenMFAException.struct_class = Types::EnableSoftwareTokenMFAException
|
|
1425
1429
|
|
|
1430
|
+
EumsSmsConfigurationType.add_member(:caller_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "CallerArn"))
|
|
1431
|
+
EumsSmsConfigurationType.add_member(:external_id, Shapes::ShapeRef.new(shape: StringType, location_name: "ExternalId"))
|
|
1432
|
+
EumsSmsConfigurationType.add_member(:origination_identity, Shapes::ShapeRef.new(shape: StringType, location_name: "OriginationIdentity"))
|
|
1433
|
+
EumsSmsConfigurationType.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: StringType, location_name: "ConfigurationSetName"))
|
|
1434
|
+
EumsSmsConfigurationType.add_member(:in_entity_id, Shapes::ShapeRef.new(shape: StringType, location_name: "InEntityId"))
|
|
1435
|
+
EumsSmsConfigurationType.add_member(:in_template_id, Shapes::ShapeRef.new(shape: StringType, location_name: "InTemplateId"))
|
|
1436
|
+
EumsSmsConfigurationType.add_member(:region, Shapes::ShapeRef.new(shape: RegionCodeType, location_name: "Region"))
|
|
1437
|
+
EumsSmsConfigurationType.struct_class = Types::EumsSmsConfigurationType
|
|
1438
|
+
|
|
1426
1439
|
EventContextDataType.add_member(:ip_address, Shapes::ShapeRef.new(shape: StringType, location_name: "IpAddress"))
|
|
1427
1440
|
EventContextDataType.add_member(:device_name, Shapes::ShapeRef.new(shape: StringType, location_name: "DeviceName"))
|
|
1428
1441
|
EventContextDataType.add_member(:timezone, Shapes::ShapeRef.new(shape: StringType, location_name: "Timezone"))
|
|
@@ -2122,9 +2135,10 @@ module Aws::CognitoIdentityProvider
|
|
|
2122
2135
|
|
|
2123
2136
|
SkippedIPRangeListType.member = Shapes::ShapeRef.new(shape: StringType)
|
|
2124
2137
|
|
|
2125
|
-
SmsConfigurationType.add_member(:sns_caller_arn, Shapes::ShapeRef.new(shape:
|
|
2138
|
+
SmsConfigurationType.add_member(:sns_caller_arn, Shapes::ShapeRef.new(shape: OptionalArnType, location_name: "SnsCallerArn"))
|
|
2126
2139
|
SmsConfigurationType.add_member(:external_id, Shapes::ShapeRef.new(shape: StringType, location_name: "ExternalId"))
|
|
2127
2140
|
SmsConfigurationType.add_member(:sns_region, Shapes::ShapeRef.new(shape: RegionCodeType, location_name: "SnsRegion"))
|
|
2141
|
+
SmsConfigurationType.add_member(:eums_sms, Shapes::ShapeRef.new(shape: EumsSmsConfigurationType, location_name: "EumsSms"))
|
|
2128
2142
|
SmsConfigurationType.struct_class = Types::SmsConfigurationType
|
|
2129
2143
|
|
|
2130
2144
|
SmsMfaConfigType.add_member(:sms_authentication_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsAuthenticationMessage"))
|
|
@@ -2425,6 +2439,7 @@ module Aws::CognitoIdentityProvider
|
|
|
2425
2439
|
UserImportJobType.add_member(:skipped_users, Shapes::ShapeRef.new(shape: LongType, location_name: "SkippedUsers"))
|
|
2426
2440
|
UserImportJobType.add_member(:failed_users, Shapes::ShapeRef.new(shape: LongType, location_name: "FailedUsers"))
|
|
2427
2441
|
UserImportJobType.add_member(:completion_message, Shapes::ShapeRef.new(shape: CompletionMessageType, location_name: "CompletionMessage"))
|
|
2442
|
+
UserImportJobType.add_member(:password_hashing_algorithm, Shapes::ShapeRef.new(shape: PasswordHashingAlgorithmType, location_name: "PasswordHashingAlgorithm"))
|
|
2428
2443
|
UserImportJobType.struct_class = Types::UserImportJobType
|
|
2429
2444
|
|
|
2430
2445
|
UserImportJobsListType.member = Shapes::ShapeRef.new(shape: UserImportJobType)
|
|
@@ -4052,12 +4052,20 @@ module Aws::CognitoIdentityProvider
|
|
|
4052
4052
|
# role.
|
|
4053
4053
|
# @return [String]
|
|
4054
4054
|
#
|
|
4055
|
+
# @!attribute [rw] password_hashing_algorithm
|
|
4056
|
+
# The password hashing algorithm used to generate the hashes in the
|
|
4057
|
+
# CSV file for this import job.
|
|
4058
|
+
#
|
|
4059
|
+
# Valid values: `BCRYPT` \| `SCRYPT` \| `ARGON2ID` \| `PBKDF2_SHA256`
|
|
4060
|
+
# @return [String]
|
|
4061
|
+
#
|
|
4055
4062
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobRequest AWS API Documentation
|
|
4056
4063
|
#
|
|
4057
4064
|
class CreateUserImportJobRequest < Struct.new(
|
|
4058
4065
|
:job_name,
|
|
4059
4066
|
:user_pool_id,
|
|
4060
|
-
:cloud_watch_logs_role_arn
|
|
4067
|
+
:cloud_watch_logs_role_arn,
|
|
4068
|
+
:password_hashing_algorithm)
|
|
4061
4069
|
SENSITIVE = []
|
|
4062
4070
|
include Aws::Structure
|
|
4063
4071
|
end
|
|
@@ -4962,17 +4970,33 @@ module Aws::CognitoIdentityProvider
|
|
|
4962
4970
|
#
|
|
4963
4971
|
# @!attribute [rw] security_policy
|
|
4964
4972
|
# The security policy for the custom domain. Defines the minimum TLS
|
|
4965
|
-
# version and cipher suites that CloudFront
|
|
4966
|
-
# with
|
|
4973
|
+
# version and cipher suites that Amazon CloudFront supports when
|
|
4974
|
+
# communicating with clients. For specific guidance, see [Supported
|
|
4975
|
+
# protocols and ciphers between viewers and CloudFront][1]. Valid
|
|
4976
|
+
# values are as follows:
|
|
4977
|
+
#
|
|
4978
|
+
# * `TLS_V1_3_2025` (strictest): A post-quantum-ready policy requiring
|
|
4979
|
+
# TLS 1.3. It provides the strongest security posture and is ideal
|
|
4980
|
+
# for workloads where all clients and browsers are updated to the
|
|
4981
|
+
# latest versions. [Supported protocols and ciphers for
|
|
4982
|
+
# TLSv1.3\_2025][1].
|
|
4983
|
+
#
|
|
4984
|
+
# * `TLS_V1_2_2021` (recommended): A post-quantum-ready policy which
|
|
4985
|
+
# prefers TLS 1.3 but allows fallback to TLS 1.2 to accommodate
|
|
4986
|
+
# older clients. It is the recommended minimum for typical
|
|
4987
|
+
# commercial-grade consumer applications. [Supported protocols and
|
|
4988
|
+
# ciphers for TLSv1.2\_2021][1].
|
|
4967
4989
|
#
|
|
4968
|
-
# * `TLS_V1
|
|
4969
|
-
# compatibility
|
|
4990
|
+
# * `TLS_V1` (strongly discouraged): Permits fallback to TLS 1.0. It
|
|
4991
|
+
# offers the broadest compatibility, including support for legacy
|
|
4992
|
+
# clients that are more than a decade old. This compatibility comes
|
|
4993
|
+
# at the expense of allowing TLS versions and cryptographic
|
|
4994
|
+
# algorithms that are no longer considered safe for commercial use.
|
|
4995
|
+
# [Supported protocols and ciphers for TLSv1][1].
|
|
4970
4996
|
#
|
|
4971
|
-
# * `TLS_V1_2_2021`: Supports TLS 1.2 and later with 2021 cipher
|
|
4972
|
-
# suites. Recommended minimum for most use cases.
|
|
4973
4997
|
#
|
|
4974
|
-
#
|
|
4975
|
-
#
|
|
4998
|
+
#
|
|
4999
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html
|
|
4976
5000
|
# @return [String]
|
|
4977
5001
|
#
|
|
4978
5002
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CustomDomainConfigType AWS API Documentation
|
|
@@ -6082,6 +6106,99 @@ module Aws::CognitoIdentityProvider
|
|
|
6082
6106
|
include Aws::Structure
|
|
6083
6107
|
end
|
|
6084
6108
|
|
|
6109
|
+
# The configuration that Amazon Cognito uses to send SMS messages
|
|
6110
|
+
# through Amazon Web Services End User Messaging SMS. Provide this
|
|
6111
|
+
# structure in the `EumsSms` member of `SmsConfigurationType` to use
|
|
6112
|
+
# Amazon Web Services End User Messaging SMS instead of Amazon SNS.
|
|
6113
|
+
#
|
|
6114
|
+
# @!attribute [rw] caller_arn
|
|
6115
|
+
# The ARN of the IAM role that Amazon Cognito assumes to send SMS
|
|
6116
|
+
# messages through Amazon Web Services End User Messaging SMS. The
|
|
6117
|
+
# role must grant permission to call the `sms-voice:SendTextMessage`
|
|
6118
|
+
# operation.
|
|
6119
|
+
# @return [String]
|
|
6120
|
+
#
|
|
6121
|
+
# @!attribute [rw] external_id
|
|
6122
|
+
# The external ID that Amazon Cognito includes when it assumes the
|
|
6123
|
+
# `CallerArn` role. Use this value as a condition in the role trust
|
|
6124
|
+
# policy to prevent the confused deputy problem.
|
|
6125
|
+
# @return [String]
|
|
6126
|
+
#
|
|
6127
|
+
# @!attribute [rw] origination_identity
|
|
6128
|
+
# The origination identity that Amazon Web Services End User Messaging
|
|
6129
|
+
# SMS uses to send messages to your users. This value can be one of
|
|
6130
|
+
# the following:
|
|
6131
|
+
#
|
|
6132
|
+
# * A phone number – A long code, toll-free number, or short code that
|
|
6133
|
+
# is assigned to your account.
|
|
6134
|
+
#
|
|
6135
|
+
# * A sender ID – An alphabetic name that identifies the message
|
|
6136
|
+
# sender in supported countries.
|
|
6137
|
+
#
|
|
6138
|
+
# * A phone pool – A group of phone numbers that Amazon Web Services
|
|
6139
|
+
# End User Messaging SMS selects from when it sends messages.
|
|
6140
|
+
#
|
|
6141
|
+
# You can provide an E.164 phone number or the ARN of the phone
|
|
6142
|
+
# number, sender ID, or phone pool. Amazon Web Services End User
|
|
6143
|
+
# Messaging SMS evaluates IAM authorization with the value that you
|
|
6144
|
+
# provide. If the permissions policy of your `CallerArn` role scopes
|
|
6145
|
+
# the `sms-voice:SendTextMessage` resource to a specific ARN, provide
|
|
6146
|
+
# that same ARN. If the formats do not match, requests fail with an
|
|
6147
|
+
# `InvalidSmsRoleAccessPolicyException`.
|
|
6148
|
+
#
|
|
6149
|
+
# Depending on the destination country, you must provide an
|
|
6150
|
+
# origination identity. For country-specific requirements, see
|
|
6151
|
+
# [Supported countries and regions for SMS messaging][1] in the Amazon
|
|
6152
|
+
# Web Services End User Messaging SMS User Guide.
|
|
6153
|
+
#
|
|
6154
|
+
#
|
|
6155
|
+
#
|
|
6156
|
+
# [1]: https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html
|
|
6157
|
+
# @return [String]
|
|
6158
|
+
#
|
|
6159
|
+
# @!attribute [rw] configuration_set_name
|
|
6160
|
+
# The name of the Amazon Web Services End User Messaging SMS
|
|
6161
|
+
# configuration set that Amazon Cognito applies to messages, for
|
|
6162
|
+
# logging and event destinations. If you omit this member, Amazon
|
|
6163
|
+
# Cognito sends messages without applying a configuration set.
|
|
6164
|
+
# @return [String]
|
|
6165
|
+
#
|
|
6166
|
+
# @!attribute [rw] in_entity_id
|
|
6167
|
+
# The principal entity ID required by India's Distributed Ledger
|
|
6168
|
+
# Technology (DLT) regulations for SMS messages.
|
|
6169
|
+
# @return [String]
|
|
6170
|
+
#
|
|
6171
|
+
# @!attribute [rw] in_template_id
|
|
6172
|
+
# The registered template ID for the message template required by
|
|
6173
|
+
# India's DLT regulations for SMS messages.
|
|
6174
|
+
# @return [String]
|
|
6175
|
+
#
|
|
6176
|
+
# @!attribute [rw] region
|
|
6177
|
+
# The Amazon Web Services Region of the Amazon Web Services End User
|
|
6178
|
+
# Messaging SMS resources that Amazon Cognito uses to send messages.
|
|
6179
|
+
# Amazon Web Services End User Messaging SMS must be available in your
|
|
6180
|
+
# user pool's Region.
|
|
6181
|
+
#
|
|
6182
|
+
# If you omit this parameter, Amazon Cognito uses the same Region as
|
|
6183
|
+
# your user pool. You can also set this parameter to your user pool's
|
|
6184
|
+
# Region explicitly. Amazon Cognito rejects any other value with an
|
|
6185
|
+
# `InvalidParameterException`.
|
|
6186
|
+
# @return [String]
|
|
6187
|
+
#
|
|
6188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EumsSmsConfigurationType AWS API Documentation
|
|
6189
|
+
#
|
|
6190
|
+
class EumsSmsConfigurationType < Struct.new(
|
|
6191
|
+
:caller_arn,
|
|
6192
|
+
:external_id,
|
|
6193
|
+
:origination_identity,
|
|
6194
|
+
:configuration_set_name,
|
|
6195
|
+
:in_entity_id,
|
|
6196
|
+
:in_template_id,
|
|
6197
|
+
:region)
|
|
6198
|
+
SENSITIVE = []
|
|
6199
|
+
include Aws::Structure
|
|
6200
|
+
end
|
|
6201
|
+
|
|
6085
6202
|
# The context data that your application submitted in an authentication
|
|
6086
6203
|
# request with threat protection, as displayed in an
|
|
6087
6204
|
# `AdminListUserAuthEvents` response.
|
|
@@ -11212,12 +11329,22 @@ module Aws::CognitoIdentityProvider
|
|
|
11212
11329
|
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html
|
|
11213
11330
|
# @return [String]
|
|
11214
11331
|
#
|
|
11332
|
+
# @!attribute [rw] eums_sms
|
|
11333
|
+
# The configuration for sending SMS messages through Amazon Web
|
|
11334
|
+
# Services End User Messaging SMS, as an alternative to Amazon SNS. In
|
|
11335
|
+
# a user pool, provide either the Amazon SNS configuration
|
|
11336
|
+
# (`SnsCallerArn`) or this configuration, but not both. In Amazon Web
|
|
11337
|
+
# Services Regions where Amazon SNS is not available, this
|
|
11338
|
+
# configuration is required.
|
|
11339
|
+
# @return [Types::EumsSmsConfigurationType]
|
|
11340
|
+
#
|
|
11215
11341
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SmsConfigurationType AWS API Documentation
|
|
11216
11342
|
#
|
|
11217
11343
|
class SmsConfigurationType < Struct.new(
|
|
11218
11344
|
:sns_caller_arn,
|
|
11219
11345
|
:external_id,
|
|
11220
|
-
:sns_region
|
|
11346
|
+
:sns_region,
|
|
11347
|
+
:eums_sms)
|
|
11221
11348
|
SENSITIVE = []
|
|
11222
11349
|
include Aws::Structure
|
|
11223
11350
|
end
|
|
@@ -13418,6 +13545,13 @@ module Aws::CognitoIdentityProvider
|
|
|
13418
13545
|
# The message returned when the user import job is completed.
|
|
13419
13546
|
# @return [String]
|
|
13420
13547
|
#
|
|
13548
|
+
# @!attribute [rw] password_hashing_algorithm
|
|
13549
|
+
# The password hashing algorithm used to generate the hashes in the
|
|
13550
|
+
# CSV file for this import job.
|
|
13551
|
+
#
|
|
13552
|
+
# Valid values: `BCRYPT` \| `SCRYPT` \| `ARGON2ID` \| `PBKDF2_SHA256`
|
|
13553
|
+
# @return [String]
|
|
13554
|
+
#
|
|
13421
13555
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserImportJobType AWS API Documentation
|
|
13422
13556
|
#
|
|
13423
13557
|
class UserImportJobType < Struct.new(
|
|
@@ -13433,7 +13567,8 @@ module Aws::CognitoIdentityProvider
|
|
|
13433
13567
|
:imported_users,
|
|
13434
13568
|
:skipped_users,
|
|
13435
13569
|
:failed_users,
|
|
13436
|
-
:completion_message
|
|
13570
|
+
:completion_message,
|
|
13571
|
+
:password_hashing_algorithm)
|
|
13437
13572
|
SENSITIVE = []
|
|
13438
13573
|
include Aws::Structure
|
|
13439
13574
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -657,7 +657,8 @@ module Aws
|
|
|
657
657
|
def create_user_import_job: (
|
|
658
658
|
job_name: ::String,
|
|
659
659
|
user_pool_id: ::String,
|
|
660
|
-
cloud_watch_logs_role_arn: ::String
|
|
660
|
+
cloud_watch_logs_role_arn: ::String,
|
|
661
|
+
?password_hashing_algorithm: ("BCRYPT" | "SCRYPT" | "ARGON2ID" | "PBKDF2_SHA256")
|
|
661
662
|
) -> _CreateUserImportJobResponseSuccess
|
|
662
663
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserImportJobResponseSuccess
|
|
663
664
|
|
|
@@ -694,11 +695,7 @@ module Aws
|
|
|
694
695
|
from: ::String?,
|
|
695
696
|
configuration_set: ::String?
|
|
696
697
|
},
|
|
697
|
-
?sms_configuration:
|
|
698
|
-
sns_caller_arn: ::String,
|
|
699
|
-
external_id: ::String?,
|
|
700
|
-
sns_region: ::String?
|
|
701
|
-
},
|
|
698
|
+
?sms_configuration: Params::sms_configuration_type,
|
|
702
699
|
?user_pool_tags: Hash[::String, ::String],
|
|
703
700
|
?admin_create_user_config: Params::admin_create_user_config_type,
|
|
704
701
|
?schema: Array[
|
|
@@ -1613,11 +1610,7 @@ module Aws
|
|
|
1613
1610
|
user_pool_id: ::String,
|
|
1614
1611
|
?sms_mfa_configuration: {
|
|
1615
1612
|
sms_authentication_message: ::String?,
|
|
1616
|
-
sms_configuration:
|
|
1617
|
-
sns_caller_arn: ::String,
|
|
1618
|
-
external_id: ::String?,
|
|
1619
|
-
sns_region: ::String?
|
|
1620
|
-
}?
|
|
1613
|
+
sms_configuration: Params::sms_configuration_type?
|
|
1621
1614
|
},
|
|
1622
1615
|
?software_token_mfa_configuration: {
|
|
1623
1616
|
enabled: bool?
|
|
@@ -1907,11 +1900,7 @@ module Aws
|
|
|
1907
1900
|
from: ::String?,
|
|
1908
1901
|
configuration_set: ::String?
|
|
1909
1902
|
},
|
|
1910
|
-
?sms_configuration:
|
|
1911
|
-
sns_caller_arn: ::String,
|
|
1912
|
-
external_id: ::String?,
|
|
1913
|
-
sns_region: ::String?
|
|
1914
|
-
},
|
|
1903
|
+
?sms_configuration: Params::sms_configuration_type,
|
|
1915
1904
|
?user_pool_tags: Hash[::String, ::String],
|
|
1916
1905
|
?admin_create_user_config: Params::admin_create_user_config_type,
|
|
1917
1906
|
?user_pool_add_ons: {
|
data/sig/params.rbs
CHANGED
|
@@ -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
|
@@ -640,6 +640,7 @@ module Aws::CognitoIdentityProvider
|
|
|
640
640
|
attr_accessor job_name: ::String
|
|
641
641
|
attr_accessor user_pool_id: ::String
|
|
642
642
|
attr_accessor cloud_watch_logs_role_arn: ::String
|
|
643
|
+
attr_accessor password_hashing_algorithm: ("BCRYPT" | "SCRYPT" | "ARGON2ID" | "PBKDF2_SHA256")
|
|
643
644
|
SENSITIVE: []
|
|
644
645
|
end
|
|
645
646
|
|
|
@@ -1037,6 +1038,17 @@ module Aws::CognitoIdentityProvider
|
|
|
1037
1038
|
SENSITIVE: []
|
|
1038
1039
|
end
|
|
1039
1040
|
|
|
1041
|
+
class EumsSmsConfigurationType
|
|
1042
|
+
attr_accessor caller_arn: ::String
|
|
1043
|
+
attr_accessor external_id: ::String
|
|
1044
|
+
attr_accessor origination_identity: ::String
|
|
1045
|
+
attr_accessor configuration_set_name: ::String
|
|
1046
|
+
attr_accessor in_entity_id: ::String
|
|
1047
|
+
attr_accessor in_template_id: ::String
|
|
1048
|
+
attr_accessor region: ::String
|
|
1049
|
+
SENSITIVE: []
|
|
1050
|
+
end
|
|
1051
|
+
|
|
1040
1052
|
class EventContextDataType
|
|
1041
1053
|
attr_accessor ip_address: ::String
|
|
1042
1054
|
attr_accessor device_name: ::String
|
|
@@ -1982,6 +1994,7 @@ module Aws::CognitoIdentityProvider
|
|
|
1982
1994
|
attr_accessor sns_caller_arn: ::String
|
|
1983
1995
|
attr_accessor external_id: ::String
|
|
1984
1996
|
attr_accessor sns_region: ::String
|
|
1997
|
+
attr_accessor eums_sms: Types::EumsSmsConfigurationType
|
|
1985
1998
|
SENSITIVE: []
|
|
1986
1999
|
end
|
|
1987
2000
|
|
|
@@ -2388,6 +2401,7 @@ module Aws::CognitoIdentityProvider
|
|
|
2388
2401
|
attr_accessor skipped_users: ::Integer
|
|
2389
2402
|
attr_accessor failed_users: ::Integer
|
|
2390
2403
|
attr_accessor completion_message: ::String
|
|
2404
|
+
attr_accessor password_hashing_algorithm: ("BCRYPT" | "SCRYPT" | "ARGON2ID" | "PBKDF2_SHA256")
|
|
2391
2405
|
SENSITIVE: []
|
|
2392
2406
|
end
|
|
2393
2407
|
|