aws-sdk-amplifybackend 1.16.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-amplifybackend/types'
15
15
  require_relative 'aws-sdk-amplifybackend/client_api'
16
+ require_relative 'aws-sdk-amplifybackend/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-amplifybackend/client'
17
18
  require_relative 'aws-sdk-amplifybackend/errors'
18
19
  require_relative 'aws-sdk-amplifybackend/resource'
20
+ require_relative 'aws-sdk-amplifybackend/endpoint_parameters'
21
+ require_relative 'aws-sdk-amplifybackend/endpoint_provider'
22
+ require_relative 'aws-sdk-amplifybackend/endpoints'
19
23
  require_relative 'aws-sdk-amplifybackend/customizations'
20
24
 
21
25
  # This module provides support for AmplifyBackend. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-amplifybackend/customizations'
48
52
  # @!group service
49
53
  module Aws::AmplifyBackend
50
54
 
51
- GEM_VERSION = '1.16.0'
55
+ GEM_VERSION = '1.18.0'
52
56
 
53
57
  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.18.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-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-amplifybackend/client.rb
60
60
  - lib/aws-sdk-amplifybackend/client_api.rb
61
61
  - lib/aws-sdk-amplifybackend/customizations.rb
62
+ - lib/aws-sdk-amplifybackend/endpoint_parameters.rb
63
+ - lib/aws-sdk-amplifybackend/endpoint_provider.rb
64
+ - lib/aws-sdk-amplifybackend/endpoints.rb
62
65
  - lib/aws-sdk-amplifybackend/errors.rb
66
+ - lib/aws-sdk-amplifybackend/plugins/endpoints.rb
63
67
  - lib/aws-sdk-amplifybackend/resource.rb
64
68
  - lib/aws-sdk-amplifybackend/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby