aws-sdk-amplifybackend 1.16.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef2fd6acd7fbb64ef5291f7eee7f77363d3293cdd62f11cef0530974a179d747
4
- data.tar.gz: e7ceb21e525c8c2d8ed219fe00d647bb1f0ad6c041434a699c1c72ff4040a8ef
3
+ metadata.gz: 71374919ff54dd649ccc1edf0241d973a8138ead719d9a0b941296493b516938
4
+ data.tar.gz: 33646b6e5c774017e36a5fa1acdadf707a649574baa342242dd317bf67eb5197
5
5
  SHA512:
6
- metadata.gz: bcfdca340cd04c875bd1de209754b958cd1d699613058478dfedaef3dec211b332b8993b64d3b7d6ee3a7bf3251224220114a48ba071f113d9170ad8ef1d6322
7
- data.tar.gz: fbef3548d0eac7bddfc081b9dd2fbae3df3e2ef45520fc23a24cd50c2aace65227fa757ab101a3dee7e6f299a9bca7e722d7b9134ee4029bbdb8828b18afe83e
6
+ metadata.gz: cce05be283ba0f0c577c6d62c74b20d05231351773450f40218b0d81121a7d0c3d347b79541a68bacb2801e6487df1bcf15538d0aeacffe22f7c9902c2e5d2fc
7
+ data.tar.gz: 8d9841f3a7f1fe24bdfe2db3a5a83f1bb5d61b574aa566a7945d6fefa59034a1250c9d07bb3c98036d9727319b04e016a3249353fd2498e69bcaa51bc24c2a52
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.0 (2022-03-16)
5
+ ------------------
6
+
7
+ * Feature - Adding the ability to customize Cognito verification messages for email and SMS in CreateBackendAuth and UpdateBackendAuth. Adding deprecation documentation for ForgotPassword in CreateBackendAuth and UpdateBackendAuth
8
+
4
9
  1.16.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.17.0
@@ -613,6 +613,16 @@ module Aws::AmplifyBackend
613
613
  # required_sign_up_attributes: ["ADDRESS"], # required, accepts ADDRESS, BIRTHDATE, EMAIL, FAMILY_NAME, GENDER, GIVEN_NAME, LOCALE, MIDDLE_NAME, NAME, NICKNAME, PHONE_NUMBER, PICTURE, PREFERRED_USERNAME, PROFILE, UPDATED_AT, WEBSITE, ZONE_INFO
614
614
  # sign_in_method: "EMAIL", # required, accepts EMAIL, EMAIL_AND_PHONE_NUMBER, PHONE_NUMBER, USERNAME
615
615
  # user_pool_name: "__string", # required
616
+ # verification_message: {
617
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
618
+ # email_settings: {
619
+ # email_message: "__string",
620
+ # email_subject: "__string",
621
+ # },
622
+ # sms_settings: {
623
+ # sms_message: "__string",
624
+ # },
625
+ # },
616
626
  # },
617
627
  # },
618
628
  # resource_name: "__string", # required
@@ -1284,6 +1294,10 @@ module Aws::AmplifyBackend
1284
1294
  # resp.resource_config.user_pool_configs.required_sign_up_attributes[0] #=> String, one of "ADDRESS", "BIRTHDATE", "EMAIL", "FAMILY_NAME", "GENDER", "GIVEN_NAME", "LOCALE", "MIDDLE_NAME", "NAME", "NICKNAME", "PHONE_NUMBER", "PICTURE", "PREFERRED_USERNAME", "PROFILE", "UPDATED_AT", "WEBSITE", "ZONE_INFO"
1285
1295
  # resp.resource_config.user_pool_configs.sign_in_method #=> String, one of "EMAIL", "EMAIL_AND_PHONE_NUMBER", "PHONE_NUMBER", "USERNAME"
1286
1296
  # resp.resource_config.user_pool_configs.user_pool_name #=> String
1297
+ # resp.resource_config.user_pool_configs.verification_message.delivery_method #=> String, one of "EMAIL", "SMS"
1298
+ # resp.resource_config.user_pool_configs.verification_message.email_settings.email_message #=> String
1299
+ # resp.resource_config.user_pool_configs.verification_message.email_settings.email_subject #=> String
1300
+ # resp.resource_config.user_pool_configs.verification_message.sms_settings.sms_message #=> String
1287
1301
  # resp.resource_name #=> String
1288
1302
  #
1289
1303
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth AWS API Documentation
@@ -1834,6 +1848,16 @@ module Aws::AmplifyBackend
1834
1848
  # additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
1835
1849
  # minimum_length: 1.0,
1836
1850
  # },
1851
+ # verification_message: {
1852
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
1853
+ # email_settings: {
1854
+ # email_message: "__string",
1855
+ # email_subject: "__string",
1856
+ # },
1857
+ # sms_settings: {
1858
+ # sms_message: "__string",
1859
+ # },
1860
+ # },
1837
1861
  # },
1838
1862
  # },
1839
1863
  # resource_name: "__string", # required
@@ -2017,7 +2041,7 @@ module Aws::AmplifyBackend
2017
2041
  params: params,
2018
2042
  config: config)
2019
2043
  context[:gem_name] = 'aws-sdk-amplifybackend'
2020
- context[:gem_version] = '1.16.0'
2044
+ context[:gem_version] = '1.17.0'
2021
2045
  Seahorse::Client::Request.new(handlers, context)
2022
2046
  end
2023
2047
 
@@ -50,6 +50,7 @@ module Aws::AmplifyBackend
50
50
  CreateBackendAuthResourceConfig = Shapes::StructureShape.new(name: 'CreateBackendAuthResourceConfig')
51
51
  CreateBackendAuthResponse = Shapes::StructureShape.new(name: 'CreateBackendAuthResponse')
52
52
  CreateBackendAuthUserPoolConfig = Shapes::StructureShape.new(name: 'CreateBackendAuthUserPoolConfig')
53
+ CreateBackendAuthVerificationMessageConfig = Shapes::StructureShape.new(name: 'CreateBackendAuthVerificationMessageConfig')
53
54
  CreateBackendConfigReqObj = Shapes::StructureShape.new(name: 'CreateBackendConfigReqObj')
54
55
  CreateBackendConfigRequest = Shapes::StructureShape.new(name: 'CreateBackendConfigRequest')
55
56
  CreateBackendConfigRespObj = Shapes::StructureShape.new(name: 'CreateBackendConfigRespObj')
@@ -173,6 +174,7 @@ module Aws::AmplifyBackend
173
174
  UpdateBackendAuthResourceConfig = Shapes::StructureShape.new(name: 'UpdateBackendAuthResourceConfig')
174
175
  UpdateBackendAuthResponse = Shapes::StructureShape.new(name: 'UpdateBackendAuthResponse')
175
176
  UpdateBackendAuthUserPoolConfig = Shapes::StructureShape.new(name: 'UpdateBackendAuthUserPoolConfig')
177
+ UpdateBackendAuthVerificationMessageConfig = Shapes::StructureShape.new(name: 'UpdateBackendAuthVerificationMessageConfig')
176
178
  UpdateBackendConfigReqObj = Shapes::StructureShape.new(name: 'UpdateBackendConfigReqObj')
177
179
  UpdateBackendConfigRequest = Shapes::StructureShape.new(name: 'UpdateBackendConfigRequest')
178
180
  UpdateBackendConfigResponse = Shapes::StructureShape.new(name: 'UpdateBackendConfigResponse')
@@ -390,8 +392,14 @@ module Aws::AmplifyBackend
390
392
  CreateBackendAuthUserPoolConfig.add_member(:required_sign_up_attributes, Shapes::ShapeRef.new(shape: ListOfRequiredSignUpAttributesElement, required: true, location_name: "requiredSignUpAttributes"))
391
393
  CreateBackendAuthUserPoolConfig.add_member(:sign_in_method, Shapes::ShapeRef.new(shape: SignInMethod, required: true, location_name: "signInMethod"))
392
394
  CreateBackendAuthUserPoolConfig.add_member(:user_pool_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "userPoolName"))
395
+ CreateBackendAuthUserPoolConfig.add_member(:verification_message, Shapes::ShapeRef.new(shape: CreateBackendAuthVerificationMessageConfig, location_name: "verificationMessage"))
393
396
  CreateBackendAuthUserPoolConfig.struct_class = Types::CreateBackendAuthUserPoolConfig
394
397
 
398
+ CreateBackendAuthVerificationMessageConfig.add_member(:delivery_method, Shapes::ShapeRef.new(shape: DeliveryMethod, required: true, location_name: "deliveryMethod"))
399
+ CreateBackendAuthVerificationMessageConfig.add_member(:email_settings, Shapes::ShapeRef.new(shape: EmailSettings, location_name: "emailSettings"))
400
+ CreateBackendAuthVerificationMessageConfig.add_member(:sms_settings, Shapes::ShapeRef.new(shape: SmsSettings, location_name: "smsSettings"))
401
+ CreateBackendAuthVerificationMessageConfig.struct_class = Types::CreateBackendAuthVerificationMessageConfig
402
+
395
403
  CreateBackendConfigReqObj.add_member(:backend_manager_app_id, Shapes::ShapeRef.new(shape: __string, location_name: "backendManagerAppId"))
396
404
  CreateBackendConfigReqObj.struct_class = Types::CreateBackendConfigReqObj
397
405
 
@@ -943,8 +951,14 @@ module Aws::AmplifyBackend
943
951
  UpdateBackendAuthUserPoolConfig.add_member(:mfa, Shapes::ShapeRef.new(shape: UpdateBackendAuthMFAConfig, location_name: "mfa"))
944
952
  UpdateBackendAuthUserPoolConfig.add_member(:o_auth, Shapes::ShapeRef.new(shape: UpdateBackendAuthOAuthConfig, location_name: "oAuth"))
945
953
  UpdateBackendAuthUserPoolConfig.add_member(:password_policy, Shapes::ShapeRef.new(shape: UpdateBackendAuthPasswordPolicyConfig, location_name: "passwordPolicy"))
954
+ UpdateBackendAuthUserPoolConfig.add_member(:verification_message, Shapes::ShapeRef.new(shape: UpdateBackendAuthVerificationMessageConfig, location_name: "verificationMessage"))
946
955
  UpdateBackendAuthUserPoolConfig.struct_class = Types::UpdateBackendAuthUserPoolConfig
947
956
 
957
+ UpdateBackendAuthVerificationMessageConfig.add_member(:delivery_method, Shapes::ShapeRef.new(shape: DeliveryMethod, required: true, location_name: "deliveryMethod"))
958
+ UpdateBackendAuthVerificationMessageConfig.add_member(:email_settings, Shapes::ShapeRef.new(shape: EmailSettings, location_name: "emailSettings"))
959
+ UpdateBackendAuthVerificationMessageConfig.add_member(:sms_settings, Shapes::ShapeRef.new(shape: SmsSettings, location_name: "smsSettings"))
960
+ UpdateBackendAuthVerificationMessageConfig.struct_class = Types::UpdateBackendAuthVerificationMessageConfig
961
+
948
962
  UpdateBackendConfigReqObj.add_member(:login_auth_config, Shapes::ShapeRef.new(shape: LoginAuthConfigReqObj, location_name: "loginAuthConfig"))
949
963
  UpdateBackendConfigReqObj.struct_class = Types::UpdateBackendConfigReqObj
950
964
 
@@ -855,8 +855,8 @@ module Aws::AmplifyBackend
855
855
  include Aws::Structure
856
856
  end
857
857
 
858
- # Describes the forgot password policy for authenticating into the
859
- # Amplify app.
858
+ # **(DEPRECATED)** Describes the forgot password policy for
859
+ # authenticating into the Amplify app.
860
860
  #
861
861
  # @note When making an API call, you may pass CreateBackendAuthForgotPasswordConfig
862
862
  # data as a hash:
@@ -873,18 +873,18 @@ module Aws::AmplifyBackend
873
873
  # }
874
874
  #
875
875
  # @!attribute [rw] delivery_method
876
- # Describes which mode to use (either SMS or email) to deliver
877
- # messages to app users who want to recover their password.
876
+ # **(DEPRECATED)** Describes which mode to use (either SMS or email)
877
+ # to deliver messages to app users who want to recover their password.
878
878
  # @return [String]
879
879
  #
880
880
  # @!attribute [rw] email_settings
881
- # The configuration for the email sent when an app user forgets their
882
- # password.
881
+ # **(DEPRECATED)** The configuration for the email sent when an app
882
+ # user forgets their password.
883
883
  # @return [Types::EmailSettings]
884
884
  #
885
885
  # @!attribute [rw] sms_settings
886
- # The configuration for the SMS message sent when an app user forgets
887
- # their password.
886
+ # **(DEPRECATED)** The configuration for the SMS message sent when an
887
+ # app user forgets their password.
888
888
  # @return [Types::SmsSettings]
889
889
  #
890
890
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuthForgotPasswordConfig AWS API Documentation
@@ -1152,6 +1152,16 @@ module Aws::AmplifyBackend
1152
1152
  # required_sign_up_attributes: ["ADDRESS"], # required, accepts ADDRESS, BIRTHDATE, EMAIL, FAMILY_NAME, GENDER, GIVEN_NAME, LOCALE, MIDDLE_NAME, NAME, NICKNAME, PHONE_NUMBER, PICTURE, PREFERRED_USERNAME, PROFILE, UPDATED_AT, WEBSITE, ZONE_INFO
1153
1153
  # sign_in_method: "EMAIL", # required, accepts EMAIL, EMAIL_AND_PHONE_NUMBER, PHONE_NUMBER, USERNAME
1154
1154
  # user_pool_name: "__string", # required
1155
+ # verification_message: {
1156
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
1157
+ # email_settings: {
1158
+ # email_message: "__string",
1159
+ # email_subject: "__string",
1160
+ # },
1161
+ # sms_settings: {
1162
+ # sms_message: "__string",
1163
+ # },
1164
+ # },
1155
1165
  # },
1156
1166
  # },
1157
1167
  # resource_name: "__string", # required
@@ -1247,6 +1257,16 @@ module Aws::AmplifyBackend
1247
1257
  # required_sign_up_attributes: ["ADDRESS"], # required, accepts ADDRESS, BIRTHDATE, EMAIL, FAMILY_NAME, GENDER, GIVEN_NAME, LOCALE, MIDDLE_NAME, NAME, NICKNAME, PHONE_NUMBER, PICTURE, PREFERRED_USERNAME, PROFILE, UPDATED_AT, WEBSITE, ZONE_INFO
1248
1258
  # sign_in_method: "EMAIL", # required, accepts EMAIL, EMAIL_AND_PHONE_NUMBER, PHONE_NUMBER, USERNAME
1249
1259
  # user_pool_name: "__string", # required
1260
+ # verification_message: {
1261
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
1262
+ # email_settings: {
1263
+ # email_message: "__string",
1264
+ # email_subject: "__string",
1265
+ # },
1266
+ # sms_settings: {
1267
+ # sms_message: "__string",
1268
+ # },
1269
+ # },
1250
1270
  # },
1251
1271
  # }
1252
1272
  #
@@ -1372,11 +1392,22 @@ module Aws::AmplifyBackend
1372
1392
  # required_sign_up_attributes: ["ADDRESS"], # required, accepts ADDRESS, BIRTHDATE, EMAIL, FAMILY_NAME, GENDER, GIVEN_NAME, LOCALE, MIDDLE_NAME, NAME, NICKNAME, PHONE_NUMBER, PICTURE, PREFERRED_USERNAME, PROFILE, UPDATED_AT, WEBSITE, ZONE_INFO
1373
1393
  # sign_in_method: "EMAIL", # required, accepts EMAIL, EMAIL_AND_PHONE_NUMBER, PHONE_NUMBER, USERNAME
1374
1394
  # user_pool_name: "__string", # required
1395
+ # verification_message: {
1396
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
1397
+ # email_settings: {
1398
+ # email_message: "__string",
1399
+ # email_subject: "__string",
1400
+ # },
1401
+ # sms_settings: {
1402
+ # sms_message: "__string",
1403
+ # },
1404
+ # },
1375
1405
  # }
1376
1406
  #
1377
1407
  # @!attribute [rw] forgot_password
1378
- # Describes the forgotten password policy for your Amazon Cognito user
1379
- # pool, configured as a part of your Amplify project.
1408
+ # **(DEPRECATED)** Describes the forgotten password policy for your
1409
+ # Amazon Cognito user pool, configured as a part of your Amplify
1410
+ # project.
1380
1411
  # @return [Types::CreateBackendAuthForgotPasswordConfig]
1381
1412
  #
1382
1413
  # @!attribute [rw] mfa
@@ -1409,6 +1440,11 @@ module Aws::AmplifyBackend
1409
1440
  # The Amazon Cognito user pool name.
1410
1441
  # @return [String]
1411
1442
  #
1443
+ # @!attribute [rw] verification_message
1444
+ # Describes the email or SMS verification message for your Amazon
1445
+ # Cognito user pool, configured as a part of your Amplify project.
1446
+ # @return [Types::CreateBackendAuthVerificationMessageConfig]
1447
+ #
1412
1448
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuthUserPoolConfig AWS API Documentation
1413
1449
  #
1414
1450
  class CreateBackendAuthUserPoolConfig < Struct.new(
@@ -1418,7 +1454,47 @@ module Aws::AmplifyBackend
1418
1454
  :password_policy,
1419
1455
  :required_sign_up_attributes,
1420
1456
  :sign_in_method,
1421
- :user_pool_name)
1457
+ :user_pool_name,
1458
+ :verification_message)
1459
+ SENSITIVE = []
1460
+ include Aws::Structure
1461
+ end
1462
+
1463
+ # Creates an email or SMS verification message for the auth resource
1464
+ # configured for your Amplify project.
1465
+ #
1466
+ # @note When making an API call, you may pass CreateBackendAuthVerificationMessageConfig
1467
+ # data as a hash:
1468
+ #
1469
+ # {
1470
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
1471
+ # email_settings: {
1472
+ # email_message: "__string",
1473
+ # email_subject: "__string",
1474
+ # },
1475
+ # sms_settings: {
1476
+ # sms_message: "__string",
1477
+ # },
1478
+ # }
1479
+ #
1480
+ # @!attribute [rw] delivery_method
1481
+ # The type of verification message to send.
1482
+ # @return [String]
1483
+ #
1484
+ # @!attribute [rw] email_settings
1485
+ # The settings for the email message.
1486
+ # @return [Types::EmailSettings]
1487
+ #
1488
+ # @!attribute [rw] sms_settings
1489
+ # The settings for the SMS message.
1490
+ # @return [Types::SmsSettings]
1491
+ #
1492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuthVerificationMessageConfig AWS API Documentation
1493
+ #
1494
+ class CreateBackendAuthVerificationMessageConfig < Struct.new(
1495
+ :delivery_method,
1496
+ :email_settings,
1497
+ :sms_settings)
1422
1498
  SENSITIVE = []
1423
1499
  include Aws::Structure
1424
1500
  end
@@ -1527,7 +1603,7 @@ module Aws::AmplifyBackend
1527
1603
  # @return [String]
1528
1604
  #
1529
1605
  # @!attribute [rw] resource_config
1530
- # The resource configuration for creating backend storage.
1606
+ # The resource configuration for creating a backend.
1531
1607
  # @return [Types::ResourceConfig]
1532
1608
  #
1533
1609
  # @!attribute [rw] resource_name
@@ -2207,6 +2283,8 @@ module Aws::AmplifyBackend
2207
2283
  include Aws::Structure
2208
2284
  end
2209
2285
 
2286
+ # The settings for the email message.
2287
+ #
2210
2288
  # @note When making an API call, you may pass EmailSettings
2211
2289
  # data as a hash:
2212
2290
  #
@@ -2216,11 +2294,11 @@ module Aws::AmplifyBackend
2216
2294
  # }
2217
2295
  #
2218
2296
  # @!attribute [rw] email_message
2219
- # The body of the email.
2297
+ # The contents of the email message.
2220
2298
  # @return [String]
2221
2299
  #
2222
2300
  # @!attribute [rw] email_subject
2223
- # The subject of the email.
2301
+ # The contents of the subject line of the email message.
2224
2302
  # @return [String]
2225
2303
  #
2226
2304
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/EmailSettings AWS API Documentation
@@ -3668,6 +3746,8 @@ module Aws::AmplifyBackend
3668
3746
  include Aws::Structure
3669
3747
  end
3670
3748
 
3749
+ # The settings for the SMS message.
3750
+ #
3671
3751
  # @note When making an API call, you may pass SmsSettings
3672
3752
  # data as a hash:
3673
3753
  #
@@ -3676,7 +3756,7 @@ module Aws::AmplifyBackend
3676
3756
  # }
3677
3757
  #
3678
3758
  # @!attribute [rw] sms_message
3679
- # The body of the SMS message.
3759
+ # The contents of the SMS message.
3680
3760
  # @return [String]
3681
3761
  #
3682
3762
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/SmsSettings AWS API Documentation
@@ -3861,8 +3941,8 @@ module Aws::AmplifyBackend
3861
3941
  include Aws::Structure
3862
3942
  end
3863
3943
 
3864
- # Describes the forgot password policy for authenticating into the
3865
- # Amplify app.
3944
+ # **(DEPRECATED)** Describes the forgot password policy for
3945
+ # authenticating into the Amplify app.
3866
3946
  #
3867
3947
  # @note When making an API call, you may pass UpdateBackendAuthForgotPasswordConfig
3868
3948
  # data as a hash:
@@ -3879,18 +3959,19 @@ module Aws::AmplifyBackend
3879
3959
  # }
3880
3960
  #
3881
3961
  # @!attribute [rw] delivery_method
3882
- # Describes which mode to use (either SMS or email) to deliver
3883
- # messages to app users that want to recover their password.
3962
+ # **(DEPRECATED)** Describes which mode to use (either SMS or email)
3963
+ # to deliver messages to app users that want to recover their
3964
+ # password.
3884
3965
  # @return [String]
3885
3966
  #
3886
3967
  # @!attribute [rw] email_settings
3887
- # The configuration for the email sent when an app user forgets their
3888
- # password.
3968
+ # **(DEPRECATED)** The configuration for the email sent when an app
3969
+ # user forgets their password.
3889
3970
  # @return [Types::EmailSettings]
3890
3971
  #
3891
3972
  # @!attribute [rw] sms_settings
3892
- # The configuration for the SMS message sent when an Amplify app user
3893
- # forgets their password.
3973
+ # **(DEPRECATED)** The configuration for the SMS message sent when an
3974
+ # Amplify app user forgets their password.
3894
3975
  # @return [Types::SmsSettings]
3895
3976
  #
3896
3977
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuthForgotPasswordConfig AWS API Documentation
@@ -4146,6 +4227,16 @@ module Aws::AmplifyBackend
4146
4227
  # additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
4147
4228
  # minimum_length: 1.0,
4148
4229
  # },
4230
+ # verification_message: {
4231
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
4232
+ # email_settings: {
4233
+ # email_message: "__string",
4234
+ # email_subject: "__string",
4235
+ # },
4236
+ # sms_settings: {
4237
+ # sms_message: "__string",
4238
+ # },
4239
+ # },
4149
4240
  # },
4150
4241
  # },
4151
4242
  # resource_name: "__string", # required
@@ -4237,6 +4328,16 @@ module Aws::AmplifyBackend
4237
4328
  # additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
4238
4329
  # minimum_length: 1.0,
4239
4330
  # },
4331
+ # verification_message: {
4332
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
4333
+ # email_settings: {
4334
+ # email_message: "__string",
4335
+ # email_subject: "__string",
4336
+ # },
4337
+ # sms_settings: {
4338
+ # sms_message: "__string",
4339
+ # },
4340
+ # },
4240
4341
  # },
4241
4342
  # }
4242
4343
  #
@@ -4360,11 +4461,22 @@ module Aws::AmplifyBackend
4360
4461
  # additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
4361
4462
  # minimum_length: 1.0,
4362
4463
  # },
4464
+ # verification_message: {
4465
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
4466
+ # email_settings: {
4467
+ # email_message: "__string",
4468
+ # email_subject: "__string",
4469
+ # },
4470
+ # sms_settings: {
4471
+ # sms_message: "__string",
4472
+ # },
4473
+ # },
4363
4474
  # }
4364
4475
  #
4365
4476
  # @!attribute [rw] forgot_password
4366
- # Describes the forgot password policy for your Amazon Cognito user
4367
- # pool, configured as a part of your Amplify project.
4477
+ # **(DEPRECATED)** Describes the forgot password policy for your
4478
+ # Amazon Cognito user pool, configured as a part of your Amplify
4479
+ # project.
4368
4480
  # @return [Types::UpdateBackendAuthForgotPasswordConfig]
4369
4481
  #
4370
4482
  # @!attribute [rw] mfa
@@ -4383,13 +4495,58 @@ module Aws::AmplifyBackend
4383
4495
  # configured as a part of your Amplify project.
4384
4496
  # @return [Types::UpdateBackendAuthPasswordPolicyConfig]
4385
4497
  #
4498
+ # @!attribute [rw] verification_message
4499
+ # Describes the email or SMS verification message for your Amazon
4500
+ # Cognito user pool, configured as a part of your Amplify project.
4501
+ # @return [Types::UpdateBackendAuthVerificationMessageConfig]
4502
+ #
4386
4503
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuthUserPoolConfig AWS API Documentation
4387
4504
  #
4388
4505
  class UpdateBackendAuthUserPoolConfig < Struct.new(
4389
4506
  :forgot_password,
4390
4507
  :mfa,
4391
4508
  :o_auth,
4392
- :password_policy)
4509
+ :password_policy,
4510
+ :verification_message)
4511
+ SENSITIVE = []
4512
+ include Aws::Structure
4513
+ end
4514
+
4515
+ # Updates the configuration of the email or SMS message for the auth
4516
+ # resource configured for your Amplify project.
4517
+ #
4518
+ # @note When making an API call, you may pass UpdateBackendAuthVerificationMessageConfig
4519
+ # data as a hash:
4520
+ #
4521
+ # {
4522
+ # delivery_method: "EMAIL", # required, accepts EMAIL, SMS
4523
+ # email_settings: {
4524
+ # email_message: "__string",
4525
+ # email_subject: "__string",
4526
+ # },
4527
+ # sms_settings: {
4528
+ # sms_message: "__string",
4529
+ # },
4530
+ # }
4531
+ #
4532
+ # @!attribute [rw] delivery_method
4533
+ # The type of verification message to send.
4534
+ # @return [String]
4535
+ #
4536
+ # @!attribute [rw] email_settings
4537
+ # The settings for the email message.
4538
+ # @return [Types::EmailSettings]
4539
+ #
4540
+ # @!attribute [rw] sms_settings
4541
+ # The settings for the SMS message.
4542
+ # @return [Types::SmsSettings]
4543
+ #
4544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuthVerificationMessageConfig AWS API Documentation
4545
+ #
4546
+ class UpdateBackendAuthVerificationMessageConfig < Struct.new(
4547
+ :delivery_method,
4548
+ :email_settings,
4549
+ :sms_settings)
4393
4550
  SENSITIVE = []
4394
4551
  include Aws::Structure
4395
4552
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-amplifybackend/customizations'
48
48
  # @!group service
49
49
  module Aws::AmplifyBackend
50
50
 
51
- GEM_VERSION = '1.16.0'
51
+ GEM_VERSION = '1.17.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-amplifybackend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core