aws-sdk-cognitoidentityprovider 1.34.0 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cognitoidentityprovider.rb +3 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +30 -9
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +6 -2
- data/lib/aws-sdk-cognitoidentityprovider/errors.rb +2 -0
- data/lib/aws-sdk-cognitoidentityprovider/resource.rb +3 -7
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +4 -2
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4022b18a31855d42eb7393e1122cfa16230c345f49c2263e19bafa6e8dd4d908
|
4
|
+
data.tar.gz: 68b65956898484f39788b040583c5b944a5f4be7b817efa372c95768fe849ef5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 704d8f8f44114eecbf82bddb52a3b62dd5ca99c1babba45d0314b29fcff07d34571d983bef4ee2eabcac88e5f31024989da631d9aa5ebacfb29779cc8fbb1b48
|
7
|
+
data.tar.gz: bfb248e200a874da0145ff993403ffe01c02c517aa9b1949aba98f1d177e3eeb87027fb0d6d03e739d264efc16b2f00e1ee7efad3981a7d2d45bc0f72fc3623c
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-cognitoidentityprovider/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::CognitoIdentityProvider
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.39.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::CognitoIdentityProvider
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::CognitoIdentityProvider
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::CognitoIdentityProvider
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::CognitoIdentityProvider
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -279,8 +283,7 @@ module Aws::CognitoIdentityProvider
|
|
279
283
|
#
|
280
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
281
285
|
# number of seconds to wait for response data. This value can
|
282
|
-
# safely be set
|
283
|
-
# per-request on the session yielded by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
284
287
|
#
|
285
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
286
289
|
# seconds a connection is allowed to sit idle before it is
|
@@ -292,7 +295,7 @@ module Aws::CognitoIdentityProvider
|
|
292
295
|
# request body. This option has no effect unless the request has
|
293
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
294
297
|
# disables this behaviour. This value can safely be set per
|
295
|
-
# request on the session
|
298
|
+
# request on the session.
|
296
299
|
#
|
297
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
298
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1141,7 +1144,7 @@ module Aws::CognitoIdentityProvider
|
|
1141
1144
|
# client_id: "ClientIdType", # required
|
1142
1145
|
# 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
|
1143
1146
|
# auth_parameters: {
|
1144
|
-
# "StringType" => "
|
1147
|
+
# "StringType" => "StringType",
|
1145
1148
|
# },
|
1146
1149
|
# client_metadata: {
|
1147
1150
|
# "StringType" => "StringType",
|
@@ -1355,6 +1358,8 @@ module Aws::CognitoIdentityProvider
|
|
1355
1358
|
# * {Types::AdminListGroupsForUserResponse#groups #groups} => Array<Types::GroupType>
|
1356
1359
|
# * {Types::AdminListGroupsForUserResponse#next_token #next_token} => String
|
1357
1360
|
#
|
1361
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1362
|
+
#
|
1358
1363
|
# @example Request syntax with placeholder values
|
1359
1364
|
#
|
1360
1365
|
# resp = client.admin_list_groups_for_user({
|
@@ -1405,6 +1410,8 @@ module Aws::CognitoIdentityProvider
|
|
1405
1410
|
# * {Types::AdminListUserAuthEventsResponse#auth_events #auth_events} => Array<Types::AuthEventType>
|
1406
1411
|
# * {Types::AdminListUserAuthEventsResponse#next_token #next_token} => String
|
1407
1412
|
#
|
1413
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1414
|
+
#
|
1408
1415
|
# @example Request syntax with placeholder values
|
1409
1416
|
#
|
1410
1417
|
# resp = client.admin_list_user_auth_events({
|
@@ -4521,7 +4528,7 @@ module Aws::CognitoIdentityProvider
|
|
4521
4528
|
# resp = client.initiate_auth({
|
4522
4529
|
# 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
|
4523
4530
|
# auth_parameters: {
|
4524
|
-
# "StringType" => "
|
4531
|
+
# "StringType" => "StringType",
|
4525
4532
|
# },
|
4526
4533
|
# client_metadata: {
|
4527
4534
|
# "StringType" => "StringType",
|
@@ -4623,6 +4630,8 @@ module Aws::CognitoIdentityProvider
|
|
4623
4630
|
# * {Types::ListGroupsResponse#groups #groups} => Array<Types::GroupType>
|
4624
4631
|
# * {Types::ListGroupsResponse#next_token #next_token} => String
|
4625
4632
|
#
|
4633
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4634
|
+
#
|
4626
4635
|
# @example Request syntax with placeholder values
|
4627
4636
|
#
|
4628
4637
|
# resp = client.list_groups({
|
@@ -4668,6 +4677,8 @@ module Aws::CognitoIdentityProvider
|
|
4668
4677
|
# * {Types::ListIdentityProvidersResponse#providers #providers} => Array<Types::ProviderDescription>
|
4669
4678
|
# * {Types::ListIdentityProvidersResponse#next_token #next_token} => String
|
4670
4679
|
#
|
4680
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4681
|
+
#
|
4671
4682
|
# @example Request syntax with placeholder values
|
4672
4683
|
#
|
4673
4684
|
# resp = client.list_identity_providers({
|
@@ -4710,6 +4721,8 @@ module Aws::CognitoIdentityProvider
|
|
4710
4721
|
# * {Types::ListResourceServersResponse#resource_servers #resource_servers} => Array<Types::ResourceServerType>
|
4711
4722
|
# * {Types::ListResourceServersResponse#next_token #next_token} => String
|
4712
4723
|
#
|
4724
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4725
|
+
#
|
4713
4726
|
# @example Request syntax with placeholder values
|
4714
4727
|
#
|
4715
4728
|
# resp = client.list_resource_servers({
|
@@ -4848,6 +4861,8 @@ module Aws::CognitoIdentityProvider
|
|
4848
4861
|
# * {Types::ListUserPoolClientsResponse#user_pool_clients #user_pool_clients} => Array<Types::UserPoolClientDescription>
|
4849
4862
|
# * {Types::ListUserPoolClientsResponse#next_token #next_token} => String
|
4850
4863
|
#
|
4864
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4865
|
+
#
|
4851
4866
|
# @example Request syntax with placeholder values
|
4852
4867
|
#
|
4853
4868
|
# resp = client.list_user_pool_clients({
|
@@ -4889,6 +4904,8 @@ module Aws::CognitoIdentityProvider
|
|
4889
4904
|
# * {Types::ListUserPoolsResponse#user_pools #user_pools} => Array<Types::UserPoolDescriptionType>
|
4890
4905
|
# * {Types::ListUserPoolsResponse#next_token #next_token} => String
|
4891
4906
|
#
|
4907
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4908
|
+
#
|
4892
4909
|
# @example Request syntax with placeholder values
|
4893
4910
|
#
|
4894
4911
|
# resp = client.list_user_pools({
|
@@ -5002,6 +5019,8 @@ module Aws::CognitoIdentityProvider
|
|
5002
5019
|
# * {Types::ListUsersResponse#users #users} => Array<Types::UserType>
|
5003
5020
|
# * {Types::ListUsersResponse#pagination_token #pagination_token} => String
|
5004
5021
|
#
|
5022
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5023
|
+
#
|
5005
5024
|
# @example Request syntax with placeholder values
|
5006
5025
|
#
|
5007
5026
|
# resp = client.list_users({
|
@@ -5060,6 +5079,8 @@ module Aws::CognitoIdentityProvider
|
|
5060
5079
|
# * {Types::ListUsersInGroupResponse#users #users} => Array<Types::UserType>
|
5061
5080
|
# * {Types::ListUsersInGroupResponse#next_token #next_token} => String
|
5062
5081
|
#
|
5082
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5083
|
+
#
|
5063
5084
|
# @example Request syntax with placeholder values
|
5064
5085
|
#
|
5065
5086
|
# resp = client.list_users_in_group({
|
@@ -6860,7 +6881,7 @@ module Aws::CognitoIdentityProvider
|
|
6860
6881
|
params: params,
|
6861
6882
|
config: config)
|
6862
6883
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
6863
|
-
context[:gem_version] = '1.
|
6884
|
+
context[:gem_version] = '1.39.0'
|
6864
6885
|
Seahorse::Client::Request.new(handlers, context)
|
6865
6886
|
end
|
6866
6887
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -91,7 +93,6 @@ module Aws::CognitoIdentityProvider
|
|
91
93
|
AuthEventsType = Shapes::ListShape.new(name: 'AuthEventsType')
|
92
94
|
AuthFlowType = Shapes::StringShape.new(name: 'AuthFlowType')
|
93
95
|
AuthParametersType = Shapes::MapShape.new(name: 'AuthParametersType')
|
94
|
-
AuthParametersValueType = Shapes::StringShape.new(name: 'AuthParametersValueType')
|
95
96
|
AuthenticationResultType = Shapes::StructureShape.new(name: 'AuthenticationResultType')
|
96
97
|
BlockedIPRangeListType = Shapes::ListShape.new(name: 'BlockedIPRangeListType')
|
97
98
|
BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
|
@@ -749,7 +750,7 @@ module Aws::CognitoIdentityProvider
|
|
749
750
|
AuthEventsType.member = Shapes::ShapeRef.new(shape: AuthEventType)
|
750
751
|
|
751
752
|
AuthParametersType.key = Shapes::ShapeRef.new(shape: StringType)
|
752
|
-
AuthParametersType.value = Shapes::ShapeRef.new(shape:
|
753
|
+
AuthParametersType.value = Shapes::ShapeRef.new(shape: StringType)
|
753
754
|
|
754
755
|
AuthenticationResultType.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
|
755
756
|
AuthenticationResultType.add_member(:expires_in, Shapes::ShapeRef.new(shape: IntegerType, location_name: "ExpiresIn"))
|
@@ -2160,6 +2161,7 @@ module Aws::CognitoIdentityProvider
|
|
2160
2161
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2161
2162
|
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
|
2162
2163
|
o.errors << Shapes::ShapeRef.new(shape: AliasExistsException)
|
2164
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2163
2165
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2164
2166
|
end)
|
2165
2167
|
|
@@ -2993,6 +2995,7 @@ module Aws::CognitoIdentityProvider
|
|
2993
2995
|
o.name = "InitiateAuth"
|
2994
2996
|
o.http_method = "POST"
|
2995
2997
|
o.http_request_uri = "/"
|
2998
|
+
o['authtype'] = "none"
|
2996
2999
|
o.input = Shapes::ShapeRef.new(shape: InitiateAuthRequest)
|
2997
3000
|
o.output = Shapes::ShapeRef.new(shape: InitiateAuthResponse)
|
2998
3001
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -3213,6 +3216,7 @@ module Aws::CognitoIdentityProvider
|
|
3213
3216
|
o.name = "RespondToAuthChallenge"
|
3214
3217
|
o.http_method = "POST"
|
3215
3218
|
o.http_request_uri = "/"
|
3219
|
+
o['authtype'] = "none"
|
3216
3220
|
o.input = Shapes::ShapeRef.new(shape: RespondToAuthChallengeRequest)
|
3217
3221
|
o.output = Shapes::ShapeRef.new(shape: RespondToAuthChallengeResponse)
|
3218
3222
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CognitoIdentityProvider
|
9
|
-
|
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)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -943,7 +945,7 @@ module Aws::CognitoIdentityProvider
|
|
943
945
|
# client_id: "ClientIdType", # required
|
944
946
|
# 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
947
|
# auth_parameters: {
|
946
|
-
# "StringType" => "
|
948
|
+
# "StringType" => "StringType",
|
947
949
|
# },
|
948
950
|
# client_metadata: {
|
949
951
|
# "StringType" => "StringType",
|
@@ -5382,7 +5384,7 @@ module Aws::CognitoIdentityProvider
|
|
5382
5384
|
# {
|
5383
5385
|
# 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
|
5384
5386
|
# auth_parameters: {
|
5385
|
-
# "StringType" => "
|
5387
|
+
# "StringType" => "StringType",
|
5386
5388
|
# },
|
5387
5389
|
# client_metadata: {
|
5388
5390
|
# "StringType" => "StringType",
|
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.
|
4
|
+
version: 1.39.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-
|
11
|
+
date: 2020-06-17 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.
|
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.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.7.6.2
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: AWS SDK for Ruby - Amazon Cognito Identity Provider
|