aws-sdk-cognitoidentityprovider 1.116.0 → 1.117.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +1808 -1389
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +6 -0
- data/lib/aws-sdk-cognitoidentityprovider/errors.rb +16 -0
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +1949 -2141
- data/lib/aws-sdk-cognitoidentityprovider.rb +1 -1
- data/sig/client.rbs +3 -2
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +7 -1
- metadata +2 -2
@@ -211,6 +211,7 @@ module Aws::CognitoIdentityProvider
|
|
211
211
|
DescribeUserPoolResponse = Shapes::StructureShape.new(name: 'DescribeUserPoolResponse')
|
212
212
|
DescriptionType = Shapes::StringShape.new(name: 'DescriptionType')
|
213
213
|
DeviceConfigurationType = Shapes::StructureShape.new(name: 'DeviceConfigurationType')
|
214
|
+
DeviceKeyExistsException = Shapes::StructureShape.new(name: 'DeviceKeyExistsException')
|
214
215
|
DeviceKeyType = Shapes::StringShape.new(name: 'DeviceKeyType')
|
215
216
|
DeviceListType = Shapes::ListShape.new(name: 'DeviceListType')
|
216
217
|
DeviceNameType = Shapes::StringShape.new(name: 'DeviceNameType')
|
@@ -686,6 +687,7 @@ module Aws::CognitoIdentityProvider
|
|
686
687
|
AdminInitiateAuthResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionType, location_name: "Session"))
|
687
688
|
AdminInitiateAuthResponse.add_member(:challenge_parameters, Shapes::ShapeRef.new(shape: ChallengeParametersType, location_name: "ChallengeParameters"))
|
688
689
|
AdminInitiateAuthResponse.add_member(:authentication_result, Shapes::ShapeRef.new(shape: AuthenticationResultType, location_name: "AuthenticationResult"))
|
690
|
+
AdminInitiateAuthResponse.add_member(:available_challenges, Shapes::ShapeRef.new(shape: AvailableChallengeListType, location_name: "AvailableChallenges"))
|
689
691
|
AdminInitiateAuthResponse.struct_class = Types::AdminInitiateAuthResponse
|
690
692
|
|
691
693
|
AdminLinkProviderForUserRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: StringType, required: true, location_name: "UserPoolId"))
|
@@ -1226,6 +1228,9 @@ module Aws::CognitoIdentityProvider
|
|
1226
1228
|
DeviceConfigurationType.add_member(:device_only_remembered_on_user_prompt, Shapes::ShapeRef.new(shape: BooleanType, location_name: "DeviceOnlyRememberedOnUserPrompt"))
|
1227
1229
|
DeviceConfigurationType.struct_class = Types::DeviceConfigurationType
|
1228
1230
|
|
1231
|
+
DeviceKeyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
|
1232
|
+
DeviceKeyExistsException.struct_class = Types::DeviceKeyExistsException
|
1233
|
+
|
1229
1234
|
DeviceListType.member = Shapes::ShapeRef.new(shape: DeviceType)
|
1230
1235
|
|
1231
1236
|
DeviceSecretVerifierConfigType.add_member(:password_verifier, Shapes::ShapeRef.new(shape: StringType, location_name: "PasswordVerifier"))
|
@@ -2876,6 +2881,7 @@ module Aws::CognitoIdentityProvider
|
|
2876
2881
|
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
|
2877
2882
|
o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
|
2878
2883
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2884
|
+
o.errors << Shapes::ShapeRef.new(shape: DeviceKeyExistsException)
|
2879
2885
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2880
2886
|
end)
|
2881
2887
|
|
@@ -31,6 +31,7 @@ module Aws::CognitoIdentityProvider
|
|
31
31
|
# * {CodeDeliveryFailureException}
|
32
32
|
# * {CodeMismatchException}
|
33
33
|
# * {ConcurrentModificationException}
|
34
|
+
# * {DeviceKeyExistsException}
|
34
35
|
# * {DuplicateProviderException}
|
35
36
|
# * {EnableSoftwareTokenMFAException}
|
36
37
|
# * {ExpiredCodeException}
|
@@ -146,6 +147,21 @@ module Aws::CognitoIdentityProvider
|
|
146
147
|
end
|
147
148
|
end
|
148
149
|
|
150
|
+
class DeviceKeyExistsException < ServiceError
|
151
|
+
|
152
|
+
# @param [Seahorse::Client::RequestContext] context
|
153
|
+
# @param [String] message
|
154
|
+
# @param [Aws::CognitoIdentityProvider::Types::DeviceKeyExistsException] data
|
155
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
156
|
+
super(context, message, data)
|
157
|
+
end
|
158
|
+
|
159
|
+
# @return [String]
|
160
|
+
def message
|
161
|
+
@message || @data[:message]
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
149
165
|
class DuplicateProviderException < ServiceError
|
150
166
|
|
151
167
|
# @param [Seahorse::Client::RequestContext] context
|