aws-sdk-cognitoidentityprovider 1.33.0 → 1.34.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
- SHA1:
3
- metadata.gz: 124330bce8f041acf8a3235a1adbf59654874562
4
- data.tar.gz: 6b89b4e9a36daa2d30ef76340044bc29f792b245
2
+ SHA256:
3
+ metadata.gz: 2fc79e95d08ac03e27da55a668a96c3e6e8a174973215737f1905ea9a96b34b0
4
+ data.tar.gz: 2236ad988828a58c1ad15e9a76b72e67b43c9338079d66bc3010c553e175e200
5
5
  SHA512:
6
- metadata.gz: '00846ce13c2f509a9dcbc458683ca087607a0be9ced9f5587e4bdb89ce0fc3437ea44524a622b9b32186b29d8335211aaad8868b1df3b1170c02051edd214441'
7
- data.tar.gz: 98b791025d4ba9b36370107ce1d9e655a9eb2ab58d81f66ac3d93cf75c15ec82bfee00b01483ffdf802259afc1a333e691a9b7f053cbbb02c597fc3563b5b463
6
+ metadata.gz: 65b8eb886fb1051afc1588e7acd14ddca1e31af02fab7c464b51da0971ad835e28faf7ff1b04746727a0f584d8b258e5b6e97bdd1f614861c44585bb0b1545fd
7
+ data.tar.gz: 2f779bd87285c5c0d8e387c203c35196d24a07961280d85bc72e8a1b52cc865fa6e2b1045a26305c8c7a9d21d7916be24b85132c5ece40d216d8c91a9d7d1f74
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-cognitoidentityprovider/customizations'
45
45
  # @service
46
46
  module Aws::CognitoIdentityProvider
47
47
 
48
- GEM_VERSION = '1.33.0'
48
+ GEM_VERSION = '1.34.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:cognitoidentityprovider)
32
32
  module Aws::CognitoIdentityProvider
33
33
  # An API client for CognitoIdentityProvider. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::CognitoIdentityProvider::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::CognitoIdentityProvider::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::CognitoIdentityProvider
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -1419,6 +1423,7 @@ module Aws::CognitoIdentityProvider
1419
1423
  # resp.auth_events[0].event_response #=> String, one of "Success", "Failure"
1420
1424
  # resp.auth_events[0].event_risk.risk_decision #=> String, one of "NoRisk", "AccountTakeover", "Block"
1421
1425
  # resp.auth_events[0].event_risk.risk_level #=> String, one of "Low", "Medium", "High"
1426
+ # resp.auth_events[0].event_risk.compromised_credentials_detected #=> Boolean
1422
1427
  # resp.auth_events[0].challenge_responses #=> Array
1423
1428
  # resp.auth_events[0].challenge_responses[0].challenge_name #=> String, one of "Password", "Mfa"
1424
1429
  # resp.auth_events[0].challenge_responses[0].challenge_response #=> String, one of "Success", "Failure"
@@ -2484,7 +2489,7 @@ module Aws::CognitoIdentityProvider
2484
2489
  #
2485
2490
  # * MetadataFile OR MetadataURL
2486
2491
  #
2487
- # * IDPSignOut *optional*
2492
+ # * IDPSignout *optional*
2488
2493
  #
2489
2494
  # @option params [Hash<String,String>] :attribute_mapping
2490
2495
  # A mapping of identity provider attributes to standard and custom user
@@ -3082,6 +3087,12 @@ module Aws::CognitoIdentityProvider
3082
3087
  # The Amazon Pinpoint analytics configuration for collecting metrics for
3083
3088
  # this user pool.
3084
3089
  #
3090
+ # <note markdown="1"> Cognito User Pools only supports sending events to Amazon Pinpoint
3091
+ # projects in the US East (N. Virginia) us-east-1 Region, regardless of
3092
+ # the region in which the user pool resides.
3093
+ #
3094
+ # </note>
3095
+ #
3085
3096
  # @option params [String] :prevent_user_existence_errors
3086
3097
  # Use this setting to choose which errors and responses are returned by
3087
3098
  # Cognito APIs during authentication, account confirmation, and password
@@ -3864,13 +3875,13 @@ module Aws::CognitoIdentityProvider
3864
3875
 
3865
3876
  # Calling this API causes a message to be sent to the end user with a
3866
3877
  # confirmation code that is required to change the user's password. For
3867
- # the `Username` parameter, you can use the username or user alias. If a
3868
- # verified phone number exists for the user, the confirmation code is
3869
- # sent to the phone number. Otherwise, if a verified email exists, the
3870
- # confirmation code is sent to the email. If neither a verified phone
3871
- # number nor a verified email exists, `InvalidParameterException` is
3872
- # thrown. To use the confirmation code for resetting the password, call
3873
- # .
3878
+ # the `Username` parameter, you can use the username or user alias. The
3879
+ # method used to send the confirmation code is sent according to the
3880
+ # specified AccountRecoverySetting. For more information, see
3881
+ # [Recovering User Accounts]() in the *Amazon Cognito Developer Guide*.
3882
+ # If neither a verified phone number nor a verified email exists, an
3883
+ # `InvalidParameterException` is thrown. To use the confirmation code
3884
+ # for resetting the password, call .
3874
3885
  #
3875
3886
  # @option params [required, String] :client_id
3876
3887
  # The ID of the client associated with the user pool.
@@ -6562,6 +6573,12 @@ module Aws::CognitoIdentityProvider
6562
6573
  # The Amazon Pinpoint analytics configuration for collecting metrics for
6563
6574
  # this user pool.
6564
6575
  #
6576
+ # <note markdown="1"> Cognito User Pools only supports sending events to Amazon Pinpoint
6577
+ # projects in the US East (N. Virginia) us-east-1 Region, regardless of
6578
+ # the region in which the user pool resides.
6579
+ #
6580
+ # </note>
6581
+ #
6565
6582
  # @option params [String] :prevent_user_existence_errors
6566
6583
  # Use this setting to choose which errors and responses are returned by
6567
6584
  # Cognito APIs during authentication, account confirmation, and password
@@ -6843,7 +6860,7 @@ module Aws::CognitoIdentityProvider
6843
6860
  params: params,
6844
6861
  config: config)
6845
6862
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
6846
- context[:gem_version] = '1.33.0'
6863
+ context[:gem_version] = '1.34.0'
6847
6864
  Seahorse::Client::Request.new(handlers, context)
6848
6865
  end
6849
6866
 
@@ -1087,6 +1087,7 @@ module Aws::CognitoIdentityProvider
1087
1087
 
1088
1088
  EventRiskType.add_member(:risk_decision, Shapes::ShapeRef.new(shape: RiskDecisionType, location_name: "RiskDecision"))
1089
1089
  EventRiskType.add_member(:risk_level, Shapes::ShapeRef.new(shape: RiskLevelType, location_name: "RiskLevel"))
1090
+ EventRiskType.add_member(:compromised_credentials_detected, Shapes::ShapeRef.new(shape: WrappedBooleanType, location_name: "CompromisedCredentialsDetected"))
1090
1091
  EventRiskType.struct_class = Types::EventRiskType
1091
1092
 
1092
1093
  ExpiredCodeException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
@@ -2104,6 +2104,12 @@ module Aws::CognitoIdentityProvider
2104
2104
  # The Amazon Pinpoint analytics configuration for collecting metrics for
2105
2105
  # a user pool.
2106
2106
  #
2107
+ # <note markdown="1"> Cognito User Pools only supports sending events to Amazon Pinpoint
2108
+ # projects in the US East (N. Virginia) us-east-1 Region, regardless of
2109
+ # the region in which the user pool resides.
2110
+ #
2111
+ # </note>
2112
+ #
2107
2113
  # @note When making an API call, you may pass AnalyticsConfigurationType
2108
2114
  # data as a hash:
2109
2115
  #
@@ -2147,6 +2153,12 @@ module Aws::CognitoIdentityProvider
2147
2153
  # An endpoint uniquely identifies a mobile device, email address, or
2148
2154
  # phone number that can receive messages from Amazon Pinpoint analytics.
2149
2155
  #
2156
+ # <note markdown="1"> Cognito User Pools only supports sending events to Amazon Pinpoint
2157
+ # projects in the US East (N. Virginia) us-east-1 Region, regardless of
2158
+ # the region in which the user pool resides.
2159
+ #
2160
+ # </note>
2161
+ #
2150
2162
  # @note When making an API call, you may pass AnalyticsMetadataType
2151
2163
  # data as a hash:
2152
2164
  #
@@ -2993,7 +3005,7 @@ module Aws::CognitoIdentityProvider
2993
3005
  #
2994
3006
  # * MetadataFile OR MetadataURL
2995
3007
  #
2996
- # * IDPSignOut *optional*
3008
+ # * IDPSignout *optional*
2997
3009
  # @return [Hash<String,String>]
2998
3010
  #
2999
3011
  # @!attribute [rw] attribute_mapping
@@ -3314,6 +3326,12 @@ module Aws::CognitoIdentityProvider
3314
3326
  # @!attribute [rw] analytics_configuration
3315
3327
  # The Amazon Pinpoint analytics configuration for collecting metrics
3316
3328
  # for this user pool.
3329
+ #
3330
+ # <note markdown="1"> Cognito User Pools only supports sending events to Amazon Pinpoint
3331
+ # projects in the US East (N. Virginia) us-east-1 Region, regardless
3332
+ # of the region in which the user pool resides.
3333
+ #
3334
+ # </note>
3317
3335
  # @return [Types::AnalyticsConfigurationType]
3318
3336
  #
3319
3337
  # @!attribute [rw] prevent_user_existence_errors
@@ -4548,11 +4566,17 @@ module Aws::CognitoIdentityProvider
4548
4566
  # The risk level.
4549
4567
  # @return [String]
4550
4568
  #
4569
+ # @!attribute [rw] compromised_credentials_detected
4570
+ # Indicates whether compromised credentials were detected during an
4571
+ # authentication event.
4572
+ # @return [Boolean]
4573
+ #
4551
4574
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EventRiskType AWS API Documentation
4552
4575
  #
4553
4576
  class EventRiskType < Struct.new(
4554
4577
  :risk_decision,
4555
- :risk_level)
4578
+ :risk_level,
4579
+ :compromised_credentials_detected)
4556
4580
  include Aws::Structure
4557
4581
  end
4558
4582
 
@@ -8723,6 +8747,12 @@ module Aws::CognitoIdentityProvider
8723
8747
  # @!attribute [rw] analytics_configuration
8724
8748
  # The Amazon Pinpoint analytics configuration for collecting metrics
8725
8749
  # for this user pool.
8750
+ #
8751
+ # <note markdown="1"> Cognito User Pools only supports sending events to Amazon Pinpoint
8752
+ # projects in the US East (N. Virginia) us-east-1 Region, regardless
8753
+ # of the region in which the user pool resides.
8754
+ #
8755
+ # </note>
8726
8756
  # @return [Types::AnalyticsConfigurationType]
8727
8757
  #
8728
8758
  # @!attribute [rw] prevent_user_existence_errors
@@ -9447,6 +9477,12 @@ module Aws::CognitoIdentityProvider
9447
9477
  # @!attribute [rw] analytics_configuration
9448
9478
  # The Amazon Pinpoint analytics configuration for the user pool
9449
9479
  # client.
9480
+ #
9481
+ # <note markdown="1"> Cognito User Pools only supports sending events to Amazon Pinpoint
9482
+ # projects in the US East (N. Virginia) us-east-1 Region, regardless
9483
+ # of the region in which the user pool resides.
9484
+ #
9485
+ # </note>
9450
9486
  # @return [Types::AnalyticsConfigurationType]
9451
9487
  #
9452
9488
  # @!attribute [rw] prevent_user_existence_errors
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.33.0
4
+ version: 1.34.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-03-09 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -80,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.5.2.3
83
+ rubygems_version: 3.0.3
85
84
  signing_key:
86
85
  specification_version: 4
87
86
  summary: AWS SDK for Ruby - Amazon Cognito Identity Provider