aws-sdk-cognitoidentityprovider 1.63.0 → 1.66.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -90,6 +90,7 @@ module Aws::CognitoIdentityProvider
90
90
  AttributeNameType = Shapes::StringShape.new(name: 'AttributeNameType')
91
91
  AttributeType = Shapes::StructureShape.new(name: 'AttributeType')
92
92
  AttributeValueType = Shapes::StringShape.new(name: 'AttributeValueType')
93
+ AttributesRequireVerificationBeforeUpdateType = Shapes::ListShape.new(name: 'AttributesRequireVerificationBeforeUpdateType')
93
94
  AuthEventType = Shapes::StructureShape.new(name: 'AuthEventType')
94
95
  AuthEventsType = Shapes::ListShape.new(name: 'AuthEventsType')
95
96
  AuthFlowType = Shapes::StringShape.new(name: 'AuthFlowType')
@@ -332,6 +333,7 @@ module Aws::CognitoIdentityProvider
332
333
  RecoveryOptionType = Shapes::StructureShape.new(name: 'RecoveryOptionType')
333
334
  RedirectUrlType = Shapes::StringShape.new(name: 'RedirectUrlType')
334
335
  RefreshTokenValidityType = Shapes::IntegerShape.new(name: 'RefreshTokenValidityType')
336
+ RegionCodeType = Shapes::StringShape.new(name: 'RegionCodeType')
335
337
  ResendConfirmationCodeRequest = Shapes::StructureShape.new(name: 'ResendConfirmationCodeRequest')
336
338
  ResendConfirmationCodeResponse = Shapes::StructureShape.new(name: 'ResendConfirmationCodeResponse')
337
339
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -429,6 +431,7 @@ module Aws::CognitoIdentityProvider
429
431
  UpdateUserPoolDomainResponse = Shapes::StructureShape.new(name: 'UpdateUserPoolDomainResponse')
430
432
  UpdateUserPoolRequest = Shapes::StructureShape.new(name: 'UpdateUserPoolRequest')
431
433
  UpdateUserPoolResponse = Shapes::StructureShape.new(name: 'UpdateUserPoolResponse')
434
+ UserAttributeUpdateSettingsType = Shapes::StructureShape.new(name: 'UserAttributeUpdateSettingsType')
432
435
  UserContextDataType = Shapes::StructureShape.new(name: 'UserContextDataType')
433
436
  UserFilterType = Shapes::StringShape.new(name: 'UserFilterType')
434
437
  UserImportInProgressException = Shapes::StructureShape.new(name: 'UserImportInProgressException')
@@ -751,6 +754,8 @@ module Aws::CognitoIdentityProvider
751
754
  AttributeType.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValueType, location_name: "Value"))
752
755
  AttributeType.struct_class = Types::AttributeType
753
756
 
757
+ AttributesRequireVerificationBeforeUpdateType.member = Shapes::ShapeRef.new(shape: VerifiedAttributeType)
758
+
754
759
  AuthEventType.add_member(:event_id, Shapes::ShapeRef.new(shape: StringType, location_name: "EventId"))
755
760
  AuthEventType.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "EventType"))
756
761
  AuthEventType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
@@ -948,6 +953,7 @@ module Aws::CognitoIdentityProvider
948
953
  CreateUserPoolRequest.add_member(:verification_message_template, Shapes::ShapeRef.new(shape: VerificationMessageTemplateType, location_name: "VerificationMessageTemplate"))
949
954
  CreateUserPoolRequest.add_member(:sms_authentication_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsAuthenticationMessage"))
950
955
  CreateUserPoolRequest.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
956
+ CreateUserPoolRequest.add_member(:user_attribute_update_settings, Shapes::ShapeRef.new(shape: UserAttributeUpdateSettingsType, location_name: "UserAttributeUpdateSettings"))
951
957
  CreateUserPoolRequest.add_member(:device_configuration, Shapes::ShapeRef.new(shape: DeviceConfigurationType, location_name: "DeviceConfiguration"))
952
958
  CreateUserPoolRequest.add_member(:email_configuration, Shapes::ShapeRef.new(shape: EmailConfigurationType, location_name: "EmailConfiguration"))
953
959
  CreateUserPoolRequest.add_member(:sms_configuration, Shapes::ShapeRef.new(shape: SmsConfigurationType, location_name: "SmsConfiguration"))
@@ -1616,6 +1622,7 @@ module Aws::CognitoIdentityProvider
1616
1622
 
1617
1623
  SmsConfigurationType.add_member(:sns_caller_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "SnsCallerArn"))
1618
1624
  SmsConfigurationType.add_member(:external_id, Shapes::ShapeRef.new(shape: StringType, location_name: "ExternalId"))
1625
+ SmsConfigurationType.add_member(:sns_region, Shapes::ShapeRef.new(shape: RegionCodeType, location_name: "SnsRegion"))
1619
1626
  SmsConfigurationType.struct_class = Types::SmsConfigurationType
1620
1627
 
1621
1628
  SmsMfaConfigType.add_member(:sms_authentication_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsAuthenticationMessage"))
@@ -1797,6 +1804,7 @@ module Aws::CognitoIdentityProvider
1797
1804
  UpdateUserPoolRequest.add_member(:email_verification_subject, Shapes::ShapeRef.new(shape: EmailVerificationSubjectType, location_name: "EmailVerificationSubject"))
1798
1805
  UpdateUserPoolRequest.add_member(:verification_message_template, Shapes::ShapeRef.new(shape: VerificationMessageTemplateType, location_name: "VerificationMessageTemplate"))
1799
1806
  UpdateUserPoolRequest.add_member(:sms_authentication_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsAuthenticationMessage"))
1807
+ UpdateUserPoolRequest.add_member(:user_attribute_update_settings, Shapes::ShapeRef.new(shape: UserAttributeUpdateSettingsType, location_name: "UserAttributeUpdateSettings"))
1800
1808
  UpdateUserPoolRequest.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
1801
1809
  UpdateUserPoolRequest.add_member(:device_configuration, Shapes::ShapeRef.new(shape: DeviceConfigurationType, location_name: "DeviceConfiguration"))
1802
1810
  UpdateUserPoolRequest.add_member(:email_configuration, Shapes::ShapeRef.new(shape: EmailConfigurationType, location_name: "EmailConfiguration"))
@@ -1809,6 +1817,9 @@ module Aws::CognitoIdentityProvider
1809
1817
 
1810
1818
  UpdateUserPoolResponse.struct_class = Types::UpdateUserPoolResponse
1811
1819
 
1820
+ UserAttributeUpdateSettingsType.add_member(:attributes_require_verification_before_update, Shapes::ShapeRef.new(shape: AttributesRequireVerificationBeforeUpdateType, location_name: "AttributesRequireVerificationBeforeUpdate"))
1821
+ UserAttributeUpdateSettingsType.struct_class = Types::UserAttributeUpdateSettingsType
1822
+
1812
1823
  UserContextDataType.add_member(:encoded_data, Shapes::ShapeRef.new(shape: StringType, location_name: "EncodedData"))
1813
1824
  UserContextDataType.struct_class = Types::UserContextDataType
1814
1825
 
@@ -1918,6 +1929,7 @@ module Aws::CognitoIdentityProvider
1918
1929
  UserPoolType.add_member(:email_verification_subject, Shapes::ShapeRef.new(shape: EmailVerificationSubjectType, location_name: "EmailVerificationSubject"))
1919
1930
  UserPoolType.add_member(:verification_message_template, Shapes::ShapeRef.new(shape: VerificationMessageTemplateType, location_name: "VerificationMessageTemplate"))
1920
1931
  UserPoolType.add_member(:sms_authentication_message, Shapes::ShapeRef.new(shape: SmsVerificationMessageType, location_name: "SmsAuthenticationMessage"))
1932
+ UserPoolType.add_member(:user_attribute_update_settings, Shapes::ShapeRef.new(shape: UserAttributeUpdateSettingsType, location_name: "UserAttributeUpdateSettings"))
1921
1933
  UserPoolType.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
1922
1934
  UserPoolType.add_member(:device_configuration, Shapes::ShapeRef.new(shape: DeviceConfigurationType, location_name: "DeviceConfiguration"))
1923
1935
  UserPoolType.add_member(:estimated_number_of_users, Shapes::ShapeRef.new(shape: IntegerType, location_name: "EstimatedNumberOfUsers"))
@@ -2896,7 +2908,6 @@ module Aws::CognitoIdentityProvider
2896
2908
  o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
2897
2909
  o.errors << Shapes::ShapeRef.new(shape: CodeDeliveryFailureException)
2898
2910
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
2899
- o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
2900
2911
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2901
2912
  end)
2902
2913
 
@@ -3652,6 +3663,7 @@ module Aws::CognitoIdentityProvider
3652
3663
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
3653
3664
  o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
3654
3665
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
3666
+ o.errors << Shapes::ShapeRef.new(shape: AliasExistsException)
3655
3667
  end)
3656
3668
  end
3657
3669