aws-sdk-cognitoidentityprovider 1.33.0 → 1.38.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
- SHA1:
3
- metadata.gz: 124330bce8f041acf8a3235a1adbf59654874562
4
- data.tar.gz: 6b89b4e9a36daa2d30ef76340044bc29f792b245
2
+ SHA256:
3
+ metadata.gz: cedefff3ce398b72dfd48fc26fd488871abf918c253a38ca7314b7892b037470
4
+ data.tar.gz: f32968ce666c0ae289de5b65beaadfca4aab47b877476dcfeef5df770cfd3b8c
5
5
  SHA512:
6
- metadata.gz: '00846ce13c2f509a9dcbc458683ca087607a0be9ced9f5587e4bdb89ce0fc3437ea44524a622b9b32186b29d8335211aaad8868b1df3b1170c02051edd214441'
7
- data.tar.gz: 98b791025d4ba9b36370107ce1d9e655a9eb2ab58d81f66ac3d93cf75c15ec82bfee00b01483ffdf802259afc1a333e691a9b7f053cbbb02c597fc3563b5b463
6
+ metadata.gz: 94a02822bc950fe7035156c80e0fc7cf879606b5c1724aa73a541cc45f94ce2a39accd54c326119b71586f1bd31f3d9ef3cf4272c8db7b5a02a8614ceafc7373
7
+ data.tar.gz: 3cbce75512e4969a5d935319a6969c9f49df08762f87adde4e02a13fbd1e3cd220a02ac3e0ccf87dba838ea909a2ff843dbb70deb76acf98b6bf72f25ec5d322
@@ -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.38.0'
49
49
 
50
50
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
30
 
@@ -32,11 +33,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:cognitoidentityprovider)
32
33
  module Aws::CognitoIdentityProvider
33
34
  # An API client for CognitoIdentityProvider. To construct a client, you need to configure a `:region` and `:credentials`.
34
35
  #
35
- # client = Aws::CognitoIdentityProvider::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
36
+ # client = Aws::CognitoIdentityProvider::Client.new(
37
+ # region: region_name,
38
+ # credentials: credentials,
39
+ # # ...
40
+ # )
40
41
  #
41
42
  # For details on configuring region and credentials see
42
43
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -69,6 +70,7 @@ module Aws::CognitoIdentityProvider
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
76
 
@@ -105,7 +107,7 @@ module Aws::CognitoIdentityProvider
105
107
  # @option options [required, String] :region
106
108
  # The AWS region to connect to. The configured `:region` is
107
109
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
109
111
  #
110
112
  # * `Aws.config[:region]`
111
113
  # * `ENV['AWS_REGION']`
@@ -161,7 +163,7 @@ module Aws::CognitoIdentityProvider
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +178,7 @@ module Aws::CognitoIdentityProvider
176
178
  # requests fetching endpoints information. Defaults to 60 sec.
177
179
  #
178
180
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
182
  #
181
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
184
  # The log formatter.
@@ -229,15 +231,19 @@ module Aws::CognitoIdentityProvider
229
231
  #
230
232
  # @option options [String] :retry_mode ("legacy")
231
233
  # 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.
234
+ #
235
+ # * `legacy` - The pre-existing retry behavior. This is default value if
236
+ # no retry mode is provided.
237
+ #
238
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
239
+ # This includes support for retry quotas, which limit the number of
240
+ # unsuccessful retries a client can make.
241
+ #
242
+ # * `adaptive` - An experimental retry mode that includes all the
243
+ # functionality of `standard` mode along with automatic client side
244
+ # throttling. This is a provisional mode that may change behavior
245
+ # in the future.
246
+ #
241
247
  #
242
248
  # @option options [String] :secret_access_key
243
249
  #
@@ -275,8 +281,7 @@ module Aws::CognitoIdentityProvider
275
281
  #
276
282
  # @option options [Integer] :http_read_timeout (60) The default
277
283
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
284
+ # safely be set per-request on the session.
280
285
  #
281
286
  # @option options [Float] :http_idle_timeout (5) The number of
282
287
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +293,7 @@ module Aws::CognitoIdentityProvider
288
293
  # request body. This option has no effect unless the request has
289
294
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
295
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
296
+ # request on the session.
292
297
  #
293
298
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
299
  # HTTP debug output will be sent to the `:logger`.
@@ -1137,7 +1142,7 @@ module Aws::CognitoIdentityProvider
1137
1142
  # client_id: "ClientIdType", # required
1138
1143
  # auth_flow: "USER_SRP_AUTH", # required, accepts USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN, CUSTOM_AUTH, ADMIN_NO_SRP_AUTH, USER_PASSWORD_AUTH, ADMIN_USER_PASSWORD_AUTH
1139
1144
  # auth_parameters: {
1140
- # "StringType" => "AuthParametersValueType",
1145
+ # "StringType" => "StringType",
1141
1146
  # },
1142
1147
  # client_metadata: {
1143
1148
  # "StringType" => "StringType",
@@ -1351,6 +1356,8 @@ module Aws::CognitoIdentityProvider
1351
1356
  # * {Types::AdminListGroupsForUserResponse#groups #groups} => Array<Types::GroupType>
1352
1357
  # * {Types::AdminListGroupsForUserResponse#next_token #next_token} => String
1353
1358
  #
1359
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1360
+ #
1354
1361
  # @example Request syntax with placeholder values
1355
1362
  #
1356
1363
  # resp = client.admin_list_groups_for_user({
@@ -1401,6 +1408,8 @@ module Aws::CognitoIdentityProvider
1401
1408
  # * {Types::AdminListUserAuthEventsResponse#auth_events #auth_events} => Array<Types::AuthEventType>
1402
1409
  # * {Types::AdminListUserAuthEventsResponse#next_token #next_token} => String
1403
1410
  #
1411
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1412
+ #
1404
1413
  # @example Request syntax with placeholder values
1405
1414
  #
1406
1415
  # resp = client.admin_list_user_auth_events({
@@ -1419,6 +1428,7 @@ module Aws::CognitoIdentityProvider
1419
1428
  # resp.auth_events[0].event_response #=> String, one of "Success", "Failure"
1420
1429
  # resp.auth_events[0].event_risk.risk_decision #=> String, one of "NoRisk", "AccountTakeover", "Block"
1421
1430
  # resp.auth_events[0].event_risk.risk_level #=> String, one of "Low", "Medium", "High"
1431
+ # resp.auth_events[0].event_risk.compromised_credentials_detected #=> Boolean
1422
1432
  # resp.auth_events[0].challenge_responses #=> Array
1423
1433
  # resp.auth_events[0].challenge_responses[0].challenge_name #=> String, one of "Password", "Mfa"
1424
1434
  # resp.auth_events[0].challenge_responses[0].challenge_response #=> String, one of "Success", "Failure"
@@ -2484,7 +2494,7 @@ module Aws::CognitoIdentityProvider
2484
2494
  #
2485
2495
  # * MetadataFile OR MetadataURL
2486
2496
  #
2487
- # * IDPSignOut *optional*
2497
+ # * IDPSignout *optional*
2488
2498
  #
2489
2499
  # @option params [Hash<String,String>] :attribute_mapping
2490
2500
  # A mapping of identity provider attributes to standard and custom user
@@ -3082,6 +3092,12 @@ module Aws::CognitoIdentityProvider
3082
3092
  # The Amazon Pinpoint analytics configuration for collecting metrics for
3083
3093
  # this user pool.
3084
3094
  #
3095
+ # <note markdown="1"> Cognito User Pools only supports sending events to Amazon Pinpoint
3096
+ # projects in the US East (N. Virginia) us-east-1 Region, regardless of
3097
+ # the region in which the user pool resides.
3098
+ #
3099
+ # </note>
3100
+ #
3085
3101
  # @option params [String] :prevent_user_existence_errors
3086
3102
  # Use this setting to choose which errors and responses are returned by
3087
3103
  # Cognito APIs during authentication, account confirmation, and password
@@ -3864,13 +3880,13 @@ module Aws::CognitoIdentityProvider
3864
3880
 
3865
3881
  # Calling this API causes a message to be sent to the end user with a
3866
3882
  # 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
- # .
3883
+ # the `Username` parameter, you can use the username or user alias. The
3884
+ # method used to send the confirmation code is sent according to the
3885
+ # specified AccountRecoverySetting. For more information, see
3886
+ # [Recovering User Accounts]() in the *Amazon Cognito Developer Guide*.
3887
+ # If neither a verified phone number nor a verified email exists, an
3888
+ # `InvalidParameterException` is thrown. To use the confirmation code
3889
+ # for resetting the password, call .
3874
3890
  #
3875
3891
  # @option params [required, String] :client_id
3876
3892
  # The ID of the client associated with the user pool.
@@ -4510,7 +4526,7 @@ module Aws::CognitoIdentityProvider
4510
4526
  # resp = client.initiate_auth({
4511
4527
  # auth_flow: "USER_SRP_AUTH", # required, accepts USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN, CUSTOM_AUTH, ADMIN_NO_SRP_AUTH, USER_PASSWORD_AUTH, ADMIN_USER_PASSWORD_AUTH
4512
4528
  # auth_parameters: {
4513
- # "StringType" => "AuthParametersValueType",
4529
+ # "StringType" => "StringType",
4514
4530
  # },
4515
4531
  # client_metadata: {
4516
4532
  # "StringType" => "StringType",
@@ -4612,6 +4628,8 @@ module Aws::CognitoIdentityProvider
4612
4628
  # * {Types::ListGroupsResponse#groups #groups} => Array&lt;Types::GroupType&gt;
4613
4629
  # * {Types::ListGroupsResponse#next_token #next_token} => String
4614
4630
  #
4631
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4632
+ #
4615
4633
  # @example Request syntax with placeholder values
4616
4634
  #
4617
4635
  # resp = client.list_groups({
@@ -4657,6 +4675,8 @@ module Aws::CognitoIdentityProvider
4657
4675
  # * {Types::ListIdentityProvidersResponse#providers #providers} => Array&lt;Types::ProviderDescription&gt;
4658
4676
  # * {Types::ListIdentityProvidersResponse#next_token #next_token} => String
4659
4677
  #
4678
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4679
+ #
4660
4680
  # @example Request syntax with placeholder values
4661
4681
  #
4662
4682
  # resp = client.list_identity_providers({
@@ -4699,6 +4719,8 @@ module Aws::CognitoIdentityProvider
4699
4719
  # * {Types::ListResourceServersResponse#resource_servers #resource_servers} => Array&lt;Types::ResourceServerType&gt;
4700
4720
  # * {Types::ListResourceServersResponse#next_token #next_token} => String
4701
4721
  #
4722
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4723
+ #
4702
4724
  # @example Request syntax with placeholder values
4703
4725
  #
4704
4726
  # resp = client.list_resource_servers({
@@ -4837,6 +4859,8 @@ module Aws::CognitoIdentityProvider
4837
4859
  # * {Types::ListUserPoolClientsResponse#user_pool_clients #user_pool_clients} => Array&lt;Types::UserPoolClientDescription&gt;
4838
4860
  # * {Types::ListUserPoolClientsResponse#next_token #next_token} => String
4839
4861
  #
4862
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4863
+ #
4840
4864
  # @example Request syntax with placeholder values
4841
4865
  #
4842
4866
  # resp = client.list_user_pool_clients({
@@ -4878,6 +4902,8 @@ module Aws::CognitoIdentityProvider
4878
4902
  # * {Types::ListUserPoolsResponse#user_pools #user_pools} => Array&lt;Types::UserPoolDescriptionType&gt;
4879
4903
  # * {Types::ListUserPoolsResponse#next_token #next_token} => String
4880
4904
  #
4905
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4906
+ #
4881
4907
  # @example Request syntax with placeholder values
4882
4908
  #
4883
4909
  # resp = client.list_user_pools({
@@ -4991,6 +5017,8 @@ module Aws::CognitoIdentityProvider
4991
5017
  # * {Types::ListUsersResponse#users #users} => Array&lt;Types::UserType&gt;
4992
5018
  # * {Types::ListUsersResponse#pagination_token #pagination_token} => String
4993
5019
  #
5020
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5021
+ #
4994
5022
  # @example Request syntax with placeholder values
4995
5023
  #
4996
5024
  # resp = client.list_users({
@@ -5049,6 +5077,8 @@ module Aws::CognitoIdentityProvider
5049
5077
  # * {Types::ListUsersInGroupResponse#users #users} => Array&lt;Types::UserType&gt;
5050
5078
  # * {Types::ListUsersInGroupResponse#next_token #next_token} => String
5051
5079
  #
5080
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5081
+ #
5052
5082
  # @example Request syntax with placeholder values
5053
5083
  #
5054
5084
  # resp = client.list_users_in_group({
@@ -6562,6 +6592,12 @@ module Aws::CognitoIdentityProvider
6562
6592
  # The Amazon Pinpoint analytics configuration for collecting metrics for
6563
6593
  # this user pool.
6564
6594
  #
6595
+ # <note markdown="1"> Cognito User Pools only supports sending events to Amazon Pinpoint
6596
+ # projects in the US East (N. Virginia) us-east-1 Region, regardless of
6597
+ # the region in which the user pool resides.
6598
+ #
6599
+ # </note>
6600
+ #
6565
6601
  # @option params [String] :prevent_user_existence_errors
6566
6602
  # Use this setting to choose which errors and responses are returned by
6567
6603
  # Cognito APIs during authentication, account confirmation, and password
@@ -6843,7 +6879,7 @@ module Aws::CognitoIdentityProvider
6843
6879
  params: params,
6844
6880
  config: config)
6845
6881
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
6846
- context[:gem_version] = '1.33.0'
6882
+ context[:gem_version] = '1.38.0'
6847
6883
  Seahorse::Client::Request.new(handlers, context)
6848
6884
  end
6849
6885
 
@@ -91,7 +91,6 @@ module Aws::CognitoIdentityProvider
91
91
  AuthEventsType = Shapes::ListShape.new(name: 'AuthEventsType')
92
92
  AuthFlowType = Shapes::StringShape.new(name: 'AuthFlowType')
93
93
  AuthParametersType = Shapes::MapShape.new(name: 'AuthParametersType')
94
- AuthParametersValueType = Shapes::StringShape.new(name: 'AuthParametersValueType')
95
94
  AuthenticationResultType = Shapes::StructureShape.new(name: 'AuthenticationResultType')
96
95
  BlockedIPRangeListType = Shapes::ListShape.new(name: 'BlockedIPRangeListType')
97
96
  BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
@@ -749,7 +748,7 @@ module Aws::CognitoIdentityProvider
749
748
  AuthEventsType.member = Shapes::ShapeRef.new(shape: AuthEventType)
750
749
 
751
750
  AuthParametersType.key = Shapes::ShapeRef.new(shape: StringType)
752
- AuthParametersType.value = Shapes::ShapeRef.new(shape: AuthParametersValueType)
751
+ AuthParametersType.value = Shapes::ShapeRef.new(shape: StringType)
753
752
 
754
753
  AuthenticationResultType.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
755
754
  AuthenticationResultType.add_member(:expires_in, Shapes::ShapeRef.new(shape: IntegerType, location_name: "ExpiresIn"))
@@ -1087,6 +1086,7 @@ module Aws::CognitoIdentityProvider
1087
1086
 
1088
1087
  EventRiskType.add_member(:risk_decision, Shapes::ShapeRef.new(shape: RiskDecisionType, location_name: "RiskDecision"))
1089
1088
  EventRiskType.add_member(:risk_level, Shapes::ShapeRef.new(shape: RiskLevelType, location_name: "RiskLevel"))
1089
+ EventRiskType.add_member(:compromised_credentials_detected, Shapes::ShapeRef.new(shape: WrappedBooleanType, location_name: "CompromisedCredentialsDetected"))
1090
1090
  EventRiskType.struct_class = Types::EventRiskType
1091
1091
 
1092
1092
  ExpiredCodeException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
@@ -2159,6 +2159,7 @@ module Aws::CognitoIdentityProvider
2159
2159
  o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2160
2160
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
2161
2161
  o.errors << Shapes::ShapeRef.new(shape: AliasExistsException)
2162
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2162
2163
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2163
2164
  end)
2164
2165
 
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CognitoIdentityProvider
9
- # This class provides a resource oriented interface for CognitoIdentityProvider.
10
- # To create a resource object:
11
- # resource = Aws::CognitoIdentityProvider::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::CognitoIdentityProvider::Client.new(region: 'us-west-2')
15
- # resource = Aws::CognitoIdentityProvider::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -943,7 +943,7 @@ module Aws::CognitoIdentityProvider
943
943
  # client_id: "ClientIdType", # required
944
944
  # auth_flow: "USER_SRP_AUTH", # required, accepts USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN, CUSTOM_AUTH, ADMIN_NO_SRP_AUTH, USER_PASSWORD_AUTH, ADMIN_USER_PASSWORD_AUTH
945
945
  # auth_parameters: {
946
- # "StringType" => "AuthParametersValueType",
946
+ # "StringType" => "StringType",
947
947
  # },
948
948
  # client_metadata: {
949
949
  # "StringType" => "StringType",
@@ -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
 
@@ -5358,7 +5382,7 @@ module Aws::CognitoIdentityProvider
5358
5382
  # {
5359
5383
  # auth_flow: "USER_SRP_AUTH", # required, accepts USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN, CUSTOM_AUTH, ADMIN_NO_SRP_AUTH, USER_PASSWORD_AUTH, ADMIN_USER_PASSWORD_AUTH
5360
5384
  # auth_parameters: {
5361
- # "StringType" => "AuthParametersValueType",
5385
+ # "StringType" => "StringType",
5362
5386
  # },
5363
5387
  # client_metadata: {
5364
5388
  # "StringType" => "StringType",
@@ -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.38.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-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - Amazon Cognito Identity Provider