aws-sdk-amplifybackend 1.1.0 → 1.5.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 +33 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-amplifybackend.rb +2 -2
- data/lib/aws-sdk-amplifybackend/client.rb +81 -15
- data/lib/aws-sdk-amplifybackend/client_api.rb +46 -1
- data/lib/aws-sdk-amplifybackend/errors.rb +1 -1
- data/lib/aws-sdk-amplifybackend/resource.rb +1 -1
- data/lib/aws-sdk-amplifybackend/types.rb +285 -81
- metadata +11 -9
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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
|