aws-sdk-amplifybackend 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7dbb1ddd4a87722cd6576804f82abfd36d7b2252e521a999b1033246b897d4f0
4
- data.tar.gz: 93ab50dfd00433140e12488227b67aa79df703bac96a141a069e3c88c35b3773
3
+ metadata.gz: 481d8822fc27aa41d64fb35dcf9decd0cb1cc921aae7e287a1854b53c296dc41
4
+ data.tar.gz: 2d11880b0e49879d59c25898be69b4e0f18b08147cd88138eb1caeedb8dffe2a
5
5
  SHA512:
6
- metadata.gz: 142c2557ffe7bb33d6d27c61ec67eed06a39a965200e04f4583615e6296091edd2566095f9659ea8c9970743dc382468d55c6e143486f23b4148dc6a89efe66b
7
- data.tar.gz: f3ce869e4e8fed434c7232817d383007594d4764b29d80fb0b9b88620f4d768c64bf78fbee09257194be766874dd5e9ef015a5798d1a337735938335e361974d
6
+ metadata.gz: dbf527958e4b18815b50d7f83f384bbd12c997fd78b72f6a64a27178d660de98f8162f168d9681b5da9945e5c7c85b9e2aaf8ba84d57eb152052b20a4a677571
7
+ data.tar.gz: '087f6fed3e3b8a90a73ddffc983b901ad87d38cd4ca8677805a060c3eb90dfc74a4c571c1e61b1ef0758a067fd6df9d98491db1406620588e45798e2068683c7'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2021-07-13)
5
+ ------------------
6
+
7
+ * Feature - Added Sign in with Apple OAuth provider.
8
+
4
9
  1.4.0 (2021-06-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
@@ -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.4.0'
51
+ GEM_VERSION = '1.5.0'
52
52
 
53
53
  end
@@ -574,6 +574,12 @@ module Aws::AmplifyBackend
574
574
  # client_id: "__string",
575
575
  # client_secret: "__string",
576
576
  # },
577
+ # sign_in_with_apple: {
578
+ # client_id: "__string",
579
+ # key_id: "__string",
580
+ # private_key: "__string",
581
+ # team_id: "__string",
582
+ # },
577
583
  # },
578
584
  # },
579
585
  # password_policy: {
@@ -1149,6 +1155,10 @@ module Aws::AmplifyBackend
1149
1155
  # resp.resource_config.user_pool_configs.o_auth.social_provider_settings.google.client_secret #=> String
1150
1156
  # resp.resource_config.user_pool_configs.o_auth.social_provider_settings.login_with_amazon.client_id #=> String
1151
1157
  # resp.resource_config.user_pool_configs.o_auth.social_provider_settings.login_with_amazon.client_secret #=> String
1158
+ # resp.resource_config.user_pool_configs.o_auth.social_provider_settings.sign_in_with_apple.client_id #=> String
1159
+ # resp.resource_config.user_pool_configs.o_auth.social_provider_settings.sign_in_with_apple.key_id #=> String
1160
+ # resp.resource_config.user_pool_configs.o_auth.social_provider_settings.sign_in_with_apple.private_key #=> String
1161
+ # resp.resource_config.user_pool_configs.o_auth.social_provider_settings.sign_in_with_apple.team_id #=> String
1152
1162
  # resp.resource_config.user_pool_configs.password_policy.additional_constraints #=> Array
1153
1163
  # resp.resource_config.user_pool_configs.password_policy.additional_constraints[0] #=> String, one of "REQUIRE_DIGIT", "REQUIRE_LOWERCASE", "REQUIRE_SYMBOL", "REQUIRE_UPPERCASE"
1154
1164
  # resp.resource_config.user_pool_configs.password_policy.minimum_length #=> Float
@@ -1576,6 +1586,12 @@ module Aws::AmplifyBackend
1576
1586
  # client_id: "__string",
1577
1587
  # client_secret: "__string",
1578
1588
  # },
1589
+ # sign_in_with_apple: {
1590
+ # client_id: "__string",
1591
+ # key_id: "__string",
1592
+ # private_key: "__string",
1593
+ # team_id: "__string",
1594
+ # },
1579
1595
  # },
1580
1596
  # },
1581
1597
  # password_policy: {
@@ -1716,7 +1732,7 @@ module Aws::AmplifyBackend
1716
1732
  params: params,
1717
1733
  config: config)
1718
1734
  context[:gem_name] = 'aws-sdk-amplifybackend'
1719
- context[:gem_version] = '1.4.0'
1735
+ context[:gem_version] = '1.5.0'
1720
1736
  Seahorse::Client::Request.new(handlers, context)
1721
1737
  end
1722
1738
 
@@ -23,6 +23,7 @@ module Aws::AmplifyBackend
23
23
  BackendAPIReqObj = Shapes::StructureShape.new(name: 'BackendAPIReqObj')
24
24
  BackendAPIResourceConfig = Shapes::StructureShape.new(name: 'BackendAPIResourceConfig')
25
25
  BackendAPIRespObj = Shapes::StructureShape.new(name: 'BackendAPIRespObj')
26
+ BackendAuthAppleProviderConfig = Shapes::StructureShape.new(name: 'BackendAuthAppleProviderConfig')
26
27
  BackendAuthRespObj = Shapes::StructureShape.new(name: 'BackendAuthRespObj')
27
28
  BackendAuthSocialProviderConfig = Shapes::StructureShape.new(name: 'BackendAuthSocialProviderConfig')
28
29
  BackendConfigRespObj = Shapes::StructureShape.new(name: 'BackendConfigRespObj')
@@ -206,6 +207,12 @@ module Aws::AmplifyBackend
206
207
  BackendAPIRespObj.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
207
208
  BackendAPIRespObj.struct_class = Types::BackendAPIRespObj
208
209
 
210
+ BackendAuthAppleProviderConfig.add_member(:client_id, Shapes::ShapeRef.new(shape: __string, location_name: "client_id"))
211
+ BackendAuthAppleProviderConfig.add_member(:key_id, Shapes::ShapeRef.new(shape: __string, location_name: "key_id"))
212
+ BackendAuthAppleProviderConfig.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "private_key"))
213
+ BackendAuthAppleProviderConfig.add_member(:team_id, Shapes::ShapeRef.new(shape: __string, location_name: "team_id"))
214
+ BackendAuthAppleProviderConfig.struct_class = Types::BackendAuthAppleProviderConfig
215
+
209
216
  BackendAuthRespObj.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "appId"))
210
217
  BackendAuthRespObj.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "backendEnvironmentName"))
211
218
  BackendAuthRespObj.add_member(:error, Shapes::ShapeRef.new(shape: __string, location_name: "error"))
@@ -715,6 +722,7 @@ module Aws::AmplifyBackend
715
722
  SocialProviderSettings.add_member(:facebook, Shapes::ShapeRef.new(shape: BackendAuthSocialProviderConfig, location_name: "Facebook"))
716
723
  SocialProviderSettings.add_member(:google, Shapes::ShapeRef.new(shape: BackendAuthSocialProviderConfig, location_name: "Google"))
717
724
  SocialProviderSettings.add_member(:login_with_amazon, Shapes::ShapeRef.new(shape: BackendAuthSocialProviderConfig, location_name: "LoginWithAmazon"))
725
+ SocialProviderSettings.add_member(:sign_in_with_apple, Shapes::ShapeRef.new(shape: BackendAuthAppleProviderConfig, location_name: "SignInWithApple"))
718
726
  SocialProviderSettings.struct_class = Types::SocialProviderSettings
719
727
 
720
728
  TooManyRequestsException.add_member(:limit_type, Shapes::ShapeRef.new(shape: __string, location_name: "limitType"))
@@ -261,7 +261,7 @@ module Aws::AmplifyBackend
261
261
  #
262
262
  # @!attribute [rw] api_name
263
263
  # The API name used to interact with the data model, configured as a
264
- # part of the amplify project.
264
+ # part of your Amplify project.
265
265
  # @return [String]
266
266
  #
267
267
  # @!attribute [rw] conflict_resolution
@@ -335,6 +335,47 @@ module Aws::AmplifyBackend
335
335
  include Aws::Structure
336
336
  end
337
337
 
338
+ # Describes Apple social federation configurations for allowing your app
339
+ # users to sign in using OAuth.
340
+ #
341
+ # @note When making an API call, you may pass BackendAuthAppleProviderConfig
342
+ # data as a hash:
343
+ #
344
+ # {
345
+ # client_id: "__string",
346
+ # key_id: "__string",
347
+ # private_key: "__string",
348
+ # team_id: "__string",
349
+ # }
350
+ #
351
+ # @!attribute [rw] client_id
352
+ # Describes the client\_id (also called Services ID) that comes from
353
+ # Apple.
354
+ # @return [String]
355
+ #
356
+ # @!attribute [rw] key_id
357
+ # Describes the key\_id that comes from Apple.
358
+ # @return [String]
359
+ #
360
+ # @!attribute [rw] private_key
361
+ # Describes the private\_key that comes from Apple.
362
+ # @return [String]
363
+ #
364
+ # @!attribute [rw] team_id
365
+ # Describes the team\_id that comes from Apple.
366
+ # @return [String]
367
+ #
368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/BackendAuthAppleProviderConfig AWS API Documentation
369
+ #
370
+ class BackendAuthAppleProviderConfig < Struct.new(
371
+ :client_id,
372
+ :key_id,
373
+ :private_key,
374
+ :team_id)
375
+ SENSITIVE = []
376
+ include Aws::Structure
377
+ end
378
+
338
379
  # The response object for this operation.
339
380
  #
340
381
  # @!attribute [rw] app_id
@@ -386,12 +427,12 @@ module Aws::AmplifyBackend
386
427
  # }
387
428
  #
388
429
  # @!attribute [rw] client_id
389
- # Describes the client\_id which can be obtained from the third-party
430
+ # Describes the client\_id, which can be obtained from the third-party
390
431
  # social federation provider.
391
432
  # @return [String]
392
433
  #
393
434
  # @!attribute [rw] client_secret
394
- # Describes the client\_secret which can be obtained from third-party
435
+ # Describes the client\_secret, which can be obtained from third-party
395
436
  # social federation providers.
396
437
  # @return [String]
397
438
  #
@@ -437,7 +478,7 @@ module Aws::AmplifyBackend
437
478
  # The request object for this operation.
438
479
  #
439
480
  # @!attribute [rw] operation
440
- # Filters the list of response objects to only include those with the
481
+ # Filters the list of response objects to include only those with the
441
482
  # specified operation name.
442
483
  # @return [String]
443
484
  #
@@ -774,7 +815,7 @@ module Aws::AmplifyBackend
774
815
  #
775
816
  # @!attribute [rw] delivery_method
776
817
  # Describes which mode to use (either SMS or email) to deliver
777
- # messages to app users that want to recover their password.
818
+ # messages to app users who want to recover their password.
778
819
  # @return [String]
779
820
  #
780
821
  # @!attribute [rw] email_settings
@@ -826,9 +867,9 @@ module Aws::AmplifyBackend
826
867
  include Aws::Structure
827
868
  end
828
869
 
829
- # Describes whether multi-factor authentication policies should be
830
- # applied for your Amazon Cognito user pool configured as a part of your
831
- # Amplify project.
870
+ # Describes whether to apply multi-factor authentication policies for
871
+ # your Amazon Cognito user pool configured as a part of your Amplify
872
+ # project.
832
873
  #
833
874
  # @note When making an API call, you may pass CreateBackendAuthMFAConfig
834
875
  # data as a hash:
@@ -842,7 +883,7 @@ module Aws::AmplifyBackend
842
883
  # }
843
884
  #
844
885
  # @!attribute [rw] mfa_mode
845
- # Describes whether MFA should be \[ON, OFF, OPTIONAL\] for
886
+ # Describes whether MFA should be \[ON, OFF, or OPTIONAL\] for
846
887
  # authentication in your Amplify project.
847
888
  # @return [String]
848
889
  #
@@ -884,6 +925,12 @@ module Aws::AmplifyBackend
884
925
  # client_id: "__string",
885
926
  # client_secret: "__string",
886
927
  # },
928
+ # sign_in_with_apple: {
929
+ # client_id: "__string",
930
+ # key_id: "__string",
931
+ # private_key: "__string",
932
+ # team_id: "__string",
933
+ # },
887
934
  # },
888
935
  # }
889
936
  #
@@ -906,7 +953,8 @@ module Aws::AmplifyBackend
906
953
  # @return [Array<String>]
907
954
  #
908
955
  # @!attribute [rw] redirect_sign_out_ur_is
909
- # Redirect URLs used by OAuth when a user signs out of an Amplify app.
956
+ # Redirect URLs that OAuth uses when a user signs out of an Amplify
957
+ # app.
910
958
  # @return [Array<String>]
911
959
  #
912
960
  # @!attribute [rw] social_provider_settings
@@ -1030,6 +1078,12 @@ module Aws::AmplifyBackend
1030
1078
  # client_id: "__string",
1031
1079
  # client_secret: "__string",
1032
1080
  # },
1081
+ # sign_in_with_apple: {
1082
+ # client_id: "__string",
1083
+ # key_id: "__string",
1084
+ # private_key: "__string",
1085
+ # team_id: "__string",
1086
+ # },
1033
1087
  # },
1034
1088
  # },
1035
1089
  # password_policy: {
@@ -1119,6 +1173,12 @@ module Aws::AmplifyBackend
1119
1173
  # client_id: "__string",
1120
1174
  # client_secret: "__string",
1121
1175
  # },
1176
+ # sign_in_with_apple: {
1177
+ # client_id: "__string",
1178
+ # key_id: "__string",
1179
+ # private_key: "__string",
1180
+ # team_id: "__string",
1181
+ # },
1122
1182
  # },
1123
1183
  # },
1124
1184
  # password_policy: {
@@ -1238,6 +1298,12 @@ module Aws::AmplifyBackend
1238
1298
  # client_id: "__string",
1239
1299
  # client_secret: "__string",
1240
1300
  # },
1301
+ # sign_in_with_apple: {
1302
+ # client_id: "__string",
1303
+ # key_id: "__string",
1304
+ # private_key: "__string",
1305
+ # team_id: "__string",
1306
+ # },
1241
1307
  # },
1242
1308
  # },
1243
1309
  # password_policy: {
@@ -1255,9 +1321,9 @@ module Aws::AmplifyBackend
1255
1321
  # @return [Types::CreateBackendAuthForgotPasswordConfig]
1256
1322
  #
1257
1323
  # @!attribute [rw] mfa
1258
- # Describes whether multi-factor authentication policies should be
1259
- # applied for your Amazon Cognito user pool configured as a part of
1260
- # your Amplify project.
1324
+ # Describes whether to apply multi-factor authentication policies for
1325
+ # your Amazon Cognito user pool configured as a part of your Amplify
1326
+ # project.
1261
1327
  # @return [Types::CreateBackendAuthMFAConfig]
1262
1328
  #
1263
1329
  # @!attribute [rw] o_auth
@@ -3086,6 +3152,12 @@ module Aws::AmplifyBackend
3086
3152
  # client_id: "__string",
3087
3153
  # client_secret: "__string",
3088
3154
  # },
3155
+ # sign_in_with_apple: {
3156
+ # client_id: "__string",
3157
+ # key_id: "__string",
3158
+ # private_key: "__string",
3159
+ # team_id: "__string",
3160
+ # },
3089
3161
  # }
3090
3162
  #
3091
3163
  # @!attribute [rw] facebook
@@ -3103,12 +3175,18 @@ module Aws::AmplifyBackend
3103
3175
  # your app users to sign in using OAuth.
3104
3176
  # @return [Types::BackendAuthSocialProviderConfig]
3105
3177
  #
3178
+ # @!attribute [rw] sign_in_with_apple
3179
+ # Describes Apple social federation configurations for allowing your
3180
+ # app users to sign in using OAuth.
3181
+ # @return [Types::BackendAuthAppleProviderConfig]
3182
+ #
3106
3183
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/SocialProviderSettings AWS API Documentation
3107
3184
  #
3108
3185
  class SocialProviderSettings < Struct.new(
3109
3186
  :facebook,
3110
3187
  :google,
3111
- :login_with_amazon)
3188
+ :login_with_amazon,
3189
+ :sign_in_with_apple)
3112
3190
  SENSITIVE = []
3113
3191
  include Aws::Structure
3114
3192
  end
@@ -3286,7 +3364,7 @@ module Aws::AmplifyBackend
3286
3364
  # }
3287
3365
  #
3288
3366
  # @!attribute [rw] unauthenticated_login
3289
- # A boolean value which can be set to allow or disallow guest-level
3367
+ # A boolean value that can be set to allow or disallow guest-level
3290
3368
  # authorization into your Amplify app.
3291
3369
  # @return [Boolean]
3292
3370
  #
@@ -3355,6 +3433,12 @@ module Aws::AmplifyBackend
3355
3433
  # client_id: "__string",
3356
3434
  # client_secret: "__string",
3357
3435
  # },
3436
+ # sign_in_with_apple: {
3437
+ # client_id: "__string",
3438
+ # key_id: "__string",
3439
+ # private_key: "__string",
3440
+ # team_id: "__string",
3441
+ # },
3358
3442
  # },
3359
3443
  # }
3360
3444
  #
@@ -3374,11 +3458,13 @@ module Aws::AmplifyBackend
3374
3458
  # @return [Array<String>]
3375
3459
  #
3376
3460
  # @!attribute [rw] redirect_sign_in_ur_is
3377
- # Redirect URLs used by OAuth when a user signs in to an Amplify app.
3461
+ # Redirect URLs that OAuth uses when a user signs in to an Amplify
3462
+ # app.
3378
3463
  # @return [Array<String>]
3379
3464
  #
3380
3465
  # @!attribute [rw] redirect_sign_out_ur_is
3381
- # Redirect URLs used by OAuth when a user signs out of an Amplify app.
3466
+ # Redirect URLs that OAuth uses when a user signs out of an Amplify
3467
+ # app.
3382
3468
  # @return [Array<String>]
3383
3469
  #
3384
3470
  # @!attribute [rw] social_provider_settings
@@ -3497,6 +3583,12 @@ module Aws::AmplifyBackend
3497
3583
  # client_id: "__string",
3498
3584
  # client_secret: "__string",
3499
3585
  # },
3586
+ # sign_in_with_apple: {
3587
+ # client_id: "__string",
3588
+ # key_id: "__string",
3589
+ # private_key: "__string",
3590
+ # team_id: "__string",
3591
+ # },
3500
3592
  # },
3501
3593
  # },
3502
3594
  # password_policy: {
@@ -3582,6 +3674,12 @@ module Aws::AmplifyBackend
3582
3674
  # client_id: "__string",
3583
3675
  # client_secret: "__string",
3584
3676
  # },
3677
+ # sign_in_with_apple: {
3678
+ # client_id: "__string",
3679
+ # key_id: "__string",
3680
+ # private_key: "__string",
3681
+ # team_id: "__string",
3682
+ # },
3585
3683
  # },
3586
3684
  # },
3587
3685
  # password_policy: {
@@ -3699,6 +3797,12 @@ module Aws::AmplifyBackend
3699
3797
  # client_id: "__string",
3700
3798
  # client_secret: "__string",
3701
3799
  # },
3800
+ # sign_in_with_apple: {
3801
+ # client_id: "__string",
3802
+ # key_id: "__string",
3803
+ # private_key: "__string",
3804
+ # team_id: "__string",
3805
+ # },
3702
3806
  # },
3703
3807
  # },
3704
3808
  # password_policy: {
@@ -3713,9 +3817,9 @@ module Aws::AmplifyBackend
3713
3817
  # @return [Types::UpdateBackendAuthForgotPasswordConfig]
3714
3818
  #
3715
3819
  # @!attribute [rw] mfa
3716
- # Describes whether multi-factor authentication policies should be
3717
- # applied for your Amazon Cognito user pool configured as a part of
3718
- # your Amplify project.
3820
+ # Describes whether to apply multi-factor authentication policies for
3821
+ # your Amazon Cognito user pool configured as a part of your Amplify
3822
+ # project.
3719
3823
  # @return [Types::UpdateBackendAuthMFAConfig]
3720
3824
  #
3721
3825
  # @!attribute [rw] o_auth
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.4.0
4
+ version: 1.5.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: 2021-06-25 00:00:00.000000000 Z
11
+ date: 2021-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core