aws-sdk-cognitoidentityprovider 1.0.0.rc9 → 1.0.0.rc10

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
2
  SHA1:
3
- metadata.gz: bc86029a3b640df53ef4c1221f95502cec062beb
4
- data.tar.gz: d95630ea1668bbc264d5df1e41d20782b6a85512
3
+ metadata.gz: d9d26403a833af53f055eb8f1561cdce89c4df21
4
+ data.tar.gz: f155f0b5d523350f5e6245a11b2b3af7e8ff9d5e
5
5
  SHA512:
6
- metadata.gz: fb2580630f9a8456b8eb706034f9beb7bb84c83862ee64153eb3217745c724c6420a11395b733f00e438f1236af3ee0d9616cc388fa9bec8d5cef29623c4a0e2
7
- data.tar.gz: c166aedb3b33dba014b4d4f9bd9c46be5a5218f14b6c74c9e90abe7fef135bf0f1c452ae7d67a407290fe79ae78d058ae3f6ef893f9eb46ab31d76bf60685f63
6
+ metadata.gz: 21a3bd2fbcb8b4d8a598a04196bf89908441b6fa121842711d583d63d06a9191ab7c4f5c7a8746c8eaaec546a04b77ce88e8bf7462f620dfb05c118e85c65a12
7
+ data.tar.gz: a99f14c7e2f7d042e260a3a0ea59694d1c51c3a4ffec5d3b1f9741f344108ee3c45966ac63a82455d7e83ea8ffadc0924e8fc814ffbe8c505ea05177ddc21684
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cognitoidentityprovider/customizations'
42
42
  # @service
43
43
  module Aws::CognitoIdentityProvider
44
44
 
45
- GEM_VERSION = '1.0.0.rc9'
45
+ GEM_VERSION = '1.0.0.rc10'
46
46
 
47
47
  end
@@ -685,7 +685,7 @@ module Aws::CognitoIdentityProvider
685
685
  # * `REFRESH_TOKEN_AUTH` will take in a valid refresh token and return
686
686
  # new tokens.
687
687
  #
688
- # * `USER_SRP_AUTH` will take in `USERNAME` and `SRPA` and return the
688
+ # * `USER_SRP_AUTH` will take in `USERNAME` and `SRP_A` and return the
689
689
  # SRP variables to be used for next challenge execution.
690
690
  #
691
691
  # Valid values include:
@@ -708,7 +708,7 @@ module Aws::CognitoIdentityProvider
708
708
  # `AuthFlow` that you are invoking. The required values depend on the
709
709
  # value of `AuthFlow`\:
710
710
  #
711
- # * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRPA` (required),
711
+ # * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRP_A` (required),
712
712
  # `SECRET_HASH` (required if the app client is configured with a
713
713
  # client secret), `DEVICE_KEY`
714
714
  #
@@ -1557,6 +1557,10 @@ module Aws::CognitoIdentityProvider
1557
1557
  # Attributes supported as an alias for this user pool. Possible values:
1558
1558
  # **phone\_number**, **email**, or **preferred\_username**.
1559
1559
  #
1560
+ # @option params [Array<String>] :username_attributes
1561
+ # Specifies whether email addresses or phone numbers can be specified as
1562
+ # usernames when a user signs up.
1563
+ #
1560
1564
  # @option params [String] :sms_verification_message
1561
1565
  # A string representing the SMS verification message.
1562
1566
  #
@@ -1625,6 +1629,7 @@ module Aws::CognitoIdentityProvider
1625
1629
  # },
1626
1630
  # auto_verified_attributes: ["phone_number"], # accepts phone_number, email
1627
1631
  # alias_attributes: ["phone_number"], # accepts phone_number, email, preferred_username
1632
+ # username_attributes: ["phone_number"], # accepts phone_number, email
1628
1633
  # sms_verification_message: "SmsVerificationMessageType",
1629
1634
  # email_verification_message: "EmailVerificationMessageType",
1630
1635
  # email_verification_subject: "EmailVerificationSubjectType",
@@ -1707,6 +1712,8 @@ module Aws::CognitoIdentityProvider
1707
1712
  # resp.user_pool.auto_verified_attributes[0] #=> String, one of "phone_number", "email"
1708
1713
  # resp.user_pool.alias_attributes #=> Array
1709
1714
  # resp.user_pool.alias_attributes[0] #=> String, one of "phone_number", "email", "preferred_username"
1715
+ # resp.user_pool.username_attributes #=> Array
1716
+ # resp.user_pool.username_attributes[0] #=> String, one of "phone_number", "email"
1710
1717
  # resp.user_pool.sms_verification_message #=> String
1711
1718
  # resp.user_pool.email_verification_message #=> String
1712
1719
  # resp.user_pool.email_verification_subject #=> String
@@ -2197,6 +2204,8 @@ module Aws::CognitoIdentityProvider
2197
2204
  # resp.user_pool.auto_verified_attributes[0] #=> String, one of "phone_number", "email"
2198
2205
  # resp.user_pool.alias_attributes #=> Array
2199
2206
  # resp.user_pool.alias_attributes[0] #=> String, one of "phone_number", "email", "preferred_username"
2207
+ # resp.user_pool.username_attributes #=> Array
2208
+ # resp.user_pool.username_attributes[0] #=> String, one of "phone_number", "email"
2200
2209
  # resp.user_pool.sms_verification_message #=> String
2201
2210
  # resp.user_pool.email_verification_message #=> String
2202
2211
  # resp.user_pool.email_verification_subject #=> String
@@ -2652,8 +2661,8 @@ module Aws::CognitoIdentityProvider
2652
2661
  # * `REFRESH_TOKEN_AUTH` will take in a valid refresh token and return
2653
2662
  # new tokens.
2654
2663
  #
2655
- # * `USER_SRP_AUTH` will take in USERNAME and SRPA and return the SRP
2656
- # variables to be used for next challenge execution.
2664
+ # * `USER_SRP_AUTH` will take in `USERNAME` and `SRP_A` and return the
2665
+ # SRP variables to be used for next challenge execution.
2657
2666
  #
2658
2667
  # Valid values include:
2659
2668
  #
@@ -2673,7 +2682,7 @@ module Aws::CognitoIdentityProvider
2673
2682
  # `AuthFlow` that you are invoking. The required values depend on the
2674
2683
  # value of `AuthFlow`\:
2675
2684
  #
2676
- # * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRPA` (required),
2685
+ # * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRP_A` (required),
2677
2686
  # `SECRET_HASH` (required if the app client is configured with a
2678
2687
  # client secret), `DEVICE_KEY`
2679
2688
  #
@@ -3968,7 +3977,7 @@ module Aws::CognitoIdentityProvider
3968
3977
  params: params,
3969
3978
  config: config)
3970
3979
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
3971
- context[:gem_version] = '1.0.0.rc9'
3980
+ context[:gem_version] = '1.0.0.rc10'
3972
3981
  Seahorse::Client::Request.new(handlers, context)
3973
3982
  end
3974
3983
 
@@ -309,6 +309,8 @@ module Aws::CognitoIdentityProvider
309
309
  UserPoolType = Shapes::StructureShape.new(name: 'UserPoolType')
310
310
  UserStatusType = Shapes::StringShape.new(name: 'UserStatusType')
311
311
  UserType = Shapes::StructureShape.new(name: 'UserType')
312
+ UsernameAttributeType = Shapes::StringShape.new(name: 'UsernameAttributeType')
313
+ UsernameAttributesListType = Shapes::ListShape.new(name: 'UsernameAttributesListType')
312
314
  UsernameExistsException = Shapes::StructureShape.new(name: 'UsernameExistsException')
313
315
  UsernameType = Shapes::StringShape.new(name: 'UsernameType')
314
316
  UsersListType = Shapes::ListShape.new(name: 'UsersListType')
@@ -623,6 +625,7 @@ module Aws::CognitoIdentityProvider
623
625
  CreateUserPoolRequest.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaConfigType, location_name: "LambdaConfig"))
624
626
  CreateUserPoolRequest.add_member(:auto_verified_attributes, Shapes::ShapeRef.new(shape: VerifiedAttributesListType, location_name: "AutoVerifiedAttributes"))
625
627
  CreateUserPoolRequest.add_member(:alias_attributes, Shapes::ShapeRef.new(shape: AliasAttributesListType, location_name: "AliasAttributes"))
628
+ CreateUserPoolRequest.add_member(:username_attributes, Shapes::ShapeRef.new(shape: UsernameAttributesListType, location_name: "UsernameAttributes"))
626
629
  CreateUserPoolRequest.add_member(:sms_verification_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsVerificationMessage"))
627
630
  CreateUserPoolRequest.add_member(:email_verification_message, Shapes::ShapeRef.new(shape: EmailVerificationMessageType, location_name: "EmailVerificationMessage"))
628
631
  CreateUserPoolRequest.add_member(:email_verification_subject, Shapes::ShapeRef.new(shape: EmailVerificationSubjectType, location_name: "EmailVerificationSubject"))
@@ -1178,6 +1181,7 @@ module Aws::CognitoIdentityProvider
1178
1181
  UserPoolType.add_member(:schema_attributes, Shapes::ShapeRef.new(shape: SchemaAttributesListType, location_name: "SchemaAttributes"))
1179
1182
  UserPoolType.add_member(:auto_verified_attributes, Shapes::ShapeRef.new(shape: VerifiedAttributesListType, location_name: "AutoVerifiedAttributes"))
1180
1183
  UserPoolType.add_member(:alias_attributes, Shapes::ShapeRef.new(shape: AliasAttributesListType, location_name: "AliasAttributes"))
1184
+ UserPoolType.add_member(:username_attributes, Shapes::ShapeRef.new(shape: UsernameAttributesListType, location_name: "UsernameAttributes"))
1181
1185
  UserPoolType.add_member(:sms_verification_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsVerificationMessage"))
1182
1186
  UserPoolType.add_member(:email_verification_message, Shapes::ShapeRef.new(shape: EmailVerificationMessageType, location_name: "EmailVerificationMessage"))
1183
1187
  UserPoolType.add_member(:email_verification_subject, Shapes::ShapeRef.new(shape: EmailVerificationSubjectType, location_name: "EmailVerificationSubject"))
@@ -1202,6 +1206,8 @@ module Aws::CognitoIdentityProvider
1202
1206
  UserType.add_member(:mfa_options, Shapes::ShapeRef.new(shape: MFAOptionListType, location_name: "MFAOptions"))
1203
1207
  UserType.struct_class = Types::UserType
1204
1208
 
1209
+ UsernameAttributesListType.member = Shapes::ShapeRef.new(shape: UsernameAttributeType)
1210
+
1205
1211
  UsersListType.member = Shapes::ShapeRef.new(shape: UserType)
1206
1212
 
1207
1213
  VerifiedAttributesListType.member = Shapes::ShapeRef.new(shape: VerifiedAttributeType)
@@ -1478,6 +1484,9 @@ module Aws::CognitoIdentityProvider
1478
1484
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1479
1485
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1480
1486
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
1487
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
1488
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
1489
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
1481
1490
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1482
1491
  end)
1483
1492
 
@@ -654,7 +654,7 @@ module Aws::CognitoIdentityProvider
654
654
  # * `REFRESH_TOKEN_AUTH` will take in a valid refresh token and return
655
655
  # new tokens.
656
656
  #
657
- # * `USER_SRP_AUTH` will take in `USERNAME` and `SRPA` and return the
657
+ # * `USER_SRP_AUTH` will take in `USERNAME` and `SRP_A` and return the
658
658
  # SRP variables to be used for next challenge execution.
659
659
  #
660
660
  # Valid values include:
@@ -678,7 +678,7 @@ module Aws::CognitoIdentityProvider
678
678
  # `AuthFlow` that you are invoking. The required values depend on the
679
679
  # value of `AuthFlow`\:
680
680
  #
681
- # * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRPA` (required),
681
+ # * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRP_A` (required),
682
682
  # `SECRET_HASH` (required if the app client is configured with a
683
683
  # client secret), `DEVICE_KEY`
684
684
  #
@@ -1906,6 +1906,7 @@ module Aws::CognitoIdentityProvider
1906
1906
  # },
1907
1907
  # auto_verified_attributes: ["phone_number"], # accepts phone_number, email
1908
1908
  # alias_attributes: ["phone_number"], # accepts phone_number, email, preferred_username
1909
+ # username_attributes: ["phone_number"], # accepts phone_number, email
1909
1910
  # sms_verification_message: "SmsVerificationMessageType",
1910
1911
  # email_verification_message: "EmailVerificationMessageType",
1911
1912
  # email_verification_subject: "EmailVerificationSubjectType",
@@ -1976,6 +1977,11 @@ module Aws::CognitoIdentityProvider
1976
1977
  # values: **phone\_number**, **email**, or **preferred\_username**.
1977
1978
  # @return [Array<String>]
1978
1979
  #
1980
+ # @!attribute [rw] username_attributes
1981
+ # Specifies whether email addresses or phone numbers can be specified
1982
+ # as usernames when a user signs up.
1983
+ # @return [Array<String>]
1984
+ #
1979
1985
  # @!attribute [rw] sms_verification_message
1980
1986
  # A string representing the SMS verification message.
1981
1987
  # @return [String]
@@ -2034,6 +2040,7 @@ module Aws::CognitoIdentityProvider
2034
2040
  :lambda_config,
2035
2041
  :auto_verified_attributes,
2036
2042
  :alias_attributes,
2043
+ :username_attributes,
2037
2044
  :sms_verification_message,
2038
2045
  :email_verification_message,
2039
2046
  :email_verification_subject,
@@ -3053,8 +3060,8 @@ module Aws::CognitoIdentityProvider
3053
3060
  # * `REFRESH_TOKEN_AUTH` will take in a valid refresh token and return
3054
3061
  # new tokens.
3055
3062
  #
3056
- # * `USER_SRP_AUTH` will take in USERNAME and SRPA and return the SRP
3057
- # variables to be used for next challenge execution.
3063
+ # * `USER_SRP_AUTH` will take in `USERNAME` and `SRP_A` and return the
3064
+ # SRP variables to be used for next challenge execution.
3058
3065
  #
3059
3066
  # Valid values include:
3060
3067
  #
@@ -3075,7 +3082,7 @@ module Aws::CognitoIdentityProvider
3075
3082
  # `AuthFlow` that you are invoking. The required values depend on the
3076
3083
  # value of `AuthFlow`\:
3077
3084
  #
3078
- # * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRPA` (required),
3085
+ # * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRP_A` (required),
3079
3086
  # `SECRET_HASH` (required if the app client is configured with a
3080
3087
  # client secret), `DEVICE_KEY`
3081
3088
  #
@@ -5189,6 +5196,11 @@ module Aws::CognitoIdentityProvider
5189
5196
  # Specifies the attributes that are aliased in a user pool.
5190
5197
  # @return [Array<String>]
5191
5198
  #
5199
+ # @!attribute [rw] username_attributes
5200
+ # Specifies whether email addresses or phone numbers can be specified
5201
+ # as usernames when a user signs up.
5202
+ # @return [Array<String>]
5203
+ #
5192
5204
  # @!attribute [rw] sms_verification_message
5193
5205
  # The contents of the SMS verification message.
5194
5206
  # @return [String]
@@ -5270,6 +5282,7 @@ module Aws::CognitoIdentityProvider
5270
5282
  :schema_attributes,
5271
5283
  :auto_verified_attributes,
5272
5284
  :alias_attributes,
5285
+ :username_attributes,
5273
5286
  :sms_verification_message,
5274
5287
  :email_verification_message,
5275
5288
  :email_verification_subject,
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.0.0.rc9
4
+ version: 1.0.0.rc10
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: 2017-07-12 00:00:00.000000000 Z
11
+ date: 2017-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core