aws-sdk-cognitoidentityprovider 1.98.0 → 1.99.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: 44de345428766dd1042a0a6d9ca385d70ba2ec48ae00895d13c712a6d0e7dcf3
4
- data.tar.gz: ec43a9dbc42fd4c650168be2a275f08c2b9b31361c5ba39dd1a8c59ad8493f83
3
+ metadata.gz: '0448672142fc86bc27bf133f51cb3f2c8092f71e46e3bfa5e0def970431994ed'
4
+ data.tar.gz: a98d09b88ceb9812faa39cc8b0d7b547a9be39bca7693f3f0cb8a4280133bada
5
5
  SHA512:
6
- metadata.gz: 949a8d9b796c9a508fd400668239b2a7a90881f6a5b24aa3164ffe221d7095d959af8483e81b558bb18e4b14c3882de17a053c911ec017e5032325dd46e621d8
7
- data.tar.gz: 33daa5b016d8cd8e0ed38686dc8ca43780ee3e757f2d107f455a07efc04dc6187606f5a82f436f06fcdd94248e020bfc3c0dac5eee1178ce72db7c64a5eca213
6
+ metadata.gz: bc1ded98828c9bf018c41552b275ec3dd536952c36642b8c315fd03406ebcad1fd60fbc28e002dfc80a284a5d1ead9665dafb59d5e7a86512484abdbe74d7008
7
+ data.tar.gz: 8bad31b166c87eae0beb13997575320162e52ba7f9b44994398a792515172026528a47f38173f04d1fe2cdc12143ad20be5ec11843c50fb80fc75d28875aff33
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.99.0 (2024-08-08)
5
+ ------------------
6
+
7
+ * Feature - Added support for threat protection for custom authentication in Amazon Cognito user pools.
8
+
4
9
  1.98.0 (2024-08-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.99.0
@@ -4730,6 +4730,9 @@ module Aws::CognitoIdentityProvider
4730
4730
  # ],
4731
4731
  # user_pool_add_ons: {
4732
4732
  # advanced_security_mode: "OFF", # required, accepts OFF, AUDIT, ENFORCED
4733
+ # advanced_security_additional_flows: {
4734
+ # custom_auth_mode: "AUDIT", # accepts AUDIT, ENFORCED
4735
+ # },
4733
4736
  # },
4734
4737
  # username_configuration: {
4735
4738
  # case_sensitive: false, # required
@@ -4828,6 +4831,7 @@ module Aws::CognitoIdentityProvider
4828
4831
  # resp.user_pool.admin_create_user_config.invite_message_template.email_message #=> String
4829
4832
  # resp.user_pool.admin_create_user_config.invite_message_template.email_subject #=> String
4830
4833
  # resp.user_pool.user_pool_add_ons.advanced_security_mode #=> String, one of "OFF", "AUDIT", "ENFORCED"
4834
+ # resp.user_pool.user_pool_add_ons.advanced_security_additional_flows.custom_auth_mode #=> String, one of "AUDIT", "ENFORCED"
4831
4835
  # resp.user_pool.username_configuration.case_sensitive #=> Boolean
4832
4836
  # resp.user_pool.arn #=> String
4833
4837
  # resp.user_pool.account_recovery_setting.recovery_mechanisms #=> Array
@@ -6036,6 +6040,7 @@ module Aws::CognitoIdentityProvider
6036
6040
  # resp.user_pool.admin_create_user_config.invite_message_template.email_message #=> String
6037
6041
  # resp.user_pool.admin_create_user_config.invite_message_template.email_subject #=> String
6038
6042
  # resp.user_pool.user_pool_add_ons.advanced_security_mode #=> String, one of "OFF", "AUDIT", "ENFORCED"
6043
+ # resp.user_pool.user_pool_add_ons.advanced_security_additional_flows.custom_auth_mode #=> String, one of "AUDIT", "ENFORCED"
6039
6044
  # resp.user_pool.username_configuration.case_sensitive #=> Boolean
6040
6045
  # resp.user_pool.arn #=> String
6041
6046
  # resp.user_pool.account_recovery_setting.recovery_mechanisms #=> Array
@@ -10139,6 +10144,9 @@ module Aws::CognitoIdentityProvider
10139
10144
  # },
10140
10145
  # user_pool_add_ons: {
10141
10146
  # advanced_security_mode: "OFF", # required, accepts OFF, AUDIT, ENFORCED
10147
+ # advanced_security_additional_flows: {
10148
+ # custom_auth_mode: "AUDIT", # accepts AUDIT, ENFORCED
10149
+ # },
10142
10150
  # },
10143
10151
  # account_recovery_setting: {
10144
10152
  # recovery_mechanisms: [
@@ -10823,7 +10831,7 @@ module Aws::CognitoIdentityProvider
10823
10831
  params: params,
10824
10832
  config: config)
10825
10833
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
10826
- context[:gem_version] = '1.98.0'
10834
+ context[:gem_version] = '1.99.0'
10827
10835
  Seahorse::Client::Request.new(handlers, context)
10828
10836
  end
10829
10837
 
@@ -73,6 +73,8 @@ module Aws::CognitoIdentityProvider
73
73
  AdminUpdateUserAttributesResponse = Shapes::StructureShape.new(name: 'AdminUpdateUserAttributesResponse')
74
74
  AdminUserGlobalSignOutRequest = Shapes::StructureShape.new(name: 'AdminUserGlobalSignOutRequest')
75
75
  AdminUserGlobalSignOutResponse = Shapes::StructureShape.new(name: 'AdminUserGlobalSignOutResponse')
76
+ AdvancedSecurityAdditionalFlowsType = Shapes::StructureShape.new(name: 'AdvancedSecurityAdditionalFlowsType')
77
+ AdvancedSecurityEnabledModeType = Shapes::StringShape.new(name: 'AdvancedSecurityEnabledModeType')
76
78
  AdvancedSecurityModeType = Shapes::StringShape.new(name: 'AdvancedSecurityModeType')
77
79
  AliasAttributeType = Shapes::StringShape.new(name: 'AliasAttributeType')
78
80
  AliasAttributesListType = Shapes::ListShape.new(name: 'AliasAttributesListType')
@@ -740,6 +742,9 @@ module Aws::CognitoIdentityProvider
740
742
 
741
743
  AdminUserGlobalSignOutResponse.struct_class = Types::AdminUserGlobalSignOutResponse
742
744
 
745
+ AdvancedSecurityAdditionalFlowsType.add_member(:custom_auth_mode, Shapes::ShapeRef.new(shape: AdvancedSecurityEnabledModeType, location_name: "CustomAuthMode"))
746
+ AdvancedSecurityAdditionalFlowsType.struct_class = Types::AdvancedSecurityAdditionalFlowsType
747
+
743
748
  AliasAttributesListType.member = Shapes::ShapeRef.new(shape: AliasAttributeType)
744
749
 
745
750
  AliasExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
@@ -1932,6 +1937,7 @@ module Aws::CognitoIdentityProvider
1932
1937
  UserPoolAddOnNotEnabledException.struct_class = Types::UserPoolAddOnNotEnabledException
1933
1938
 
1934
1939
  UserPoolAddOnsType.add_member(:advanced_security_mode, Shapes::ShapeRef.new(shape: AdvancedSecurityModeType, required: true, location_name: "AdvancedSecurityMode"))
1940
+ UserPoolAddOnsType.add_member(:advanced_security_additional_flows, Shapes::ShapeRef.new(shape: AdvancedSecurityAdditionalFlowsType, location_name: "AdvancedSecurityAdditionalFlows"))
1935
1941
  UserPoolAddOnsType.struct_class = Types::UserPoolAddOnsType
1936
1942
 
1937
1943
  UserPoolClientDescription.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
@@ -1961,6 +1961,28 @@ module Aws::CognitoIdentityProvider
1961
1961
  #
1962
1962
  class AdminUserGlobalSignOutResponse < Aws::EmptyStructure; end
1963
1963
 
1964
+ # Advanced security configuration options for additional authentication
1965
+ # types in your user pool, including custom authentication and
1966
+ # refresh-token authentication.
1967
+ #
1968
+ # @!attribute [rw] custom_auth_mode
1969
+ # The operating mode of advanced security features in custom
1970
+ # authentication with [ Custom authentication challenge Lambda
1971
+ # triggers][1].
1972
+ #
1973
+ #
1974
+ #
1975
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-challenge.html
1976
+ # @return [String]
1977
+ #
1978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdvancedSecurityAdditionalFlowsType AWS API Documentation
1979
+ #
1980
+ class AdvancedSecurityAdditionalFlowsType < Struct.new(
1981
+ :custom_auth_mode)
1982
+ SENSITIVE = []
1983
+ include Aws::Structure
1984
+ end
1985
+
1964
1986
  # This exception is thrown when a user tries to confirm the account with
1965
1987
  # an email address or phone number that has already been supplied as an
1966
1988
  # alias for a different user profile. This exception indicates that an
@@ -9838,13 +9860,22 @@ module Aws::CognitoIdentityProvider
9838
9860
  # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
9839
9861
  #
9840
9862
  # @!attribute [rw] advanced_security_mode
9841
- # The operating mode of advanced security features in your user pool.
9863
+ # The operating mode of advanced security features for standard
9864
+ # authentication types in your user pool, including username-password
9865
+ # and secure remote password (SRP) authentication.
9842
9866
  # @return [String]
9843
9867
  #
9868
+ # @!attribute [rw] advanced_security_additional_flows
9869
+ # Advanced security configuration options for additional
9870
+ # authentication types in your user pool, including custom
9871
+ # authentication and refresh-token authentication.
9872
+ # @return [Types::AdvancedSecurityAdditionalFlowsType]
9873
+ #
9844
9874
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolAddOnsType AWS API Documentation
9845
9875
  #
9846
9876
  class UserPoolAddOnsType < Struct.new(
9847
- :advanced_security_mode)
9877
+ :advanced_security_mode,
9878
+ :advanced_security_additional_flows)
9848
9879
  SENSITIVE = []
9849
9880
  include Aws::Structure
9850
9881
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cognitoidentityprovider/customizations'
52
52
  # @!group service
53
53
  module Aws::CognitoIdentityProvider
54
54
 
55
- GEM_VERSION = '1.98.0'
55
+ GEM_VERSION = '1.99.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -727,7 +727,10 @@ module Aws
727
727
  },
728
728
  ],
729
729
  ?user_pool_add_ons: {
730
- advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED")
730
+ advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED"),
731
+ advanced_security_additional_flows: {
732
+ custom_auth_mode: ("AUDIT" | "ENFORCED")?
733
+ }?
731
734
  },
732
735
  ?username_configuration: {
733
736
  case_sensitive: bool
@@ -1691,7 +1694,10 @@ module Aws
1691
1694
  }?
1692
1695
  },
1693
1696
  ?user_pool_add_ons: {
1694
- advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED")
1697
+ advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED"),
1698
+ advanced_security_additional_flows: {
1699
+ custom_auth_mode: ("AUDIT" | "ENFORCED")?
1700
+ }?
1695
1701
  },
1696
1702
  ?account_recovery_setting: {
1697
1703
  recovery_mechanisms: Array[
data/sig/types.rbs CHANGED
@@ -346,6 +346,11 @@ module Aws::CognitoIdentityProvider
346
346
  class AdminUserGlobalSignOutResponse < Aws::EmptyStructure
347
347
  end
348
348
 
349
+ class AdvancedSecurityAdditionalFlowsType
350
+ attr_accessor custom_auth_mode: ("AUDIT" | "ENFORCED")
351
+ SENSITIVE: []
352
+ end
353
+
349
354
  class AliasExistsException
350
355
  attr_accessor message: ::String
351
356
  SENSITIVE: []
@@ -1915,6 +1920,7 @@ module Aws::CognitoIdentityProvider
1915
1920
 
1916
1921
  class UserPoolAddOnsType
1917
1922
  attr_accessor advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED")
1923
+ attr_accessor advanced_security_additional_flows: Types::AdvancedSecurityAdditionalFlowsType
1918
1924
  SENSITIVE: []
1919
1925
  end
1920
1926
 
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.98.0
4
+ version: 1.99.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: 2024-08-06 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core