aws-sdk-amplifybackend 1.18.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-amplifybackend/client.rb +5 -2
- data/lib/aws-sdk-amplifybackend/client_api.rb +1 -5
- data/lib/aws-sdk-amplifybackend/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-amplifybackend/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-amplifybackend/types.rb +11 -1234
- data/lib/aws-sdk-amplifybackend.rb +1 -1
- metadata +2 -2
@@ -13,20 +13,6 @@ module Aws::AmplifyBackend
|
|
13
13
|
# The authentication settings for accessing provisioned data models in
|
14
14
|
# your Amplify project.
|
15
15
|
#
|
16
|
-
# @note When making an API call, you may pass BackendAPIAppSyncAuthSettings
|
17
|
-
# data as a hash:
|
18
|
-
#
|
19
|
-
# {
|
20
|
-
# cognito_user_pool_id: "__string",
|
21
|
-
# description: "__string",
|
22
|
-
# expiration_time: 1.0,
|
23
|
-
# open_id_auth_ttl: "__string",
|
24
|
-
# open_id_client_id: "__string",
|
25
|
-
# open_id_iat_ttl: "__string",
|
26
|
-
# open_id_issue_url: "__string",
|
27
|
-
# open_id_provider_name: "__string",
|
28
|
-
# }
|
29
|
-
#
|
30
16
|
# @!attribute [rw] cognito_user_pool_id
|
31
17
|
# The Amazon Cognito user pool ID, if Amazon Cognito was used as an
|
32
18
|
# authentication setting to access your data models.
|
@@ -82,23 +68,6 @@ module Aws::AmplifyBackend
|
|
82
68
|
|
83
69
|
# Describes the auth types for your configured data models.
|
84
70
|
#
|
85
|
-
# @note When making an API call, you may pass BackendAPIAuthType
|
86
|
-
# data as a hash:
|
87
|
-
#
|
88
|
-
# {
|
89
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
90
|
-
# settings: {
|
91
|
-
# cognito_user_pool_id: "__string",
|
92
|
-
# description: "__string",
|
93
|
-
# expiration_time: 1.0,
|
94
|
-
# open_id_auth_ttl: "__string",
|
95
|
-
# open_id_client_id: "__string",
|
96
|
-
# open_id_iat_ttl: "__string",
|
97
|
-
# open_id_issue_url: "__string",
|
98
|
-
# open_id_provider_name: "__string",
|
99
|
-
# },
|
100
|
-
# }
|
101
|
-
#
|
102
71
|
# @!attribute [rw] mode
|
103
72
|
# Describes the authentication mode.
|
104
73
|
# @return [String]
|
@@ -172,13 +141,6 @@ module Aws::AmplifyBackend
|
|
172
141
|
# Describes the conflict resolution configuration for your data model
|
173
142
|
# configured in your Amplify project.
|
174
143
|
#
|
175
|
-
# @note When making an API call, you may pass BackendAPIConflictResolution
|
176
|
-
# data as a hash:
|
177
|
-
#
|
178
|
-
# {
|
179
|
-
# resolution_strategy: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
|
180
|
-
# }
|
181
|
-
#
|
182
144
|
# @!attribute [rw] resolution_strategy
|
183
145
|
# The strategy for conflict resolution.
|
184
146
|
# @return [String]
|
@@ -214,46 +176,6 @@ module Aws::AmplifyBackend
|
|
214
176
|
# The resource config for the data model, configured as a part of the
|
215
177
|
# Amplify project.
|
216
178
|
#
|
217
|
-
# @note When making an API call, you may pass BackendAPIResourceConfig
|
218
|
-
# data as a hash:
|
219
|
-
#
|
220
|
-
# {
|
221
|
-
# additional_auth_types: [
|
222
|
-
# {
|
223
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
224
|
-
# settings: {
|
225
|
-
# cognito_user_pool_id: "__string",
|
226
|
-
# description: "__string",
|
227
|
-
# expiration_time: 1.0,
|
228
|
-
# open_id_auth_ttl: "__string",
|
229
|
-
# open_id_client_id: "__string",
|
230
|
-
# open_id_iat_ttl: "__string",
|
231
|
-
# open_id_issue_url: "__string",
|
232
|
-
# open_id_provider_name: "__string",
|
233
|
-
# },
|
234
|
-
# },
|
235
|
-
# ],
|
236
|
-
# api_name: "__string",
|
237
|
-
# conflict_resolution: {
|
238
|
-
# resolution_strategy: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
|
239
|
-
# },
|
240
|
-
# default_auth_type: {
|
241
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
242
|
-
# settings: {
|
243
|
-
# cognito_user_pool_id: "__string",
|
244
|
-
# description: "__string",
|
245
|
-
# expiration_time: 1.0,
|
246
|
-
# open_id_auth_ttl: "__string",
|
247
|
-
# open_id_client_id: "__string",
|
248
|
-
# open_id_iat_ttl: "__string",
|
249
|
-
# open_id_issue_url: "__string",
|
250
|
-
# open_id_provider_name: "__string",
|
251
|
-
# },
|
252
|
-
# },
|
253
|
-
# service: "__string",
|
254
|
-
# transform_schema: "__string",
|
255
|
-
# }
|
256
|
-
#
|
257
179
|
# @!attribute [rw] additional_auth_types
|
258
180
|
# Additional authentication methods used to interact with your data
|
259
181
|
# models.
|
@@ -338,16 +260,6 @@ module Aws::AmplifyBackend
|
|
338
260
|
# Describes Apple social federation configurations for allowing your app
|
339
261
|
# users to sign in using OAuth.
|
340
262
|
#
|
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
263
|
# @!attribute [rw] client_id
|
352
264
|
# Describes the client\_id (also called Services ID) that comes from
|
353
265
|
# Apple.
|
@@ -418,14 +330,6 @@ module Aws::AmplifyBackend
|
|
418
330
|
# Describes third-party social federation configurations for allowing
|
419
331
|
# your app users to sign in using OAuth.
|
420
332
|
#
|
421
|
-
# @note When making an API call, you may pass BackendAuthSocialProviderConfig
|
422
|
-
# data as a hash:
|
423
|
-
#
|
424
|
-
# {
|
425
|
-
# client_id: "__string",
|
426
|
-
# client_secret: "__string",
|
427
|
-
# }
|
428
|
-
#
|
429
333
|
# @!attribute [rw] client_id
|
430
334
|
# Describes the client\_id, which can be obtained from the third-party
|
431
335
|
# social federation provider.
|
@@ -548,14 +452,6 @@ module Aws::AmplifyBackend
|
|
548
452
|
# Describes the read, write, and delete permissions users have against
|
549
453
|
# your storage S3 bucket.
|
550
454
|
#
|
551
|
-
# @note When making an API call, you may pass BackendStoragePermissions
|
552
|
-
# data as a hash:
|
553
|
-
#
|
554
|
-
# {
|
555
|
-
# authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
|
556
|
-
# un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
|
557
|
-
# }
|
558
|
-
#
|
559
455
|
# @!attribute [rw] authenticated
|
560
456
|
# Lists all authenticated user read, write, and delete permissions for
|
561
457
|
# your S3 bucket.
|
@@ -632,15 +528,6 @@ module Aws::AmplifyBackend
|
|
632
528
|
include Aws::Structure
|
633
529
|
end
|
634
530
|
|
635
|
-
# @note When making an API call, you may pass CloneBackendRequest
|
636
|
-
# data as a hash:
|
637
|
-
#
|
638
|
-
# {
|
639
|
-
# app_id: "__string", # required
|
640
|
-
# backend_environment_name: "__string", # required
|
641
|
-
# target_environment_name: "__string", # required
|
642
|
-
# }
|
643
|
-
#
|
644
531
|
# @!attribute [rw] app_id
|
645
532
|
# @return [String]
|
646
533
|
#
|
@@ -754,51 +641,6 @@ module Aws::AmplifyBackend
|
|
754
641
|
include Aws::Structure
|
755
642
|
end
|
756
643
|
|
757
|
-
# @note When making an API call, you may pass CreateBackendAPIRequest
|
758
|
-
# data as a hash:
|
759
|
-
#
|
760
|
-
# {
|
761
|
-
# app_id: "__string", # required
|
762
|
-
# backend_environment_name: "__string", # required
|
763
|
-
# resource_config: { # required
|
764
|
-
# additional_auth_types: [
|
765
|
-
# {
|
766
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
767
|
-
# settings: {
|
768
|
-
# cognito_user_pool_id: "__string",
|
769
|
-
# description: "__string",
|
770
|
-
# expiration_time: 1.0,
|
771
|
-
# open_id_auth_ttl: "__string",
|
772
|
-
# open_id_client_id: "__string",
|
773
|
-
# open_id_iat_ttl: "__string",
|
774
|
-
# open_id_issue_url: "__string",
|
775
|
-
# open_id_provider_name: "__string",
|
776
|
-
# },
|
777
|
-
# },
|
778
|
-
# ],
|
779
|
-
# api_name: "__string",
|
780
|
-
# conflict_resolution: {
|
781
|
-
# resolution_strategy: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
|
782
|
-
# },
|
783
|
-
# default_auth_type: {
|
784
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
785
|
-
# settings: {
|
786
|
-
# cognito_user_pool_id: "__string",
|
787
|
-
# description: "__string",
|
788
|
-
# expiration_time: 1.0,
|
789
|
-
# open_id_auth_ttl: "__string",
|
790
|
-
# open_id_client_id: "__string",
|
791
|
-
# open_id_iat_ttl: "__string",
|
792
|
-
# open_id_issue_url: "__string",
|
793
|
-
# open_id_provider_name: "__string",
|
794
|
-
# },
|
795
|
-
# },
|
796
|
-
# service: "__string",
|
797
|
-
# transform_schema: "__string",
|
798
|
-
# },
|
799
|
-
# resource_name: "__string", # required
|
800
|
-
# }
|
801
|
-
#
|
802
644
|
# @!attribute [rw] app_id
|
803
645
|
# @return [String]
|
804
646
|
#
|
@@ -858,20 +700,6 @@ module Aws::AmplifyBackend
|
|
858
700
|
# **(DEPRECATED)** Describes the forgot password policy for
|
859
701
|
# authenticating into the Amplify app.
|
860
702
|
#
|
861
|
-
# @note When making an API call, you may pass CreateBackendAuthForgotPasswordConfig
|
862
|
-
# data as a hash:
|
863
|
-
#
|
864
|
-
# {
|
865
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
866
|
-
# email_settings: {
|
867
|
-
# email_message: "__string",
|
868
|
-
# email_subject: "__string",
|
869
|
-
# },
|
870
|
-
# sms_settings: {
|
871
|
-
# sms_message: "__string",
|
872
|
-
# },
|
873
|
-
# }
|
874
|
-
#
|
875
703
|
# @!attribute [rw] delivery_method
|
876
704
|
# **(DEPRECATED)** Describes which mode to use (either SMS or email)
|
877
705
|
# to deliver messages to app users who want to recover their password.
|
@@ -900,14 +728,6 @@ module Aws::AmplifyBackend
|
|
900
728
|
# Describes authorization configurations for the auth resources,
|
901
729
|
# configured as a part of your Amplify project.
|
902
730
|
#
|
903
|
-
# @note When making an API call, you may pass CreateBackendAuthIdentityPoolConfig
|
904
|
-
# data as a hash:
|
905
|
-
#
|
906
|
-
# {
|
907
|
-
# identity_pool_name: "__string", # required
|
908
|
-
# unauthenticated_login: false, # required
|
909
|
-
# }
|
910
|
-
#
|
911
731
|
# @!attribute [rw] identity_pool_name
|
912
732
|
# Name of the Amazon Cognito identity pool used for authorization.
|
913
733
|
# @return [String]
|
@@ -930,17 +750,6 @@ module Aws::AmplifyBackend
|
|
930
750
|
# your Amazon Cognito user pool configured as a part of your Amplify
|
931
751
|
# project.
|
932
752
|
#
|
933
|
-
# @note When making an API call, you may pass CreateBackendAuthMFAConfig
|
934
|
-
# data as a hash:
|
935
|
-
#
|
936
|
-
# {
|
937
|
-
# mfa_mode: "ON", # required, accepts ON, OFF, OPTIONAL
|
938
|
-
# settings: {
|
939
|
-
# mfa_types: ["SMS"], # accepts SMS, TOTP
|
940
|
-
# sms_message: "__string",
|
941
|
-
# },
|
942
|
-
# }
|
943
|
-
#
|
944
753
|
# @!attribute [rw] mfa_mode
|
945
754
|
# Describes whether MFA should be \[ON, OFF, or OPTIONAL\] for
|
946
755
|
# authentication in your Amplify project.
|
@@ -962,37 +771,6 @@ module Aws::AmplifyBackend
|
|
962
771
|
|
963
772
|
# Creates the OAuth configuration for your Amplify project.
|
964
773
|
#
|
965
|
-
# @note When making an API call, you may pass CreateBackendAuthOAuthConfig
|
966
|
-
# data as a hash:
|
967
|
-
#
|
968
|
-
# {
|
969
|
-
# domain_prefix: "__string",
|
970
|
-
# o_auth_grant_type: "CODE", # required, accepts CODE, IMPLICIT
|
971
|
-
# o_auth_scopes: ["PHONE"], # required, accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
|
972
|
-
# redirect_sign_in_ur_is: ["__string"], # required
|
973
|
-
# redirect_sign_out_ur_is: ["__string"], # required
|
974
|
-
# social_provider_settings: {
|
975
|
-
# facebook: {
|
976
|
-
# client_id: "__string",
|
977
|
-
# client_secret: "__string",
|
978
|
-
# },
|
979
|
-
# google: {
|
980
|
-
# client_id: "__string",
|
981
|
-
# client_secret: "__string",
|
982
|
-
# },
|
983
|
-
# login_with_amazon: {
|
984
|
-
# client_id: "__string",
|
985
|
-
# client_secret: "__string",
|
986
|
-
# },
|
987
|
-
# sign_in_with_apple: {
|
988
|
-
# client_id: "__string",
|
989
|
-
# key_id: "__string",
|
990
|
-
# private_key: "__string",
|
991
|
-
# team_id: "__string",
|
992
|
-
# },
|
993
|
-
# },
|
994
|
-
# }
|
995
|
-
#
|
996
774
|
# @!attribute [rw] domain_prefix
|
997
775
|
# The domain prefix for your Amplify app.
|
998
776
|
# @return [String]
|
@@ -1036,14 +814,6 @@ module Aws::AmplifyBackend
|
|
1036
814
|
# The password policy configuration for the backend to your Amplify
|
1037
815
|
# project.
|
1038
816
|
#
|
1039
|
-
# @note When making an API call, you may pass CreateBackendAuthPasswordPolicyConfig
|
1040
|
-
# data as a hash:
|
1041
|
-
#
|
1042
|
-
# {
|
1043
|
-
# additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
|
1044
|
-
# minimum_length: 1.0, # required
|
1045
|
-
# }
|
1046
|
-
#
|
1047
817
|
# @!attribute [rw] additional_constraints
|
1048
818
|
# Additional constraints for the password used to access the backend
|
1049
819
|
# of your Amplify project.
|
@@ -1087,86 +857,6 @@ module Aws::AmplifyBackend
|
|
1087
857
|
include Aws::Structure
|
1088
858
|
end
|
1089
859
|
|
1090
|
-
# @note When making an API call, you may pass CreateBackendAuthRequest
|
1091
|
-
# data as a hash:
|
1092
|
-
#
|
1093
|
-
# {
|
1094
|
-
# app_id: "__string", # required
|
1095
|
-
# backend_environment_name: "__string", # required
|
1096
|
-
# resource_config: { # required
|
1097
|
-
# auth_resources: "USER_POOL_ONLY", # required, accepts USER_POOL_ONLY, IDENTITY_POOL_AND_USER_POOL
|
1098
|
-
# identity_pool_configs: {
|
1099
|
-
# identity_pool_name: "__string", # required
|
1100
|
-
# unauthenticated_login: false, # required
|
1101
|
-
# },
|
1102
|
-
# service: "COGNITO", # required, accepts COGNITO
|
1103
|
-
# user_pool_configs: { # required
|
1104
|
-
# forgot_password: {
|
1105
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
1106
|
-
# email_settings: {
|
1107
|
-
# email_message: "__string",
|
1108
|
-
# email_subject: "__string",
|
1109
|
-
# },
|
1110
|
-
# sms_settings: {
|
1111
|
-
# sms_message: "__string",
|
1112
|
-
# },
|
1113
|
-
# },
|
1114
|
-
# mfa: {
|
1115
|
-
# mfa_mode: "ON", # required, accepts ON, OFF, OPTIONAL
|
1116
|
-
# settings: {
|
1117
|
-
# mfa_types: ["SMS"], # accepts SMS, TOTP
|
1118
|
-
# sms_message: "__string",
|
1119
|
-
# },
|
1120
|
-
# },
|
1121
|
-
# o_auth: {
|
1122
|
-
# domain_prefix: "__string",
|
1123
|
-
# o_auth_grant_type: "CODE", # required, accepts CODE, IMPLICIT
|
1124
|
-
# o_auth_scopes: ["PHONE"], # required, accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
|
1125
|
-
# redirect_sign_in_ur_is: ["__string"], # required
|
1126
|
-
# redirect_sign_out_ur_is: ["__string"], # required
|
1127
|
-
# social_provider_settings: {
|
1128
|
-
# facebook: {
|
1129
|
-
# client_id: "__string",
|
1130
|
-
# client_secret: "__string",
|
1131
|
-
# },
|
1132
|
-
# google: {
|
1133
|
-
# client_id: "__string",
|
1134
|
-
# client_secret: "__string",
|
1135
|
-
# },
|
1136
|
-
# login_with_amazon: {
|
1137
|
-
# client_id: "__string",
|
1138
|
-
# client_secret: "__string",
|
1139
|
-
# },
|
1140
|
-
# sign_in_with_apple: {
|
1141
|
-
# client_id: "__string",
|
1142
|
-
# key_id: "__string",
|
1143
|
-
# private_key: "__string",
|
1144
|
-
# team_id: "__string",
|
1145
|
-
# },
|
1146
|
-
# },
|
1147
|
-
# },
|
1148
|
-
# password_policy: {
|
1149
|
-
# additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
|
1150
|
-
# minimum_length: 1.0, # required
|
1151
|
-
# },
|
1152
|
-
# required_sign_up_attributes: ["ADDRESS"], # required, accepts ADDRESS, BIRTHDATE, EMAIL, FAMILY_NAME, GENDER, GIVEN_NAME, LOCALE, MIDDLE_NAME, NAME, NICKNAME, PHONE_NUMBER, PICTURE, PREFERRED_USERNAME, PROFILE, UPDATED_AT, WEBSITE, ZONE_INFO
|
1153
|
-
# sign_in_method: "EMAIL", # required, accepts EMAIL, EMAIL_AND_PHONE_NUMBER, PHONE_NUMBER, USERNAME
|
1154
|
-
# user_pool_name: "__string", # required
|
1155
|
-
# verification_message: {
|
1156
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
1157
|
-
# email_settings: {
|
1158
|
-
# email_message: "__string",
|
1159
|
-
# email_subject: "__string",
|
1160
|
-
# },
|
1161
|
-
# sms_settings: {
|
1162
|
-
# sms_message: "__string",
|
1163
|
-
# },
|
1164
|
-
# },
|
1165
|
-
# },
|
1166
|
-
# },
|
1167
|
-
# resource_name: "__string", # required
|
1168
|
-
# }
|
1169
|
-
#
|
1170
860
|
# @!attribute [rw] app_id
|
1171
861
|
# @return [String]
|
1172
862
|
#
|
@@ -1195,81 +885,6 @@ module Aws::AmplifyBackend
|
|
1195
885
|
# Defines the resource configuration when creating an auth resource in
|
1196
886
|
# your Amplify project.
|
1197
887
|
#
|
1198
|
-
# @note When making an API call, you may pass CreateBackendAuthResourceConfig
|
1199
|
-
# data as a hash:
|
1200
|
-
#
|
1201
|
-
# {
|
1202
|
-
# auth_resources: "USER_POOL_ONLY", # required, accepts USER_POOL_ONLY, IDENTITY_POOL_AND_USER_POOL
|
1203
|
-
# identity_pool_configs: {
|
1204
|
-
# identity_pool_name: "__string", # required
|
1205
|
-
# unauthenticated_login: false, # required
|
1206
|
-
# },
|
1207
|
-
# service: "COGNITO", # required, accepts COGNITO
|
1208
|
-
# user_pool_configs: { # required
|
1209
|
-
# forgot_password: {
|
1210
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
1211
|
-
# email_settings: {
|
1212
|
-
# email_message: "__string",
|
1213
|
-
# email_subject: "__string",
|
1214
|
-
# },
|
1215
|
-
# sms_settings: {
|
1216
|
-
# sms_message: "__string",
|
1217
|
-
# },
|
1218
|
-
# },
|
1219
|
-
# mfa: {
|
1220
|
-
# mfa_mode: "ON", # required, accepts ON, OFF, OPTIONAL
|
1221
|
-
# settings: {
|
1222
|
-
# mfa_types: ["SMS"], # accepts SMS, TOTP
|
1223
|
-
# sms_message: "__string",
|
1224
|
-
# },
|
1225
|
-
# },
|
1226
|
-
# o_auth: {
|
1227
|
-
# domain_prefix: "__string",
|
1228
|
-
# o_auth_grant_type: "CODE", # required, accepts CODE, IMPLICIT
|
1229
|
-
# o_auth_scopes: ["PHONE"], # required, accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
|
1230
|
-
# redirect_sign_in_ur_is: ["__string"], # required
|
1231
|
-
# redirect_sign_out_ur_is: ["__string"], # required
|
1232
|
-
# social_provider_settings: {
|
1233
|
-
# facebook: {
|
1234
|
-
# client_id: "__string",
|
1235
|
-
# client_secret: "__string",
|
1236
|
-
# },
|
1237
|
-
# google: {
|
1238
|
-
# client_id: "__string",
|
1239
|
-
# client_secret: "__string",
|
1240
|
-
# },
|
1241
|
-
# login_with_amazon: {
|
1242
|
-
# client_id: "__string",
|
1243
|
-
# client_secret: "__string",
|
1244
|
-
# },
|
1245
|
-
# sign_in_with_apple: {
|
1246
|
-
# client_id: "__string",
|
1247
|
-
# key_id: "__string",
|
1248
|
-
# private_key: "__string",
|
1249
|
-
# team_id: "__string",
|
1250
|
-
# },
|
1251
|
-
# },
|
1252
|
-
# },
|
1253
|
-
# password_policy: {
|
1254
|
-
# additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
|
1255
|
-
# minimum_length: 1.0, # required
|
1256
|
-
# },
|
1257
|
-
# required_sign_up_attributes: ["ADDRESS"], # required, accepts ADDRESS, BIRTHDATE, EMAIL, FAMILY_NAME, GENDER, GIVEN_NAME, LOCALE, MIDDLE_NAME, NAME, NICKNAME, PHONE_NUMBER, PICTURE, PREFERRED_USERNAME, PROFILE, UPDATED_AT, WEBSITE, ZONE_INFO
|
1258
|
-
# sign_in_method: "EMAIL", # required, accepts EMAIL, EMAIL_AND_PHONE_NUMBER, PHONE_NUMBER, USERNAME
|
1259
|
-
# user_pool_name: "__string", # required
|
1260
|
-
# verification_message: {
|
1261
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
1262
|
-
# email_settings: {
|
1263
|
-
# email_message: "__string",
|
1264
|
-
# email_subject: "__string",
|
1265
|
-
# },
|
1266
|
-
# sms_settings: {
|
1267
|
-
# sms_message: "__string",
|
1268
|
-
# },
|
1269
|
-
# },
|
1270
|
-
# },
|
1271
|
-
# }
|
1272
|
-
#
|
1273
888
|
# @!attribute [rw] auth_resources
|
1274
889
|
# Defines whether you want to configure only authentication or both
|
1275
890
|
# authentication and authorization settings.
|
@@ -1337,73 +952,6 @@ module Aws::AmplifyBackend
|
|
1337
952
|
# Describes the Amazon Cognito user pool configuration for the auth
|
1338
953
|
# resource to be configured for your Amplify project.
|
1339
954
|
#
|
1340
|
-
# @note When making an API call, you may pass CreateBackendAuthUserPoolConfig
|
1341
|
-
# data as a hash:
|
1342
|
-
#
|
1343
|
-
# {
|
1344
|
-
# forgot_password: {
|
1345
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
1346
|
-
# email_settings: {
|
1347
|
-
# email_message: "__string",
|
1348
|
-
# email_subject: "__string",
|
1349
|
-
# },
|
1350
|
-
# sms_settings: {
|
1351
|
-
# sms_message: "__string",
|
1352
|
-
# },
|
1353
|
-
# },
|
1354
|
-
# mfa: {
|
1355
|
-
# mfa_mode: "ON", # required, accepts ON, OFF, OPTIONAL
|
1356
|
-
# settings: {
|
1357
|
-
# mfa_types: ["SMS"], # accepts SMS, TOTP
|
1358
|
-
# sms_message: "__string",
|
1359
|
-
# },
|
1360
|
-
# },
|
1361
|
-
# o_auth: {
|
1362
|
-
# domain_prefix: "__string",
|
1363
|
-
# o_auth_grant_type: "CODE", # required, accepts CODE, IMPLICIT
|
1364
|
-
# o_auth_scopes: ["PHONE"], # required, accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
|
1365
|
-
# redirect_sign_in_ur_is: ["__string"], # required
|
1366
|
-
# redirect_sign_out_ur_is: ["__string"], # required
|
1367
|
-
# social_provider_settings: {
|
1368
|
-
# facebook: {
|
1369
|
-
# client_id: "__string",
|
1370
|
-
# client_secret: "__string",
|
1371
|
-
# },
|
1372
|
-
# google: {
|
1373
|
-
# client_id: "__string",
|
1374
|
-
# client_secret: "__string",
|
1375
|
-
# },
|
1376
|
-
# login_with_amazon: {
|
1377
|
-
# client_id: "__string",
|
1378
|
-
# client_secret: "__string",
|
1379
|
-
# },
|
1380
|
-
# sign_in_with_apple: {
|
1381
|
-
# client_id: "__string",
|
1382
|
-
# key_id: "__string",
|
1383
|
-
# private_key: "__string",
|
1384
|
-
# team_id: "__string",
|
1385
|
-
# },
|
1386
|
-
# },
|
1387
|
-
# },
|
1388
|
-
# password_policy: {
|
1389
|
-
# additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
|
1390
|
-
# minimum_length: 1.0, # required
|
1391
|
-
# },
|
1392
|
-
# required_sign_up_attributes: ["ADDRESS"], # required, accepts ADDRESS, BIRTHDATE, EMAIL, FAMILY_NAME, GENDER, GIVEN_NAME, LOCALE, MIDDLE_NAME, NAME, NICKNAME, PHONE_NUMBER, PICTURE, PREFERRED_USERNAME, PROFILE, UPDATED_AT, WEBSITE, ZONE_INFO
|
1393
|
-
# sign_in_method: "EMAIL", # required, accepts EMAIL, EMAIL_AND_PHONE_NUMBER, PHONE_NUMBER, USERNAME
|
1394
|
-
# user_pool_name: "__string", # required
|
1395
|
-
# verification_message: {
|
1396
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
1397
|
-
# email_settings: {
|
1398
|
-
# email_message: "__string",
|
1399
|
-
# email_subject: "__string",
|
1400
|
-
# },
|
1401
|
-
# sms_settings: {
|
1402
|
-
# sms_message: "__string",
|
1403
|
-
# },
|
1404
|
-
# },
|
1405
|
-
# }
|
1406
|
-
#
|
1407
955
|
# @!attribute [rw] forgot_password
|
1408
956
|
# **(DEPRECATED)** Describes the forgotten password policy for your
|
1409
957
|
# Amazon Cognito user pool, configured as a part of your Amplify
|
@@ -1463,20 +1011,6 @@ module Aws::AmplifyBackend
|
|
1463
1011
|
# Creates an email or SMS verification message for the auth resource
|
1464
1012
|
# configured for your Amplify project.
|
1465
1013
|
#
|
1466
|
-
# @note When making an API call, you may pass CreateBackendAuthVerificationMessageConfig
|
1467
|
-
# data as a hash:
|
1468
|
-
#
|
1469
|
-
# {
|
1470
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
1471
|
-
# email_settings: {
|
1472
|
-
# email_message: "__string",
|
1473
|
-
# email_subject: "__string",
|
1474
|
-
# },
|
1475
|
-
# sms_settings: {
|
1476
|
-
# sms_message: "__string",
|
1477
|
-
# },
|
1478
|
-
# }
|
1479
|
-
#
|
1480
1014
|
# @!attribute [rw] delivery_method
|
1481
1015
|
# The type of verification message to send.
|
1482
1016
|
# @return [String]
|
@@ -1513,14 +1047,6 @@ module Aws::AmplifyBackend
|
|
1513
1047
|
include Aws::Structure
|
1514
1048
|
end
|
1515
1049
|
|
1516
|
-
# @note When making an API call, you may pass CreateBackendConfigRequest
|
1517
|
-
# data as a hash:
|
1518
|
-
#
|
1519
|
-
# {
|
1520
|
-
# app_id: "__string", # required
|
1521
|
-
# backend_manager_app_id: "__string",
|
1522
|
-
# }
|
1523
|
-
#
|
1524
1050
|
# @!attribute [rw] app_id
|
1525
1051
|
# @return [String]
|
1526
1052
|
#
|
@@ -1622,18 +1148,6 @@ module Aws::AmplifyBackend
|
|
1622
1148
|
include Aws::Structure
|
1623
1149
|
end
|
1624
1150
|
|
1625
|
-
# @note When making an API call, you may pass CreateBackendRequest
|
1626
|
-
# data as a hash:
|
1627
|
-
#
|
1628
|
-
# {
|
1629
|
-
# app_id: "__string", # required
|
1630
|
-
# app_name: "__string", # required
|
1631
|
-
# backend_environment_name: "__string", # required
|
1632
|
-
# resource_config: {
|
1633
|
-
# },
|
1634
|
-
# resource_name: "__string",
|
1635
|
-
# }
|
1636
|
-
#
|
1637
1151
|
# @!attribute [rw] app_id
|
1638
1152
|
# @return [String]
|
1639
1153
|
#
|
@@ -1755,23 +1269,6 @@ module Aws::AmplifyBackend
|
|
1755
1269
|
include Aws::Structure
|
1756
1270
|
end
|
1757
1271
|
|
1758
|
-
# @note When making an API call, you may pass CreateBackendStorageRequest
|
1759
|
-
# data as a hash:
|
1760
|
-
#
|
1761
|
-
# {
|
1762
|
-
# app_id: "__string", # required
|
1763
|
-
# backend_environment_name: "__string", # required
|
1764
|
-
# resource_config: { # required
|
1765
|
-
# bucket_name: "__string",
|
1766
|
-
# permissions: { # required
|
1767
|
-
# authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
|
1768
|
-
# un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
|
1769
|
-
# },
|
1770
|
-
# service_name: "S3", # required, accepts S3
|
1771
|
-
# },
|
1772
|
-
# resource_name: "__string", # required
|
1773
|
-
# }
|
1774
|
-
#
|
1775
1272
|
# @!attribute [rw] app_id
|
1776
1273
|
# @return [String]
|
1777
1274
|
#
|
@@ -1798,18 +1295,6 @@ module Aws::AmplifyBackend
|
|
1798
1295
|
|
1799
1296
|
# The resource configuration for creating backend storage.
|
1800
1297
|
#
|
1801
|
-
# @note When making an API call, you may pass CreateBackendStorageResourceConfig
|
1802
|
-
# data as a hash:
|
1803
|
-
#
|
1804
|
-
# {
|
1805
|
-
# bucket_name: "__string",
|
1806
|
-
# permissions: { # required
|
1807
|
-
# authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
|
1808
|
-
# un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
|
1809
|
-
# },
|
1810
|
-
# service_name: "S3", # required, accepts S3
|
1811
|
-
# }
|
1812
|
-
#
|
1813
1298
|
# @!attribute [rw] bucket_name
|
1814
1299
|
# The name of the S3 bucket.
|
1815
1300
|
# @return [String]
|
@@ -1855,13 +1340,6 @@ module Aws::AmplifyBackend
|
|
1855
1340
|
include Aws::Structure
|
1856
1341
|
end
|
1857
1342
|
|
1858
|
-
# @note When making an API call, you may pass CreateTokenRequest
|
1859
|
-
# data as a hash:
|
1860
|
-
#
|
1861
|
-
# {
|
1862
|
-
# app_id: "__string", # required
|
1863
|
-
# }
|
1864
|
-
#
|
1865
1343
|
# @!attribute [rw] app_id
|
1866
1344
|
# @return [String]
|
1867
1345
|
#
|
@@ -1926,51 +1404,6 @@ module Aws::AmplifyBackend
|
|
1926
1404
|
include Aws::Structure
|
1927
1405
|
end
|
1928
1406
|
|
1929
|
-
# @note When making an API call, you may pass DeleteBackendAPIRequest
|
1930
|
-
# data as a hash:
|
1931
|
-
#
|
1932
|
-
# {
|
1933
|
-
# app_id: "__string", # required
|
1934
|
-
# backend_environment_name: "__string", # required
|
1935
|
-
# resource_config: {
|
1936
|
-
# additional_auth_types: [
|
1937
|
-
# {
|
1938
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
1939
|
-
# settings: {
|
1940
|
-
# cognito_user_pool_id: "__string",
|
1941
|
-
# description: "__string",
|
1942
|
-
# expiration_time: 1.0,
|
1943
|
-
# open_id_auth_ttl: "__string",
|
1944
|
-
# open_id_client_id: "__string",
|
1945
|
-
# open_id_iat_ttl: "__string",
|
1946
|
-
# open_id_issue_url: "__string",
|
1947
|
-
# open_id_provider_name: "__string",
|
1948
|
-
# },
|
1949
|
-
# },
|
1950
|
-
# ],
|
1951
|
-
# api_name: "__string",
|
1952
|
-
# conflict_resolution: {
|
1953
|
-
# resolution_strategy: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
|
1954
|
-
# },
|
1955
|
-
# default_auth_type: {
|
1956
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
1957
|
-
# settings: {
|
1958
|
-
# cognito_user_pool_id: "__string",
|
1959
|
-
# description: "__string",
|
1960
|
-
# expiration_time: 1.0,
|
1961
|
-
# open_id_auth_ttl: "__string",
|
1962
|
-
# open_id_client_id: "__string",
|
1963
|
-
# open_id_iat_ttl: "__string",
|
1964
|
-
# open_id_issue_url: "__string",
|
1965
|
-
# open_id_provider_name: "__string",
|
1966
|
-
# },
|
1967
|
-
# },
|
1968
|
-
# service: "__string",
|
1969
|
-
# transform_schema: "__string",
|
1970
|
-
# },
|
1971
|
-
# resource_name: "__string", # required
|
1972
|
-
# }
|
1973
|
-
#
|
1974
1407
|
# @!attribute [rw] app_id
|
1975
1408
|
# @return [String]
|
1976
1409
|
#
|
@@ -2027,15 +1460,6 @@ module Aws::AmplifyBackend
|
|
2027
1460
|
include Aws::Structure
|
2028
1461
|
end
|
2029
1462
|
|
2030
|
-
# @note When making an API call, you may pass DeleteBackendAuthRequest
|
2031
|
-
# data as a hash:
|
2032
|
-
#
|
2033
|
-
# {
|
2034
|
-
# app_id: "__string", # required
|
2035
|
-
# backend_environment_name: "__string", # required
|
2036
|
-
# resource_name: "__string", # required
|
2037
|
-
# }
|
2038
|
-
#
|
2039
1463
|
# @!attribute [rw] app_id
|
2040
1464
|
# @return [String]
|
2041
1465
|
#
|
@@ -2086,14 +1510,6 @@ module Aws::AmplifyBackend
|
|
2086
1510
|
include Aws::Structure
|
2087
1511
|
end
|
2088
1512
|
|
2089
|
-
# @note When making an API call, you may pass DeleteBackendRequest
|
2090
|
-
# data as a hash:
|
2091
|
-
#
|
2092
|
-
# {
|
2093
|
-
# app_id: "__string", # required
|
2094
|
-
# backend_environment_name: "__string", # required
|
2095
|
-
# }
|
2096
|
-
#
|
2097
1513
|
# @!attribute [rw] app_id
|
2098
1514
|
# @return [String]
|
2099
1515
|
#
|
@@ -2179,16 +1595,6 @@ module Aws::AmplifyBackend
|
|
2179
1595
|
include Aws::Structure
|
2180
1596
|
end
|
2181
1597
|
|
2182
|
-
# @note When making an API call, you may pass DeleteBackendStorageRequest
|
2183
|
-
# data as a hash:
|
2184
|
-
#
|
2185
|
-
# {
|
2186
|
-
# app_id: "__string", # required
|
2187
|
-
# backend_environment_name: "__string", # required
|
2188
|
-
# resource_name: "__string", # required
|
2189
|
-
# service_name: "S3", # required, accepts S3
|
2190
|
-
# }
|
2191
|
-
#
|
2192
1598
|
# @!attribute [rw] app_id
|
2193
1599
|
# @return [String]
|
2194
1600
|
#
|
@@ -2235,14 +1641,6 @@ module Aws::AmplifyBackend
|
|
2235
1641
|
include Aws::Structure
|
2236
1642
|
end
|
2237
1643
|
|
2238
|
-
# @note When making an API call, you may pass DeleteTokenRequest
|
2239
|
-
# data as a hash:
|
2240
|
-
#
|
2241
|
-
# {
|
2242
|
-
# app_id: "__string", # required
|
2243
|
-
# session_id: "__string", # required
|
2244
|
-
# }
|
2245
|
-
#
|
2246
1644
|
# @!attribute [rw] app_id
|
2247
1645
|
# @return [String]
|
2248
1646
|
#
|
@@ -2285,14 +1683,6 @@ module Aws::AmplifyBackend
|
|
2285
1683
|
|
2286
1684
|
# The settings for the email message.
|
2287
1685
|
#
|
2288
|
-
# @note When making an API call, you may pass EmailSettings
|
2289
|
-
# data as a hash:
|
2290
|
-
#
|
2291
|
-
# {
|
2292
|
-
# email_message: "__string",
|
2293
|
-
# email_subject: "__string",
|
2294
|
-
# }
|
2295
|
-
#
|
2296
1686
|
# @!attribute [rw] email_message
|
2297
1687
|
# The contents of the email message.
|
2298
1688
|
# @return [String]
|
@@ -2323,15 +1713,6 @@ module Aws::AmplifyBackend
|
|
2323
1713
|
include Aws::Structure
|
2324
1714
|
end
|
2325
1715
|
|
2326
|
-
# @note When making an API call, you may pass GenerateBackendAPIModelsRequest
|
2327
|
-
# data as a hash:
|
2328
|
-
#
|
2329
|
-
# {
|
2330
|
-
# app_id: "__string", # required
|
2331
|
-
# backend_environment_name: "__string", # required
|
2332
|
-
# resource_name: "__string", # required
|
2333
|
-
# }
|
2334
|
-
#
|
2335
1716
|
# @!attribute [rw] app_id
|
2336
1717
|
# @return [String]
|
2337
1718
|
#
|
@@ -2382,34 +1763,6 @@ module Aws::AmplifyBackend
|
|
2382
1763
|
include Aws::Structure
|
2383
1764
|
end
|
2384
1765
|
|
2385
|
-
# The response object for this operation.
|
2386
|
-
#
|
2387
|
-
# @!attribute [rw] models
|
2388
|
-
# Stringified JSON of the datastore model.
|
2389
|
-
# @return [String]
|
2390
|
-
#
|
2391
|
-
# @!attribute [rw] status
|
2392
|
-
# The current status of the request.
|
2393
|
-
# @return [String]
|
2394
|
-
#
|
2395
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPICodegenRespObj AWS API Documentation
|
2396
|
-
#
|
2397
|
-
class GetBackendAPICodegenRespObj < Struct.new(
|
2398
|
-
:models,
|
2399
|
-
:status)
|
2400
|
-
SENSITIVE = []
|
2401
|
-
include Aws::Structure
|
2402
|
-
end
|
2403
|
-
|
2404
|
-
# @note When making an API call, you may pass GetBackendAPIModelsRequest
|
2405
|
-
# data as a hash:
|
2406
|
-
#
|
2407
|
-
# {
|
2408
|
-
# app_id: "__string", # required
|
2409
|
-
# backend_environment_name: "__string", # required
|
2410
|
-
# resource_name: "__string", # required
|
2411
|
-
# }
|
2412
|
-
#
|
2413
1766
|
# @!attribute [rw] app_id
|
2414
1767
|
# @return [String]
|
2415
1768
|
#
|
@@ -2429,66 +1782,31 @@ module Aws::AmplifyBackend
|
|
2429
1782
|
include Aws::Structure
|
2430
1783
|
end
|
2431
1784
|
|
1785
|
+
# The response object for this operation.
|
1786
|
+
#
|
2432
1787
|
# @!attribute [rw] models
|
1788
|
+
# Stringified JSON of the datastore model.
|
2433
1789
|
# @return [String]
|
2434
1790
|
#
|
2435
1791
|
# @!attribute [rw] status
|
1792
|
+
# The current status of the request.
|
1793
|
+
# @return [String]
|
1794
|
+
#
|
1795
|
+
# @!attribute [rw] model_introspection_schema
|
1796
|
+
# Stringified JSON of the model introspection schema for an existing
|
1797
|
+
# backend API resource.
|
2436
1798
|
# @return [String]
|
2437
1799
|
#
|
2438
1800
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModelsResponse AWS API Documentation
|
2439
1801
|
#
|
2440
1802
|
class GetBackendAPIModelsResponse < Struct.new(
|
2441
1803
|
:models,
|
2442
|
-
:status
|
1804
|
+
:status,
|
1805
|
+
:model_introspection_schema)
|
2443
1806
|
SENSITIVE = []
|
2444
1807
|
include Aws::Structure
|
2445
1808
|
end
|
2446
1809
|
|
2447
|
-
# @note When making an API call, you may pass GetBackendAPIRequest
|
2448
|
-
# data as a hash:
|
2449
|
-
#
|
2450
|
-
# {
|
2451
|
-
# app_id: "__string", # required
|
2452
|
-
# backend_environment_name: "__string", # required
|
2453
|
-
# resource_config: {
|
2454
|
-
# additional_auth_types: [
|
2455
|
-
# {
|
2456
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
2457
|
-
# settings: {
|
2458
|
-
# cognito_user_pool_id: "__string",
|
2459
|
-
# description: "__string",
|
2460
|
-
# expiration_time: 1.0,
|
2461
|
-
# open_id_auth_ttl: "__string",
|
2462
|
-
# open_id_client_id: "__string",
|
2463
|
-
# open_id_iat_ttl: "__string",
|
2464
|
-
# open_id_issue_url: "__string",
|
2465
|
-
# open_id_provider_name: "__string",
|
2466
|
-
# },
|
2467
|
-
# },
|
2468
|
-
# ],
|
2469
|
-
# api_name: "__string",
|
2470
|
-
# conflict_resolution: {
|
2471
|
-
# resolution_strategy: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
|
2472
|
-
# },
|
2473
|
-
# default_auth_type: {
|
2474
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
2475
|
-
# settings: {
|
2476
|
-
# cognito_user_pool_id: "__string",
|
2477
|
-
# description: "__string",
|
2478
|
-
# expiration_time: 1.0,
|
2479
|
-
# open_id_auth_ttl: "__string",
|
2480
|
-
# open_id_client_id: "__string",
|
2481
|
-
# open_id_iat_ttl: "__string",
|
2482
|
-
# open_id_issue_url: "__string",
|
2483
|
-
# open_id_provider_name: "__string",
|
2484
|
-
# },
|
2485
|
-
# },
|
2486
|
-
# service: "__string",
|
2487
|
-
# transform_schema: "__string",
|
2488
|
-
# },
|
2489
|
-
# resource_name: "__string", # required
|
2490
|
-
# }
|
2491
|
-
#
|
2492
1810
|
# @!attribute [rw] app_id
|
2493
1811
|
# @return [String]
|
2494
1812
|
#
|
@@ -2591,15 +1909,6 @@ module Aws::AmplifyBackend
|
|
2591
1909
|
include Aws::Structure
|
2592
1910
|
end
|
2593
1911
|
|
2594
|
-
# @note When making an API call, you may pass GetBackendAuthRequest
|
2595
|
-
# data as a hash:
|
2596
|
-
#
|
2597
|
-
# {
|
2598
|
-
# app_id: "__string", # required
|
2599
|
-
# backend_environment_name: "__string", # required
|
2600
|
-
# resource_name: "__string", # required
|
2601
|
-
# }
|
2602
|
-
#
|
2603
1912
|
# @!attribute [rw] app_id
|
2604
1913
|
# @return [String]
|
2605
1914
|
#
|
@@ -2683,15 +1992,6 @@ module Aws::AmplifyBackend
|
|
2683
1992
|
include Aws::Structure
|
2684
1993
|
end
|
2685
1994
|
|
2686
|
-
# @note When making an API call, you may pass GetBackendJobRequest
|
2687
|
-
# data as a hash:
|
2688
|
-
#
|
2689
|
-
# {
|
2690
|
-
# app_id: "__string", # required
|
2691
|
-
# backend_environment_name: "__string", # required
|
2692
|
-
# job_id: "__string", # required
|
2693
|
-
# }
|
2694
|
-
#
|
2695
1995
|
# @!attribute [rw] app_id
|
2696
1996
|
# @return [String]
|
2697
1997
|
#
|
@@ -2764,14 +2064,6 @@ module Aws::AmplifyBackend
|
|
2764
2064
|
include Aws::Structure
|
2765
2065
|
end
|
2766
2066
|
|
2767
|
-
# @note When making an API call, you may pass GetBackendRequest
|
2768
|
-
# data as a hash:
|
2769
|
-
#
|
2770
|
-
# {
|
2771
|
-
# app_id: "__string", # required
|
2772
|
-
# backend_environment_name: "__string",
|
2773
|
-
# }
|
2774
|
-
#
|
2775
2067
|
# @!attribute [rw] app_id
|
2776
2068
|
# @return [String]
|
2777
2069
|
#
|
@@ -2881,15 +2173,6 @@ module Aws::AmplifyBackend
|
|
2881
2173
|
include Aws::Structure
|
2882
2174
|
end
|
2883
2175
|
|
2884
|
-
# @note When making an API call, you may pass GetBackendStorageRequest
|
2885
|
-
# data as a hash:
|
2886
|
-
#
|
2887
|
-
# {
|
2888
|
-
# app_id: "__string", # required
|
2889
|
-
# backend_environment_name: "__string", # required
|
2890
|
-
# resource_name: "__string", # required
|
2891
|
-
# }
|
2892
|
-
#
|
2893
2176
|
# @!attribute [rw] app_id
|
2894
2177
|
# @return [String]
|
2895
2178
|
#
|
@@ -2991,14 +2274,6 @@ module Aws::AmplifyBackend
|
|
2991
2274
|
include Aws::Structure
|
2992
2275
|
end
|
2993
2276
|
|
2994
|
-
# @note When making an API call, you may pass GetTokenRequest
|
2995
|
-
# data as a hash:
|
2996
|
-
#
|
2997
|
-
# {
|
2998
|
-
# app_id: "__string", # required
|
2999
|
-
# session_id: "__string", # required
|
3000
|
-
# }
|
3001
|
-
#
|
3002
2277
|
# @!attribute [rw] app_id
|
3003
2278
|
# @return [String]
|
3004
2279
|
#
|
@@ -3096,18 +2371,6 @@ module Aws::AmplifyBackend
|
|
3096
2371
|
include Aws::Structure
|
3097
2372
|
end
|
3098
2373
|
|
3099
|
-
# @note When making an API call, you may pass ImportBackendAuthRequest
|
3100
|
-
# data as a hash:
|
3101
|
-
#
|
3102
|
-
# {
|
3103
|
-
# app_id: "__string", # required
|
3104
|
-
# backend_environment_name: "__string", # required
|
3105
|
-
# identity_pool_id: "__string",
|
3106
|
-
# native_client_id: "__string", # required
|
3107
|
-
# user_pool_id: "__string", # required
|
3108
|
-
# web_client_id: "__string", # required
|
3109
|
-
# }
|
3110
|
-
#
|
3111
2374
|
# @!attribute [rw] app_id
|
3112
2375
|
# @return [String]
|
3113
2376
|
#
|
@@ -3189,16 +2452,6 @@ module Aws::AmplifyBackend
|
|
3189
2452
|
include Aws::Structure
|
3190
2453
|
end
|
3191
2454
|
|
3192
|
-
# @note When making an API call, you may pass ImportBackendStorageRequest
|
3193
|
-
# data as a hash:
|
3194
|
-
#
|
3195
|
-
# {
|
3196
|
-
# app_id: "__string", # required
|
3197
|
-
# backend_environment_name: "__string", # required
|
3198
|
-
# bucket_name: "__string",
|
3199
|
-
# service_name: "S3", # required, accepts S3
|
3200
|
-
# }
|
3201
|
-
#
|
3202
2455
|
# @!attribute [rw] app_id
|
3203
2456
|
# @return [String]
|
3204
2457
|
#
|
@@ -3334,19 +2587,6 @@ module Aws::AmplifyBackend
|
|
3334
2587
|
include Aws::Structure
|
3335
2588
|
end
|
3336
2589
|
|
3337
|
-
# @note When making an API call, you may pass ListBackendJobsRequest
|
3338
|
-
# data as a hash:
|
3339
|
-
#
|
3340
|
-
# {
|
3341
|
-
# app_id: "__string", # required
|
3342
|
-
# backend_environment_name: "__string", # required
|
3343
|
-
# job_id: "__string",
|
3344
|
-
# max_results: 1,
|
3345
|
-
# next_token: "__string",
|
3346
|
-
# operation: "__string",
|
3347
|
-
# status: "__string",
|
3348
|
-
# }
|
3349
|
-
#
|
3350
2590
|
# @!attribute [rw] app_id
|
3351
2591
|
# @return [String]
|
3352
2592
|
#
|
@@ -3411,13 +2651,6 @@ module Aws::AmplifyBackend
|
|
3411
2651
|
include Aws::Structure
|
3412
2652
|
end
|
3413
2653
|
|
3414
|
-
# @note When making an API call, you may pass ListS3BucketsRequest
|
3415
|
-
# data as a hash:
|
3416
|
-
#
|
3417
|
-
# {
|
3418
|
-
# next_token: "__string",
|
3419
|
-
# }
|
3420
|
-
#
|
3421
2654
|
# @!attribute [rw] next_token
|
3422
2655
|
# @return [String]
|
3423
2656
|
#
|
@@ -3465,16 +2698,6 @@ module Aws::AmplifyBackend
|
|
3465
2698
|
|
3466
2699
|
# The request object for this operation.
|
3467
2700
|
#
|
3468
|
-
# @note When making an API call, you may pass LoginAuthConfigReqObj
|
3469
|
-
# data as a hash:
|
3470
|
-
#
|
3471
|
-
# {
|
3472
|
-
# aws_cognito_identity_pool_id: "__string",
|
3473
|
-
# aws_cognito_region: "__string",
|
3474
|
-
# aws_user_pools_id: "__string",
|
3475
|
-
# aws_user_pools_web_client_id: "__string",
|
3476
|
-
# }
|
3477
|
-
#
|
3478
2701
|
# @!attribute [rw] aws_cognito_identity_pool_id
|
3479
2702
|
# The Amazon Cognito identity pool ID used for the Amplify Admin UI
|
3480
2703
|
# login authorization.
|
@@ -3537,14 +2760,6 @@ module Aws::AmplifyBackend
|
|
3537
2760
|
include Aws::Structure
|
3538
2761
|
end
|
3539
2762
|
|
3540
|
-
# @note When making an API call, you may pass RemoveAllBackendsRequest
|
3541
|
-
# data as a hash:
|
3542
|
-
#
|
3543
|
-
# {
|
3544
|
-
# app_id: "__string", # required
|
3545
|
-
# clean_amplify_app: false,
|
3546
|
-
# }
|
3547
|
-
#
|
3548
2763
|
# @!attribute [rw] app_id
|
3549
2764
|
# @return [String]
|
3550
2765
|
#
|
@@ -3635,13 +2850,6 @@ module Aws::AmplifyBackend
|
|
3635
2850
|
include Aws::Structure
|
3636
2851
|
end
|
3637
2852
|
|
3638
|
-
# @note When making an API call, you may pass RemoveBackendConfigRequest
|
3639
|
-
# data as a hash:
|
3640
|
-
#
|
3641
|
-
# {
|
3642
|
-
# app_id: "__string", # required
|
3643
|
-
# }
|
3644
|
-
#
|
3645
2853
|
# @!attribute [rw] app_id
|
3646
2854
|
# @return [String]
|
3647
2855
|
#
|
@@ -3722,14 +2930,6 @@ module Aws::AmplifyBackend
|
|
3722
2930
|
include Aws::Structure
|
3723
2931
|
end
|
3724
2932
|
|
3725
|
-
# @note When making an API call, you may pass Settings
|
3726
|
-
# data as a hash:
|
3727
|
-
#
|
3728
|
-
# {
|
3729
|
-
# mfa_types: ["SMS"], # accepts SMS, TOTP
|
3730
|
-
# sms_message: "__string",
|
3731
|
-
# }
|
3732
|
-
#
|
3733
2933
|
# @!attribute [rw] mfa_types
|
3734
2934
|
# @return [Array<String>]
|
3735
2935
|
#
|
@@ -3748,13 +2948,6 @@ module Aws::AmplifyBackend
|
|
3748
2948
|
|
3749
2949
|
# The settings for the SMS message.
|
3750
2950
|
#
|
3751
|
-
# @note When making an API call, you may pass SmsSettings
|
3752
|
-
# data as a hash:
|
3753
|
-
#
|
3754
|
-
# {
|
3755
|
-
# sms_message: "__string",
|
3756
|
-
# }
|
3757
|
-
#
|
3758
2951
|
# @!attribute [rw] sms_message
|
3759
2952
|
# The contents of the SMS message.
|
3760
2953
|
# @return [String]
|
@@ -3767,30 +2960,6 @@ module Aws::AmplifyBackend
|
|
3767
2960
|
include Aws::Structure
|
3768
2961
|
end
|
3769
2962
|
|
3770
|
-
# @note When making an API call, you may pass SocialProviderSettings
|
3771
|
-
# data as a hash:
|
3772
|
-
#
|
3773
|
-
# {
|
3774
|
-
# facebook: {
|
3775
|
-
# client_id: "__string",
|
3776
|
-
# client_secret: "__string",
|
3777
|
-
# },
|
3778
|
-
# google: {
|
3779
|
-
# client_id: "__string",
|
3780
|
-
# client_secret: "__string",
|
3781
|
-
# },
|
3782
|
-
# login_with_amazon: {
|
3783
|
-
# client_id: "__string",
|
3784
|
-
# client_secret: "__string",
|
3785
|
-
# },
|
3786
|
-
# sign_in_with_apple: {
|
3787
|
-
# client_id: "__string",
|
3788
|
-
# key_id: "__string",
|
3789
|
-
# private_key: "__string",
|
3790
|
-
# team_id: "__string",
|
3791
|
-
# },
|
3792
|
-
# }
|
3793
|
-
#
|
3794
2963
|
# @!attribute [rw] facebook
|
3795
2964
|
# Describes third-party social federation configurations for allowing
|
3796
2965
|
# your app users to sign in using OAuth.
|
@@ -3840,51 +3009,6 @@ module Aws::AmplifyBackend
|
|
3840
3009
|
include Aws::Structure
|
3841
3010
|
end
|
3842
3011
|
|
3843
|
-
# @note When making an API call, you may pass UpdateBackendAPIRequest
|
3844
|
-
# data as a hash:
|
3845
|
-
#
|
3846
|
-
# {
|
3847
|
-
# app_id: "__string", # required
|
3848
|
-
# backend_environment_name: "__string", # required
|
3849
|
-
# resource_config: {
|
3850
|
-
# additional_auth_types: [
|
3851
|
-
# {
|
3852
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
3853
|
-
# settings: {
|
3854
|
-
# cognito_user_pool_id: "__string",
|
3855
|
-
# description: "__string",
|
3856
|
-
# expiration_time: 1.0,
|
3857
|
-
# open_id_auth_ttl: "__string",
|
3858
|
-
# open_id_client_id: "__string",
|
3859
|
-
# open_id_iat_ttl: "__string",
|
3860
|
-
# open_id_issue_url: "__string",
|
3861
|
-
# open_id_provider_name: "__string",
|
3862
|
-
# },
|
3863
|
-
# },
|
3864
|
-
# ],
|
3865
|
-
# api_name: "__string",
|
3866
|
-
# conflict_resolution: {
|
3867
|
-
# resolution_strategy: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
|
3868
|
-
# },
|
3869
|
-
# default_auth_type: {
|
3870
|
-
# mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
|
3871
|
-
# settings: {
|
3872
|
-
# cognito_user_pool_id: "__string",
|
3873
|
-
# description: "__string",
|
3874
|
-
# expiration_time: 1.0,
|
3875
|
-
# open_id_auth_ttl: "__string",
|
3876
|
-
# open_id_client_id: "__string",
|
3877
|
-
# open_id_iat_ttl: "__string",
|
3878
|
-
# open_id_issue_url: "__string",
|
3879
|
-
# open_id_provider_name: "__string",
|
3880
|
-
# },
|
3881
|
-
# },
|
3882
|
-
# service: "__string",
|
3883
|
-
# transform_schema: "__string",
|
3884
|
-
# },
|
3885
|
-
# resource_name: "__string", # required
|
3886
|
-
# }
|
3887
|
-
#
|
3888
3012
|
# @!attribute [rw] app_id
|
3889
3013
|
# @return [String]
|
3890
3014
|
#
|
@@ -3944,20 +3068,6 @@ module Aws::AmplifyBackend
|
|
3944
3068
|
# **(DEPRECATED)** Describes the forgot password policy for
|
3945
3069
|
# authenticating into the Amplify app.
|
3946
3070
|
#
|
3947
|
-
# @note When making an API call, you may pass UpdateBackendAuthForgotPasswordConfig
|
3948
|
-
# data as a hash:
|
3949
|
-
#
|
3950
|
-
# {
|
3951
|
-
# delivery_method: "EMAIL", # accepts EMAIL, SMS
|
3952
|
-
# email_settings: {
|
3953
|
-
# email_message: "__string",
|
3954
|
-
# email_subject: "__string",
|
3955
|
-
# },
|
3956
|
-
# sms_settings: {
|
3957
|
-
# sms_message: "__string",
|
3958
|
-
# },
|
3959
|
-
# }
|
3960
|
-
#
|
3961
3071
|
# @!attribute [rw] delivery_method
|
3962
3072
|
# **(DEPRECATED)** Describes which mode to use (either SMS or email)
|
3963
3073
|
# to deliver messages to app users that want to recover their
|
@@ -3988,13 +3098,6 @@ module Aws::AmplifyBackend
|
|
3988
3098
|
# identity pool, provisioned as a part of your auth resource in the
|
3989
3099
|
# Amplify project.
|
3990
3100
|
#
|
3991
|
-
# @note When making an API call, you may pass UpdateBackendAuthIdentityPoolConfig
|
3992
|
-
# data as a hash:
|
3993
|
-
#
|
3994
|
-
# {
|
3995
|
-
# unauthenticated_login: false,
|
3996
|
-
# }
|
3997
|
-
#
|
3998
3101
|
# @!attribute [rw] unauthenticated_login
|
3999
3102
|
# A boolean value that can be set to allow or disallow guest-level
|
4000
3103
|
# authorization into your Amplify app.
|
@@ -4011,17 +3114,6 @@ module Aws::AmplifyBackend
|
|
4011
3114
|
# Updates the multi-factor authentication (MFA) configuration for the
|
4012
3115
|
# backend of your Amplify project.
|
4013
3116
|
#
|
4014
|
-
# @note When making an API call, you may pass UpdateBackendAuthMFAConfig
|
4015
|
-
# data as a hash:
|
4016
|
-
#
|
4017
|
-
# {
|
4018
|
-
# mfa_mode: "ON", # accepts ON, OFF, OPTIONAL
|
4019
|
-
# settings: {
|
4020
|
-
# mfa_types: ["SMS"], # accepts SMS, TOTP
|
4021
|
-
# sms_message: "__string",
|
4022
|
-
# },
|
4023
|
-
# }
|
4024
|
-
#
|
4025
3117
|
# @!attribute [rw] mfa_mode
|
4026
3118
|
# The MFA mode for the backend of your Amplify project.
|
4027
3119
|
# @return [String]
|
@@ -4043,37 +3135,6 @@ module Aws::AmplifyBackend
|
|
4043
3135
|
# The OAuth configurations for authenticating users into your Amplify
|
4044
3136
|
# app.
|
4045
3137
|
#
|
4046
|
-
# @note When making an API call, you may pass UpdateBackendAuthOAuthConfig
|
4047
|
-
# data as a hash:
|
4048
|
-
#
|
4049
|
-
# {
|
4050
|
-
# domain_prefix: "__string",
|
4051
|
-
# o_auth_grant_type: "CODE", # accepts CODE, IMPLICIT
|
4052
|
-
# o_auth_scopes: ["PHONE"], # accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
|
4053
|
-
# redirect_sign_in_ur_is: ["__string"],
|
4054
|
-
# redirect_sign_out_ur_is: ["__string"],
|
4055
|
-
# social_provider_settings: {
|
4056
|
-
# facebook: {
|
4057
|
-
# client_id: "__string",
|
4058
|
-
# client_secret: "__string",
|
4059
|
-
# },
|
4060
|
-
# google: {
|
4061
|
-
# client_id: "__string",
|
4062
|
-
# client_secret: "__string",
|
4063
|
-
# },
|
4064
|
-
# login_with_amazon: {
|
4065
|
-
# client_id: "__string",
|
4066
|
-
# client_secret: "__string",
|
4067
|
-
# },
|
4068
|
-
# sign_in_with_apple: {
|
4069
|
-
# client_id: "__string",
|
4070
|
-
# key_id: "__string",
|
4071
|
-
# private_key: "__string",
|
4072
|
-
# team_id: "__string",
|
4073
|
-
# },
|
4074
|
-
# },
|
4075
|
-
# }
|
4076
|
-
#
|
4077
3138
|
# @!attribute [rw] domain_prefix
|
4078
3139
|
# The Amazon Cognito domain prefix used to create a hosted UI for
|
4079
3140
|
# authentication.
|
@@ -4120,14 +3181,6 @@ module Aws::AmplifyBackend
|
|
4120
3181
|
# Describes the password policy for your Amazon Cognito user pool
|
4121
3182
|
# configured as a part of your Amplify project.
|
4122
3183
|
#
|
4123
|
-
# @note When making an API call, you may pass UpdateBackendAuthPasswordPolicyConfig
|
4124
|
-
# data as a hash:
|
4125
|
-
#
|
4126
|
-
# {
|
4127
|
-
# additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
|
4128
|
-
# minimum_length: 1.0,
|
4129
|
-
# }
|
4130
|
-
#
|
4131
3184
|
# @!attribute [rw] additional_constraints
|
4132
3185
|
# Describes additional constraints on password requirements to sign in
|
4133
3186
|
# to the auth resource, configured as a part of your Amplify project.
|
@@ -4166,82 +3219,6 @@ module Aws::AmplifyBackend
|
|
4166
3219
|
include Aws::Structure
|
4167
3220
|
end
|
4168
3221
|
|
4169
|
-
# @note When making an API call, you may pass UpdateBackendAuthRequest
|
4170
|
-
# data as a hash:
|
4171
|
-
#
|
4172
|
-
# {
|
4173
|
-
# app_id: "__string", # required
|
4174
|
-
# backend_environment_name: "__string", # required
|
4175
|
-
# resource_config: { # required
|
4176
|
-
# auth_resources: "USER_POOL_ONLY", # required, accepts USER_POOL_ONLY, IDENTITY_POOL_AND_USER_POOL
|
4177
|
-
# identity_pool_configs: {
|
4178
|
-
# unauthenticated_login: false,
|
4179
|
-
# },
|
4180
|
-
# service: "COGNITO", # required, accepts COGNITO
|
4181
|
-
# user_pool_configs: { # required
|
4182
|
-
# forgot_password: {
|
4183
|
-
# delivery_method: "EMAIL", # accepts EMAIL, SMS
|
4184
|
-
# email_settings: {
|
4185
|
-
# email_message: "__string",
|
4186
|
-
# email_subject: "__string",
|
4187
|
-
# },
|
4188
|
-
# sms_settings: {
|
4189
|
-
# sms_message: "__string",
|
4190
|
-
# },
|
4191
|
-
# },
|
4192
|
-
# mfa: {
|
4193
|
-
# mfa_mode: "ON", # accepts ON, OFF, OPTIONAL
|
4194
|
-
# settings: {
|
4195
|
-
# mfa_types: ["SMS"], # accepts SMS, TOTP
|
4196
|
-
# sms_message: "__string",
|
4197
|
-
# },
|
4198
|
-
# },
|
4199
|
-
# o_auth: {
|
4200
|
-
# domain_prefix: "__string",
|
4201
|
-
# o_auth_grant_type: "CODE", # accepts CODE, IMPLICIT
|
4202
|
-
# o_auth_scopes: ["PHONE"], # accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
|
4203
|
-
# redirect_sign_in_ur_is: ["__string"],
|
4204
|
-
# redirect_sign_out_ur_is: ["__string"],
|
4205
|
-
# social_provider_settings: {
|
4206
|
-
# facebook: {
|
4207
|
-
# client_id: "__string",
|
4208
|
-
# client_secret: "__string",
|
4209
|
-
# },
|
4210
|
-
# google: {
|
4211
|
-
# client_id: "__string",
|
4212
|
-
# client_secret: "__string",
|
4213
|
-
# },
|
4214
|
-
# login_with_amazon: {
|
4215
|
-
# client_id: "__string",
|
4216
|
-
# client_secret: "__string",
|
4217
|
-
# },
|
4218
|
-
# sign_in_with_apple: {
|
4219
|
-
# client_id: "__string",
|
4220
|
-
# key_id: "__string",
|
4221
|
-
# private_key: "__string",
|
4222
|
-
# team_id: "__string",
|
4223
|
-
# },
|
4224
|
-
# },
|
4225
|
-
# },
|
4226
|
-
# password_policy: {
|
4227
|
-
# additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
|
4228
|
-
# minimum_length: 1.0,
|
4229
|
-
# },
|
4230
|
-
# verification_message: {
|
4231
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
4232
|
-
# email_settings: {
|
4233
|
-
# email_message: "__string",
|
4234
|
-
# email_subject: "__string",
|
4235
|
-
# },
|
4236
|
-
# sms_settings: {
|
4237
|
-
# sms_message: "__string",
|
4238
|
-
# },
|
4239
|
-
# },
|
4240
|
-
# },
|
4241
|
-
# },
|
4242
|
-
# resource_name: "__string", # required
|
4243
|
-
# }
|
4244
|
-
#
|
4245
3222
|
# @!attribute [rw] app_id
|
4246
3223
|
# @return [String]
|
4247
3224
|
#
|
@@ -4270,77 +3247,6 @@ module Aws::AmplifyBackend
|
|
4270
3247
|
# Defines the resource configuration when updating an authentication
|
4271
3248
|
# resource in your Amplify project.
|
4272
3249
|
#
|
4273
|
-
# @note When making an API call, you may pass UpdateBackendAuthResourceConfig
|
4274
|
-
# data as a hash:
|
4275
|
-
#
|
4276
|
-
# {
|
4277
|
-
# auth_resources: "USER_POOL_ONLY", # required, accepts USER_POOL_ONLY, IDENTITY_POOL_AND_USER_POOL
|
4278
|
-
# identity_pool_configs: {
|
4279
|
-
# unauthenticated_login: false,
|
4280
|
-
# },
|
4281
|
-
# service: "COGNITO", # required, accepts COGNITO
|
4282
|
-
# user_pool_configs: { # required
|
4283
|
-
# forgot_password: {
|
4284
|
-
# delivery_method: "EMAIL", # accepts EMAIL, SMS
|
4285
|
-
# email_settings: {
|
4286
|
-
# email_message: "__string",
|
4287
|
-
# email_subject: "__string",
|
4288
|
-
# },
|
4289
|
-
# sms_settings: {
|
4290
|
-
# sms_message: "__string",
|
4291
|
-
# },
|
4292
|
-
# },
|
4293
|
-
# mfa: {
|
4294
|
-
# mfa_mode: "ON", # accepts ON, OFF, OPTIONAL
|
4295
|
-
# settings: {
|
4296
|
-
# mfa_types: ["SMS"], # accepts SMS, TOTP
|
4297
|
-
# sms_message: "__string",
|
4298
|
-
# },
|
4299
|
-
# },
|
4300
|
-
# o_auth: {
|
4301
|
-
# domain_prefix: "__string",
|
4302
|
-
# o_auth_grant_type: "CODE", # accepts CODE, IMPLICIT
|
4303
|
-
# o_auth_scopes: ["PHONE"], # accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
|
4304
|
-
# redirect_sign_in_ur_is: ["__string"],
|
4305
|
-
# redirect_sign_out_ur_is: ["__string"],
|
4306
|
-
# social_provider_settings: {
|
4307
|
-
# facebook: {
|
4308
|
-
# client_id: "__string",
|
4309
|
-
# client_secret: "__string",
|
4310
|
-
# },
|
4311
|
-
# google: {
|
4312
|
-
# client_id: "__string",
|
4313
|
-
# client_secret: "__string",
|
4314
|
-
# },
|
4315
|
-
# login_with_amazon: {
|
4316
|
-
# client_id: "__string",
|
4317
|
-
# client_secret: "__string",
|
4318
|
-
# },
|
4319
|
-
# sign_in_with_apple: {
|
4320
|
-
# client_id: "__string",
|
4321
|
-
# key_id: "__string",
|
4322
|
-
# private_key: "__string",
|
4323
|
-
# team_id: "__string",
|
4324
|
-
# },
|
4325
|
-
# },
|
4326
|
-
# },
|
4327
|
-
# password_policy: {
|
4328
|
-
# additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
|
4329
|
-
# minimum_length: 1.0,
|
4330
|
-
# },
|
4331
|
-
# verification_message: {
|
4332
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
4333
|
-
# email_settings: {
|
4334
|
-
# email_message: "__string",
|
4335
|
-
# email_subject: "__string",
|
4336
|
-
# },
|
4337
|
-
# sms_settings: {
|
4338
|
-
# sms_message: "__string",
|
4339
|
-
# },
|
4340
|
-
# },
|
4341
|
-
# },
|
4342
|
-
# }
|
4343
|
-
#
|
4344
3250
|
# @!attribute [rw] auth_resources
|
4345
3251
|
# Defines the service name to use when configuring an authentication
|
4346
3252
|
# resource in your Amplify project.
|
@@ -4409,70 +3315,6 @@ module Aws::AmplifyBackend
|
|
4409
3315
|
# authorization resource to be configured for your Amplify project on an
|
4410
3316
|
# update.
|
4411
3317
|
#
|
4412
|
-
# @note When making an API call, you may pass UpdateBackendAuthUserPoolConfig
|
4413
|
-
# data as a hash:
|
4414
|
-
#
|
4415
|
-
# {
|
4416
|
-
# forgot_password: {
|
4417
|
-
# delivery_method: "EMAIL", # accepts EMAIL, SMS
|
4418
|
-
# email_settings: {
|
4419
|
-
# email_message: "__string",
|
4420
|
-
# email_subject: "__string",
|
4421
|
-
# },
|
4422
|
-
# sms_settings: {
|
4423
|
-
# sms_message: "__string",
|
4424
|
-
# },
|
4425
|
-
# },
|
4426
|
-
# mfa: {
|
4427
|
-
# mfa_mode: "ON", # accepts ON, OFF, OPTIONAL
|
4428
|
-
# settings: {
|
4429
|
-
# mfa_types: ["SMS"], # accepts SMS, TOTP
|
4430
|
-
# sms_message: "__string",
|
4431
|
-
# },
|
4432
|
-
# },
|
4433
|
-
# o_auth: {
|
4434
|
-
# domain_prefix: "__string",
|
4435
|
-
# o_auth_grant_type: "CODE", # accepts CODE, IMPLICIT
|
4436
|
-
# o_auth_scopes: ["PHONE"], # accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
|
4437
|
-
# redirect_sign_in_ur_is: ["__string"],
|
4438
|
-
# redirect_sign_out_ur_is: ["__string"],
|
4439
|
-
# social_provider_settings: {
|
4440
|
-
# facebook: {
|
4441
|
-
# client_id: "__string",
|
4442
|
-
# client_secret: "__string",
|
4443
|
-
# },
|
4444
|
-
# google: {
|
4445
|
-
# client_id: "__string",
|
4446
|
-
# client_secret: "__string",
|
4447
|
-
# },
|
4448
|
-
# login_with_amazon: {
|
4449
|
-
# client_id: "__string",
|
4450
|
-
# client_secret: "__string",
|
4451
|
-
# },
|
4452
|
-
# sign_in_with_apple: {
|
4453
|
-
# client_id: "__string",
|
4454
|
-
# key_id: "__string",
|
4455
|
-
# private_key: "__string",
|
4456
|
-
# team_id: "__string",
|
4457
|
-
# },
|
4458
|
-
# },
|
4459
|
-
# },
|
4460
|
-
# password_policy: {
|
4461
|
-
# additional_constraints: ["REQUIRE_DIGIT"], # accepts REQUIRE_DIGIT, REQUIRE_LOWERCASE, REQUIRE_SYMBOL, REQUIRE_UPPERCASE
|
4462
|
-
# minimum_length: 1.0,
|
4463
|
-
# },
|
4464
|
-
# verification_message: {
|
4465
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
4466
|
-
# email_settings: {
|
4467
|
-
# email_message: "__string",
|
4468
|
-
# email_subject: "__string",
|
4469
|
-
# },
|
4470
|
-
# sms_settings: {
|
4471
|
-
# sms_message: "__string",
|
4472
|
-
# },
|
4473
|
-
# },
|
4474
|
-
# }
|
4475
|
-
#
|
4476
3318
|
# @!attribute [rw] forgot_password
|
4477
3319
|
# **(DEPRECATED)** Describes the forgot password policy for your
|
4478
3320
|
# Amazon Cognito user pool, configured as a part of your Amplify
|
@@ -4515,20 +3357,6 @@ module Aws::AmplifyBackend
|
|
4515
3357
|
# Updates the configuration of the email or SMS message for the auth
|
4516
3358
|
# resource configured for your Amplify project.
|
4517
3359
|
#
|
4518
|
-
# @note When making an API call, you may pass UpdateBackendAuthVerificationMessageConfig
|
4519
|
-
# data as a hash:
|
4520
|
-
#
|
4521
|
-
# {
|
4522
|
-
# delivery_method: "EMAIL", # required, accepts EMAIL, SMS
|
4523
|
-
# email_settings: {
|
4524
|
-
# email_message: "__string",
|
4525
|
-
# email_subject: "__string",
|
4526
|
-
# },
|
4527
|
-
# sms_settings: {
|
4528
|
-
# sms_message: "__string",
|
4529
|
-
# },
|
4530
|
-
# }
|
4531
|
-
#
|
4532
3360
|
# @!attribute [rw] delivery_method
|
4533
3361
|
# The type of verification message to send.
|
4534
3362
|
# @return [String]
|
@@ -4565,19 +3393,6 @@ module Aws::AmplifyBackend
|
|
4565
3393
|
include Aws::Structure
|
4566
3394
|
end
|
4567
3395
|
|
4568
|
-
# @note When making an API call, you may pass UpdateBackendConfigRequest
|
4569
|
-
# data as a hash:
|
4570
|
-
#
|
4571
|
-
# {
|
4572
|
-
# app_id: "__string", # required
|
4573
|
-
# login_auth_config: {
|
4574
|
-
# aws_cognito_identity_pool_id: "__string",
|
4575
|
-
# aws_cognito_region: "__string",
|
4576
|
-
# aws_user_pools_id: "__string",
|
4577
|
-
# aws_user_pools_web_client_id: "__string",
|
4578
|
-
# },
|
4579
|
-
# }
|
4580
|
-
#
|
4581
3396
|
# @!attribute [rw] app_id
|
4582
3397
|
# @return [String]
|
4583
3398
|
#
|
@@ -4618,17 +3433,6 @@ module Aws::AmplifyBackend
|
|
4618
3433
|
include Aws::Structure
|
4619
3434
|
end
|
4620
3435
|
|
4621
|
-
# @note When making an API call, you may pass UpdateBackendJobRequest
|
4622
|
-
# data as a hash:
|
4623
|
-
#
|
4624
|
-
# {
|
4625
|
-
# app_id: "__string", # required
|
4626
|
-
# backend_environment_name: "__string", # required
|
4627
|
-
# job_id: "__string", # required
|
4628
|
-
# operation: "__string",
|
4629
|
-
# status: "__string",
|
4630
|
-
# }
|
4631
|
-
#
|
4632
3436
|
# @!attribute [rw] app_id
|
4633
3437
|
# @return [String]
|
4634
3438
|
#
|
@@ -4714,22 +3518,6 @@ module Aws::AmplifyBackend
|
|
4714
3518
|
include Aws::Structure
|
4715
3519
|
end
|
4716
3520
|
|
4717
|
-
# @note When making an API call, you may pass UpdateBackendStorageRequest
|
4718
|
-
# data as a hash:
|
4719
|
-
#
|
4720
|
-
# {
|
4721
|
-
# app_id: "__string", # required
|
4722
|
-
# backend_environment_name: "__string", # required
|
4723
|
-
# resource_config: { # required
|
4724
|
-
# permissions: { # required
|
4725
|
-
# authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
|
4726
|
-
# un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
|
4727
|
-
# },
|
4728
|
-
# service_name: "S3", # required, accepts S3
|
4729
|
-
# },
|
4730
|
-
# resource_name: "__string", # required
|
4731
|
-
# }
|
4732
|
-
#
|
4733
3521
|
# @!attribute [rw] app_id
|
4734
3522
|
# @return [String]
|
4735
3523
|
#
|
@@ -4756,17 +3544,6 @@ module Aws::AmplifyBackend
|
|
4756
3544
|
|
4757
3545
|
# The resource configuration for updating backend storage.
|
4758
3546
|
#
|
4759
|
-
# @note When making an API call, you may pass UpdateBackendStorageResourceConfig
|
4760
|
-
# data as a hash:
|
4761
|
-
#
|
4762
|
-
# {
|
4763
|
-
# permissions: { # required
|
4764
|
-
# authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
|
4765
|
-
# un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
|
4766
|
-
# },
|
4767
|
-
# service_name: "S3", # required, accepts S3
|
4768
|
-
# }
|
4769
|
-
#
|
4770
3547
|
# @!attribute [rw] permissions
|
4771
3548
|
# The authorization configuration for the storage S3 bucket.
|
4772
3549
|
# @return [Types::BackendStoragePermissions]
|