aws-sdk-cognitoidentityprovider 1.135.0 → 1.136.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d380ce96b154cb4071b9c8171a1d86bcab8f0814dc60aceb4e9cca7677dbff1
4
- data.tar.gz: 07bb5ec7fc3e2590fa0784a82105223a312b8837df2b498a9420b3affde4a363
3
+ metadata.gz: e774d86be446bba76b826238fd783c6ddf721cac39a754b7062c7c7befde96f6
4
+ data.tar.gz: 4e836c85dbfbe6a1fad863ca433ba40d2ba4d9ce595768e10a6304afdc10aaad
5
5
  SHA512:
6
- metadata.gz: f74cb637170587f565379ef18078cd26e810c2d19ded6de3f35d93a21cd06391924870378be7a70f4b2d24db36c27c7c4e4a73f9edb35374e614b986a69f4df4
7
- data.tar.gz: 3389b51c7869b3e39ab6976b81137da832c6e3e77f2f811a732c9c1e8b8531b388dfb5bd8242aeb33954e769fabc7242e3fcaed110a7e7f1278438e5d50b421f
6
+ metadata.gz: 2e28261065c7eb58847694ea2cd6da9b6613b90790d34498d4a66b4c72b4b1b1283ed7c420ec3e3ab2265e8ea8f18ad3b0acb053d3746711579066bbe1d3522e
7
+ data.tar.gz: 0a61b7b2fe484d06dab599a6dc0080664fbe95123389b496d30b4c43fe721700d29ac640903bdcfe0f362701da6c8b4e3bd074ac0c158b64899a05d9e364fb06
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.136.0 (2026-01-28)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for a new lambda trigger to transform federated user attributes during the authentication with external identity providers on Cognito Managed Login.
8
+
4
9
  1.135.0 (2026-01-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.135.0
1
+ 1.136.0
@@ -5042,6 +5042,10 @@ module Aws::CognitoIdentityProvider
5042
5042
  # lambda_version: "V1_0",
5043
5043
  # },
5044
5044
  # define_auth_challenge: "arn:aws:lambda:us-east-1:123456789012:function:MyFunction",
5045
+ # inbound_federation: {
5046
+ # lambda_arn: "arn:aws:lambda:us-east-1:123456789012:function:MyFunction",
5047
+ # lambda_version: "V1_0",
5048
+ # },
5045
5049
  # kms_key_id: "arn:aws:kms:us-east-1:123456789012:key/a6c4f8e2-0c45-47db-925f-87854bc9e357",
5046
5050
  # post_authentication: "arn:aws:lambda:us-east-1:123456789012:function:MyFunction",
5047
5051
  # post_confirmation: "arn:aws:lambda:us-east-1:123456789012:function:MyFunction",
@@ -5165,6 +5169,10 @@ module Aws::CognitoIdentityProvider
5165
5169
  # lambda_version: "V1_0",
5166
5170
  # },
5167
5171
  # define_auth_challenge: "arn:aws:lambda:us-east-1:123456789012:function:MyFunction",
5172
+ # inbound_federation: {
5173
+ # lambda_arn: "arn:aws:lambda:us-east-1:123456789012:function:MyFunction",
5174
+ # lambda_version: "V1_0",
5175
+ # },
5168
5176
  # kms_key_id: "arn:aws:kms:us-east-1:767671399759:key/4d43904c-8edf-4bb4-9fca-fb1a80e41cbe",
5169
5177
  # post_authentication: "arn:aws:lambda:us-east-1:123456789012:function:MyFunction",
5170
5178
  # post_confirmation: "arn:aws:lambda:us-east-1:123456789012:function:MyFunction",
@@ -5486,6 +5494,10 @@ module Aws::CognitoIdentityProvider
5486
5494
  # lambda_arn: "ArnType", # required
5487
5495
  # },
5488
5496
  # kms_key_id: "ArnType",
5497
+ # inbound_federation: {
5498
+ # lambda_version: "V1_0", # required, accepts V1_0
5499
+ # lambda_arn: "ArnType", # required
5500
+ # },
5489
5501
  # },
5490
5502
  # auto_verified_attributes: ["phone_number"], # accepts phone_number, email
5491
5503
  # alias_attributes: ["phone_number"], # accepts phone_number, email, preferred_username
@@ -5602,6 +5614,8 @@ module Aws::CognitoIdentityProvider
5602
5614
  # resp.user_pool.lambda_config.custom_email_sender.lambda_version #=> String, one of "V1_0"
5603
5615
  # resp.user_pool.lambda_config.custom_email_sender.lambda_arn #=> String
5604
5616
  # resp.user_pool.lambda_config.kms_key_id #=> String
5617
+ # resp.user_pool.lambda_config.inbound_federation.lambda_version #=> String, one of "V1_0"
5618
+ # resp.user_pool.lambda_config.inbound_federation.lambda_arn #=> String
5605
5619
  # resp.user_pool.status #=> String, one of "Enabled", "Disabled"
5606
5620
  # resp.user_pool.last_modified_date #=> Time
5607
5621
  # resp.user_pool.creation_date #=> Time
@@ -6733,8 +6747,8 @@ module Aws::CognitoIdentityProvider
6733
6747
  # your Amazon Web Services account. Amazon Cognito retains deleted user
6734
6748
  # pools in an inactive state for 14 days, then begins a cleanup process
6735
6749
  # that fully removes them from Amazon Web Services systems. In case of
6736
- # accidental deletion, contact Amazon Web ServicesSupport within 14 days
6737
- # for restoration assistance.
6750
+ # accidental deletion, contact Amazon Web Services Support within 14
6751
+ # days for restoration assistance.
6738
6752
  #
6739
6753
  # Amazon Cognito begins full deletion of all resources from deleted user
6740
6754
  # pools after 14 days. In the case of large user pools, the cleanup
@@ -7311,6 +7325,8 @@ module Aws::CognitoIdentityProvider
7311
7325
  # resp.user_pool.lambda_config.custom_email_sender.lambda_version #=> String, one of "V1_0"
7312
7326
  # resp.user_pool.lambda_config.custom_email_sender.lambda_arn #=> String
7313
7327
  # resp.user_pool.lambda_config.kms_key_id #=> String
7328
+ # resp.user_pool.lambda_config.inbound_federation.lambda_version #=> String, one of "V1_0"
7329
+ # resp.user_pool.lambda_config.inbound_federation.lambda_arn #=> String
7314
7330
  # resp.user_pool.status #=> String, one of "Enabled", "Disabled"
7315
7331
  # resp.user_pool.last_modified_date #=> Time
7316
7332
  # resp.user_pool.creation_date #=> Time
@@ -9557,6 +9573,8 @@ module Aws::CognitoIdentityProvider
9557
9573
  # resp.user_pools[0].lambda_config.custom_email_sender.lambda_version #=> String, one of "V1_0"
9558
9574
  # resp.user_pools[0].lambda_config.custom_email_sender.lambda_arn #=> String
9559
9575
  # resp.user_pools[0].lambda_config.kms_key_id #=> String
9576
+ # resp.user_pools[0].lambda_config.inbound_federation.lambda_version #=> String, one of "V1_0"
9577
+ # resp.user_pools[0].lambda_config.inbound_federation.lambda_arn #=> String
9560
9578
  # resp.user_pools[0].status #=> String, one of "Enabled", "Disabled"
9561
9579
  # resp.user_pools[0].last_modified_date #=> Time
9562
9580
  # resp.user_pools[0].creation_date #=> Time
@@ -12721,6 +12739,10 @@ module Aws::CognitoIdentityProvider
12721
12739
  # lambda_arn: "ArnType", # required
12722
12740
  # },
12723
12741
  # kms_key_id: "ArnType",
12742
+ # inbound_federation: {
12743
+ # lambda_version: "V1_0", # required, accepts V1_0
12744
+ # lambda_arn: "ArnType", # required
12745
+ # },
12724
12746
  # },
12725
12747
  # auto_verified_attributes: ["phone_number"], # accepts phone_number, email
12726
12748
  # sms_verification_message: "SmsVerificationMessageType",
@@ -13512,7 +13534,7 @@ module Aws::CognitoIdentityProvider
13512
13534
  tracer: tracer
13513
13535
  )
13514
13536
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
13515
- context[:gem_version] = '1.135.0'
13537
+ context[:gem_version] = '1.136.0'
13516
13538
  Seahorse::Client::Request.new(handlers, context)
13517
13539
  end
13518
13540
 
@@ -306,6 +306,8 @@ module Aws::CognitoIdentityProvider
306
306
  IdpIdentifiersListType = Shapes::ListShape.new(name: 'IdpIdentifiersListType')
307
307
  ImageFileType = Shapes::BlobShape.new(name: 'ImageFileType')
308
308
  ImageUrlType = Shapes::StringShape.new(name: 'ImageUrlType')
309
+ InboundFederationLambdaType = Shapes::StructureShape.new(name: 'InboundFederationLambdaType')
310
+ InboundFederationLambdaVersionType = Shapes::StringShape.new(name: 'InboundFederationLambdaVersionType')
309
311
  InitiateAuthRequest = Shapes::StructureShape.new(name: 'InitiateAuthRequest')
310
312
  InitiateAuthResponse = Shapes::StructureShape.new(name: 'InitiateAuthResponse')
311
313
  IntegerType = Shapes::IntegerShape.new(name: 'IntegerType')
@@ -1505,6 +1507,10 @@ module Aws::CognitoIdentityProvider
1505
1507
 
1506
1508
  IdpIdentifiersListType.member = Shapes::ShapeRef.new(shape: IdpIdentifierType)
1507
1509
 
1510
+ InboundFederationLambdaType.add_member(:lambda_version, Shapes::ShapeRef.new(shape: InboundFederationLambdaVersionType, required: true, location_name: "LambdaVersion"))
1511
+ InboundFederationLambdaType.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "LambdaArn"))
1512
+ InboundFederationLambdaType.struct_class = Types::InboundFederationLambdaType
1513
+
1508
1514
  InitiateAuthRequest.add_member(:auth_flow, Shapes::ShapeRef.new(shape: AuthFlowType, required: true, location_name: "AuthFlow"))
1509
1515
  InitiateAuthRequest.add_member(:auth_parameters, Shapes::ShapeRef.new(shape: AuthParametersType, location_name: "AuthParameters"))
1510
1516
  InitiateAuthRequest.add_member(:client_metadata, Shapes::ShapeRef.new(shape: ClientMetadataType, location_name: "ClientMetadata"))
@@ -1563,6 +1569,7 @@ module Aws::CognitoIdentityProvider
1563
1569
  LambdaConfigType.add_member(:custom_sms_sender, Shapes::ShapeRef.new(shape: CustomSMSLambdaVersionConfigType, location_name: "CustomSMSSender"))
1564
1570
  LambdaConfigType.add_member(:custom_email_sender, Shapes::ShapeRef.new(shape: CustomEmailLambdaVersionConfigType, location_name: "CustomEmailSender"))
1565
1571
  LambdaConfigType.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: ArnType, location_name: "KMSKeyID"))
1572
+ LambdaConfigType.add_member(:inbound_federation, Shapes::ShapeRef.new(shape: InboundFederationLambdaType, location_name: "InboundFederation"))
1566
1573
  LambdaConfigType.struct_class = Types::LambdaConfigType
1567
1574
 
1568
1575
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
@@ -7040,6 +7040,31 @@ module Aws::CognitoIdentityProvider
7040
7040
  include Aws::Structure
7041
7041
  end
7042
7042
 
7043
+ # The properties of an inbound federation Lambda trigger.
7044
+ #
7045
+ # @!attribute [rw] lambda_version
7046
+ # The user pool trigger version of the request that Amazon Cognito
7047
+ # sends to your Lambda function. Higher-numbered versions add fields
7048
+ # that support new features.
7049
+ #
7050
+ # You must use a `LambdaVersion` of `V1_0` with an inbound federation
7051
+ # function.
7052
+ # @return [String]
7053
+ #
7054
+ # @!attribute [rw] lambda_arn
7055
+ # The Amazon Resource Name (ARN) of the function that you want to
7056
+ # assign to your Lambda trigger.
7057
+ # @return [String]
7058
+ #
7059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InboundFederationLambdaType AWS API Documentation
7060
+ #
7061
+ class InboundFederationLambdaType < Struct.new(
7062
+ :lambda_version,
7063
+ :lambda_arn)
7064
+ SENSITIVE = []
7065
+ include Aws::Structure
7066
+ end
7067
+
7043
7068
  # Initiates the authentication request.
7044
7069
  #
7045
7070
  # @!attribute [rw] auth_flow
@@ -7697,6 +7722,12 @@ module Aws::CognitoIdentityProvider
7697
7722
  # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys
7698
7723
  # @return [String]
7699
7724
  #
7725
+ # @!attribute [rw] inbound_federation
7726
+ # The configuration of an inbound federation Lambda trigger. This
7727
+ # trigger can transform federated user attributes during the
7728
+ # authentication with external identity providers.
7729
+ # @return [Types::InboundFederationLambdaType]
7730
+ #
7700
7731
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/LambdaConfigType AWS API Documentation
7701
7732
  #
7702
7733
  class LambdaConfigType < Struct.new(
@@ -7713,7 +7744,8 @@ module Aws::CognitoIdentityProvider
7713
7744
  :pre_token_generation_config,
7714
7745
  :custom_sms_sender,
7715
7746
  :custom_email_sender,
7716
- :kms_key_id)
7747
+ :kms_key_id,
7748
+ :inbound_federation)
7717
7749
  SENSITIVE = []
7718
7750
  include Aws::Structure
7719
7751
  end
@@ -54,7 +54,7 @@ module Aws::CognitoIdentityProvider
54
54
  autoload :EndpointProvider, 'aws-sdk-cognitoidentityprovider/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-cognitoidentityprovider/endpoints'
56
56
 
57
- GEM_VERSION = '1.135.0'
57
+ GEM_VERSION = '1.136.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -727,7 +727,11 @@ module Aws
727
727
  lambda_version: ("V1_0"),
728
728
  lambda_arn: ::String
729
729
  }?,
730
- kms_key_id: ::String?
730
+ kms_key_id: ::String?,
731
+ inbound_federation: {
732
+ lambda_version: ("V1_0"),
733
+ lambda_arn: ::String
734
+ }?
731
735
  },
732
736
  ?auto_verified_attributes: Array[("phone_number" | "email")],
733
737
  ?alias_attributes: Array[("phone_number" | "email" | "preferred_username")],
@@ -1902,7 +1906,11 @@ module Aws
1902
1906
  lambda_version: ("V1_0"),
1903
1907
  lambda_arn: ::String
1904
1908
  }?,
1905
- kms_key_id: ::String?
1909
+ kms_key_id: ::String?,
1910
+ inbound_federation: {
1911
+ lambda_version: ("V1_0"),
1912
+ lambda_arn: ::String
1913
+ }?
1906
1914
  },
1907
1915
  ?auto_verified_attributes: Array[("phone_number" | "email")],
1908
1916
  ?sms_verification_message: ::String,
data/sig/types.rbs CHANGED
@@ -1220,6 +1220,12 @@ module Aws::CognitoIdentityProvider
1220
1220
  SENSITIVE: []
1221
1221
  end
1222
1222
 
1223
+ class InboundFederationLambdaType
1224
+ attr_accessor lambda_version: ("V1_0")
1225
+ attr_accessor lambda_arn: ::String
1226
+ SENSITIVE: []
1227
+ end
1228
+
1223
1229
  class InitiateAuthRequest
1224
1230
  attr_accessor auth_flow: ("USER_SRP_AUTH" | "REFRESH_TOKEN_AUTH" | "REFRESH_TOKEN" | "CUSTOM_AUTH" | "ADMIN_NO_SRP_AUTH" | "USER_PASSWORD_AUTH" | "ADMIN_USER_PASSWORD_AUTH" | "USER_AUTH")
1225
1231
  attr_accessor auth_parameters: ::Hash[::String, ::String]
@@ -1301,6 +1307,7 @@ module Aws::CognitoIdentityProvider
1301
1307
  attr_accessor custom_sms_sender: Types::CustomSMSLambdaVersionConfigType
1302
1308
  attr_accessor custom_email_sender: Types::CustomEmailLambdaVersionConfigType
1303
1309
  attr_accessor kms_key_id: ::String
1310
+ attr_accessor inbound_federation: Types::InboundFederationLambdaType
1304
1311
  SENSITIVE: []
1305
1312
  end
1306
1313
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cognitoidentityprovider
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.135.0
4
+ version: 1.136.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services