aws-sdk-amplifybackend 1.3.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-amplifybackend.rb +1 -1
- data/lib/aws-sdk-amplifybackend/client.rb +80 -14
- data/lib/aws-sdk-amplifybackend/client_api.rb +45 -0
- data/lib/aws-sdk-amplifybackend/types.rb +284 -80
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b3f186a80b277293b12650045e7b43615cb462d6b1472c95977b232f913fef1
|
4
|
+
data.tar.gz: 5d72ead43bdceaa0470195d8b57584dee7ae58380f353f3d739e9b0e7d2ad3b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0763624f7a32c6d9a049f3729cff22432efa7e5a55325546cc3f98dd210562d567b6c086e319d63f90e4e31b71ed9daa04f86c184f0734bd05236210c9ac77e
|
7
|
+
data.tar.gz: 1d2a81e1032d11d46e598987466b7241eb689d7ac68dfca7c78fcf4e7a0c483f1939de6a0295dfff0fc433dc2d5fa663e89e9e8f471517a9c0b9de7841b61113
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.7.0 (2021-07-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.6.0 (2021-07-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.5.0 (2021-07-13)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Added Sign in with Apple OAuth provider.
|
18
|
+
|
19
|
+
1.4.0 (2021-06-25)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Imports an existing backend authentication resource.
|
23
|
+
|
4
24
|
1.3.0 (2021-03-10)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.7.0
|
@@ -428,8 +428,8 @@ module Aws::AmplifyBackend
|
|
428
428
|
# @option params [required, String] :backend_environment_name
|
429
429
|
#
|
430
430
|
# @option params [required, Types::BackendAPIResourceConfig] :resource_config
|
431
|
-
# The resource
|
432
|
-
#
|
431
|
+
# The resource config for the data model, configured as a part of the
|
432
|
+
# Amplify project.
|
433
433
|
#
|
434
434
|
# @option params [required, String] :resource_name
|
435
435
|
#
|
@@ -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: {
|
@@ -723,8 +729,8 @@ module Aws::AmplifyBackend
|
|
723
729
|
# @option params [required, String] :backend_environment_name
|
724
730
|
#
|
725
731
|
# @option params [Types::BackendAPIResourceConfig] :resource_config
|
726
|
-
# The resource
|
727
|
-
#
|
732
|
+
# The resource config for the data model, configured as a part of the
|
733
|
+
# Amplify project.
|
728
734
|
#
|
729
735
|
# @option params [required, String] :resource_name
|
730
736
|
#
|
@@ -963,8 +969,8 @@ module Aws::AmplifyBackend
|
|
963
969
|
# @option params [required, String] :backend_environment_name
|
964
970
|
#
|
965
971
|
# @option params [Types::BackendAPIResourceConfig] :resource_config
|
966
|
-
# The resource
|
967
|
-
#
|
972
|
+
# The resource config for the data model, configured as a part of the
|
973
|
+
# Amplify project.
|
968
974
|
#
|
969
975
|
# @option params [required, String] :resource_name
|
970
976
|
#
|
@@ -1094,7 +1100,7 @@ module Aws::AmplifyBackend
|
|
1094
1100
|
req.send_request(options)
|
1095
1101
|
end
|
1096
1102
|
|
1097
|
-
# Gets backend auth details.
|
1103
|
+
# Gets a backend auth details.
|
1098
1104
|
#
|
1099
1105
|
# @option params [required, String] :app_id
|
1100
1106
|
#
|
@@ -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
|
@@ -1250,6 +1260,58 @@ module Aws::AmplifyBackend
|
|
1250
1260
|
req.send_request(options)
|
1251
1261
|
end
|
1252
1262
|
|
1263
|
+
# Imports an existing backend authentication resource.
|
1264
|
+
#
|
1265
|
+
# @option params [required, String] :app_id
|
1266
|
+
#
|
1267
|
+
# @option params [required, String] :backend_environment_name
|
1268
|
+
#
|
1269
|
+
# @option params [String] :identity_pool_id
|
1270
|
+
#
|
1271
|
+
# @option params [required, String] :native_client_id
|
1272
|
+
#
|
1273
|
+
# @option params [required, String] :user_pool_id
|
1274
|
+
#
|
1275
|
+
# @option params [required, String] :web_client_id
|
1276
|
+
#
|
1277
|
+
# @return [Types::ImportBackendAuthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1278
|
+
#
|
1279
|
+
# * {Types::ImportBackendAuthResponse#app_id #app_id} => String
|
1280
|
+
# * {Types::ImportBackendAuthResponse#backend_environment_name #backend_environment_name} => String
|
1281
|
+
# * {Types::ImportBackendAuthResponse#error #error} => String
|
1282
|
+
# * {Types::ImportBackendAuthResponse#job_id #job_id} => String
|
1283
|
+
# * {Types::ImportBackendAuthResponse#operation #operation} => String
|
1284
|
+
# * {Types::ImportBackendAuthResponse#status #status} => String
|
1285
|
+
#
|
1286
|
+
# @example Request syntax with placeholder values
|
1287
|
+
#
|
1288
|
+
# resp = client.import_backend_auth({
|
1289
|
+
# app_id: "__string", # required
|
1290
|
+
# backend_environment_name: "__string", # required
|
1291
|
+
# identity_pool_id: "__string",
|
1292
|
+
# native_client_id: "__string", # required
|
1293
|
+
# user_pool_id: "__string", # required
|
1294
|
+
# web_client_id: "__string", # required
|
1295
|
+
# })
|
1296
|
+
#
|
1297
|
+
# @example Response structure
|
1298
|
+
#
|
1299
|
+
# resp.app_id #=> String
|
1300
|
+
# resp.backend_environment_name #=> String
|
1301
|
+
# resp.error #=> String
|
1302
|
+
# resp.job_id #=> String
|
1303
|
+
# resp.operation #=> String
|
1304
|
+
# resp.status #=> String
|
1305
|
+
#
|
1306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth AWS API Documentation
|
1307
|
+
#
|
1308
|
+
# @overload import_backend_auth(params = {})
|
1309
|
+
# @param [Hash] params ({})
|
1310
|
+
def import_backend_auth(params = {}, options = {})
|
1311
|
+
req = build_request(:import_backend_auth, params)
|
1312
|
+
req.send_request(options)
|
1313
|
+
end
|
1314
|
+
|
1253
1315
|
# Lists the jobs for the backend of an Amplify app.
|
1254
1316
|
#
|
1255
1317
|
# @option params [required, String] :app_id
|
@@ -1345,8 +1407,7 @@ module Aws::AmplifyBackend
|
|
1345
1407
|
req.send_request(options)
|
1346
1408
|
end
|
1347
1409
|
|
1348
|
-
# Removes the AWS resources
|
1349
|
-
# Admin UI.
|
1410
|
+
# Removes the AWS resources required to access the Amplify Admin UI.
|
1350
1411
|
#
|
1351
1412
|
# @option params [required, String] :app_id
|
1352
1413
|
#
|
@@ -1380,8 +1441,8 @@ module Aws::AmplifyBackend
|
|
1380
1441
|
# @option params [required, String] :backend_environment_name
|
1381
1442
|
#
|
1382
1443
|
# @option params [Types::BackendAPIResourceConfig] :resource_config
|
1383
|
-
# The resource
|
1384
|
-
#
|
1444
|
+
# The resource config for the data model, configured as a part of the
|
1445
|
+
# Amplify project.
|
1385
1446
|
#
|
1386
1447
|
# @option params [required, String] :resource_name
|
1387
1448
|
#
|
@@ -1525,6 +1586,12 @@ module Aws::AmplifyBackend
|
|
1525
1586
|
# client_id: "__string",
|
1526
1587
|
# client_secret: "__string",
|
1527
1588
|
# },
|
1589
|
+
# sign_in_with_apple: {
|
1590
|
+
# client_id: "__string",
|
1591
|
+
# key_id: "__string",
|
1592
|
+
# private_key: "__string",
|
1593
|
+
# team_id: "__string",
|
1594
|
+
# },
|
1528
1595
|
# },
|
1529
1596
|
# },
|
1530
1597
|
# password_policy: {
|
@@ -1554,8 +1621,7 @@ module Aws::AmplifyBackend
|
|
1554
1621
|
req.send_request(options)
|
1555
1622
|
end
|
1556
1623
|
|
1557
|
-
# Updates the AWS resources
|
1558
|
-
# Admin UI.
|
1624
|
+
# Updates the AWS resources required to access the Amplify Admin UI.
|
1559
1625
|
#
|
1560
1626
|
# @option params [required, String] :app_id
|
1561
1627
|
#
|
@@ -1666,7 +1732,7 @@ module Aws::AmplifyBackend
|
|
1666
1732
|
params: params,
|
1667
1733
|
config: config)
|
1668
1734
|
context[:gem_name] = 'aws-sdk-amplifybackend'
|
1669
|
-
context[:gem_version] = '1.
|
1735
|
+
context[:gem_version] = '1.7.0'
|
1670
1736
|
Seahorse::Client::Request.new(handlers, context)
|
1671
1737
|
end
|
1672
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')
|
@@ -91,6 +92,9 @@ module Aws::AmplifyBackend
|
|
91
92
|
GetTokenRequest = Shapes::StructureShape.new(name: 'GetTokenRequest')
|
92
93
|
GetTokenRespObj = Shapes::StructureShape.new(name: 'GetTokenRespObj')
|
93
94
|
GetTokenResponse = Shapes::StructureShape.new(name: 'GetTokenResponse')
|
95
|
+
ImportBackendAuthReqObj = Shapes::StructureShape.new(name: 'ImportBackendAuthReqObj')
|
96
|
+
ImportBackendAuthRequest = Shapes::StructureShape.new(name: 'ImportBackendAuthRequest')
|
97
|
+
ImportBackendAuthResponse = Shapes::StructureShape.new(name: 'ImportBackendAuthResponse')
|
94
98
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
95
99
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
96
100
|
ListBackendJobReqObj = Shapes::StructureShape.new(name: 'ListBackendJobReqObj')
|
@@ -203,6 +207,12 @@ module Aws::AmplifyBackend
|
|
203
207
|
BackendAPIRespObj.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
204
208
|
BackendAPIRespObj.struct_class = Types::BackendAPIRespObj
|
205
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
|
+
|
206
216
|
BackendAuthRespObj.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "appId"))
|
207
217
|
BackendAuthRespObj.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "backendEnvironmentName"))
|
208
218
|
BackendAuthRespObj.add_member(:error, Shapes::ShapeRef.new(shape: __string, location_name: "error"))
|
@@ -590,6 +600,28 @@ module Aws::AmplifyBackend
|
|
590
600
|
GetTokenResponse.add_member(:ttl, Shapes::ShapeRef.new(shape: __string, location_name: "ttl"))
|
591
601
|
GetTokenResponse.struct_class = Types::GetTokenResponse
|
592
602
|
|
603
|
+
ImportBackendAuthReqObj.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: __string, location_name: "identityPoolId"))
|
604
|
+
ImportBackendAuthReqObj.add_member(:native_client_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "nativeClientId"))
|
605
|
+
ImportBackendAuthReqObj.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "userPoolId"))
|
606
|
+
ImportBackendAuthReqObj.add_member(:web_client_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "webClientId"))
|
607
|
+
ImportBackendAuthReqObj.struct_class = Types::ImportBackendAuthReqObj
|
608
|
+
|
609
|
+
ImportBackendAuthRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
|
610
|
+
ImportBackendAuthRequest.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "backendEnvironmentName"))
|
611
|
+
ImportBackendAuthRequest.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: __string, location_name: "identityPoolId"))
|
612
|
+
ImportBackendAuthRequest.add_member(:native_client_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "nativeClientId"))
|
613
|
+
ImportBackendAuthRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "userPoolId"))
|
614
|
+
ImportBackendAuthRequest.add_member(:web_client_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "webClientId"))
|
615
|
+
ImportBackendAuthRequest.struct_class = Types::ImportBackendAuthRequest
|
616
|
+
|
617
|
+
ImportBackendAuthResponse.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, location_name: "appId"))
|
618
|
+
ImportBackendAuthResponse.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, location_name: "backendEnvironmentName"))
|
619
|
+
ImportBackendAuthResponse.add_member(:error, Shapes::ShapeRef.new(shape: __string, location_name: "error"))
|
620
|
+
ImportBackendAuthResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
|
621
|
+
ImportBackendAuthResponse.add_member(:operation, Shapes::ShapeRef.new(shape: __string, location_name: "operation"))
|
622
|
+
ImportBackendAuthResponse.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
623
|
+
ImportBackendAuthResponse.struct_class = Types::ImportBackendAuthResponse
|
624
|
+
|
593
625
|
InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
594
626
|
InternalServiceException.struct_class = Types::InternalServiceException
|
595
627
|
|
@@ -690,6 +722,7 @@ module Aws::AmplifyBackend
|
|
690
722
|
SocialProviderSettings.add_member(:facebook, Shapes::ShapeRef.new(shape: BackendAuthSocialProviderConfig, location_name: "Facebook"))
|
691
723
|
SocialProviderSettings.add_member(:google, Shapes::ShapeRef.new(shape: BackendAuthSocialProviderConfig, location_name: "Google"))
|
692
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"))
|
693
726
|
SocialProviderSettings.struct_class = Types::SocialProviderSettings
|
694
727
|
|
695
728
|
TooManyRequestsException.add_member(:limit_type, Shapes::ShapeRef.new(shape: __string, location_name: "limitType"))
|
@@ -1016,6 +1049,18 @@ module Aws::AmplifyBackend
|
|
1016
1049
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1017
1050
|
end)
|
1018
1051
|
|
1052
|
+
api.add_operation(:import_backend_auth, Seahorse::Model::Operation.new.tap do |o|
|
1053
|
+
o.name = "ImportBackendAuth"
|
1054
|
+
o.http_method = "POST"
|
1055
|
+
o.http_request_uri = "/backend/{appId}/auth/{backendEnvironmentName}/import"
|
1056
|
+
o.input = Shapes::ShapeRef.new(shape: ImportBackendAuthRequest)
|
1057
|
+
o.output = Shapes::ShapeRef.new(shape: ImportBackendAuthResponse)
|
1058
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1059
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1060
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1061
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1062
|
+
end)
|
1063
|
+
|
1019
1064
|
api.add_operation(:list_backend_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1020
1065
|
o.name = "ListBackendJobs"
|
1021
1066
|
o.http_method = "POST"
|
@@ -28,17 +28,17 @@ module Aws::AmplifyBackend
|
|
28
28
|
# }
|
29
29
|
#
|
30
30
|
# @!attribute [rw] cognito_user_pool_id
|
31
|
-
# The Amazon Cognito user pool ID, if Amazon Cognito
|
31
|
+
# The Amazon Cognito user pool ID, if Amazon Cognito was used as an
|
32
32
|
# authentication setting to access your data models.
|
33
33
|
# @return [String]
|
34
34
|
#
|
35
35
|
# @!attribute [rw] description
|
36
|
-
# The API key description for API\_KEY, if it
|
36
|
+
# The API key description for API\_KEY, if it was used as an
|
37
37
|
# authentication mechanism to access your data models.
|
38
38
|
# @return [String]
|
39
39
|
#
|
40
40
|
# @!attribute [rw] expiration_time
|
41
|
-
# The API key expiration time for API\_KEY, if it
|
41
|
+
# The API key expiration time for API\_KEY, if it was used as an
|
42
42
|
# authentication mechanism to access your data models.
|
43
43
|
# @return [Float]
|
44
44
|
#
|
@@ -47,7 +47,7 @@ module Aws::AmplifyBackend
|
|
47
47
|
# @return [String]
|
48
48
|
#
|
49
49
|
# @!attribute [rw] open_id_client_id
|
50
|
-
# The clientID for openID, if openID
|
50
|
+
# The clientID for openID, if openID was used as an authentication
|
51
51
|
# setting to access your data models.
|
52
52
|
# @return [String]
|
53
53
|
#
|
@@ -56,12 +56,12 @@ module Aws::AmplifyBackend
|
|
56
56
|
# @return [String]
|
57
57
|
#
|
58
58
|
# @!attribute [rw] open_id_issue_url
|
59
|
-
# The openID issuer URL, if openID
|
59
|
+
# The openID issuer URL, if openID was used as an authentication
|
60
60
|
# setting to access your data models.
|
61
61
|
# @return [String]
|
62
62
|
#
|
63
63
|
# @!attribute [rw] open_id_provider_name
|
64
|
-
# The
|
64
|
+
# The OpenID provider name, if OpenID was used as an authentication
|
65
65
|
# mechanism to access your data models.
|
66
66
|
# @return [String]
|
67
67
|
#
|
@@ -141,7 +141,7 @@ module Aws::AmplifyBackend
|
|
141
141
|
# @return [String]
|
142
142
|
#
|
143
143
|
# @!attribute [rw] error
|
144
|
-
# If the request
|
144
|
+
# If the request fails, this error is returned.
|
145
145
|
# @return [String]
|
146
146
|
#
|
147
147
|
# @!attribute [rw] job_id
|
@@ -169,7 +169,7 @@ module Aws::AmplifyBackend
|
|
169
169
|
include Aws::Structure
|
170
170
|
end
|
171
171
|
|
172
|
-
# Describes the conflict resolution configuration for
|
172
|
+
# Describes the conflict resolution configuration for your data model
|
173
173
|
# configured in your Amplify project.
|
174
174
|
#
|
175
175
|
# @note When making an API call, you may pass BackendAPIConflictResolution
|
@@ -211,8 +211,8 @@ module Aws::AmplifyBackend
|
|
211
211
|
include Aws::Structure
|
212
212
|
end
|
213
213
|
|
214
|
-
# The resource
|
215
|
-
#
|
214
|
+
# The resource config for the data model, configured as a part of the
|
215
|
+
# Amplify project.
|
216
216
|
#
|
217
217
|
# @note When making an API call, you may pass BackendAPIResourceConfig
|
218
218
|
# data as a hash:
|
@@ -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
|
264
|
+
# part of your Amplify project.
|
265
265
|
# @return [String]
|
266
266
|
#
|
267
267
|
# @!attribute [rw] conflict_resolution
|
@@ -307,7 +307,7 @@ module Aws::AmplifyBackend
|
|
307
307
|
# @return [String]
|
308
308
|
#
|
309
309
|
# @!attribute [rw] error
|
310
|
-
# If the request
|
310
|
+
# If the request fails, this error is returned.
|
311
311
|
# @return [String]
|
312
312
|
#
|
313
313
|
# @!attribute [rw] job_id
|
@@ -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
|
@@ -346,7 +387,7 @@ module Aws::AmplifyBackend
|
|
346
387
|
# @return [String]
|
347
388
|
#
|
348
389
|
# @!attribute [rw] error
|
349
|
-
# If the request
|
390
|
+
# If the request fails, this error is returned.
|
350
391
|
# @return [String]
|
351
392
|
#
|
352
393
|
# @!attribute [rw] job_id
|
@@ -386,12 +427,12 @@ module Aws::AmplifyBackend
|
|
386
427
|
# }
|
387
428
|
#
|
388
429
|
# @!attribute [rw] client_id
|
389
|
-
# Describes the client\_id
|
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
|
435
|
+
# Describes the client\_secret, which can be obtained from third-party
|
395
436
|
# social federation providers.
|
396
437
|
# @return [String]
|
397
438
|
#
|
@@ -415,7 +456,7 @@ module Aws::AmplifyBackend
|
|
415
456
|
# @return [String]
|
416
457
|
#
|
417
458
|
# @!attribute [rw] error
|
418
|
-
# If the request
|
459
|
+
# If the request fails, this error is returned.
|
419
460
|
# @return [String]
|
420
461
|
#
|
421
462
|
# @!attribute [rw] login_auth_config
|
@@ -470,7 +511,7 @@ module Aws::AmplifyBackend
|
|
470
511
|
# @return [String]
|
471
512
|
#
|
472
513
|
# @!attribute [rw] error
|
473
|
-
# If the request
|
514
|
+
# If the request fails, this error is returned.
|
474
515
|
# @return [String]
|
475
516
|
#
|
476
517
|
# @!attribute [rw] job_id
|
@@ -571,7 +612,7 @@ module Aws::AmplifyBackend
|
|
571
612
|
# @return [String]
|
572
613
|
#
|
573
614
|
# @!attribute [rw] error
|
574
|
-
# If the request
|
615
|
+
# If the request fails, this error is returned.
|
575
616
|
# @return [String]
|
576
617
|
#
|
577
618
|
# @!attribute [rw] job_id
|
@@ -706,8 +747,8 @@ module Aws::AmplifyBackend
|
|
706
747
|
# @return [String]
|
707
748
|
#
|
708
749
|
# @!attribute [rw] resource_config
|
709
|
-
# The resource
|
710
|
-
#
|
750
|
+
# The resource config for the data model, configured as a part of the
|
751
|
+
# Amplify project.
|
711
752
|
# @return [Types::BackendAPIResourceConfig]
|
712
753
|
#
|
713
754
|
# @!attribute [rw] resource_name
|
@@ -773,8 +814,8 @@ module Aws::AmplifyBackend
|
|
773
814
|
# }
|
774
815
|
#
|
775
816
|
# @!attribute [rw] delivery_method
|
776
|
-
# Describes which
|
777
|
-
# messages to app users
|
817
|
+
# Describes which mode to use (either SMS or email) to deliver
|
818
|
+
# messages to app users who want to recover their password.
|
778
819
|
# @return [String]
|
779
820
|
#
|
780
821
|
# @!attribute [rw] email_settings
|
@@ -809,7 +850,7 @@ module Aws::AmplifyBackend
|
|
809
850
|
# }
|
810
851
|
#
|
811
852
|
# @!attribute [rw] identity_pool_name
|
812
|
-
# Name of the identity pool used for authorization.
|
853
|
+
# Name of the Amazon Cognito identity pool used for authorization.
|
813
854
|
# @return [String]
|
814
855
|
#
|
815
856
|
# @!attribute [rw] unauthenticated_login
|
@@ -826,9 +867,9 @@ module Aws::AmplifyBackend
|
|
826
867
|
include Aws::Structure
|
827
868
|
end
|
828
869
|
|
829
|
-
# Describes whether to apply multi-factor authentication
|
830
|
-
#
|
831
|
-
#
|
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:
|
@@ -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
|
#
|
@@ -897,7 +944,7 @@ module Aws::AmplifyBackend
|
|
897
944
|
# @return [String]
|
898
945
|
#
|
899
946
|
# @!attribute [rw] o_auth_scopes
|
900
|
-
# List of OAuth-related flows
|
947
|
+
# List of OAuth-related flows used to allow your app users to
|
901
948
|
# authenticate from your Amplify app.
|
902
949
|
# @return [Array<String>]
|
903
950
|
#
|
@@ -911,8 +958,7 @@ module Aws::AmplifyBackend
|
|
911
958
|
# @return [Array<String>]
|
912
959
|
#
|
913
960
|
# @!attribute [rw] social_provider_settings
|
914
|
-
# The settings for using social
|
915
|
-
# Amplify app.
|
961
|
+
# The settings for using social providers to access your Amplify app.
|
916
962
|
# @return [Types::SocialProviderSettings]
|
917
963
|
#
|
918
964
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuthOAuthConfig AWS API Documentation
|
@@ -928,7 +974,7 @@ module Aws::AmplifyBackend
|
|
928
974
|
include Aws::Structure
|
929
975
|
end
|
930
976
|
|
931
|
-
# The password policy configuration for the backend
|
977
|
+
# The password policy configuration for the backend to your Amplify
|
932
978
|
# project.
|
933
979
|
#
|
934
980
|
# @note When making an API call, you may pass CreateBackendAuthPasswordPolicyConfig
|
@@ -1032,6 +1078,12 @@ module Aws::AmplifyBackend
|
|
1032
1078
|
# client_id: "__string",
|
1033
1079
|
# client_secret: "__string",
|
1034
1080
|
# },
|
1081
|
+
# sign_in_with_apple: {
|
1082
|
+
# client_id: "__string",
|
1083
|
+
# key_id: "__string",
|
1084
|
+
# private_key: "__string",
|
1085
|
+
# team_id: "__string",
|
1086
|
+
# },
|
1035
1087
|
# },
|
1036
1088
|
# },
|
1037
1089
|
# password_policy: {
|
@@ -1121,6 +1173,12 @@ module Aws::AmplifyBackend
|
|
1121
1173
|
# client_id: "__string",
|
1122
1174
|
# client_secret: "__string",
|
1123
1175
|
# },
|
1176
|
+
# sign_in_with_apple: {
|
1177
|
+
# client_id: "__string",
|
1178
|
+
# key_id: "__string",
|
1179
|
+
# private_key: "__string",
|
1180
|
+
# team_id: "__string",
|
1181
|
+
# },
|
1124
1182
|
# },
|
1125
1183
|
# },
|
1126
1184
|
# password_policy: {
|
@@ -1140,7 +1198,7 @@ module Aws::AmplifyBackend
|
|
1140
1198
|
#
|
1141
1199
|
# @!attribute [rw] identity_pool_configs
|
1142
1200
|
# Describes the authorization configuration for the Amazon Cognito
|
1143
|
-
# identity pool, provisioned as a part of
|
1201
|
+
# identity pool, provisioned as a part of your auth resource in the
|
1144
1202
|
# Amplify project.
|
1145
1203
|
# @return [Types::CreateBackendAuthIdentityPoolConfig]
|
1146
1204
|
#
|
@@ -1150,9 +1208,9 @@ module Aws::AmplifyBackend
|
|
1150
1208
|
# @return [String]
|
1151
1209
|
#
|
1152
1210
|
# @!attribute [rw] user_pool_configs
|
1153
|
-
# Describes
|
1154
|
-
#
|
1155
|
-
#
|
1211
|
+
# Describes authentication configuration for the Amazon Cognito user
|
1212
|
+
# pool, provisioned as a part of your auth resource in the Amplify
|
1213
|
+
# project.
|
1156
1214
|
# @return [Types::CreateBackendAuthUserPoolConfig]
|
1157
1215
|
#
|
1158
1216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuthResourceConfig AWS API Documentation
|
@@ -1240,6 +1298,12 @@ module Aws::AmplifyBackend
|
|
1240
1298
|
# client_id: "__string",
|
1241
1299
|
# client_secret: "__string",
|
1242
1300
|
# },
|
1301
|
+
# sign_in_with_apple: {
|
1302
|
+
# client_id: "__string",
|
1303
|
+
# key_id: "__string",
|
1304
|
+
# private_key: "__string",
|
1305
|
+
# team_id: "__string",
|
1306
|
+
# },
|
1243
1307
|
# },
|
1244
1308
|
# },
|
1245
1309
|
# password_policy: {
|
@@ -1257,9 +1321,9 @@ module Aws::AmplifyBackend
|
|
1257
1321
|
# @return [Types::CreateBackendAuthForgotPasswordConfig]
|
1258
1322
|
#
|
1259
1323
|
# @!attribute [rw] mfa
|
1260
|
-
# Describes whether to apply multi-factor authentication
|
1261
|
-
#
|
1262
|
-
#
|
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.
|
1263
1327
|
# @return [Types::CreateBackendAuthMFAConfig]
|
1264
1328
|
#
|
1265
1329
|
# @!attribute [rw] o_auth
|
@@ -1273,14 +1337,13 @@ module Aws::AmplifyBackend
|
|
1273
1337
|
# @return [Types::CreateBackendAuthPasswordPolicyConfig]
|
1274
1338
|
#
|
1275
1339
|
# @!attribute [rw] required_sign_up_attributes
|
1276
|
-
# The required attributes to sign up new users in the
|
1277
|
-
# user pool.
|
1340
|
+
# The required attributes to sign up new users in the user pool.
|
1278
1341
|
# @return [Array<String>]
|
1279
1342
|
#
|
1280
1343
|
# @!attribute [rw] sign_in_method
|
1281
|
-
# Describes the sign-in methods that your Amplify app users to log
|
1282
|
-
# using the Amazon Cognito user pool
|
1283
|
-
#
|
1344
|
+
# Describes the sign-in methods that your Amplify app users use to log
|
1345
|
+
# in using the Amazon Cognito user pool, configured as a part of your
|
1346
|
+
# Amplify project.
|
1284
1347
|
# @return [String]
|
1285
1348
|
#
|
1286
1349
|
# @!attribute [rw] user_pool_name
|
@@ -1405,7 +1468,7 @@ module Aws::AmplifyBackend
|
|
1405
1468
|
# @return [String]
|
1406
1469
|
#
|
1407
1470
|
# @!attribute [rw] resource_config
|
1408
|
-
# The resource configuration for the backend
|
1471
|
+
# The resource configuration for the create backend request.
|
1409
1472
|
# @return [Types::ResourceConfig]
|
1410
1473
|
#
|
1411
1474
|
# @!attribute [rw] resource_name
|
@@ -1474,7 +1537,7 @@ module Aws::AmplifyBackend
|
|
1474
1537
|
# @return [String]
|
1475
1538
|
#
|
1476
1539
|
# @!attribute [rw] error
|
1477
|
-
# If the request
|
1540
|
+
# If the request fails, this error is returned.
|
1478
1541
|
# @return [String]
|
1479
1542
|
#
|
1480
1543
|
# @!attribute [rw] job_id
|
@@ -1656,8 +1719,8 @@ module Aws::AmplifyBackend
|
|
1656
1719
|
# @return [String]
|
1657
1720
|
#
|
1658
1721
|
# @!attribute [rw] resource_config
|
1659
|
-
# The resource
|
1660
|
-
#
|
1722
|
+
# The resource config for the data model, configured as a part of the
|
1723
|
+
# Amplify project.
|
1661
1724
|
# @return [Types::BackendAPIResourceConfig]
|
1662
1725
|
#
|
1663
1726
|
# @!attribute [rw] resource_name
|
@@ -1798,7 +1861,7 @@ module Aws::AmplifyBackend
|
|
1798
1861
|
# @return [String]
|
1799
1862
|
#
|
1800
1863
|
# @!attribute [rw] error
|
1801
|
-
# If the request
|
1864
|
+
# If the request fails, this error is returned.
|
1802
1865
|
# @return [String]
|
1803
1866
|
#
|
1804
1867
|
# @!attribute [rw] job_id
|
@@ -2005,7 +2068,7 @@ module Aws::AmplifyBackend
|
|
2005
2068
|
# The response object for this operation.
|
2006
2069
|
#
|
2007
2070
|
# @!attribute [rw] models
|
2008
|
-
# Stringified JSON of the
|
2071
|
+
# Stringified JSON of the datastore model.
|
2009
2072
|
# @return [String]
|
2010
2073
|
#
|
2011
2074
|
# @!attribute [rw] status
|
@@ -2116,8 +2179,8 @@ module Aws::AmplifyBackend
|
|
2116
2179
|
# @return [String]
|
2117
2180
|
#
|
2118
2181
|
# @!attribute [rw] resource_config
|
2119
|
-
# The resource
|
2120
|
-
#
|
2182
|
+
# The resource config for the data model, configured as a part of the
|
2183
|
+
# Amplify project.
|
2121
2184
|
# @return [Types::BackendAPIResourceConfig]
|
2122
2185
|
#
|
2123
2186
|
# @!attribute [rw] resource_name
|
@@ -2145,7 +2208,7 @@ module Aws::AmplifyBackend
|
|
2145
2208
|
# @return [String]
|
2146
2209
|
#
|
2147
2210
|
# @!attribute [rw] error
|
2148
|
-
# If the request
|
2211
|
+
# If the request fails, this error is returned.
|
2149
2212
|
# @return [String]
|
2150
2213
|
#
|
2151
2214
|
# @!attribute [rw] resource_config
|
@@ -2178,8 +2241,8 @@ module Aws::AmplifyBackend
|
|
2178
2241
|
# @return [String]
|
2179
2242
|
#
|
2180
2243
|
# @!attribute [rw] resource_config
|
2181
|
-
# The resource
|
2182
|
-
#
|
2244
|
+
# The resource config for the data model, configured as a part of the
|
2245
|
+
# Amplify project.
|
2183
2246
|
# @return [Types::BackendAPIResourceConfig]
|
2184
2247
|
#
|
2185
2248
|
# @!attribute [rw] resource_name
|
@@ -2250,7 +2313,7 @@ module Aws::AmplifyBackend
|
|
2250
2313
|
# @return [String]
|
2251
2314
|
#
|
2252
2315
|
# @!attribute [rw] error
|
2253
|
-
# If the request
|
2316
|
+
# If the request fails, this error is returned.
|
2254
2317
|
# @return [String]
|
2255
2318
|
#
|
2256
2319
|
# @!attribute [rw] resource_config
|
@@ -2410,7 +2473,7 @@ module Aws::AmplifyBackend
|
|
2410
2473
|
# The response object for this operation.
|
2411
2474
|
#
|
2412
2475
|
# @!attribute [rw] amplify_meta_config
|
2413
|
-
# A stringified version of the current
|
2476
|
+
# A stringified version of the current configs for your Amplify
|
2414
2477
|
# project.
|
2415
2478
|
# @return [String]
|
2416
2479
|
#
|
@@ -2554,6 +2617,109 @@ module Aws::AmplifyBackend
|
|
2554
2617
|
include Aws::Structure
|
2555
2618
|
end
|
2556
2619
|
|
2620
|
+
# The request object for this operation.
|
2621
|
+
#
|
2622
|
+
# @!attribute [rw] identity_pool_id
|
2623
|
+
# The ID of the Amazon Cognito identity pool.
|
2624
|
+
# @return [String]
|
2625
|
+
#
|
2626
|
+
# @!attribute [rw] native_client_id
|
2627
|
+
# The ID of the Amazon Cognito native client.
|
2628
|
+
# @return [String]
|
2629
|
+
#
|
2630
|
+
# @!attribute [rw] user_pool_id
|
2631
|
+
# The ID of the Amazon Cognito user pool.
|
2632
|
+
# @return [String]
|
2633
|
+
#
|
2634
|
+
# @!attribute [rw] web_client_id
|
2635
|
+
# The ID of the Amazon Cognito web client.
|
2636
|
+
# @return [String]
|
2637
|
+
#
|
2638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuthReqObj AWS API Documentation
|
2639
|
+
#
|
2640
|
+
class ImportBackendAuthReqObj < Struct.new(
|
2641
|
+
:identity_pool_id,
|
2642
|
+
:native_client_id,
|
2643
|
+
:user_pool_id,
|
2644
|
+
:web_client_id)
|
2645
|
+
SENSITIVE = []
|
2646
|
+
include Aws::Structure
|
2647
|
+
end
|
2648
|
+
|
2649
|
+
# @note When making an API call, you may pass ImportBackendAuthRequest
|
2650
|
+
# data as a hash:
|
2651
|
+
#
|
2652
|
+
# {
|
2653
|
+
# app_id: "__string", # required
|
2654
|
+
# backend_environment_name: "__string", # required
|
2655
|
+
# identity_pool_id: "__string",
|
2656
|
+
# native_client_id: "__string", # required
|
2657
|
+
# user_pool_id: "__string", # required
|
2658
|
+
# web_client_id: "__string", # required
|
2659
|
+
# }
|
2660
|
+
#
|
2661
|
+
# @!attribute [rw] app_id
|
2662
|
+
# @return [String]
|
2663
|
+
#
|
2664
|
+
# @!attribute [rw] backend_environment_name
|
2665
|
+
# @return [String]
|
2666
|
+
#
|
2667
|
+
# @!attribute [rw] identity_pool_id
|
2668
|
+
# @return [String]
|
2669
|
+
#
|
2670
|
+
# @!attribute [rw] native_client_id
|
2671
|
+
# @return [String]
|
2672
|
+
#
|
2673
|
+
# @!attribute [rw] user_pool_id
|
2674
|
+
# @return [String]
|
2675
|
+
#
|
2676
|
+
# @!attribute [rw] web_client_id
|
2677
|
+
# @return [String]
|
2678
|
+
#
|
2679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuthRequest AWS API Documentation
|
2680
|
+
#
|
2681
|
+
class ImportBackendAuthRequest < Struct.new(
|
2682
|
+
:app_id,
|
2683
|
+
:backend_environment_name,
|
2684
|
+
:identity_pool_id,
|
2685
|
+
:native_client_id,
|
2686
|
+
:user_pool_id,
|
2687
|
+
:web_client_id)
|
2688
|
+
SENSITIVE = []
|
2689
|
+
include Aws::Structure
|
2690
|
+
end
|
2691
|
+
|
2692
|
+
# @!attribute [rw] app_id
|
2693
|
+
# @return [String]
|
2694
|
+
#
|
2695
|
+
# @!attribute [rw] backend_environment_name
|
2696
|
+
# @return [String]
|
2697
|
+
#
|
2698
|
+
# @!attribute [rw] error
|
2699
|
+
# @return [String]
|
2700
|
+
#
|
2701
|
+
# @!attribute [rw] job_id
|
2702
|
+
# @return [String]
|
2703
|
+
#
|
2704
|
+
# @!attribute [rw] operation
|
2705
|
+
# @return [String]
|
2706
|
+
#
|
2707
|
+
# @!attribute [rw] status
|
2708
|
+
# @return [String]
|
2709
|
+
#
|
2710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuthResponse AWS API Documentation
|
2711
|
+
#
|
2712
|
+
class ImportBackendAuthResponse < Struct.new(
|
2713
|
+
:app_id,
|
2714
|
+
:backend_environment_name,
|
2715
|
+
:error,
|
2716
|
+
:job_id,
|
2717
|
+
:operation,
|
2718
|
+
:status)
|
2719
|
+
SENSITIVE = []
|
2720
|
+
include Aws::Structure
|
2721
|
+
end
|
2722
|
+
|
2557
2723
|
# An error returned if there's a temporary issue with the service.
|
2558
2724
|
#
|
2559
2725
|
# @!attribute [rw] message
|
@@ -2568,14 +2734,15 @@ module Aws::AmplifyBackend
|
|
2568
2734
|
include Aws::Structure
|
2569
2735
|
end
|
2570
2736
|
|
2571
|
-
# An error that is returned when a limit of a specific type
|
2737
|
+
# An error that is returned when a limit of a specific type has been
|
2738
|
+
# exceeded.
|
2572
2739
|
#
|
2573
2740
|
# @!attribute [rw] limit_type
|
2574
2741
|
# The type of limit that was exceeded.
|
2575
2742
|
# @return [String]
|
2576
2743
|
#
|
2577
2744
|
# @!attribute [rw] message
|
2578
|
-
# An error message to inform that the request failed.
|
2745
|
+
# An error message to inform that the request has failed.
|
2579
2746
|
# @return [String]
|
2580
2747
|
#
|
2581
2748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/LimitExceededException AWS API Documentation
|
@@ -2718,8 +2885,8 @@ module Aws::AmplifyBackend
|
|
2718
2885
|
# }
|
2719
2886
|
#
|
2720
2887
|
# @!attribute [rw] aws_cognito_identity_pool_id
|
2721
|
-
# The Amazon Cognito identity pool ID used for Amplify Admin UI
|
2722
|
-
# authorization.
|
2888
|
+
# The Amazon Cognito identity pool ID used for the Amplify Admin UI
|
2889
|
+
# login authorization.
|
2723
2890
|
# @return [String]
|
2724
2891
|
#
|
2725
2892
|
# @!attribute [rw] aws_cognito_region
|
@@ -2749,11 +2916,11 @@ module Aws::AmplifyBackend
|
|
2749
2916
|
# An error returned when a specific resource type is not found.
|
2750
2917
|
#
|
2751
2918
|
# @!attribute [rw] message
|
2752
|
-
# An error message to inform that the request failed.
|
2919
|
+
# An error message to inform that the request has failed.
|
2753
2920
|
# @return [String]
|
2754
2921
|
#
|
2755
2922
|
# @!attribute [rw] resource_type
|
2756
|
-
# The type of resource that
|
2923
|
+
# The type of resource that is not found.
|
2757
2924
|
# @return [String]
|
2758
2925
|
#
|
2759
2926
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/NotFoundException AWS API Documentation
|
@@ -2809,7 +2976,7 @@ module Aws::AmplifyBackend
|
|
2809
2976
|
# @return [String]
|
2810
2977
|
#
|
2811
2978
|
# @!attribute [rw] error
|
2812
|
-
# If the request
|
2979
|
+
# If the request fails, this error is returned.
|
2813
2980
|
# @return [String]
|
2814
2981
|
#
|
2815
2982
|
# @!attribute [rw] job_id
|
@@ -2898,7 +3065,7 @@ module Aws::AmplifyBackend
|
|
2898
3065
|
# The response object for this operation.
|
2899
3066
|
#
|
2900
3067
|
# @!attribute [rw] error
|
2901
|
-
# If the request
|
3068
|
+
# If the request fails, this error is returned.
|
2902
3069
|
# @return [String]
|
2903
3070
|
#
|
2904
3071
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfigRespObj AWS API Documentation
|
@@ -2985,6 +3152,12 @@ module Aws::AmplifyBackend
|
|
2985
3152
|
# client_id: "__string",
|
2986
3153
|
# client_secret: "__string",
|
2987
3154
|
# },
|
3155
|
+
# sign_in_with_apple: {
|
3156
|
+
# client_id: "__string",
|
3157
|
+
# key_id: "__string",
|
3158
|
+
# private_key: "__string",
|
3159
|
+
# team_id: "__string",
|
3160
|
+
# },
|
2988
3161
|
# }
|
2989
3162
|
#
|
2990
3163
|
# @!attribute [rw] facebook
|
@@ -3002,17 +3175,24 @@ module Aws::AmplifyBackend
|
|
3002
3175
|
# your app users to sign in using OAuth.
|
3003
3176
|
# @return [Types::BackendAuthSocialProviderConfig]
|
3004
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
|
+
#
|
3005
3183
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/SocialProviderSettings AWS API Documentation
|
3006
3184
|
#
|
3007
3185
|
class SocialProviderSettings < Struct.new(
|
3008
3186
|
:facebook,
|
3009
3187
|
:google,
|
3010
|
-
:login_with_amazon
|
3188
|
+
:login_with_amazon,
|
3189
|
+
:sign_in_with_apple)
|
3011
3190
|
SENSITIVE = []
|
3012
3191
|
include Aws::Structure
|
3013
3192
|
end
|
3014
3193
|
|
3015
|
-
# An error that is returned when a limit of a specific type
|
3194
|
+
# An error that is returned when a limit of a specific type has been
|
3195
|
+
# exceeded.
|
3016
3196
|
#
|
3017
3197
|
# @!attribute [rw] limit_type
|
3018
3198
|
# @return [String]
|
@@ -3081,8 +3261,8 @@ module Aws::AmplifyBackend
|
|
3081
3261
|
# @return [String]
|
3082
3262
|
#
|
3083
3263
|
# @!attribute [rw] resource_config
|
3084
|
-
# The resource
|
3085
|
-
#
|
3264
|
+
# The resource config for the data model, configured as a part of the
|
3265
|
+
# Amplify project.
|
3086
3266
|
# @return [Types::BackendAPIResourceConfig]
|
3087
3267
|
#
|
3088
3268
|
# @!attribute [rw] resource_name
|
@@ -3148,7 +3328,7 @@ module Aws::AmplifyBackend
|
|
3148
3328
|
# }
|
3149
3329
|
#
|
3150
3330
|
# @!attribute [rw] delivery_method
|
3151
|
-
# Describes which
|
3331
|
+
# Describes which mode to use (either SMS or email) to deliver
|
3152
3332
|
# messages to app users that want to recover their password.
|
3153
3333
|
# @return [String]
|
3154
3334
|
#
|
@@ -3184,7 +3364,7 @@ module Aws::AmplifyBackend
|
|
3184
3364
|
# }
|
3185
3365
|
#
|
3186
3366
|
# @!attribute [rw] unauthenticated_login
|
3187
|
-
# A
|
3367
|
+
# A boolean value that can be set to allow or disallow guest-level
|
3188
3368
|
# authorization into your Amplify app.
|
3189
3369
|
# @return [Boolean]
|
3190
3370
|
#
|
@@ -3253,6 +3433,12 @@ module Aws::AmplifyBackend
|
|
3253
3433
|
# client_id: "__string",
|
3254
3434
|
# client_secret: "__string",
|
3255
3435
|
# },
|
3436
|
+
# sign_in_with_apple: {
|
3437
|
+
# client_id: "__string",
|
3438
|
+
# key_id: "__string",
|
3439
|
+
# private_key: "__string",
|
3440
|
+
# team_id: "__string",
|
3441
|
+
# },
|
3256
3442
|
# },
|
3257
3443
|
# }
|
3258
3444
|
#
|
@@ -3300,7 +3486,7 @@ module Aws::AmplifyBackend
|
|
3300
3486
|
end
|
3301
3487
|
|
3302
3488
|
# Describes the password policy for your Amazon Cognito user pool
|
3303
|
-
#
|
3489
|
+
# configured as a part of your Amplify project.
|
3304
3490
|
#
|
3305
3491
|
# @note When making an API call, you may pass UpdateBackendAuthPasswordPolicyConfig
|
3306
3492
|
# data as a hash:
|
@@ -3311,9 +3497,8 @@ module Aws::AmplifyBackend
|
|
3311
3497
|
# }
|
3312
3498
|
#
|
3313
3499
|
# @!attribute [rw] additional_constraints
|
3314
|
-
# Describes additional
|
3315
|
-
#
|
3316
|
-
# project.
|
3500
|
+
# Describes additional constraints on password requirements to sign in
|
3501
|
+
# to the auth resource, configured as a part of your Amplify project.
|
3317
3502
|
# @return [Array<String>]
|
3318
3503
|
#
|
3319
3504
|
# @!attribute [rw] minimum_length
|
@@ -3398,6 +3583,12 @@ module Aws::AmplifyBackend
|
|
3398
3583
|
# client_id: "__string",
|
3399
3584
|
# client_secret: "__string",
|
3400
3585
|
# },
|
3586
|
+
# sign_in_with_apple: {
|
3587
|
+
# client_id: "__string",
|
3588
|
+
# key_id: "__string",
|
3589
|
+
# private_key: "__string",
|
3590
|
+
# team_id: "__string",
|
3591
|
+
# },
|
3401
3592
|
# },
|
3402
3593
|
# },
|
3403
3594
|
# password_policy: {
|
@@ -3483,6 +3674,12 @@ module Aws::AmplifyBackend
|
|
3483
3674
|
# client_id: "__string",
|
3484
3675
|
# client_secret: "__string",
|
3485
3676
|
# },
|
3677
|
+
# sign_in_with_apple: {
|
3678
|
+
# client_id: "__string",
|
3679
|
+
# key_id: "__string",
|
3680
|
+
# private_key: "__string",
|
3681
|
+
# team_id: "__string",
|
3682
|
+
# },
|
3486
3683
|
# },
|
3487
3684
|
# },
|
3488
3685
|
# password_policy: {
|
@@ -3499,7 +3696,7 @@ module Aws::AmplifyBackend
|
|
3499
3696
|
#
|
3500
3697
|
# @!attribute [rw] identity_pool_configs
|
3501
3698
|
# Describes the authorization configuration for the Amazon Cognito
|
3502
|
-
# identity pool, provisioned as a part of
|
3699
|
+
# identity pool, provisioned as a part of your auth resource in the
|
3503
3700
|
# Amplify project.
|
3504
3701
|
# @return [Types::UpdateBackendAuthIdentityPoolConfig]
|
3505
3702
|
#
|
@@ -3510,7 +3707,7 @@ module Aws::AmplifyBackend
|
|
3510
3707
|
#
|
3511
3708
|
# @!attribute [rw] user_pool_configs
|
3512
3709
|
# Describes the authentication configuration for the Amazon Cognito
|
3513
|
-
# user pool, provisioned as a part of
|
3710
|
+
# user pool, provisioned as a part of your auth resource in the
|
3514
3711
|
# Amplify project.
|
3515
3712
|
# @return [Types::UpdateBackendAuthUserPoolConfig]
|
3516
3713
|
#
|
@@ -3556,8 +3753,9 @@ module Aws::AmplifyBackend
|
|
3556
3753
|
include Aws::Structure
|
3557
3754
|
end
|
3558
3755
|
|
3559
|
-
# Describes the Amazon Cognito user pool configuration
|
3560
|
-
# authorization resource for your Amplify project on an
|
3756
|
+
# Describes the Amazon Cognito user pool configuration for the
|
3757
|
+
# authorization resource to be configured for your Amplify project on an
|
3758
|
+
# update.
|
3561
3759
|
#
|
3562
3760
|
# @note When making an API call, you may pass UpdateBackendAuthUserPoolConfig
|
3563
3761
|
# data as a hash:
|
@@ -3599,6 +3797,12 @@ module Aws::AmplifyBackend
|
|
3599
3797
|
# client_id: "__string",
|
3600
3798
|
# client_secret: "__string",
|
3601
3799
|
# },
|
3800
|
+
# sign_in_with_apple: {
|
3801
|
+
# client_id: "__string",
|
3802
|
+
# key_id: "__string",
|
3803
|
+
# private_key: "__string",
|
3804
|
+
# team_id: "__string",
|
3805
|
+
# },
|
3602
3806
|
# },
|
3603
3807
|
# },
|
3604
3808
|
# password_policy: {
|
@@ -3613,9 +3817,9 @@ module Aws::AmplifyBackend
|
|
3613
3817
|
# @return [Types::UpdateBackendAuthForgotPasswordConfig]
|
3614
3818
|
#
|
3615
3819
|
# @!attribute [rw] mfa
|
3616
|
-
# Describes whether to apply multi-factor authentication
|
3617
|
-
#
|
3618
|
-
#
|
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.
|
3619
3823
|
# @return [Types::UpdateBackendAuthMFAConfig]
|
3620
3824
|
#
|
3621
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
|
+
version: 1.7.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-
|
11
|
+
date: 2021-07-30 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.
|
22
|
+
version: 3.119.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.
|
32
|
+
version: 3.119.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-amplifybackend
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-amplifybackend/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - AmplifyBackend
|