aws-sdk-cognitoidentityprovider 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,11 @@ module Aws::CognitoIdentityProvider
12
12
  include Seahorse::Model
13
13
 
14
14
  AWSAccountIdType = Shapes::StringShape.new(name: 'AWSAccountIdType')
15
+ AccountTakeoverActionNotifyType = Shapes::BooleanShape.new(name: 'AccountTakeoverActionNotifyType')
16
+ AccountTakeoverActionType = Shapes::StructureShape.new(name: 'AccountTakeoverActionType')
17
+ AccountTakeoverActionsType = Shapes::StructureShape.new(name: 'AccountTakeoverActionsType')
18
+ AccountTakeoverEventActionType = Shapes::StringShape.new(name: 'AccountTakeoverEventActionType')
19
+ AccountTakeoverRiskConfigurationType = Shapes::StructureShape.new(name: 'AccountTakeoverRiskConfigurationType')
15
20
  AddCustomAttributesRequest = Shapes::StructureShape.new(name: 'AddCustomAttributesRequest')
16
21
  AddCustomAttributesResponse = Shapes::StructureShape.new(name: 'AddCustomAttributesResponse')
17
22
  AdminAddUserToGroupRequest = Shapes::StructureShape.new(name: 'AdminAddUserToGroupRequest')
@@ -43,23 +48,34 @@ module Aws::CognitoIdentityProvider
43
48
  AdminListDevicesResponse = Shapes::StructureShape.new(name: 'AdminListDevicesResponse')
44
49
  AdminListGroupsForUserRequest = Shapes::StructureShape.new(name: 'AdminListGroupsForUserRequest')
45
50
  AdminListGroupsForUserResponse = Shapes::StructureShape.new(name: 'AdminListGroupsForUserResponse')
51
+ AdminListUserAuthEventsRequest = Shapes::StructureShape.new(name: 'AdminListUserAuthEventsRequest')
52
+ AdminListUserAuthEventsResponse = Shapes::StructureShape.new(name: 'AdminListUserAuthEventsResponse')
46
53
  AdminRemoveUserFromGroupRequest = Shapes::StructureShape.new(name: 'AdminRemoveUserFromGroupRequest')
47
54
  AdminResetUserPasswordRequest = Shapes::StructureShape.new(name: 'AdminResetUserPasswordRequest')
48
55
  AdminResetUserPasswordResponse = Shapes::StructureShape.new(name: 'AdminResetUserPasswordResponse')
49
56
  AdminRespondToAuthChallengeRequest = Shapes::StructureShape.new(name: 'AdminRespondToAuthChallengeRequest')
50
57
  AdminRespondToAuthChallengeResponse = Shapes::StructureShape.new(name: 'AdminRespondToAuthChallengeResponse')
58
+ AdminSetUserMFAPreferenceRequest = Shapes::StructureShape.new(name: 'AdminSetUserMFAPreferenceRequest')
59
+ AdminSetUserMFAPreferenceResponse = Shapes::StructureShape.new(name: 'AdminSetUserMFAPreferenceResponse')
51
60
  AdminSetUserSettingsRequest = Shapes::StructureShape.new(name: 'AdminSetUserSettingsRequest')
52
61
  AdminSetUserSettingsResponse = Shapes::StructureShape.new(name: 'AdminSetUserSettingsResponse')
62
+ AdminUpdateAuthEventFeedbackRequest = Shapes::StructureShape.new(name: 'AdminUpdateAuthEventFeedbackRequest')
63
+ AdminUpdateAuthEventFeedbackResponse = Shapes::StructureShape.new(name: 'AdminUpdateAuthEventFeedbackResponse')
53
64
  AdminUpdateDeviceStatusRequest = Shapes::StructureShape.new(name: 'AdminUpdateDeviceStatusRequest')
54
65
  AdminUpdateDeviceStatusResponse = Shapes::StructureShape.new(name: 'AdminUpdateDeviceStatusResponse')
55
66
  AdminUpdateUserAttributesRequest = Shapes::StructureShape.new(name: 'AdminUpdateUserAttributesRequest')
56
67
  AdminUpdateUserAttributesResponse = Shapes::StructureShape.new(name: 'AdminUpdateUserAttributesResponse')
57
68
  AdminUserGlobalSignOutRequest = Shapes::StructureShape.new(name: 'AdminUserGlobalSignOutRequest')
58
69
  AdminUserGlobalSignOutResponse = Shapes::StructureShape.new(name: 'AdminUserGlobalSignOutResponse')
70
+ AdvancedSecurityModeType = Shapes::StringShape.new(name: 'AdvancedSecurityModeType')
59
71
  AliasAttributeType = Shapes::StringShape.new(name: 'AliasAttributeType')
60
72
  AliasAttributesListType = Shapes::ListShape.new(name: 'AliasAttributesListType')
61
73
  AliasExistsException = Shapes::StructureShape.new(name: 'AliasExistsException')
74
+ AnalyticsConfigurationType = Shapes::StructureShape.new(name: 'AnalyticsConfigurationType')
75
+ AnalyticsMetadataType = Shapes::StructureShape.new(name: 'AnalyticsMetadataType')
62
76
  ArnType = Shapes::StringShape.new(name: 'ArnType')
77
+ AssociateSoftwareTokenRequest = Shapes::StructureShape.new(name: 'AssociateSoftwareTokenRequest')
78
+ AssociateSoftwareTokenResponse = Shapes::StructureShape.new(name: 'AssociateSoftwareTokenResponse')
63
79
  AttributeDataType = Shapes::StringShape.new(name: 'AttributeDataType')
64
80
  AttributeListType = Shapes::ListShape.new(name: 'AttributeListType')
65
81
  AttributeMappingKeyType = Shapes::StringShape.new(name: 'AttributeMappingKeyType')
@@ -68,15 +84,22 @@ module Aws::CognitoIdentityProvider
68
84
  AttributeNameType = Shapes::StringShape.new(name: 'AttributeNameType')
69
85
  AttributeType = Shapes::StructureShape.new(name: 'AttributeType')
70
86
  AttributeValueType = Shapes::StringShape.new(name: 'AttributeValueType')
87
+ AuthEventType = Shapes::StructureShape.new(name: 'AuthEventType')
88
+ AuthEventsType = Shapes::ListShape.new(name: 'AuthEventsType')
71
89
  AuthFlowType = Shapes::StringShape.new(name: 'AuthFlowType')
72
90
  AuthParametersType = Shapes::MapShape.new(name: 'AuthParametersType')
73
91
  AuthenticationResultType = Shapes::StructureShape.new(name: 'AuthenticationResultType')
92
+ BlockedIPRangeListType = Shapes::ListShape.new(name: 'BlockedIPRangeListType')
74
93
  BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
75
94
  CSSType = Shapes::StringShape.new(name: 'CSSType')
76
95
  CSSVersionType = Shapes::StringShape.new(name: 'CSSVersionType')
77
96
  CallbackURLsListType = Shapes::ListShape.new(name: 'CallbackURLsListType')
97
+ ChallengeName = Shapes::StringShape.new(name: 'ChallengeName')
78
98
  ChallengeNameType = Shapes::StringShape.new(name: 'ChallengeNameType')
79
99
  ChallengeParametersType = Shapes::MapShape.new(name: 'ChallengeParametersType')
100
+ ChallengeResponse = Shapes::StringShape.new(name: 'ChallengeResponse')
101
+ ChallengeResponseListType = Shapes::ListShape.new(name: 'ChallengeResponseListType')
102
+ ChallengeResponseType = Shapes::StructureShape.new(name: 'ChallengeResponseType')
80
103
  ChallengeResponsesType = Shapes::MapShape.new(name: 'ChallengeResponsesType')
81
104
  ChangePasswordRequest = Shapes::StructureShape.new(name: 'ChangePasswordRequest')
82
105
  ChangePasswordResponse = Shapes::StructureShape.new(name: 'ChangePasswordResponse')
@@ -91,6 +114,9 @@ module Aws::CognitoIdentityProvider
91
114
  CodeDeliveryFailureException = Shapes::StructureShape.new(name: 'CodeDeliveryFailureException')
92
115
  CodeMismatchException = Shapes::StructureShape.new(name: 'CodeMismatchException')
93
116
  CompletionMessageType = Shapes::StringShape.new(name: 'CompletionMessageType')
117
+ CompromisedCredentialsActionsType = Shapes::StructureShape.new(name: 'CompromisedCredentialsActionsType')
118
+ CompromisedCredentialsEventActionType = Shapes::StringShape.new(name: 'CompromisedCredentialsEventActionType')
119
+ CompromisedCredentialsRiskConfigurationType = Shapes::StructureShape.new(name: 'CompromisedCredentialsRiskConfigurationType')
94
120
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
95
121
  ConfirmDeviceRequest = Shapes::StructureShape.new(name: 'ConfirmDeviceRequest')
96
122
  ConfirmDeviceResponse = Shapes::StructureShape.new(name: 'ConfirmDeviceResponse')
@@ -99,6 +125,7 @@ module Aws::CognitoIdentityProvider
99
125
  ConfirmSignUpRequest = Shapes::StructureShape.new(name: 'ConfirmSignUpRequest')
100
126
  ConfirmSignUpResponse = Shapes::StructureShape.new(name: 'ConfirmSignUpResponse')
101
127
  ConfirmationCodeType = Shapes::StringShape.new(name: 'ConfirmationCodeType')
128
+ ContextDataType = Shapes::StructureShape.new(name: 'ContextDataType')
102
129
  CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
103
130
  CreateGroupResponse = Shapes::StructureShape.new(name: 'CreateGroupResponse')
104
131
  CreateIdentityProviderRequest = Shapes::StructureShape.new(name: 'CreateIdentityProviderRequest')
@@ -133,6 +160,8 @@ module Aws::CognitoIdentityProvider
133
160
  DescribeIdentityProviderResponse = Shapes::StructureShape.new(name: 'DescribeIdentityProviderResponse')
134
161
  DescribeResourceServerRequest = Shapes::StructureShape.new(name: 'DescribeResourceServerRequest')
135
162
  DescribeResourceServerResponse = Shapes::StructureShape.new(name: 'DescribeResourceServerResponse')
163
+ DescribeRiskConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeRiskConfigurationRequest')
164
+ DescribeRiskConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeRiskConfigurationResponse')
136
165
  DescribeUserImportJobRequest = Shapes::StructureShape.new(name: 'DescribeUserImportJobRequest')
137
166
  DescribeUserImportJobResponse = Shapes::StructureShape.new(name: 'DescribeUserImportJobResponse')
138
167
  DescribeUserPoolClientRequest = Shapes::StructureShape.new(name: 'DescribeUserPoolClientRequest')
@@ -156,13 +185,25 @@ module Aws::CognitoIdentityProvider
156
185
  DuplicateProviderException = Shapes::StructureShape.new(name: 'DuplicateProviderException')
157
186
  EmailAddressType = Shapes::StringShape.new(name: 'EmailAddressType')
158
187
  EmailConfigurationType = Shapes::StructureShape.new(name: 'EmailConfigurationType')
188
+ EmailNotificationBodyType = Shapes::StringShape.new(name: 'EmailNotificationBodyType')
189
+ EmailNotificationSubjectType = Shapes::StringShape.new(name: 'EmailNotificationSubjectType')
159
190
  EmailVerificationMessageByLinkType = Shapes::StringShape.new(name: 'EmailVerificationMessageByLinkType')
160
191
  EmailVerificationMessageType = Shapes::StringShape.new(name: 'EmailVerificationMessageType')
161
192
  EmailVerificationSubjectByLinkType = Shapes::StringShape.new(name: 'EmailVerificationSubjectByLinkType')
162
193
  EmailVerificationSubjectType = Shapes::StringShape.new(name: 'EmailVerificationSubjectType')
194
+ EnableSoftwareTokenMFAException = Shapes::StructureShape.new(name: 'EnableSoftwareTokenMFAException')
195
+ EventContextDataType = Shapes::StructureShape.new(name: 'EventContextDataType')
196
+ EventFeedbackType = Shapes::StructureShape.new(name: 'EventFeedbackType')
197
+ EventFilterType = Shapes::StringShape.new(name: 'EventFilterType')
198
+ EventFiltersType = Shapes::ListShape.new(name: 'EventFiltersType')
199
+ EventIdType = Shapes::StringShape.new(name: 'EventIdType')
200
+ EventResponseType = Shapes::StringShape.new(name: 'EventResponseType')
201
+ EventRiskType = Shapes::StructureShape.new(name: 'EventRiskType')
202
+ EventType = Shapes::StringShape.new(name: 'EventType')
163
203
  ExpiredCodeException = Shapes::StructureShape.new(name: 'ExpiredCodeException')
164
204
  ExplicitAuthFlowsListType = Shapes::ListShape.new(name: 'ExplicitAuthFlowsListType')
165
205
  ExplicitAuthFlowsType = Shapes::StringShape.new(name: 'ExplicitAuthFlowsType')
206
+ FeedbackValueType = Shapes::StringShape.new(name: 'FeedbackValueType')
166
207
  ForceAliasCreation = Shapes::BooleanShape.new(name: 'ForceAliasCreation')
167
208
  ForgetDeviceRequest = Shapes::StructureShape.new(name: 'ForgetDeviceRequest')
168
209
  ForgotPasswordRequest = Shapes::StructureShape.new(name: 'ForgotPasswordRequest')
@@ -180,6 +221,8 @@ module Aws::CognitoIdentityProvider
180
221
  GetUICustomizationResponse = Shapes::StructureShape.new(name: 'GetUICustomizationResponse')
181
222
  GetUserAttributeVerificationCodeRequest = Shapes::StructureShape.new(name: 'GetUserAttributeVerificationCodeRequest')
182
223
  GetUserAttributeVerificationCodeResponse = Shapes::StructureShape.new(name: 'GetUserAttributeVerificationCodeResponse')
224
+ GetUserPoolMfaConfigRequest = Shapes::StructureShape.new(name: 'GetUserPoolMfaConfigRequest')
225
+ GetUserPoolMfaConfigResponse = Shapes::StructureShape.new(name: 'GetUserPoolMfaConfigResponse')
183
226
  GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
184
227
  GetUserResponse = Shapes::StructureShape.new(name: 'GetUserResponse')
185
228
  GlobalSignOutRequest = Shapes::StructureShape.new(name: 'GlobalSignOutRequest')
@@ -188,6 +231,9 @@ module Aws::CognitoIdentityProvider
188
231
  GroupListType = Shapes::ListShape.new(name: 'GroupListType')
189
232
  GroupNameType = Shapes::StringShape.new(name: 'GroupNameType')
190
233
  GroupType = Shapes::StructureShape.new(name: 'GroupType')
234
+ HexStringType = Shapes::StringShape.new(name: 'HexStringType')
235
+ HttpHeader = Shapes::StructureShape.new(name: 'HttpHeader')
236
+ HttpHeaderList = Shapes::ListShape.new(name: 'HttpHeaderList')
191
237
  IdentityProviderType = Shapes::StructureShape.new(name: 'IdentityProviderType')
192
238
  IdentityProviderTypeType = Shapes::StringShape.new(name: 'IdentityProviderTypeType')
193
239
  IdpIdentifierType = Shapes::StringShape.new(name: 'IdpIdentifierType')
@@ -239,6 +285,8 @@ module Aws::CognitoIdentityProvider
239
285
  MessageType = Shapes::StringShape.new(name: 'MessageType')
240
286
  NewDeviceMetadataType = Shapes::StructureShape.new(name: 'NewDeviceMetadataType')
241
287
  NotAuthorizedException = Shapes::StructureShape.new(name: 'NotAuthorizedException')
288
+ NotifyConfigurationType = Shapes::StructureShape.new(name: 'NotifyConfigurationType')
289
+ NotifyEmailType = Shapes::StructureShape.new(name: 'NotifyEmailType')
242
290
  NumberAttributeConstraintsType = Shapes::StructureShape.new(name: 'NumberAttributeConstraintsType')
243
291
  OAuthFlowType = Shapes::StringShape.new(name: 'OAuthFlowType')
244
292
  OAuthFlowsType = Shapes::ListShape.new(name: 'OAuthFlowsType')
@@ -275,7 +323,12 @@ module Aws::CognitoIdentityProvider
275
323
  ResourceServersListType = Shapes::ListShape.new(name: 'ResourceServersListType')
276
324
  RespondToAuthChallengeRequest = Shapes::StructureShape.new(name: 'RespondToAuthChallengeRequest')
277
325
  RespondToAuthChallengeResponse = Shapes::StructureShape.new(name: 'RespondToAuthChallengeResponse')
326
+ RiskConfigurationType = Shapes::StructureShape.new(name: 'RiskConfigurationType')
327
+ RiskDecisionType = Shapes::StringShape.new(name: 'RiskDecisionType')
328
+ RiskExceptionConfigurationType = Shapes::StructureShape.new(name: 'RiskExceptionConfigurationType')
329
+ RiskLevelType = Shapes::StringShape.new(name: 'RiskLevelType')
278
330
  S3BucketType = Shapes::StringShape.new(name: 'S3BucketType')
331
+ SMSMfaSettingsType = Shapes::StructureShape.new(name: 'SMSMfaSettingsType')
279
332
  SchemaAttributeType = Shapes::StructureShape.new(name: 'SchemaAttributeType')
280
333
  SchemaAttributesListType = Shapes::ListShape.new(name: 'SchemaAttributesListType')
281
334
  ScopeDoesNotExistException = Shapes::StructureShape.new(name: 'ScopeDoesNotExistException')
@@ -283,16 +336,29 @@ module Aws::CognitoIdentityProvider
283
336
  ScopeType = Shapes::StringShape.new(name: 'ScopeType')
284
337
  SearchPaginationTokenType = Shapes::StringShape.new(name: 'SearchPaginationTokenType')
285
338
  SearchedAttributeNamesListType = Shapes::ListShape.new(name: 'SearchedAttributeNamesListType')
339
+ SecretCodeType = Shapes::StringShape.new(name: 'SecretCodeType')
286
340
  SecretHashType = Shapes::StringShape.new(name: 'SecretHashType')
287
341
  SessionType = Shapes::StringShape.new(name: 'SessionType')
342
+ SetRiskConfigurationRequest = Shapes::StructureShape.new(name: 'SetRiskConfigurationRequest')
343
+ SetRiskConfigurationResponse = Shapes::StructureShape.new(name: 'SetRiskConfigurationResponse')
288
344
  SetUICustomizationRequest = Shapes::StructureShape.new(name: 'SetUICustomizationRequest')
289
345
  SetUICustomizationResponse = Shapes::StructureShape.new(name: 'SetUICustomizationResponse')
346
+ SetUserMFAPreferenceRequest = Shapes::StructureShape.new(name: 'SetUserMFAPreferenceRequest')
347
+ SetUserMFAPreferenceResponse = Shapes::StructureShape.new(name: 'SetUserMFAPreferenceResponse')
348
+ SetUserPoolMfaConfigRequest = Shapes::StructureShape.new(name: 'SetUserPoolMfaConfigRequest')
349
+ SetUserPoolMfaConfigResponse = Shapes::StructureShape.new(name: 'SetUserPoolMfaConfigResponse')
290
350
  SetUserSettingsRequest = Shapes::StructureShape.new(name: 'SetUserSettingsRequest')
291
351
  SetUserSettingsResponse = Shapes::StructureShape.new(name: 'SetUserSettingsResponse')
292
352
  SignUpRequest = Shapes::StructureShape.new(name: 'SignUpRequest')
293
353
  SignUpResponse = Shapes::StructureShape.new(name: 'SignUpResponse')
354
+ SkippedIPRangeListType = Shapes::ListShape.new(name: 'SkippedIPRangeListType')
294
355
  SmsConfigurationType = Shapes::StructureShape.new(name: 'SmsConfigurationType')
356
+ SmsMfaConfigType = Shapes::StructureShape.new(name: 'SmsMfaConfigType')
295
357
  SmsVerificationMessageType = Shapes::StringShape.new(name: 'SmsVerificationMessageType')
358
+ SoftwareTokenMFANotFoundException = Shapes::StructureShape.new(name: 'SoftwareTokenMFANotFoundException')
359
+ SoftwareTokenMFAUserCodeType = Shapes::StringShape.new(name: 'SoftwareTokenMFAUserCodeType')
360
+ SoftwareTokenMfaConfigType = Shapes::StructureShape.new(name: 'SoftwareTokenMfaConfigType')
361
+ SoftwareTokenMfaSettingsType = Shapes::StructureShape.new(name: 'SoftwareTokenMfaSettingsType')
296
362
  StartUserImportJobRequest = Shapes::StructureShape.new(name: 'StartUserImportJobRequest')
297
363
  StartUserImportJobResponse = Shapes::StructureShape.new(name: 'StartUserImportJobResponse')
298
364
  StatusType = Shapes::StringShape.new(name: 'StatusType')
@@ -308,6 +374,8 @@ module Aws::CognitoIdentityProvider
308
374
  UnexpectedLambdaException = Shapes::StructureShape.new(name: 'UnexpectedLambdaException')
309
375
  UnsupportedIdentityProviderException = Shapes::StructureShape.new(name: 'UnsupportedIdentityProviderException')
310
376
  UnsupportedUserStateException = Shapes::StructureShape.new(name: 'UnsupportedUserStateException')
377
+ UpdateAuthEventFeedbackRequest = Shapes::StructureShape.new(name: 'UpdateAuthEventFeedbackRequest')
378
+ UpdateAuthEventFeedbackResponse = Shapes::StructureShape.new(name: 'UpdateAuthEventFeedbackResponse')
311
379
  UpdateDeviceStatusRequest = Shapes::StructureShape.new(name: 'UpdateDeviceStatusRequest')
312
380
  UpdateDeviceStatusResponse = Shapes::StructureShape.new(name: 'UpdateDeviceStatusResponse')
313
381
  UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
@@ -322,6 +390,7 @@ module Aws::CognitoIdentityProvider
322
390
  UpdateUserPoolClientResponse = Shapes::StructureShape.new(name: 'UpdateUserPoolClientResponse')
323
391
  UpdateUserPoolRequest = Shapes::StructureShape.new(name: 'UpdateUserPoolRequest')
324
392
  UpdateUserPoolResponse = Shapes::StructureShape.new(name: 'UpdateUserPoolResponse')
393
+ UserContextDataType = Shapes::StructureShape.new(name: 'UserContextDataType')
325
394
  UserFilterType = Shapes::StringShape.new(name: 'UserFilterType')
326
395
  UserImportInProgressException = Shapes::StructureShape.new(name: 'UserImportInProgressException')
327
396
  UserImportJobIdType = Shapes::StringShape.new(name: 'UserImportJobIdType')
@@ -330,8 +399,11 @@ module Aws::CognitoIdentityProvider
330
399
  UserImportJobType = Shapes::StructureShape.new(name: 'UserImportJobType')
331
400
  UserImportJobsListType = Shapes::ListShape.new(name: 'UserImportJobsListType')
332
401
  UserLambdaValidationException = Shapes::StructureShape.new(name: 'UserLambdaValidationException')
402
+ UserMFASettingListType = Shapes::ListShape.new(name: 'UserMFASettingListType')
333
403
  UserNotConfirmedException = Shapes::StructureShape.new(name: 'UserNotConfirmedException')
334
404
  UserNotFoundException = Shapes::StructureShape.new(name: 'UserNotFoundException')
405
+ UserPoolAddOnNotEnabledException = Shapes::StructureShape.new(name: 'UserPoolAddOnNotEnabledException')
406
+ UserPoolAddOnsType = Shapes::StructureShape.new(name: 'UserPoolAddOnsType')
335
407
  UserPoolClientDescription = Shapes::StructureShape.new(name: 'UserPoolClientDescription')
336
408
  UserPoolClientListType = Shapes::ListShape.new(name: 'UserPoolClientListType')
337
409
  UserPoolClientType = Shapes::StructureShape.new(name: 'UserPoolClientType')
@@ -354,9 +426,25 @@ module Aws::CognitoIdentityProvider
354
426
  VerificationMessageTemplateType = Shapes::StructureShape.new(name: 'VerificationMessageTemplateType')
355
427
  VerifiedAttributeType = Shapes::StringShape.new(name: 'VerifiedAttributeType')
356
428
  VerifiedAttributesListType = Shapes::ListShape.new(name: 'VerifiedAttributesListType')
429
+ VerifySoftwareTokenRequest = Shapes::StructureShape.new(name: 'VerifySoftwareTokenRequest')
430
+ VerifySoftwareTokenResponse = Shapes::StructureShape.new(name: 'VerifySoftwareTokenResponse')
431
+ VerifySoftwareTokenResponseType = Shapes::StringShape.new(name: 'VerifySoftwareTokenResponseType')
357
432
  VerifyUserAttributeRequest = Shapes::StructureShape.new(name: 'VerifyUserAttributeRequest')
358
433
  VerifyUserAttributeResponse = Shapes::StructureShape.new(name: 'VerifyUserAttributeResponse')
359
434
 
435
+ AccountTakeoverActionType.add_member(:notify, Shapes::ShapeRef.new(shape: AccountTakeoverActionNotifyType, required: true, location_name: "Notify"))
436
+ AccountTakeoverActionType.add_member(:event_action, Shapes::ShapeRef.new(shape: AccountTakeoverEventActionType, required: true, location_name: "EventAction"))
437
+ AccountTakeoverActionType.struct_class = Types::AccountTakeoverActionType
438
+
439
+ AccountTakeoverActionsType.add_member(:low_action, Shapes::ShapeRef.new(shape: AccountTakeoverActionType, location_name: "LowAction"))
440
+ AccountTakeoverActionsType.add_member(:medium_action, Shapes::ShapeRef.new(shape: AccountTakeoverActionType, location_name: "MediumAction"))
441
+ AccountTakeoverActionsType.add_member(:high_action, Shapes::ShapeRef.new(shape: AccountTakeoverActionType, location_name: "HighAction"))
442
+ AccountTakeoverActionsType.struct_class = Types::AccountTakeoverActionsType
443
+
444
+ AccountTakeoverRiskConfigurationType.add_member(:notify_configuration, Shapes::ShapeRef.new(shape: NotifyConfigurationType, location_name: "NotifyConfiguration"))
445
+ AccountTakeoverRiskConfigurationType.add_member(:actions, Shapes::ShapeRef.new(shape: AccountTakeoverActionsType, required: true, location_name: "Actions"))
446
+ AccountTakeoverRiskConfigurationType.struct_class = Types::AccountTakeoverRiskConfigurationType
447
+
360
448
  AddCustomAttributesRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
361
449
  AddCustomAttributesRequest.add_member(:custom_attributes, Shapes::ShapeRef.new(shape: CustomAttributesListType, required: true, location_name: "CustomAttributes"))
362
450
  AddCustomAttributesRequest.struct_class = Types::AddCustomAttributesRequest
@@ -445,6 +533,8 @@ module Aws::CognitoIdentityProvider
445
533
  AdminGetUserResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Enabled"))
446
534
  AdminGetUserResponse.add_member(:user_status, Shapes::ShapeRef.new(shape: UserStatusType, location_name: "UserStatus"))
447
535
  AdminGetUserResponse.add_member(:mfa_options, Shapes::ShapeRef.new(shape: MFAOptionListType, location_name: "MFAOptions"))
536
+ AdminGetUserResponse.add_member(:preferred_mfa_setting, Shapes::ShapeRef.new(shape: StringType, location_name: "PreferredMfaSetting"))
537
+ AdminGetUserResponse.add_member(:user_mfa_setting_list, Shapes::ShapeRef.new(shape: UserMFASettingListType, location_name: "UserMFASettingList"))
448
538
  AdminGetUserResponse.struct_class = Types::AdminGetUserResponse
449
539
 
450
540
  AdminInitiateAuthRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
@@ -452,6 +542,8 @@ module Aws::CognitoIdentityProvider
452
542
  AdminInitiateAuthRequest.add_member(:auth_flow, Shapes::ShapeRef.new(shape: AuthFlowType, required: true, location_name: "AuthFlow"))
453
543
  AdminInitiateAuthRequest.add_member(:auth_parameters, Shapes::ShapeRef.new(shape: AuthParametersType, location_name: "AuthParameters"))
454
544
  AdminInitiateAuthRequest.add_member(:client_metadata, Shapes::ShapeRef.new(shape: ClientMetadataType, location_name: "ClientMetadata"))
545
+ AdminInitiateAuthRequest.add_member(:analytics_metadata, Shapes::ShapeRef.new(shape: AnalyticsMetadataType, location_name: "AnalyticsMetadata"))
546
+ AdminInitiateAuthRequest.add_member(:context_data, Shapes::ShapeRef.new(shape: ContextDataType, location_name: "ContextData"))
455
547
  AdminInitiateAuthRequest.struct_class = Types::AdminInitiateAuthRequest
456
548
 
457
549
  AdminInitiateAuthResponse.add_member(:challenge_name, Shapes::ShapeRef.new(shape: ChallengeNameType, location_name: "ChallengeName"))
@@ -487,6 +579,16 @@ module Aws::CognitoIdentityProvider
487
579
  AdminListGroupsForUserResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
488
580
  AdminListGroupsForUserResponse.struct_class = Types::AdminListGroupsForUserResponse
489
581
 
582
+ AdminListUserAuthEventsRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
583
+ AdminListUserAuthEventsRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
584
+ AdminListUserAuthEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryLimitType, location_name: "MaxResults"))
585
+ AdminListUserAuthEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
586
+ AdminListUserAuthEventsRequest.struct_class = Types::AdminListUserAuthEventsRequest
587
+
588
+ AdminListUserAuthEventsResponse.add_member(:auth_events, Shapes::ShapeRef.new(shape: AuthEventsType, location_name: "AuthEvents"))
589
+ AdminListUserAuthEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
590
+ AdminListUserAuthEventsResponse.struct_class = Types::AdminListUserAuthEventsResponse
591
+
490
592
  AdminRemoveUserFromGroupRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
491
593
  AdminRemoveUserFromGroupRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
492
594
  AdminRemoveUserFromGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupNameType, required: true, location_name: "GroupName"))
@@ -503,6 +605,8 @@ module Aws::CognitoIdentityProvider
503
605
  AdminRespondToAuthChallengeRequest.add_member(:challenge_name, Shapes::ShapeRef.new(shape: ChallengeNameType, required: true, location_name: "ChallengeName"))
504
606
  AdminRespondToAuthChallengeRequest.add_member(:challenge_responses, Shapes::ShapeRef.new(shape: ChallengeResponsesType, location_name: "ChallengeResponses"))
505
607
  AdminRespondToAuthChallengeRequest.add_member(:session, Shapes::ShapeRef.new(shape: SessionType, location_name: "Session"))
608
+ AdminRespondToAuthChallengeRequest.add_member(:analytics_metadata, Shapes::ShapeRef.new(shape: AnalyticsMetadataType, location_name: "AnalyticsMetadata"))
609
+ AdminRespondToAuthChallengeRequest.add_member(:context_data, Shapes::ShapeRef.new(shape: ContextDataType, location_name: "ContextData"))
506
610
  AdminRespondToAuthChallengeRequest.struct_class = Types::AdminRespondToAuthChallengeRequest
507
611
 
508
612
  AdminRespondToAuthChallengeResponse.add_member(:challenge_name, Shapes::ShapeRef.new(shape: ChallengeNameType, location_name: "ChallengeName"))
@@ -511,6 +615,14 @@ module Aws::CognitoIdentityProvider
511
615
  AdminRespondToAuthChallengeResponse.add_member(:authentication_result, Shapes::ShapeRef.new(shape: AuthenticationResultType, location_name: "AuthenticationResult"))
512
616
  AdminRespondToAuthChallengeResponse.struct_class = Types::AdminRespondToAuthChallengeResponse
513
617
 
618
+ AdminSetUserMFAPreferenceRequest.add_member(:sms_mfa_settings, Shapes::ShapeRef.new(shape: SMSMfaSettingsType, location_name: "SMSMfaSettings"))
619
+ AdminSetUserMFAPreferenceRequest.add_member(:software_token_mfa_settings, Shapes::ShapeRef.new(shape: SoftwareTokenMfaSettingsType, location_name: "SoftwareTokenMfaSettings"))
620
+ AdminSetUserMFAPreferenceRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
621
+ AdminSetUserMFAPreferenceRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
622
+ AdminSetUserMFAPreferenceRequest.struct_class = Types::AdminSetUserMFAPreferenceRequest
623
+
624
+ AdminSetUserMFAPreferenceResponse.struct_class = Types::AdminSetUserMFAPreferenceResponse
625
+
514
626
  AdminSetUserSettingsRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
515
627
  AdminSetUserSettingsRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
516
628
  AdminSetUserSettingsRequest.add_member(:mfa_options, Shapes::ShapeRef.new(shape: MFAOptionListType, required: true, location_name: "MFAOptions"))
@@ -518,6 +630,14 @@ module Aws::CognitoIdentityProvider
518
630
 
519
631
  AdminSetUserSettingsResponse.struct_class = Types::AdminSetUserSettingsResponse
520
632
 
633
+ AdminUpdateAuthEventFeedbackRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
634
+ AdminUpdateAuthEventFeedbackRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
635
+ AdminUpdateAuthEventFeedbackRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: EventIdType, required: true, location_name: "EventId"))
636
+ AdminUpdateAuthEventFeedbackRequest.add_member(:feedback_value, Shapes::ShapeRef.new(shape: FeedbackValueType, required: true, location_name: "FeedbackValue"))
637
+ AdminUpdateAuthEventFeedbackRequest.struct_class = Types::AdminUpdateAuthEventFeedbackRequest
638
+
639
+ AdminUpdateAuthEventFeedbackResponse.struct_class = Types::AdminUpdateAuthEventFeedbackResponse
640
+
521
641
  AdminUpdateDeviceStatusRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
522
642
  AdminUpdateDeviceStatusRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
523
643
  AdminUpdateDeviceStatusRequest.add_member(:device_key, Shapes::ShapeRef.new(shape: DeviceKeyType, required: true, location_name: "DeviceKey"))
@@ -541,6 +661,23 @@ module Aws::CognitoIdentityProvider
541
661
 
542
662
  AliasAttributesListType.member = Shapes::ShapeRef.new(shape: AliasAttributeType)
543
663
 
664
+ AnalyticsConfigurationType.add_member(:application_id, Shapes::ShapeRef.new(shape: HexStringType, required: true, location_name: "ApplicationId"))
665
+ AnalyticsConfigurationType.add_member(:role_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "RoleArn"))
666
+ AnalyticsConfigurationType.add_member(:external_id, Shapes::ShapeRef.new(shape: StringType, required: true, location_name: "ExternalId"))
667
+ AnalyticsConfigurationType.add_member(:user_data_shared, Shapes::ShapeRef.new(shape: BooleanType, location_name: "UserDataShared"))
668
+ AnalyticsConfigurationType.struct_class = Types::AnalyticsConfigurationType
669
+
670
+ AnalyticsMetadataType.add_member(:analytics_endpoint_id, Shapes::ShapeRef.new(shape: StringType, location_name: "AnalyticsEndpointId"))
671
+ AnalyticsMetadataType.struct_class = Types::AnalyticsMetadataType
672
+
673
+ AssociateSoftwareTokenRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
674
+ AssociateSoftwareTokenRequest.add_member(:session, Shapes::ShapeRef.new(shape: SessionType, location_name: "Session"))
675
+ AssociateSoftwareTokenRequest.struct_class = Types::AssociateSoftwareTokenRequest
676
+
677
+ AssociateSoftwareTokenResponse.add_member(:secret_code, Shapes::ShapeRef.new(shape: SecretCodeType, location_name: "SecretCode"))
678
+ AssociateSoftwareTokenResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionType, location_name: "Session"))
679
+ AssociateSoftwareTokenResponse.struct_class = Types::AssociateSoftwareTokenResponse
680
+
544
681
  AttributeListType.member = Shapes::ShapeRef.new(shape: AttributeType)
545
682
 
546
683
  AttributeMappingType.key = Shapes::ShapeRef.new(shape: AttributeMappingKeyType)
@@ -552,6 +689,18 @@ module Aws::CognitoIdentityProvider
552
689
  AttributeType.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValueType, location_name: "Value"))
553
690
  AttributeType.struct_class = Types::AttributeType
554
691
 
692
+ AuthEventType.add_member(:event_id, Shapes::ShapeRef.new(shape: StringType, location_name: "EventId"))
693
+ AuthEventType.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "EventType"))
694
+ AuthEventType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
695
+ AuthEventType.add_member(:event_response, Shapes::ShapeRef.new(shape: EventResponseType, location_name: "EventResponse"))
696
+ AuthEventType.add_member(:event_risk, Shapes::ShapeRef.new(shape: EventRiskType, location_name: "EventRisk"))
697
+ AuthEventType.add_member(:challenge_responses, Shapes::ShapeRef.new(shape: ChallengeResponseListType, location_name: "ChallengeResponses"))
698
+ AuthEventType.add_member(:event_context_data, Shapes::ShapeRef.new(shape: EventContextDataType, location_name: "EventContextData"))
699
+ AuthEventType.add_member(:event_feedback, Shapes::ShapeRef.new(shape: EventFeedbackType, location_name: "EventFeedback"))
700
+ AuthEventType.struct_class = Types::AuthEventType
701
+
702
+ AuthEventsType.member = Shapes::ShapeRef.new(shape: AuthEventType)
703
+
555
704
  AuthParametersType.key = Shapes::ShapeRef.new(shape: StringType)
556
705
  AuthParametersType.value = Shapes::ShapeRef.new(shape: StringType)
557
706
 
@@ -563,11 +712,19 @@ module Aws::CognitoIdentityProvider
563
712
  AuthenticationResultType.add_member(:new_device_metadata, Shapes::ShapeRef.new(shape: NewDeviceMetadataType, location_name: "NewDeviceMetadata"))
564
713
  AuthenticationResultType.struct_class = Types::AuthenticationResultType
565
714
 
715
+ BlockedIPRangeListType.member = Shapes::ShapeRef.new(shape: StringType)
716
+
566
717
  CallbackURLsListType.member = Shapes::ShapeRef.new(shape: RedirectUrlType)
567
718
 
568
719
  ChallengeParametersType.key = Shapes::ShapeRef.new(shape: StringType)
569
720
  ChallengeParametersType.value = Shapes::ShapeRef.new(shape: StringType)
570
721
 
722
+ ChallengeResponseListType.member = Shapes::ShapeRef.new(shape: ChallengeResponseType)
723
+
724
+ ChallengeResponseType.add_member(:challenge_name, Shapes::ShapeRef.new(shape: ChallengeName, location_name: "ChallengeName"))
725
+ ChallengeResponseType.add_member(:challenge_response, Shapes::ShapeRef.new(shape: ChallengeResponse, location_name: "ChallengeResponse"))
726
+ ChallengeResponseType.struct_class = Types::ChallengeResponseType
727
+
571
728
  ChallengeResponsesType.key = Shapes::ShapeRef.new(shape: StringType)
572
729
  ChallengeResponsesType.value = Shapes::ShapeRef.new(shape: StringType)
573
730
 
@@ -590,6 +747,13 @@ module Aws::CognitoIdentityProvider
590
747
  CodeDeliveryDetailsType.add_member(:attribute_name, Shapes::ShapeRef.new(shape: AttributeNameType, location_name: "AttributeName"))
591
748
  CodeDeliveryDetailsType.struct_class = Types::CodeDeliveryDetailsType
592
749
 
750
+ CompromisedCredentialsActionsType.add_member(:event_action, Shapes::ShapeRef.new(shape: CompromisedCredentialsEventActionType, required: true, location_name: "EventAction"))
751
+ CompromisedCredentialsActionsType.struct_class = Types::CompromisedCredentialsActionsType
752
+
753
+ CompromisedCredentialsRiskConfigurationType.add_member(:event_filter, Shapes::ShapeRef.new(shape: EventFiltersType, location_name: "EventFilter"))
754
+ CompromisedCredentialsRiskConfigurationType.add_member(:actions, Shapes::ShapeRef.new(shape: CompromisedCredentialsActionsType, required: true, location_name: "Actions"))
755
+ CompromisedCredentialsRiskConfigurationType.struct_class = Types::CompromisedCredentialsRiskConfigurationType
756
+
593
757
  ConfirmDeviceRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
594
758
  ConfirmDeviceRequest.add_member(:device_key, Shapes::ShapeRef.new(shape: DeviceKeyType, required: true, location_name: "DeviceKey"))
595
759
  ConfirmDeviceRequest.add_member(:device_secret_verifier_config, Shapes::ShapeRef.new(shape: DeviceSecretVerifierConfigType, location_name: "DeviceSecretVerifierConfig"))
@@ -604,6 +768,8 @@ module Aws::CognitoIdentityProvider
604
768
  ConfirmForgotPasswordRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
605
769
  ConfirmForgotPasswordRequest.add_member(:confirmation_code, Shapes::ShapeRef.new(shape: ConfirmationCodeType, required: true, location_name: "ConfirmationCode"))
606
770
  ConfirmForgotPasswordRequest.add_member(:password, Shapes::ShapeRef.new(shape: PasswordType, required: true, location_name: "Password"))
771
+ ConfirmForgotPasswordRequest.add_member(:analytics_metadata, Shapes::ShapeRef.new(shape: AnalyticsMetadataType, location_name: "AnalyticsMetadata"))
772
+ ConfirmForgotPasswordRequest.add_member(:user_context_data, Shapes::ShapeRef.new(shape: UserContextDataType, location_name: "UserContextData"))
607
773
  ConfirmForgotPasswordRequest.struct_class = Types::ConfirmForgotPasswordRequest
608
774
 
609
775
  ConfirmForgotPasswordResponse.struct_class = Types::ConfirmForgotPasswordResponse
@@ -613,10 +779,19 @@ module Aws::CognitoIdentityProvider
613
779
  ConfirmSignUpRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
614
780
  ConfirmSignUpRequest.add_member(:confirmation_code, Shapes::ShapeRef.new(shape: ConfirmationCodeType, required: true, location_name: "ConfirmationCode"))
615
781
  ConfirmSignUpRequest.add_member(:force_alias_creation, Shapes::ShapeRef.new(shape: ForceAliasCreation, location_name: "ForceAliasCreation"))
782
+ ConfirmSignUpRequest.add_member(:analytics_metadata, Shapes::ShapeRef.new(shape: AnalyticsMetadataType, location_name: "AnalyticsMetadata"))
783
+ ConfirmSignUpRequest.add_member(:user_context_data, Shapes::ShapeRef.new(shape: UserContextDataType, location_name: "UserContextData"))
616
784
  ConfirmSignUpRequest.struct_class = Types::ConfirmSignUpRequest
617
785
 
618
786
  ConfirmSignUpResponse.struct_class = Types::ConfirmSignUpResponse
619
787
 
788
+ ContextDataType.add_member(:ip_address, Shapes::ShapeRef.new(shape: StringType, required: true, location_name: "IpAddress"))
789
+ ContextDataType.add_member(:server_name, Shapes::ShapeRef.new(shape: StringType, required: true, location_name: "ServerName"))
790
+ ContextDataType.add_member(:server_path, Shapes::ShapeRef.new(shape: StringType, required: true, location_name: "ServerPath"))
791
+ ContextDataType.add_member(:http_headers, Shapes::ShapeRef.new(shape: HttpHeaderList, required: true, location_name: "HttpHeaders"))
792
+ ContextDataType.add_member(:encoded_data, Shapes::ShapeRef.new(shape: StringType, location_name: "EncodedData"))
793
+ ContextDataType.struct_class = Types::ContextDataType
794
+
620
795
  CreateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupNameType, required: true, location_name: "GroupName"))
621
796
  CreateGroupRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
622
797
  CreateGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, location_name: "Description"))
@@ -669,6 +844,7 @@ module Aws::CognitoIdentityProvider
669
844
  CreateUserPoolClientRequest.add_member(:allowed_o_auth_flows, Shapes::ShapeRef.new(shape: OAuthFlowsType, location_name: "AllowedOAuthFlows"))
670
845
  CreateUserPoolClientRequest.add_member(:allowed_o_auth_scopes, Shapes::ShapeRef.new(shape: ScopeListType, location_name: "AllowedOAuthScopes"))
671
846
  CreateUserPoolClientRequest.add_member(:allowed_o_auth_flows_user_pool_client, Shapes::ShapeRef.new(shape: BooleanType, location_name: "AllowedOAuthFlowsUserPoolClient"))
847
+ CreateUserPoolClientRequest.add_member(:analytics_configuration, Shapes::ShapeRef.new(shape: AnalyticsConfigurationType, location_name: "AnalyticsConfiguration"))
672
848
  CreateUserPoolClientRequest.struct_class = Types::CreateUserPoolClientRequest
673
849
 
674
850
  CreateUserPoolClientResponse.add_member(:user_pool_client, Shapes::ShapeRef.new(shape: UserPoolClientType, location_name: "UserPoolClient"))
@@ -698,6 +874,7 @@ module Aws::CognitoIdentityProvider
698
874
  CreateUserPoolRequest.add_member(:user_pool_tags, Shapes::ShapeRef.new(shape: UserPoolTagsType, location_name: "UserPoolTags"))
699
875
  CreateUserPoolRequest.add_member(:admin_create_user_config, Shapes::ShapeRef.new(shape: AdminCreateUserConfigType, location_name: "AdminCreateUserConfig"))
700
876
  CreateUserPoolRequest.add_member(:schema, Shapes::ShapeRef.new(shape: SchemaAttributesListType, location_name: "Schema"))
877
+ CreateUserPoolRequest.add_member(:user_pool_add_ons, Shapes::ShapeRef.new(shape: UserPoolAddOnsType, location_name: "UserPoolAddOns"))
701
878
  CreateUserPoolRequest.struct_class = Types::CreateUserPoolRequest
702
879
 
703
880
  CreateUserPoolResponse.add_member(:user_pool, Shapes::ShapeRef.new(shape: UserPoolType, location_name: "UserPool"))
@@ -755,6 +932,13 @@ module Aws::CognitoIdentityProvider
755
932
  DescribeResourceServerResponse.add_member(:resource_server, Shapes::ShapeRef.new(shape: ResourceServerType, required: true, location_name: "ResourceServer"))
756
933
  DescribeResourceServerResponse.struct_class = Types::DescribeResourceServerResponse
757
934
 
935
+ DescribeRiskConfigurationRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
936
+ DescribeRiskConfigurationRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
937
+ DescribeRiskConfigurationRequest.struct_class = Types::DescribeRiskConfigurationRequest
938
+
939
+ DescribeRiskConfigurationResponse.add_member(:risk_configuration, Shapes::ShapeRef.new(shape: RiskConfigurationType, required: true, location_name: "RiskConfiguration"))
940
+ DescribeRiskConfigurationResponse.struct_class = Types::DescribeRiskConfigurationResponse
941
+
758
942
  DescribeUserImportJobRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
759
943
  DescribeUserImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: UserImportJobIdType, required: true, location_name: "JobId"))
760
944
  DescribeUserImportJobRequest.struct_class = Types::DescribeUserImportJobRequest
@@ -811,6 +995,24 @@ module Aws::CognitoIdentityProvider
811
995
  EmailConfigurationType.add_member(:reply_to_email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "ReplyToEmailAddress"))
812
996
  EmailConfigurationType.struct_class = Types::EmailConfigurationType
813
997
 
998
+ EventContextDataType.add_member(:ip_address, Shapes::ShapeRef.new(shape: StringType, location_name: "IpAddress"))
999
+ EventContextDataType.add_member(:device_name, Shapes::ShapeRef.new(shape: StringType, location_name: "DeviceName"))
1000
+ EventContextDataType.add_member(:timezone, Shapes::ShapeRef.new(shape: StringType, location_name: "Timezone"))
1001
+ EventContextDataType.add_member(:city, Shapes::ShapeRef.new(shape: StringType, location_name: "City"))
1002
+ EventContextDataType.add_member(:country, Shapes::ShapeRef.new(shape: StringType, location_name: "Country"))
1003
+ EventContextDataType.struct_class = Types::EventContextDataType
1004
+
1005
+ EventFeedbackType.add_member(:feedback_value, Shapes::ShapeRef.new(shape: FeedbackValueType, required: true, location_name: "FeedbackValue"))
1006
+ EventFeedbackType.add_member(:provider, Shapes::ShapeRef.new(shape: StringType, required: true, location_name: "Provider"))
1007
+ EventFeedbackType.add_member(:feedback_date, Shapes::ShapeRef.new(shape: DateType, location_name: "FeedbackDate"))
1008
+ EventFeedbackType.struct_class = Types::EventFeedbackType
1009
+
1010
+ EventFiltersType.member = Shapes::ShapeRef.new(shape: EventFilterType)
1011
+
1012
+ EventRiskType.add_member(:risk_decision, Shapes::ShapeRef.new(shape: RiskDecisionType, location_name: "RiskDecision"))
1013
+ EventRiskType.add_member(:risk_level, Shapes::ShapeRef.new(shape: RiskLevelType, location_name: "RiskLevel"))
1014
+ EventRiskType.struct_class = Types::EventRiskType
1015
+
814
1016
  ExplicitAuthFlowsListType.member = Shapes::ShapeRef.new(shape: ExplicitAuthFlowsType)
815
1017
 
816
1018
  ForgetDeviceRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
@@ -819,7 +1021,9 @@ module Aws::CognitoIdentityProvider
819
1021
 
820
1022
  ForgotPasswordRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, required: true, location_name: "ClientId"))
821
1023
  ForgotPasswordRequest.add_member(:secret_hash, Shapes::ShapeRef.new(shape: SecretHashType, location_name: "SecretHash"))
1024
+ ForgotPasswordRequest.add_member(:user_context_data, Shapes::ShapeRef.new(shape: UserContextDataType, location_name: "UserContextData"))
822
1025
  ForgotPasswordRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
1026
+ ForgotPasswordRequest.add_member(:analytics_metadata, Shapes::ShapeRef.new(shape: AnalyticsMetadataType, location_name: "AnalyticsMetadata"))
823
1027
  ForgotPasswordRequest.struct_class = Types::ForgotPasswordRequest
824
1028
 
825
1029
  ForgotPasswordResponse.add_member(:code_delivery_details, Shapes::ShapeRef.new(shape: CodeDeliveryDetailsType, location_name: "CodeDeliveryDetails"))
@@ -867,12 +1071,22 @@ module Aws::CognitoIdentityProvider
867
1071
  GetUserAttributeVerificationCodeResponse.add_member(:code_delivery_details, Shapes::ShapeRef.new(shape: CodeDeliveryDetailsType, location_name: "CodeDeliveryDetails"))
868
1072
  GetUserAttributeVerificationCodeResponse.struct_class = Types::GetUserAttributeVerificationCodeResponse
869
1073
 
1074
+ GetUserPoolMfaConfigRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
1075
+ GetUserPoolMfaConfigRequest.struct_class = Types::GetUserPoolMfaConfigRequest
1076
+
1077
+ GetUserPoolMfaConfigResponse.add_member(:sms_mfa_configuration, Shapes::ShapeRef.new(shape: SmsMfaConfigType, location_name: "SmsMfaConfiguration"))
1078
+ GetUserPoolMfaConfigResponse.add_member(:software_token_mfa_configuration, Shapes::ShapeRef.new(shape: SoftwareTokenMfaConfigType, location_name: "SoftwareTokenMfaConfiguration"))
1079
+ GetUserPoolMfaConfigResponse.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
1080
+ GetUserPoolMfaConfigResponse.struct_class = Types::GetUserPoolMfaConfigResponse
1081
+
870
1082
  GetUserRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
871
1083
  GetUserRequest.struct_class = Types::GetUserRequest
872
1084
 
873
1085
  GetUserResponse.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
874
1086
  GetUserResponse.add_member(:user_attributes, Shapes::ShapeRef.new(shape: AttributeListType, required: true, location_name: "UserAttributes"))
875
1087
  GetUserResponse.add_member(:mfa_options, Shapes::ShapeRef.new(shape: MFAOptionListType, location_name: "MFAOptions"))
1088
+ GetUserResponse.add_member(:preferred_mfa_setting, Shapes::ShapeRef.new(shape: StringType, location_name: "PreferredMfaSetting"))
1089
+ GetUserResponse.add_member(:user_mfa_setting_list, Shapes::ShapeRef.new(shape: UserMFASettingListType, location_name: "UserMFASettingList"))
876
1090
  GetUserResponse.struct_class = Types::GetUserResponse
877
1091
 
878
1092
  GlobalSignOutRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
@@ -891,6 +1105,12 @@ module Aws::CognitoIdentityProvider
891
1105
  GroupType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
892
1106
  GroupType.struct_class = Types::GroupType
893
1107
 
1108
+ HttpHeader.add_member(:header_name, Shapes::ShapeRef.new(shape: StringType, location_name: "headerName"))
1109
+ HttpHeader.add_member(:header_value, Shapes::ShapeRef.new(shape: StringType, location_name: "headerValue"))
1110
+ HttpHeader.struct_class = Types::HttpHeader
1111
+
1112
+ HttpHeaderList.member = Shapes::ShapeRef.new(shape: HttpHeader)
1113
+
894
1114
  IdentityProviderType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "UserPoolId"))
895
1115
  IdentityProviderType.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderNameType, location_name: "ProviderName"))
896
1116
  IdentityProviderType.add_member(:provider_type, Shapes::ShapeRef.new(shape: IdentityProviderTypeType, location_name: "ProviderType"))
@@ -907,6 +1127,8 @@ module Aws::CognitoIdentityProvider
907
1127
  InitiateAuthRequest.add_member(:auth_parameters, Shapes::ShapeRef.new(shape: AuthParametersType, location_name: "AuthParameters"))
908
1128
  InitiateAuthRequest.add_member(:client_metadata, Shapes::ShapeRef.new(shape: ClientMetadataType, location_name: "ClientMetadata"))
909
1129
  InitiateAuthRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, required: true, location_name: "ClientId"))
1130
+ InitiateAuthRequest.add_member(:analytics_metadata, Shapes::ShapeRef.new(shape: AnalyticsMetadataType, location_name: "AnalyticsMetadata"))
1131
+ InitiateAuthRequest.add_member(:user_context_data, Shapes::ShapeRef.new(shape: UserContextDataType, location_name: "UserContextData"))
910
1132
  InitiateAuthRequest.struct_class = Types::InitiateAuthRequest
911
1133
 
912
1134
  InitiateAuthResponse.add_member(:challenge_name, Shapes::ShapeRef.new(shape: ChallengeNameType, location_name: "ChallengeName"))
@@ -923,6 +1145,7 @@ module Aws::CognitoIdentityProvider
923
1145
  LambdaConfigType.add_member(:define_auth_challenge, Shapes::ShapeRef.new(shape: ArnType, location_name: "DefineAuthChallenge"))
924
1146
  LambdaConfigType.add_member(:create_auth_challenge, Shapes::ShapeRef.new(shape: ArnType, location_name: "CreateAuthChallenge"))
925
1147
  LambdaConfigType.add_member(:verify_auth_challenge_response, Shapes::ShapeRef.new(shape: ArnType, location_name: "VerifyAuthChallengeResponse"))
1148
+ LambdaConfigType.add_member(:pre_token_generation, Shapes::ShapeRef.new(shape: ArnType, location_name: "PreTokenGeneration"))
926
1149
  LambdaConfigType.struct_class = Types::LambdaConfigType
927
1150
 
928
1151
  ListDevicesRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
@@ -1027,6 +1250,19 @@ module Aws::CognitoIdentityProvider
1027
1250
  NewDeviceMetadataType.add_member(:device_group_key, Shapes::ShapeRef.new(shape: StringType, location_name: "DeviceGroupKey"))
1028
1251
  NewDeviceMetadataType.struct_class = Types::NewDeviceMetadataType
1029
1252
 
1253
+ NotifyConfigurationType.add_member(:from, Shapes::ShapeRef.new(shape: StringType, location_name: "From"))
1254
+ NotifyConfigurationType.add_member(:reply_to, Shapes::ShapeRef.new(shape: StringType, location_name: "ReplyTo"))
1255
+ NotifyConfigurationType.add_member(:source_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "SourceArn"))
1256
+ NotifyConfigurationType.add_member(:block_email, Shapes::ShapeRef.new(shape: NotifyEmailType, location_name: "BlockEmail"))
1257
+ NotifyConfigurationType.add_member(:no_action_email, Shapes::ShapeRef.new(shape: NotifyEmailType, location_name: "NoActionEmail"))
1258
+ NotifyConfigurationType.add_member(:mfa_email, Shapes::ShapeRef.new(shape: NotifyEmailType, location_name: "MfaEmail"))
1259
+ NotifyConfigurationType.struct_class = Types::NotifyConfigurationType
1260
+
1261
+ NotifyEmailType.add_member(:subject, Shapes::ShapeRef.new(shape: EmailNotificationSubjectType, required: true, location_name: "Subject"))
1262
+ NotifyEmailType.add_member(:html_body, Shapes::ShapeRef.new(shape: EmailNotificationBodyType, location_name: "HtmlBody"))
1263
+ NotifyEmailType.add_member(:text_body, Shapes::ShapeRef.new(shape: EmailNotificationBodyType, location_name: "TextBody"))
1264
+ NotifyEmailType.struct_class = Types::NotifyEmailType
1265
+
1030
1266
  NumberAttributeConstraintsType.add_member(:min_value, Shapes::ShapeRef.new(shape: StringType, location_name: "MinValue"))
1031
1267
  NumberAttributeConstraintsType.add_member(:max_value, Shapes::ShapeRef.new(shape: StringType, location_name: "MaxValue"))
1032
1268
  NumberAttributeConstraintsType.struct_class = Types::NumberAttributeConstraintsType
@@ -1058,7 +1294,9 @@ module Aws::CognitoIdentityProvider
1058
1294
 
1059
1295
  ResendConfirmationCodeRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, required: true, location_name: "ClientId"))
1060
1296
  ResendConfirmationCodeRequest.add_member(:secret_hash, Shapes::ShapeRef.new(shape: SecretHashType, location_name: "SecretHash"))
1297
+ ResendConfirmationCodeRequest.add_member(:user_context_data, Shapes::ShapeRef.new(shape: UserContextDataType, location_name: "UserContextData"))
1061
1298
  ResendConfirmationCodeRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
1299
+ ResendConfirmationCodeRequest.add_member(:analytics_metadata, Shapes::ShapeRef.new(shape: AnalyticsMetadataType, location_name: "AnalyticsMetadata"))
1062
1300
  ResendConfirmationCodeRequest.struct_class = Types::ResendConfirmationCodeRequest
1063
1301
 
1064
1302
  ResendConfirmationCodeResponse.add_member(:code_delivery_details, Shapes::ShapeRef.new(shape: CodeDeliveryDetailsType, location_name: "CodeDeliveryDetails"))
@@ -1082,6 +1320,8 @@ module Aws::CognitoIdentityProvider
1082
1320
  RespondToAuthChallengeRequest.add_member(:challenge_name, Shapes::ShapeRef.new(shape: ChallengeNameType, required: true, location_name: "ChallengeName"))
1083
1321
  RespondToAuthChallengeRequest.add_member(:session, Shapes::ShapeRef.new(shape: SessionType, location_name: "Session"))
1084
1322
  RespondToAuthChallengeRequest.add_member(:challenge_responses, Shapes::ShapeRef.new(shape: ChallengeResponsesType, location_name: "ChallengeResponses"))
1323
+ RespondToAuthChallengeRequest.add_member(:analytics_metadata, Shapes::ShapeRef.new(shape: AnalyticsMetadataType, location_name: "AnalyticsMetadata"))
1324
+ RespondToAuthChallengeRequest.add_member(:user_context_data, Shapes::ShapeRef.new(shape: UserContextDataType, location_name: "UserContextData"))
1085
1325
  RespondToAuthChallengeRequest.struct_class = Types::RespondToAuthChallengeRequest
1086
1326
 
1087
1327
  RespondToAuthChallengeResponse.add_member(:challenge_name, Shapes::ShapeRef.new(shape: ChallengeNameType, location_name: "ChallengeName"))
@@ -1090,6 +1330,22 @@ module Aws::CognitoIdentityProvider
1090
1330
  RespondToAuthChallengeResponse.add_member(:authentication_result, Shapes::ShapeRef.new(shape: AuthenticationResultType, location_name: "AuthenticationResult"))
1091
1331
  RespondToAuthChallengeResponse.struct_class = Types::RespondToAuthChallengeResponse
1092
1332
 
1333
+ RiskConfigurationType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "UserPoolId"))
1334
+ RiskConfigurationType.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
1335
+ RiskConfigurationType.add_member(:compromised_credentials_risk_configuration, Shapes::ShapeRef.new(shape: CompromisedCredentialsRiskConfigurationType, location_name: "CompromisedCredentialsRiskConfiguration"))
1336
+ RiskConfigurationType.add_member(:account_takeover_risk_configuration, Shapes::ShapeRef.new(shape: AccountTakeoverRiskConfigurationType, location_name: "AccountTakeoverRiskConfiguration"))
1337
+ RiskConfigurationType.add_member(:risk_exception_configuration, Shapes::ShapeRef.new(shape: RiskExceptionConfigurationType, location_name: "RiskExceptionConfiguration"))
1338
+ RiskConfigurationType.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
1339
+ RiskConfigurationType.struct_class = Types::RiskConfigurationType
1340
+
1341
+ RiskExceptionConfigurationType.add_member(:blocked_ip_range_list, Shapes::ShapeRef.new(shape: BlockedIPRangeListType, location_name: "BlockedIPRangeList"))
1342
+ RiskExceptionConfigurationType.add_member(:skipped_ip_range_list, Shapes::ShapeRef.new(shape: SkippedIPRangeListType, location_name: "SkippedIPRangeList"))
1343
+ RiskExceptionConfigurationType.struct_class = Types::RiskExceptionConfigurationType
1344
+
1345
+ SMSMfaSettingsType.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Enabled"))
1346
+ SMSMfaSettingsType.add_member(:preferred_mfa, Shapes::ShapeRef.new(shape: BooleanType, location_name: "PreferredMfa"))
1347
+ SMSMfaSettingsType.struct_class = Types::SMSMfaSettingsType
1348
+
1093
1349
  SchemaAttributeType.add_member(:name, Shapes::ShapeRef.new(shape: CustomAttributeNameType, location_name: "Name"))
1094
1350
  SchemaAttributeType.add_member(:attribute_data_type, Shapes::ShapeRef.new(shape: AttributeDataType, location_name: "AttributeDataType"))
1095
1351
  SchemaAttributeType.add_member(:developer_only_attribute, Shapes::ShapeRef.new(shape: BooleanType, location_name: "DeveloperOnlyAttribute", metadata: {"box"=>true}))
@@ -1105,6 +1361,16 @@ module Aws::CognitoIdentityProvider
1105
1361
 
1106
1362
  SearchedAttributeNamesListType.member = Shapes::ShapeRef.new(shape: AttributeNameType)
1107
1363
 
1364
+ SetRiskConfigurationRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
1365
+ SetRiskConfigurationRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
1366
+ SetRiskConfigurationRequest.add_member(:compromised_credentials_risk_configuration, Shapes::ShapeRef.new(shape: CompromisedCredentialsRiskConfigurationType, location_name: "CompromisedCredentialsRiskConfiguration"))
1367
+ SetRiskConfigurationRequest.add_member(:account_takeover_risk_configuration, Shapes::ShapeRef.new(shape: AccountTakeoverRiskConfigurationType, location_name: "AccountTakeoverRiskConfiguration"))
1368
+ SetRiskConfigurationRequest.add_member(:risk_exception_configuration, Shapes::ShapeRef.new(shape: RiskExceptionConfigurationType, location_name: "RiskExceptionConfiguration"))
1369
+ SetRiskConfigurationRequest.struct_class = Types::SetRiskConfigurationRequest
1370
+
1371
+ SetRiskConfigurationResponse.add_member(:risk_configuration, Shapes::ShapeRef.new(shape: RiskConfigurationType, required: true, location_name: "RiskConfiguration"))
1372
+ SetRiskConfigurationResponse.struct_class = Types::SetRiskConfigurationResponse
1373
+
1108
1374
  SetUICustomizationRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
1109
1375
  SetUICustomizationRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
1110
1376
  SetUICustomizationRequest.add_member(:css, Shapes::ShapeRef.new(shape: CSSType, location_name: "CSS"))
@@ -1114,6 +1380,24 @@ module Aws::CognitoIdentityProvider
1114
1380
  SetUICustomizationResponse.add_member(:ui_customization, Shapes::ShapeRef.new(shape: UICustomizationType, required: true, location_name: "UICustomization"))
1115
1381
  SetUICustomizationResponse.struct_class = Types::SetUICustomizationResponse
1116
1382
 
1383
+ SetUserMFAPreferenceRequest.add_member(:sms_mfa_settings, Shapes::ShapeRef.new(shape: SMSMfaSettingsType, location_name: "SMSMfaSettings"))
1384
+ SetUserMFAPreferenceRequest.add_member(:software_token_mfa_settings, Shapes::ShapeRef.new(shape: SoftwareTokenMfaSettingsType, location_name: "SoftwareTokenMfaSettings"))
1385
+ SetUserMFAPreferenceRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
1386
+ SetUserMFAPreferenceRequest.struct_class = Types::SetUserMFAPreferenceRequest
1387
+
1388
+ SetUserMFAPreferenceResponse.struct_class = Types::SetUserMFAPreferenceResponse
1389
+
1390
+ SetUserPoolMfaConfigRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
1391
+ SetUserPoolMfaConfigRequest.add_member(:sms_mfa_configuration, Shapes::ShapeRef.new(shape: SmsMfaConfigType, location_name: "SmsMfaConfiguration"))
1392
+ SetUserPoolMfaConfigRequest.add_member(:software_token_mfa_configuration, Shapes::ShapeRef.new(shape: SoftwareTokenMfaConfigType, location_name: "SoftwareTokenMfaConfiguration"))
1393
+ SetUserPoolMfaConfigRequest.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
1394
+ SetUserPoolMfaConfigRequest.struct_class = Types::SetUserPoolMfaConfigRequest
1395
+
1396
+ SetUserPoolMfaConfigResponse.add_member(:sms_mfa_configuration, Shapes::ShapeRef.new(shape: SmsMfaConfigType, location_name: "SmsMfaConfiguration"))
1397
+ SetUserPoolMfaConfigResponse.add_member(:software_token_mfa_configuration, Shapes::ShapeRef.new(shape: SoftwareTokenMfaConfigType, location_name: "SoftwareTokenMfaConfiguration"))
1398
+ SetUserPoolMfaConfigResponse.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
1399
+ SetUserPoolMfaConfigResponse.struct_class = Types::SetUserPoolMfaConfigResponse
1400
+
1117
1401
  SetUserSettingsRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
1118
1402
  SetUserSettingsRequest.add_member(:mfa_options, Shapes::ShapeRef.new(shape: MFAOptionListType, required: true, location_name: "MFAOptions"))
1119
1403
  SetUserSettingsRequest.struct_class = Types::SetUserSettingsRequest
@@ -1126,6 +1410,8 @@ module Aws::CognitoIdentityProvider
1126
1410
  SignUpRequest.add_member(:password, Shapes::ShapeRef.new(shape: PasswordType, required: true, location_name: "Password"))
1127
1411
  SignUpRequest.add_member(:user_attributes, Shapes::ShapeRef.new(shape: AttributeListType, location_name: "UserAttributes"))
1128
1412
  SignUpRequest.add_member(:validation_data, Shapes::ShapeRef.new(shape: AttributeListType, location_name: "ValidationData"))
1413
+ SignUpRequest.add_member(:analytics_metadata, Shapes::ShapeRef.new(shape: AnalyticsMetadataType, location_name: "AnalyticsMetadata"))
1414
+ SignUpRequest.add_member(:user_context_data, Shapes::ShapeRef.new(shape: UserContextDataType, location_name: "UserContextData"))
1129
1415
  SignUpRequest.struct_class = Types::SignUpRequest
1130
1416
 
1131
1417
  SignUpResponse.add_member(:user_confirmed, Shapes::ShapeRef.new(shape: BooleanType, required: true, location_name: "UserConfirmed"))
@@ -1133,10 +1419,23 @@ module Aws::CognitoIdentityProvider
1133
1419
  SignUpResponse.add_member(:user_sub, Shapes::ShapeRef.new(shape: StringType, required: true, location_name: "UserSub"))
1134
1420
  SignUpResponse.struct_class = Types::SignUpResponse
1135
1421
 
1422
+ SkippedIPRangeListType.member = Shapes::ShapeRef.new(shape: StringType)
1423
+
1136
1424
  SmsConfigurationType.add_member(:sns_caller_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "SnsCallerArn"))
1137
1425
  SmsConfigurationType.add_member(:external_id, Shapes::ShapeRef.new(shape: StringType, location_name: "ExternalId"))
1138
1426
  SmsConfigurationType.struct_class = Types::SmsConfigurationType
1139
1427
 
1428
+ SmsMfaConfigType.add_member(:sms_authentication_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsAuthenticationMessage"))
1429
+ SmsMfaConfigType.add_member(:sms_configuration, Shapes::ShapeRef.new(shape: SmsConfigurationType, location_name: "SmsConfiguration"))
1430
+ SmsMfaConfigType.struct_class = Types::SmsMfaConfigType
1431
+
1432
+ SoftwareTokenMfaConfigType.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Enabled"))
1433
+ SoftwareTokenMfaConfigType.struct_class = Types::SoftwareTokenMfaConfigType
1434
+
1435
+ SoftwareTokenMfaSettingsType.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Enabled"))
1436
+ SoftwareTokenMfaSettingsType.add_member(:preferred_mfa, Shapes::ShapeRef.new(shape: BooleanType, location_name: "PreferredMfa"))
1437
+ SoftwareTokenMfaSettingsType.struct_class = Types::SoftwareTokenMfaSettingsType
1438
+
1140
1439
  StartUserImportJobRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
1141
1440
  StartUserImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: UserImportJobIdType, required: true, location_name: "JobId"))
1142
1441
  StartUserImportJobRequest.struct_class = Types::StartUserImportJobRequest
@@ -1166,6 +1465,15 @@ module Aws::CognitoIdentityProvider
1166
1465
  UICustomizationType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
1167
1466
  UICustomizationType.struct_class = Types::UICustomizationType
1168
1467
 
1468
+ UpdateAuthEventFeedbackRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
1469
+ UpdateAuthEventFeedbackRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
1470
+ UpdateAuthEventFeedbackRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: EventIdType, required: true, location_name: "EventId"))
1471
+ UpdateAuthEventFeedbackRequest.add_member(:feedback_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "FeedbackToken"))
1472
+ UpdateAuthEventFeedbackRequest.add_member(:feedback_value, Shapes::ShapeRef.new(shape: FeedbackValueType, required: true, location_name: "FeedbackValue"))
1473
+ UpdateAuthEventFeedbackRequest.struct_class = Types::UpdateAuthEventFeedbackRequest
1474
+
1475
+ UpdateAuthEventFeedbackResponse.struct_class = Types::UpdateAuthEventFeedbackResponse
1476
+
1169
1477
  UpdateDeviceStatusRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
1170
1478
  UpdateDeviceStatusRequest.add_member(:device_key, Shapes::ShapeRef.new(shape: DeviceKeyType, required: true, location_name: "DeviceKey"))
1171
1479
  UpdateDeviceStatusRequest.add_member(:device_remembered_status, Shapes::ShapeRef.new(shape: DeviceRememberedStatusType, location_name: "DeviceRememberedStatus"))
@@ -1223,6 +1531,7 @@ module Aws::CognitoIdentityProvider
1223
1531
  UpdateUserPoolClientRequest.add_member(:allowed_o_auth_flows, Shapes::ShapeRef.new(shape: OAuthFlowsType, location_name: "AllowedOAuthFlows"))
1224
1532
  UpdateUserPoolClientRequest.add_member(:allowed_o_auth_scopes, Shapes::ShapeRef.new(shape: ScopeListType, location_name: "AllowedOAuthScopes"))
1225
1533
  UpdateUserPoolClientRequest.add_member(:allowed_o_auth_flows_user_pool_client, Shapes::ShapeRef.new(shape: BooleanType, location_name: "AllowedOAuthFlowsUserPoolClient"))
1534
+ UpdateUserPoolClientRequest.add_member(:analytics_configuration, Shapes::ShapeRef.new(shape: AnalyticsConfigurationType, location_name: "AnalyticsConfiguration"))
1226
1535
  UpdateUserPoolClientRequest.struct_class = Types::UpdateUserPoolClientRequest
1227
1536
 
1228
1537
  UpdateUserPoolClientResponse.add_member(:user_pool_client, Shapes::ShapeRef.new(shape: UserPoolClientType, location_name: "UserPoolClient"))
@@ -1243,10 +1552,14 @@ module Aws::CognitoIdentityProvider
1243
1552
  UpdateUserPoolRequest.add_member(:sms_configuration, Shapes::ShapeRef.new(shape: SmsConfigurationType, location_name: "SmsConfiguration"))
1244
1553
  UpdateUserPoolRequest.add_member(:user_pool_tags, Shapes::ShapeRef.new(shape: UserPoolTagsType, location_name: "UserPoolTags"))
1245
1554
  UpdateUserPoolRequest.add_member(:admin_create_user_config, Shapes::ShapeRef.new(shape: AdminCreateUserConfigType, location_name: "AdminCreateUserConfig"))
1555
+ UpdateUserPoolRequest.add_member(:user_pool_add_ons, Shapes::ShapeRef.new(shape: UserPoolAddOnsType, location_name: "UserPoolAddOns"))
1246
1556
  UpdateUserPoolRequest.struct_class = Types::UpdateUserPoolRequest
1247
1557
 
1248
1558
  UpdateUserPoolResponse.struct_class = Types::UpdateUserPoolResponse
1249
1559
 
1560
+ UserContextDataType.add_member(:encoded_data, Shapes::ShapeRef.new(shape: StringType, location_name: "EncodedData"))
1561
+ UserContextDataType.struct_class = Types::UserContextDataType
1562
+
1250
1563
  UserImportJobType.add_member(:job_name, Shapes::ShapeRef.new(shape: UserImportJobNameType, location_name: "JobName"))
1251
1564
  UserImportJobType.add_member(:job_id, Shapes::ShapeRef.new(shape: UserImportJobIdType, location_name: "JobId"))
1252
1565
  UserImportJobType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "UserPoolId"))
@@ -1264,6 +1577,11 @@ module Aws::CognitoIdentityProvider
1264
1577
 
1265
1578
  UserImportJobsListType.member = Shapes::ShapeRef.new(shape: UserImportJobType)
1266
1579
 
1580
+ UserMFASettingListType.member = Shapes::ShapeRef.new(shape: StringType)
1581
+
1582
+ UserPoolAddOnsType.add_member(:advanced_security_mode, Shapes::ShapeRef.new(shape: AdvancedSecurityModeType, required: true, location_name: "AdvancedSecurityMode"))
1583
+ UserPoolAddOnsType.struct_class = Types::UserPoolAddOnsType
1584
+
1267
1585
  UserPoolClientDescription.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
1268
1586
  UserPoolClientDescription.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "UserPoolId"))
1269
1587
  UserPoolClientDescription.add_member(:client_name, Shapes::ShapeRef.new(shape: ClientNameType, location_name: "ClientName"))
@@ -1288,6 +1606,7 @@ module Aws::CognitoIdentityProvider
1288
1606
  UserPoolClientType.add_member(:allowed_o_auth_flows, Shapes::ShapeRef.new(shape: OAuthFlowsType, location_name: "AllowedOAuthFlows"))
1289
1607
  UserPoolClientType.add_member(:allowed_o_auth_scopes, Shapes::ShapeRef.new(shape: ScopeListType, location_name: "AllowedOAuthScopes"))
1290
1608
  UserPoolClientType.add_member(:allowed_o_auth_flows_user_pool_client, Shapes::ShapeRef.new(shape: BooleanType, location_name: "AllowedOAuthFlowsUserPoolClient", metadata: {"box"=>true}))
1609
+ UserPoolClientType.add_member(:analytics_configuration, Shapes::ShapeRef.new(shape: AnalyticsConfigurationType, location_name: "AnalyticsConfiguration"))
1291
1610
  UserPoolClientType.struct_class = Types::UserPoolClientType
1292
1611
 
1293
1612
  UserPoolDescriptionType.add_member(:id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "Id"))
@@ -1331,6 +1650,7 @@ module Aws::CognitoIdentityProvider
1331
1650
  UserPoolType.add_member(:sms_configuration_failure, Shapes::ShapeRef.new(shape: StringType, location_name: "SmsConfigurationFailure"))
1332
1651
  UserPoolType.add_member(:email_configuration_failure, Shapes::ShapeRef.new(shape: StringType, location_name: "EmailConfigurationFailure"))
1333
1652
  UserPoolType.add_member(:admin_create_user_config, Shapes::ShapeRef.new(shape: AdminCreateUserConfigType, location_name: "AdminCreateUserConfig"))
1653
+ UserPoolType.add_member(:user_pool_add_ons, Shapes::ShapeRef.new(shape: UserPoolAddOnsType, location_name: "UserPoolAddOns"))
1334
1654
  UserPoolType.struct_class = Types::UserPoolType
1335
1655
 
1336
1656
  UserType.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, location_name: "Username"))
@@ -1356,6 +1676,16 @@ module Aws::CognitoIdentityProvider
1356
1676
 
1357
1677
  VerifiedAttributesListType.member = Shapes::ShapeRef.new(shape: VerifiedAttributeType)
1358
1678
 
1679
+ VerifySoftwareTokenRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
1680
+ VerifySoftwareTokenRequest.add_member(:session, Shapes::ShapeRef.new(shape: SessionType, location_name: "Session"))
1681
+ VerifySoftwareTokenRequest.add_member(:user_code, Shapes::ShapeRef.new(shape: SoftwareTokenMFAUserCodeType, required: true, location_name: "UserCode"))
1682
+ VerifySoftwareTokenRequest.add_member(:friendly_device_name, Shapes::ShapeRef.new(shape: StringType, location_name: "FriendlyDeviceName"))
1683
+ VerifySoftwareTokenRequest.struct_class = Types::VerifySoftwareTokenRequest
1684
+
1685
+ VerifySoftwareTokenResponse.add_member(:status, Shapes::ShapeRef.new(shape: VerifySoftwareTokenResponseType, location_name: "Status"))
1686
+ VerifySoftwareTokenResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionType, location_name: "Session"))
1687
+ VerifySoftwareTokenResponse.struct_class = Types::VerifySoftwareTokenResponse
1688
+
1359
1689
  VerifyUserAttributeRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
1360
1690
  VerifyUserAttributeRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: AttributeNameType, required: true, location_name: "AttributeName"))
1361
1691
  VerifyUserAttributeRequest.add_member(:code, Shapes::ShapeRef.new(shape: ConfirmationCodeType, required: true, location_name: "Code"))
@@ -1629,6 +1959,21 @@ module Aws::CognitoIdentityProvider
1629
1959
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1630
1960
  end)
1631
1961
 
1962
+ api.add_operation(:admin_list_user_auth_events, Seahorse::Model::Operation.new.tap do |o|
1963
+ o.name = "AdminListUserAuthEvents"
1964
+ o.http_method = "POST"
1965
+ o.http_request_uri = "/"
1966
+ o.input = Shapes::ShapeRef.new(shape: AdminListUserAuthEventsRequest)
1967
+ o.output = Shapes::ShapeRef.new(shape: AdminListUserAuthEventsResponse)
1968
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1969
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1970
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1971
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
1972
+ o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
1973
+ o.errors << Shapes::ShapeRef.new(shape: UserPoolAddOnNotEnabledException)
1974
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1975
+ end)
1976
+
1632
1977
  api.add_operation(:admin_remove_user_from_group, Seahorse::Model::Operation.new.tap do |o|
1633
1978
  o.name = "AdminRemoveUserFromGroup"
1634
1979
  o.http_method = "POST"
@@ -1689,6 +2034,22 @@ module Aws::CognitoIdentityProvider
1689
2034
  o.errors << Shapes::ShapeRef.new(shape: PasswordResetRequiredException)
1690
2035
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
1691
2036
  o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
2037
+ o.errors << Shapes::ShapeRef.new(shape: SoftwareTokenMFANotFoundException)
2038
+ end)
2039
+
2040
+ api.add_operation(:admin_set_user_mfa_preference, Seahorse::Model::Operation.new.tap do |o|
2041
+ o.name = "AdminSetUserMFAPreference"
2042
+ o.http_method = "POST"
2043
+ o.http_request_uri = "/"
2044
+ o.input = Shapes::ShapeRef.new(shape: AdminSetUserMFAPreferenceRequest)
2045
+ o.output = Shapes::ShapeRef.new(shape: AdminSetUserMFAPreferenceResponse)
2046
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2047
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2048
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2049
+ o.errors << Shapes::ShapeRef.new(shape: PasswordResetRequiredException)
2050
+ o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
2051
+ o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
2052
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1692
2053
  end)
1693
2054
 
1694
2055
  api.add_operation(:admin_set_user_settings, Seahorse::Model::Operation.new.tap do |o|
@@ -1704,6 +2065,21 @@ module Aws::CognitoIdentityProvider
1704
2065
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1705
2066
  end)
1706
2067
 
2068
+ api.add_operation(:admin_update_auth_event_feedback, Seahorse::Model::Operation.new.tap do |o|
2069
+ o.name = "AdminUpdateAuthEventFeedback"
2070
+ o.http_method = "POST"
2071
+ o.http_request_uri = "/"
2072
+ o.input = Shapes::ShapeRef.new(shape: AdminUpdateAuthEventFeedbackRequest)
2073
+ o.output = Shapes::ShapeRef.new(shape: AdminUpdateAuthEventFeedbackResponse)
2074
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2075
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2076
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2077
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2078
+ o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
2079
+ o.errors << Shapes::ShapeRef.new(shape: UserPoolAddOnNotEnabledException)
2080
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2081
+ end)
2082
+
1707
2083
  api.add_operation(:admin_update_device_status, Seahorse::Model::Operation.new.tap do |o|
1708
2084
  o.name = "AdminUpdateDeviceStatus"
1709
2085
  o.http_method = "POST"
@@ -1751,6 +2127,19 @@ module Aws::CognitoIdentityProvider
1751
2127
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1752
2128
  end)
1753
2129
 
2130
+ api.add_operation(:associate_software_token, Seahorse::Model::Operation.new.tap do |o|
2131
+ o.name = "AssociateSoftwareToken"
2132
+ o.http_method = "POST"
2133
+ o.http_request_uri = "/"
2134
+ o.input = Shapes::ShapeRef.new(shape: AssociateSoftwareTokenRequest)
2135
+ o.output = Shapes::ShapeRef.new(shape: AssociateSoftwareTokenResponse)
2136
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2137
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2138
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2139
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2140
+ o.errors << Shapes::ShapeRef.new(shape: SoftwareTokenMFANotFoundException)
2141
+ end)
2142
+
1754
2143
  api.add_operation(:change_password, Seahorse::Model::Operation.new.tap do |o|
1755
2144
  o.name = "ChangePassword"
1756
2145
  o.http_method = "POST"
@@ -2080,6 +2469,20 @@ module Aws::CognitoIdentityProvider
2080
2469
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2081
2470
  end)
2082
2471
 
2472
+ api.add_operation(:describe_risk_configuration, Seahorse::Model::Operation.new.tap do |o|
2473
+ o.name = "DescribeRiskConfiguration"
2474
+ o.http_method = "POST"
2475
+ o.http_request_uri = "/"
2476
+ o.input = Shapes::ShapeRef.new(shape: DescribeRiskConfigurationRequest)
2477
+ o.output = Shapes::ShapeRef.new(shape: DescribeRiskConfigurationResponse)
2478
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2479
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2480
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2481
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2482
+ o.errors << Shapes::ShapeRef.new(shape: UserPoolAddOnNotEnabledException)
2483
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2484
+ end)
2485
+
2083
2486
  api.add_operation(:describe_user_import_job, Seahorse::Model::Operation.new.tap do |o|
2084
2487
  o.name = "DescribeUserImportJob"
2085
2488
  o.http_method = "POST"
@@ -2284,6 +2687,19 @@ module Aws::CognitoIdentityProvider
2284
2687
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2285
2688
  end)
2286
2689
 
2690
+ api.add_operation(:get_user_pool_mfa_config, Seahorse::Model::Operation.new.tap do |o|
2691
+ o.name = "GetUserPoolMfaConfig"
2692
+ o.http_method = "POST"
2693
+ o.http_request_uri = "/"
2694
+ o.input = Shapes::ShapeRef.new(shape: GetUserPoolMfaConfigRequest)
2695
+ o.output = Shapes::ShapeRef.new(shape: GetUserPoolMfaConfigResponse)
2696
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2697
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2698
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2699
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2700
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2701
+ end)
2702
+
2287
2703
  api.add_operation(:global_sign_out, Seahorse::Model::Operation.new.tap do |o|
2288
2704
  o.name = "GlobalSignOut"
2289
2705
  o.http_method = "POST"
@@ -2487,6 +2903,23 @@ module Aws::CognitoIdentityProvider
2487
2903
  o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
2488
2904
  o.errors << Shapes::ShapeRef.new(shape: AliasExistsException)
2489
2905
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2906
+ o.errors << Shapes::ShapeRef.new(shape: SoftwareTokenMFANotFoundException)
2907
+ end)
2908
+
2909
+ api.add_operation(:set_risk_configuration, Seahorse::Model::Operation.new.tap do |o|
2910
+ o.name = "SetRiskConfiguration"
2911
+ o.http_method = "POST"
2912
+ o.http_request_uri = "/"
2913
+ o.input = Shapes::ShapeRef.new(shape: SetRiskConfigurationRequest)
2914
+ o.output = Shapes::ShapeRef.new(shape: SetRiskConfigurationResponse)
2915
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2916
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2917
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2918
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2919
+ o.errors << Shapes::ShapeRef.new(shape: UserPoolAddOnNotEnabledException)
2920
+ o.errors << Shapes::ShapeRef.new(shape: CodeDeliveryFailureException)
2921
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
2922
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2490
2923
  end)
2491
2924
 
2492
2925
  api.add_operation(:set_ui_customization, Seahorse::Model::Operation.new.tap do |o|
@@ -2502,6 +2935,36 @@ module Aws::CognitoIdentityProvider
2502
2935
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2503
2936
  end)
2504
2937
 
2938
+ api.add_operation(:set_user_mfa_preference, Seahorse::Model::Operation.new.tap do |o|
2939
+ o.name = "SetUserMFAPreference"
2940
+ o.http_method = "POST"
2941
+ o.http_request_uri = "/"
2942
+ o.input = Shapes::ShapeRef.new(shape: SetUserMFAPreferenceRequest)
2943
+ o.output = Shapes::ShapeRef.new(shape: SetUserMFAPreferenceResponse)
2944
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2945
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2946
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2947
+ o.errors << Shapes::ShapeRef.new(shape: PasswordResetRequiredException)
2948
+ o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
2949
+ o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
2950
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2951
+ end)
2952
+
2953
+ api.add_operation(:set_user_pool_mfa_config, Seahorse::Model::Operation.new.tap do |o|
2954
+ o.name = "SetUserPoolMfaConfig"
2955
+ o.http_method = "POST"
2956
+ o.http_request_uri = "/"
2957
+ o.input = Shapes::ShapeRef.new(shape: SetUserPoolMfaConfigRequest)
2958
+ o.output = Shapes::ShapeRef.new(shape: SetUserPoolMfaConfigResponse)
2959
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2960
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2961
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2962
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
2963
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
2964
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2965
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2966
+ end)
2967
+
2505
2968
  api.add_operation(:set_user_settings, Seahorse::Model::Operation.new.tap do |o|
2506
2969
  o.name = "SetUserSettings"
2507
2970
  o.http_method = "POST"
@@ -2569,6 +3032,21 @@ module Aws::CognitoIdentityProvider
2569
3032
  o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2570
3033
  end)
2571
3034
 
3035
+ api.add_operation(:update_auth_event_feedback, Seahorse::Model::Operation.new.tap do |o|
3036
+ o.name = "UpdateAuthEventFeedback"
3037
+ o.http_method = "POST"
3038
+ o.http_request_uri = "/"
3039
+ o.input = Shapes::ShapeRef.new(shape: UpdateAuthEventFeedbackRequest)
3040
+ o.output = Shapes::ShapeRef.new(shape: UpdateAuthEventFeedbackResponse)
3041
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3042
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3043
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3044
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
3045
+ o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
3046
+ o.errors << Shapes::ShapeRef.new(shape: UserPoolAddOnNotEnabledException)
3047
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
3048
+ end)
3049
+
2572
3050
  api.add_operation(:update_device_status, Seahorse::Model::Operation.new.tap do |o|
2573
3051
  o.name = "UpdateDeviceStatus"
2574
3052
  o.http_method = "POST"
@@ -2680,6 +3158,7 @@ module Aws::CognitoIdentityProvider
2680
3158
  o.output = Shapes::ShapeRef.new(shape: UpdateUserPoolClientResponse)
2681
3159
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2682
3160
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3161
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2683
3162
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2684
3163
  o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2685
3164
  o.errors << Shapes::ShapeRef.new(shape: ScopeDoesNotExistException)
@@ -2687,6 +3166,27 @@ module Aws::CognitoIdentityProvider
2687
3166
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2688
3167
  end)
2689
3168
 
3169
+ api.add_operation(:verify_software_token, Seahorse::Model::Operation.new.tap do |o|
3170
+ o.name = "VerifySoftwareToken"
3171
+ o.http_method = "POST"
3172
+ o.http_request_uri = "/"
3173
+ o.input = Shapes::ShapeRef.new(shape: VerifySoftwareTokenRequest)
3174
+ o.output = Shapes::ShapeRef.new(shape: VerifySoftwareTokenResponse)
3175
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3176
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3177
+ o.errors << Shapes::ShapeRef.new(shape: InvalidUserPoolConfigurationException)
3178
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
3179
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3180
+ o.errors << Shapes::ShapeRef.new(shape: PasswordResetRequiredException)
3181
+ o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
3182
+ o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
3183
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
3184
+ o.errors << Shapes::ShapeRef.new(shape: EnableSoftwareTokenMFAException)
3185
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
3186
+ o.errors << Shapes::ShapeRef.new(shape: SoftwareTokenMFANotFoundException)
3187
+ o.errors << Shapes::ShapeRef.new(shape: CodeMismatchException)
3188
+ end)
3189
+
2690
3190
  api.add_operation(:verify_user_attribute, Seahorse::Model::Operation.new.tap do |o|
2691
3191
  o.name = "VerifyUserAttribute"
2692
3192
  o.http_method = "POST"