aws-sdk-cognitoidentityprovider 1.81.0 → 1.82.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +18 -78
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +2 -2
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +17 -3
- data/lib/aws-sdk-cognitoidentityprovider.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40150619e617ded642e008c032457e59e9f40b255c0a806ca3505242e7aa6c01
|
4
|
+
data.tar.gz: b00edb852c1c4fee2e04a44f91c33bbae376a27f9bc108571bb6b390e5638976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b2c86aa8d7c4e9c7fb8dd8b37b8769aec72ce5f560e264cbf7bcf07526bbd709dc660de01b06131dac1441ee10fb944a1be43ee83b8afe8304599048b75fa67
|
7
|
+
data.tar.gz: 80faf6e247ec8dba240f9d900fc386c3bfecc8e21e8dcc7907d50f8f3ece5275a208ed56f0fe6c949eb8a94af38fc9026fa00c94487205e1c27670c954cce249
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.82.0
|
@@ -652,9 +652,23 @@ module Aws::CognitoIdentityProvider
|
|
652
652
|
# The user pool ID for the user pool where the user will be created.
|
653
653
|
#
|
654
654
|
# @option params [required, String] :username
|
655
|
-
# The
|
656
|
-
#
|
657
|
-
#
|
655
|
+
# The value that you want to set as the username sign-in attribute. The
|
656
|
+
# following conditions apply to the username parameter.
|
657
|
+
#
|
658
|
+
# * The username can't be a duplicate of another username in the same
|
659
|
+
# user pool.
|
660
|
+
#
|
661
|
+
# * You can't change the value of a username after you create it.
|
662
|
+
#
|
663
|
+
# * You can only provide a value if usernames are a valid sign-in
|
664
|
+
# attribute for your user pool. If your user pool only supports phone
|
665
|
+
# numbers or email addresses as sign-in attributes, Amazon Cognito
|
666
|
+
# automatically generates a username value. For more information, see
|
667
|
+
# [Customizing sign-in attributes][1].
|
668
|
+
#
|
669
|
+
#
|
670
|
+
#
|
671
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-aliases
|
658
672
|
#
|
659
673
|
# @option params [Array<Types::AttributeType>] :user_attributes
|
660
674
|
# An array of name-value pairs that contain user attributes and
|
@@ -7484,80 +7498,6 @@ module Aws::CognitoIdentityProvider
|
|
7484
7498
|
# ],
|
7485
7499
|
# }
|
7486
7500
|
#
|
7487
|
-
# @example Example: A ListUsers request for the next 3 users whose email address starts with "testuser."
|
7488
|
-
#
|
7489
|
-
# # This request submits a value for all possible parameters for ListUsers. By iterating the PaginationToken, you can page
|
7490
|
-
# # through and collect all users in a user pool.
|
7491
|
-
#
|
7492
|
-
# resp = client.list_users({
|
7493
|
-
# attributes_to_get: [
|
7494
|
-
# "email",
|
7495
|
-
# "sub",
|
7496
|
-
# ],
|
7497
|
-
# filter: "\"email\"^=\"testuser\"",
|
7498
|
-
# limit: 3,
|
7499
|
-
# pagination_token: "abcd1234EXAMPLE",
|
7500
|
-
# user_pool_id: "us-east-1_EXAMPLE",
|
7501
|
-
# })
|
7502
|
-
#
|
7503
|
-
# resp.to_h outputs the following:
|
7504
|
-
# {
|
7505
|
-
# pagination_token: "efgh5678EXAMPLE",
|
7506
|
-
# users: [
|
7507
|
-
# {
|
7508
|
-
# attributes: [
|
7509
|
-
# {
|
7510
|
-
# name: "sub",
|
7511
|
-
# value: "eaad0219-2117-439f-8d46-4db20e59268f",
|
7512
|
-
# },
|
7513
|
-
# {
|
7514
|
-
# name: "email",
|
7515
|
-
# value: "testuser@example.com",
|
7516
|
-
# },
|
7517
|
-
# ],
|
7518
|
-
# enabled: true,
|
7519
|
-
# user_create_date: Time.parse(1682955829.578),
|
7520
|
-
# user_last_modified_date: Time.parse(1689030181.63),
|
7521
|
-
# user_status: "CONFIRMED",
|
7522
|
-
# username: "testuser",
|
7523
|
-
# },
|
7524
|
-
# {
|
7525
|
-
# attributes: [
|
7526
|
-
# {
|
7527
|
-
# name: "sub",
|
7528
|
-
# value: "3b994cfd-0b07-4581-be46-3c82f9a70c90",
|
7529
|
-
# },
|
7530
|
-
# {
|
7531
|
-
# name: "email",
|
7532
|
-
# value: "testuser2@example.com",
|
7533
|
-
# },
|
7534
|
-
# ],
|
7535
|
-
# enabled: true,
|
7536
|
-
# user_create_date: Time.parse(1684427979.201),
|
7537
|
-
# user_last_modified_date: Time.parse(1684427979.201),
|
7538
|
-
# user_status: "UNCONFIRMED",
|
7539
|
-
# username: "testuser2",
|
7540
|
-
# },
|
7541
|
-
# {
|
7542
|
-
# attributes: [
|
7543
|
-
# {
|
7544
|
-
# name: "sub",
|
7545
|
-
# value: "5929e0d1-4c34-42d1-9b79-a5ecacfe66f7",
|
7546
|
-
# },
|
7547
|
-
# {
|
7548
|
-
# name: "email",
|
7549
|
-
# value: "testuser3@example.com",
|
7550
|
-
# },
|
7551
|
-
# ],
|
7552
|
-
# enabled: true,
|
7553
|
-
# user_create_date: Time.parse(1684427823.641),
|
7554
|
-
# user_last_modified_date: Time.parse(1684427823.641),
|
7555
|
-
# user_status: "UNCONFIRMED",
|
7556
|
-
# username: "testuser3@example.com",
|
7557
|
-
# },
|
7558
|
-
# ],
|
7559
|
-
# }
|
7560
|
-
#
|
7561
7501
|
# @example Request syntax with placeholder values
|
7562
7502
|
#
|
7563
7503
|
# resp = client.list_users({
|
@@ -10193,7 +10133,7 @@ module Aws::CognitoIdentityProvider
|
|
10193
10133
|
params: params,
|
10194
10134
|
config: config)
|
10195
10135
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
10196
|
-
context[:gem_version] = '1.
|
10136
|
+
context[:gem_version] = '1.82.0'
|
10197
10137
|
Seahorse::Client::Request.new(handlers, context)
|
10198
10138
|
end
|
10199
10139
|
|
@@ -1947,7 +1947,7 @@ module Aws::CognitoIdentityProvider
|
|
1947
1947
|
UserPoolDescriptionType.add_member(:id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "Id"))
|
1948
1948
|
UserPoolDescriptionType.add_member(:name, Shapes::ShapeRef.new(shape: UserPoolNameType, location_name: "Name"))
|
1949
1949
|
UserPoolDescriptionType.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaConfigType, location_name: "LambdaConfig"))
|
1950
|
-
UserPoolDescriptionType.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, location_name: "Status"))
|
1950
|
+
UserPoolDescriptionType.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, deprecated: true, location_name: "Status", metadata: {"deprecatedMessage"=>"This property is no longer available."}))
|
1951
1951
|
UserPoolDescriptionType.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
|
1952
1952
|
UserPoolDescriptionType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
|
1953
1953
|
UserPoolDescriptionType.struct_class = Types::UserPoolDescriptionType
|
@@ -1970,7 +1970,7 @@ module Aws::CognitoIdentityProvider
|
|
1970
1970
|
UserPoolType.add_member(:policies, Shapes::ShapeRef.new(shape: UserPoolPolicyType, location_name: "Policies"))
|
1971
1971
|
UserPoolType.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtectionType, location_name: "DeletionProtection"))
|
1972
1972
|
UserPoolType.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaConfigType, location_name: "LambdaConfig"))
|
1973
|
-
UserPoolType.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, location_name: "Status"))
|
1973
|
+
UserPoolType.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, deprecated: true, location_name: "Status", metadata: {"deprecatedMessage"=>"This property is no longer available."}))
|
1974
1974
|
UserPoolType.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
|
1975
1975
|
UserPoolType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
|
1976
1976
|
UserPoolType.add_member(:schema_attributes, Shapes::ShapeRef.new(shape: SchemaAttributesListType, location_name: "SchemaAttributes"))
|
@@ -261,9 +261,23 @@ module Aws::CognitoIdentityProvider
|
|
261
261
|
# @return [String]
|
262
262
|
#
|
263
263
|
# @!attribute [rw] username
|
264
|
-
# The
|
265
|
-
#
|
266
|
-
#
|
264
|
+
# The value that you want to set as the username sign-in attribute.
|
265
|
+
# The following conditions apply to the username parameter.
|
266
|
+
#
|
267
|
+
# * The username can't be a duplicate of another username in the same
|
268
|
+
# user pool.
|
269
|
+
#
|
270
|
+
# * You can't change the value of a username after you create it.
|
271
|
+
#
|
272
|
+
# * You can only provide a value if usernames are a valid sign-in
|
273
|
+
# attribute for your user pool. If your user pool only supports
|
274
|
+
# phone numbers or email addresses as sign-in attributes, Amazon
|
275
|
+
# Cognito automatically generates a username value. For more
|
276
|
+
# information, see [Customizing sign-in attributes][1].
|
277
|
+
#
|
278
|
+
#
|
279
|
+
#
|
280
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-aliases
|
267
281
|
# @return [String]
|
268
282
|
#
|
269
283
|
# @!attribute [rw] user_attributes
|
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.82.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: 2023-
|
11
|
+
date: 2023-09-27 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.184.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.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|