aws-sdk-amplifybackend 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 781e7219cabec8dd4df6a18c84ebb242dccc6f3ea3a919133605e41f293a2f93
4
- data.tar.gz: c9a0a741d89172b6b13e67cec7ff25b0563d57161cc2ed596d3ce1640ae4284e
3
+ metadata.gz: 7dbb1ddd4a87722cd6576804f82abfd36d7b2252e521a999b1033246b897d4f0
4
+ data.tar.gz: 93ab50dfd00433140e12488227b67aa79df703bac96a141a069e3c88c35b3773
5
5
  SHA512:
6
- metadata.gz: b8077316ded978514c91425fdf517bcc8186b8441d4b61b85ba99a247ed6dcc909dea6533ad08da87d3947e61a65e58672571962c2780de5510f30f347bb3503
7
- data.tar.gz: 774ef009de52b34ce4e5bca60895a22e267007cfeb9a6669c20db4c69899b9d299dd369dabf91d5801d58ac0d733c862aba2127620eaae6b749a323a81c3f5e2
6
+ metadata.gz: 142c2557ffe7bb33d6d27c61ec67eed06a39a965200e04f4583615e6296091edd2566095f9659ea8c9970743dc382468d55c6e143486f23b4148dc6a89efe66b
7
+ data.tar.gz: f3ce869e4e8fed434c7232817d383007594d4764b29d80fb0b9b88620f4d768c64bf78fbee09257194be766874dd5e9ef015a5798d1a337735938335e361974d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2021-06-25)
5
+ ------------------
6
+
7
+ * Feature - Imports an existing backend authentication resource.
8
+
4
9
  1.3.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-amplifybackend/customizations'
48
48
  # @!group service
49
49
  module Aws::AmplifyBackend
50
50
 
51
- GEM_VERSION = '1.3.0'
51
+ GEM_VERSION = '1.4.0'
52
52
 
53
53
  end
@@ -428,8 +428,8 @@ module Aws::AmplifyBackend
428
428
  # @option params [required, String] :backend_environment_name
429
429
  #
430
430
  # @option params [required, Types::BackendAPIResourceConfig] :resource_config
431
- # The resource configuration for the data model, configured as a part of
432
- # the Amplify project.
431
+ # The resource config for the data model, configured as a part of the
432
+ # Amplify project.
433
433
  #
434
434
  # @option params [required, String] :resource_name
435
435
  #
@@ -723,8 +723,8 @@ module Aws::AmplifyBackend
723
723
  # @option params [required, String] :backend_environment_name
724
724
  #
725
725
  # @option params [Types::BackendAPIResourceConfig] :resource_config
726
- # The resource configuration for the data model, configured as a part of
727
- # the Amplify project.
726
+ # The resource config for the data model, configured as a part of the
727
+ # Amplify project.
728
728
  #
729
729
  # @option params [required, String] :resource_name
730
730
  #
@@ -963,8 +963,8 @@ module Aws::AmplifyBackend
963
963
  # @option params [required, String] :backend_environment_name
964
964
  #
965
965
  # @option params [Types::BackendAPIResourceConfig] :resource_config
966
- # The resource configuration for the data model, configured as a part of
967
- # the Amplify project.
966
+ # The resource config for the data model, configured as a part of the
967
+ # Amplify project.
968
968
  #
969
969
  # @option params [required, String] :resource_name
970
970
  #
@@ -1094,7 +1094,7 @@ module Aws::AmplifyBackend
1094
1094
  req.send_request(options)
1095
1095
  end
1096
1096
 
1097
- # Gets backend auth details.
1097
+ # Gets a backend auth details.
1098
1098
  #
1099
1099
  # @option params [required, String] :app_id
1100
1100
  #
@@ -1250,6 +1250,58 @@ module Aws::AmplifyBackend
1250
1250
  req.send_request(options)
1251
1251
  end
1252
1252
 
1253
+ # Imports an existing backend authentication resource.
1254
+ #
1255
+ # @option params [required, String] :app_id
1256
+ #
1257
+ # @option params [required, String] :backend_environment_name
1258
+ #
1259
+ # @option params [String] :identity_pool_id
1260
+ #
1261
+ # @option params [required, String] :native_client_id
1262
+ #
1263
+ # @option params [required, String] :user_pool_id
1264
+ #
1265
+ # @option params [required, String] :web_client_id
1266
+ #
1267
+ # @return [Types::ImportBackendAuthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1268
+ #
1269
+ # * {Types::ImportBackendAuthResponse#app_id #app_id} => String
1270
+ # * {Types::ImportBackendAuthResponse#backend_environment_name #backend_environment_name} => String
1271
+ # * {Types::ImportBackendAuthResponse#error #error} => String
1272
+ # * {Types::ImportBackendAuthResponse#job_id #job_id} => String
1273
+ # * {Types::ImportBackendAuthResponse#operation #operation} => String
1274
+ # * {Types::ImportBackendAuthResponse#status #status} => String
1275
+ #
1276
+ # @example Request syntax with placeholder values
1277
+ #
1278
+ # resp = client.import_backend_auth({
1279
+ # app_id: "__string", # required
1280
+ # backend_environment_name: "__string", # required
1281
+ # identity_pool_id: "__string",
1282
+ # native_client_id: "__string", # required
1283
+ # user_pool_id: "__string", # required
1284
+ # web_client_id: "__string", # required
1285
+ # })
1286
+ #
1287
+ # @example Response structure
1288
+ #
1289
+ # resp.app_id #=> String
1290
+ # resp.backend_environment_name #=> String
1291
+ # resp.error #=> String
1292
+ # resp.job_id #=> String
1293
+ # resp.operation #=> String
1294
+ # resp.status #=> String
1295
+ #
1296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth AWS API Documentation
1297
+ #
1298
+ # @overload import_backend_auth(params = {})
1299
+ # @param [Hash] params ({})
1300
+ def import_backend_auth(params = {}, options = {})
1301
+ req = build_request(:import_backend_auth, params)
1302
+ req.send_request(options)
1303
+ end
1304
+
1253
1305
  # Lists the jobs for the backend of an Amplify app.
1254
1306
  #
1255
1307
  # @option params [required, String] :app_id
@@ -1345,8 +1397,7 @@ module Aws::AmplifyBackend
1345
1397
  req.send_request(options)
1346
1398
  end
1347
1399
 
1348
- # Removes the AWS resources that are required to access the Amplify
1349
- # Admin UI.
1400
+ # Removes the AWS resources required to access the Amplify Admin UI.
1350
1401
  #
1351
1402
  # @option params [required, String] :app_id
1352
1403
  #
@@ -1380,8 +1431,8 @@ module Aws::AmplifyBackend
1380
1431
  # @option params [required, String] :backend_environment_name
1381
1432
  #
1382
1433
  # @option params [Types::BackendAPIResourceConfig] :resource_config
1383
- # The resource configuration for the data model, configured as a part of
1384
- # the Amplify project.
1434
+ # The resource config for the data model, configured as a part of the
1435
+ # Amplify project.
1385
1436
  #
1386
1437
  # @option params [required, String] :resource_name
1387
1438
  #
@@ -1554,8 +1605,7 @@ module Aws::AmplifyBackend
1554
1605
  req.send_request(options)
1555
1606
  end
1556
1607
 
1557
- # Updates the AWS resources that are required to access the Amplify
1558
- # Admin UI.
1608
+ # Updates the AWS resources required to access the Amplify Admin UI.
1559
1609
  #
1560
1610
  # @option params [required, String] :app_id
1561
1611
  #
@@ -1666,7 +1716,7 @@ module Aws::AmplifyBackend
1666
1716
  params: params,
1667
1717
  config: config)
1668
1718
  context[:gem_name] = 'aws-sdk-amplifybackend'
1669
- context[:gem_version] = '1.3.0'
1719
+ context[:gem_version] = '1.4.0'
1670
1720
  Seahorse::Client::Request.new(handlers, context)
1671
1721
  end
1672
1722
 
@@ -91,6 +91,9 @@ module Aws::AmplifyBackend
91
91
  GetTokenRequest = Shapes::StructureShape.new(name: 'GetTokenRequest')
92
92
  GetTokenRespObj = Shapes::StructureShape.new(name: 'GetTokenRespObj')
93
93
  GetTokenResponse = Shapes::StructureShape.new(name: 'GetTokenResponse')
94
+ ImportBackendAuthReqObj = Shapes::StructureShape.new(name: 'ImportBackendAuthReqObj')
95
+ ImportBackendAuthRequest = Shapes::StructureShape.new(name: 'ImportBackendAuthRequest')
96
+ ImportBackendAuthResponse = Shapes::StructureShape.new(name: 'ImportBackendAuthResponse')
94
97
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
95
98
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
96
99
  ListBackendJobReqObj = Shapes::StructureShape.new(name: 'ListBackendJobReqObj')
@@ -590,6 +593,28 @@ module Aws::AmplifyBackend
590
593
  GetTokenResponse.add_member(:ttl, Shapes::ShapeRef.new(shape: __string, location_name: "ttl"))
591
594
  GetTokenResponse.struct_class = Types::GetTokenResponse
592
595
 
596
+ ImportBackendAuthReqObj.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: __string, location_name: "identityPoolId"))
597
+ ImportBackendAuthReqObj.add_member(:native_client_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "nativeClientId"))
598
+ ImportBackendAuthReqObj.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "userPoolId"))
599
+ ImportBackendAuthReqObj.add_member(:web_client_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "webClientId"))
600
+ ImportBackendAuthReqObj.struct_class = Types::ImportBackendAuthReqObj
601
+
602
+ ImportBackendAuthRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
603
+ ImportBackendAuthRequest.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "backendEnvironmentName"))
604
+ ImportBackendAuthRequest.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: __string, location_name: "identityPoolId"))
605
+ ImportBackendAuthRequest.add_member(:native_client_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "nativeClientId"))
606
+ ImportBackendAuthRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "userPoolId"))
607
+ ImportBackendAuthRequest.add_member(:web_client_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "webClientId"))
608
+ ImportBackendAuthRequest.struct_class = Types::ImportBackendAuthRequest
609
+
610
+ ImportBackendAuthResponse.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, location_name: "appId"))
611
+ ImportBackendAuthResponse.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, location_name: "backendEnvironmentName"))
612
+ ImportBackendAuthResponse.add_member(:error, Shapes::ShapeRef.new(shape: __string, location_name: "error"))
613
+ ImportBackendAuthResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
614
+ ImportBackendAuthResponse.add_member(:operation, Shapes::ShapeRef.new(shape: __string, location_name: "operation"))
615
+ ImportBackendAuthResponse.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
616
+ ImportBackendAuthResponse.struct_class = Types::ImportBackendAuthResponse
617
+
593
618
  InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
594
619
  InternalServiceException.struct_class = Types::InternalServiceException
595
620
 
@@ -1016,6 +1041,18 @@ module Aws::AmplifyBackend
1016
1041
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1017
1042
  end)
1018
1043
 
1044
+ api.add_operation(:import_backend_auth, Seahorse::Model::Operation.new.tap do |o|
1045
+ o.name = "ImportBackendAuth"
1046
+ o.http_method = "POST"
1047
+ o.http_request_uri = "/backend/{appId}/auth/{backendEnvironmentName}/import"
1048
+ o.input = Shapes::ShapeRef.new(shape: ImportBackendAuthRequest)
1049
+ o.output = Shapes::ShapeRef.new(shape: ImportBackendAuthResponse)
1050
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1053
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1054
+ end)
1055
+
1019
1056
  api.add_operation(:list_backend_jobs, Seahorse::Model::Operation.new.tap do |o|
1020
1057
  o.name = "ListBackendJobs"
1021
1058
  o.http_method = "POST"
@@ -28,17 +28,17 @@ module Aws::AmplifyBackend
28
28
  # }
29
29
  #
30
30
  # @!attribute [rw] cognito_user_pool_id
31
- # The Amazon Cognito user pool ID, if Amazon Cognito is used as an
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 is used as an
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 is used as an
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 is used as an authentication
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 is used as an authentication
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 openID provider name, if openID is used as an authentication
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 failed, this is the returned error.
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 the data model
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 configuration for the data model, configured as a part of
215
- # the Amplify project.
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 the Amplify project.
264
+ # part of the 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 failed, this is the returned error.
310
+ # If the request fails, this error is returned.
311
311
  # @return [String]
312
312
  #
313
313
  # @!attribute [rw] job_id
@@ -346,7 +346,7 @@ module Aws::AmplifyBackend
346
346
  # @return [String]
347
347
  #
348
348
  # @!attribute [rw] error
349
- # If the request failed, this is the returned error.
349
+ # If the request fails, this error is returned.
350
350
  # @return [String]
351
351
  #
352
352
  # @!attribute [rw] job_id
@@ -386,12 +386,12 @@ module Aws::AmplifyBackend
386
386
  # }
387
387
  #
388
388
  # @!attribute [rw] client_id
389
- # Describes the client\_id that can be obtained from the third-party
389
+ # Describes the client\_id which can be obtained from the third-party
390
390
  # social federation provider.
391
391
  # @return [String]
392
392
  #
393
393
  # @!attribute [rw] client_secret
394
- # Describes the client\_secret that can be obtained from third-party
394
+ # Describes the client\_secret which can be obtained from third-party
395
395
  # social federation providers.
396
396
  # @return [String]
397
397
  #
@@ -415,7 +415,7 @@ module Aws::AmplifyBackend
415
415
  # @return [String]
416
416
  #
417
417
  # @!attribute [rw] error
418
- # If the request failed, this is the returned error.
418
+ # If the request fails, this error is returned.
419
419
  # @return [String]
420
420
  #
421
421
  # @!attribute [rw] login_auth_config
@@ -437,7 +437,7 @@ module Aws::AmplifyBackend
437
437
  # The request object for this operation.
438
438
  #
439
439
  # @!attribute [rw] operation
440
- # Filters the list of response objects to include only those with the
440
+ # Filters the list of response objects to only include those with the
441
441
  # specified operation name.
442
442
  # @return [String]
443
443
  #
@@ -470,7 +470,7 @@ module Aws::AmplifyBackend
470
470
  # @return [String]
471
471
  #
472
472
  # @!attribute [rw] error
473
- # If the request failed, this is the returned error.
473
+ # If the request fails, this error is returned.
474
474
  # @return [String]
475
475
  #
476
476
  # @!attribute [rw] job_id
@@ -571,7 +571,7 @@ module Aws::AmplifyBackend
571
571
  # @return [String]
572
572
  #
573
573
  # @!attribute [rw] error
574
- # If the request failed, this is the returned error.
574
+ # If the request fails, this error is returned.
575
575
  # @return [String]
576
576
  #
577
577
  # @!attribute [rw] job_id
@@ -706,8 +706,8 @@ module Aws::AmplifyBackend
706
706
  # @return [String]
707
707
  #
708
708
  # @!attribute [rw] resource_config
709
- # The resource configuration for the data model, configured as a part
710
- # of the Amplify project.
709
+ # The resource config for the data model, configured as a part of the
710
+ # Amplify project.
711
711
  # @return [Types::BackendAPIResourceConfig]
712
712
  #
713
713
  # @!attribute [rw] resource_name
@@ -773,7 +773,7 @@ module Aws::AmplifyBackend
773
773
  # }
774
774
  #
775
775
  # @!attribute [rw] delivery_method
776
- # Describes which method to use (either SMS or email) to deliver
776
+ # Describes which mode to use (either SMS or email) to deliver
777
777
  # messages to app users that want to recover their password.
778
778
  # @return [String]
779
779
  #
@@ -809,7 +809,7 @@ module Aws::AmplifyBackend
809
809
  # }
810
810
  #
811
811
  # @!attribute [rw] identity_pool_name
812
- # Name of the identity pool used for authorization.
812
+ # Name of the Amazon Cognito identity pool used for authorization.
813
813
  # @return [String]
814
814
  #
815
815
  # @!attribute [rw] unauthenticated_login
@@ -826,8 +826,8 @@ module Aws::AmplifyBackend
826
826
  include Aws::Structure
827
827
  end
828
828
 
829
- # Describes whether to apply multi-factor authentication (MFA) policies
830
- # for your Amazon Cognito user pool that's configured as a part of your
829
+ # Describes whether multi-factor authentication policies should be
830
+ # applied for your Amazon Cognito user pool configured as a part of your
831
831
  # Amplify project.
832
832
  #
833
833
  # @note When making an API call, you may pass CreateBackendAuthMFAConfig
@@ -842,7 +842,7 @@ module Aws::AmplifyBackend
842
842
  # }
843
843
  #
844
844
  # @!attribute [rw] mfa_mode
845
- # Describes whether MFA should be \[ON, OFF, or OPTIONAL\] for
845
+ # Describes whether MFA should be \[ON, OFF, OPTIONAL\] for
846
846
  # authentication in your Amplify project.
847
847
  # @return [String]
848
848
  #
@@ -897,7 +897,7 @@ module Aws::AmplifyBackend
897
897
  # @return [String]
898
898
  #
899
899
  # @!attribute [rw] o_auth_scopes
900
- # List of OAuth-related flows that allow your app users to
900
+ # List of OAuth-related flows used to allow your app users to
901
901
  # authenticate from your Amplify app.
902
902
  # @return [Array<String>]
903
903
  #
@@ -906,13 +906,11 @@ module Aws::AmplifyBackend
906
906
  # @return [Array<String>]
907
907
  #
908
908
  # @!attribute [rw] redirect_sign_out_ur_is
909
- # Redirect URLs that OAuth uses when a user signs out of an Amplify
910
- # app.
909
+ # Redirect URLs used by OAuth when a user signs out of an Amplify app.
911
910
  # @return [Array<String>]
912
911
  #
913
912
  # @!attribute [rw] social_provider_settings
914
- # The settings for using social identity providers for access to your
915
- # Amplify app.
913
+ # The settings for using social providers to access your Amplify app.
916
914
  # @return [Types::SocialProviderSettings]
917
915
  #
918
916
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuthOAuthConfig AWS API Documentation
@@ -928,7 +926,7 @@ module Aws::AmplifyBackend
928
926
  include Aws::Structure
929
927
  end
930
928
 
931
- # The password policy configuration for the backend of your Amplify
929
+ # The password policy configuration for the backend to your Amplify
932
930
  # project.
933
931
  #
934
932
  # @note When making an API call, you may pass CreateBackendAuthPasswordPolicyConfig
@@ -1140,7 +1138,7 @@ module Aws::AmplifyBackend
1140
1138
  #
1141
1139
  # @!attribute [rw] identity_pool_configs
1142
1140
  # Describes the authorization configuration for the Amazon Cognito
1143
- # identity pool, provisioned as a part of the auth resource in your
1141
+ # identity pool, provisioned as a part of your auth resource in the
1144
1142
  # Amplify project.
1145
1143
  # @return [Types::CreateBackendAuthIdentityPoolConfig]
1146
1144
  #
@@ -1150,9 +1148,9 @@ module Aws::AmplifyBackend
1150
1148
  # @return [String]
1151
1149
  #
1152
1150
  # @!attribute [rw] user_pool_configs
1153
- # Describes the authentication configuration for the Amazon Cognito
1154
- # user pool, provisioned as a part of the auth resource in your
1155
- # Amplify project.
1151
+ # Describes authentication configuration for the Amazon Cognito user
1152
+ # pool, provisioned as a part of your auth resource in the Amplify
1153
+ # project.
1156
1154
  # @return [Types::CreateBackendAuthUserPoolConfig]
1157
1155
  #
1158
1156
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuthResourceConfig AWS API Documentation
@@ -1257,9 +1255,9 @@ module Aws::AmplifyBackend
1257
1255
  # @return [Types::CreateBackendAuthForgotPasswordConfig]
1258
1256
  #
1259
1257
  # @!attribute [rw] mfa
1260
- # Describes whether to apply multi-factor authentication (MFA)
1261
- # policies for your Amazon Cognito user pool that's configured as a
1262
- # part of your Amplify project.
1258
+ # Describes whether multi-factor authentication policies should be
1259
+ # applied for your Amazon Cognito user pool configured as a part of
1260
+ # your Amplify project.
1263
1261
  # @return [Types::CreateBackendAuthMFAConfig]
1264
1262
  #
1265
1263
  # @!attribute [rw] o_auth
@@ -1273,14 +1271,13 @@ module Aws::AmplifyBackend
1273
1271
  # @return [Types::CreateBackendAuthPasswordPolicyConfig]
1274
1272
  #
1275
1273
  # @!attribute [rw] required_sign_up_attributes
1276
- # The required attributes to sign up new users in the Amazon Cognito
1277
- # user pool.
1274
+ # The required attributes to sign up new users in the user pool.
1278
1275
  # @return [Array<String>]
1279
1276
  #
1280
1277
  # @!attribute [rw] sign_in_method
1281
- # Describes the sign-in methods that your Amplify app users to log in
1282
- # using the Amazon Cognito user pool that's configured as a part of
1283
- # your Amplify project.
1278
+ # Describes the sign-in methods that your Amplify app users use to log
1279
+ # in using the Amazon Cognito user pool, configured as a part of your
1280
+ # Amplify project.
1284
1281
  # @return [String]
1285
1282
  #
1286
1283
  # @!attribute [rw] user_pool_name
@@ -1405,7 +1402,7 @@ module Aws::AmplifyBackend
1405
1402
  # @return [String]
1406
1403
  #
1407
1404
  # @!attribute [rw] resource_config
1408
- # The resource configuration for the backend creation request.
1405
+ # The resource configuration for the create backend request.
1409
1406
  # @return [Types::ResourceConfig]
1410
1407
  #
1411
1408
  # @!attribute [rw] resource_name
@@ -1474,7 +1471,7 @@ module Aws::AmplifyBackend
1474
1471
  # @return [String]
1475
1472
  #
1476
1473
  # @!attribute [rw] error
1477
- # If the request failed, this is the returned error.
1474
+ # If the request fails, this error is returned.
1478
1475
  # @return [String]
1479
1476
  #
1480
1477
  # @!attribute [rw] job_id
@@ -1656,8 +1653,8 @@ module Aws::AmplifyBackend
1656
1653
  # @return [String]
1657
1654
  #
1658
1655
  # @!attribute [rw] resource_config
1659
- # The resource configuration for the data model, configured as a part
1660
- # of the Amplify project.
1656
+ # The resource config for the data model, configured as a part of the
1657
+ # Amplify project.
1661
1658
  # @return [Types::BackendAPIResourceConfig]
1662
1659
  #
1663
1660
  # @!attribute [rw] resource_name
@@ -1798,7 +1795,7 @@ module Aws::AmplifyBackend
1798
1795
  # @return [String]
1799
1796
  #
1800
1797
  # @!attribute [rw] error
1801
- # If the request failed, this is the returned error.
1798
+ # If the request fails, this error is returned.
1802
1799
  # @return [String]
1803
1800
  #
1804
1801
  # @!attribute [rw] job_id
@@ -2005,7 +2002,7 @@ module Aws::AmplifyBackend
2005
2002
  # The response object for this operation.
2006
2003
  #
2007
2004
  # @!attribute [rw] models
2008
- # Stringified JSON of the DataStore model.
2005
+ # Stringified JSON of the datastore model.
2009
2006
  # @return [String]
2010
2007
  #
2011
2008
  # @!attribute [rw] status
@@ -2116,8 +2113,8 @@ module Aws::AmplifyBackend
2116
2113
  # @return [String]
2117
2114
  #
2118
2115
  # @!attribute [rw] resource_config
2119
- # The resource configuration for the data model, configured as a part
2120
- # of the Amplify project.
2116
+ # The resource config for the data model, configured as a part of the
2117
+ # Amplify project.
2121
2118
  # @return [Types::BackendAPIResourceConfig]
2122
2119
  #
2123
2120
  # @!attribute [rw] resource_name
@@ -2145,7 +2142,7 @@ module Aws::AmplifyBackend
2145
2142
  # @return [String]
2146
2143
  #
2147
2144
  # @!attribute [rw] error
2148
- # If the request failed, this is the returned error.
2145
+ # If the request fails, this error is returned.
2149
2146
  # @return [String]
2150
2147
  #
2151
2148
  # @!attribute [rw] resource_config
@@ -2178,8 +2175,8 @@ module Aws::AmplifyBackend
2178
2175
  # @return [String]
2179
2176
  #
2180
2177
  # @!attribute [rw] resource_config
2181
- # The resource configuration for the data model, configured as a part
2182
- # of the Amplify project.
2178
+ # The resource config for the data model, configured as a part of the
2179
+ # Amplify project.
2183
2180
  # @return [Types::BackendAPIResourceConfig]
2184
2181
  #
2185
2182
  # @!attribute [rw] resource_name
@@ -2250,7 +2247,7 @@ module Aws::AmplifyBackend
2250
2247
  # @return [String]
2251
2248
  #
2252
2249
  # @!attribute [rw] error
2253
- # If the request failed, this is the returned error.
2250
+ # If the request fails, this error is returned.
2254
2251
  # @return [String]
2255
2252
  #
2256
2253
  # @!attribute [rw] resource_config
@@ -2410,7 +2407,7 @@ module Aws::AmplifyBackend
2410
2407
  # The response object for this operation.
2411
2408
  #
2412
2409
  # @!attribute [rw] amplify_meta_config
2413
- # A stringified version of the current configurations for your Amplify
2410
+ # A stringified version of the current configs for your Amplify
2414
2411
  # project.
2415
2412
  # @return [String]
2416
2413
  #
@@ -2554,6 +2551,109 @@ module Aws::AmplifyBackend
2554
2551
  include Aws::Structure
2555
2552
  end
2556
2553
 
2554
+ # The request object for this operation.
2555
+ #
2556
+ # @!attribute [rw] identity_pool_id
2557
+ # The ID of the Amazon Cognito identity pool.
2558
+ # @return [String]
2559
+ #
2560
+ # @!attribute [rw] native_client_id
2561
+ # The ID of the Amazon Cognito native client.
2562
+ # @return [String]
2563
+ #
2564
+ # @!attribute [rw] user_pool_id
2565
+ # The ID of the Amazon Cognito user pool.
2566
+ # @return [String]
2567
+ #
2568
+ # @!attribute [rw] web_client_id
2569
+ # The ID of the Amazon Cognito web client.
2570
+ # @return [String]
2571
+ #
2572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuthReqObj AWS API Documentation
2573
+ #
2574
+ class ImportBackendAuthReqObj < Struct.new(
2575
+ :identity_pool_id,
2576
+ :native_client_id,
2577
+ :user_pool_id,
2578
+ :web_client_id)
2579
+ SENSITIVE = []
2580
+ include Aws::Structure
2581
+ end
2582
+
2583
+ # @note When making an API call, you may pass ImportBackendAuthRequest
2584
+ # data as a hash:
2585
+ #
2586
+ # {
2587
+ # app_id: "__string", # required
2588
+ # backend_environment_name: "__string", # required
2589
+ # identity_pool_id: "__string",
2590
+ # native_client_id: "__string", # required
2591
+ # user_pool_id: "__string", # required
2592
+ # web_client_id: "__string", # required
2593
+ # }
2594
+ #
2595
+ # @!attribute [rw] app_id
2596
+ # @return [String]
2597
+ #
2598
+ # @!attribute [rw] backend_environment_name
2599
+ # @return [String]
2600
+ #
2601
+ # @!attribute [rw] identity_pool_id
2602
+ # @return [String]
2603
+ #
2604
+ # @!attribute [rw] native_client_id
2605
+ # @return [String]
2606
+ #
2607
+ # @!attribute [rw] user_pool_id
2608
+ # @return [String]
2609
+ #
2610
+ # @!attribute [rw] web_client_id
2611
+ # @return [String]
2612
+ #
2613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuthRequest AWS API Documentation
2614
+ #
2615
+ class ImportBackendAuthRequest < Struct.new(
2616
+ :app_id,
2617
+ :backend_environment_name,
2618
+ :identity_pool_id,
2619
+ :native_client_id,
2620
+ :user_pool_id,
2621
+ :web_client_id)
2622
+ SENSITIVE = []
2623
+ include Aws::Structure
2624
+ end
2625
+
2626
+ # @!attribute [rw] app_id
2627
+ # @return [String]
2628
+ #
2629
+ # @!attribute [rw] backend_environment_name
2630
+ # @return [String]
2631
+ #
2632
+ # @!attribute [rw] error
2633
+ # @return [String]
2634
+ #
2635
+ # @!attribute [rw] job_id
2636
+ # @return [String]
2637
+ #
2638
+ # @!attribute [rw] operation
2639
+ # @return [String]
2640
+ #
2641
+ # @!attribute [rw] status
2642
+ # @return [String]
2643
+ #
2644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuthResponse AWS API Documentation
2645
+ #
2646
+ class ImportBackendAuthResponse < Struct.new(
2647
+ :app_id,
2648
+ :backend_environment_name,
2649
+ :error,
2650
+ :job_id,
2651
+ :operation,
2652
+ :status)
2653
+ SENSITIVE = []
2654
+ include Aws::Structure
2655
+ end
2656
+
2557
2657
  # An error returned if there's a temporary issue with the service.
2558
2658
  #
2559
2659
  # @!attribute [rw] message
@@ -2568,14 +2668,15 @@ module Aws::AmplifyBackend
2568
2668
  include Aws::Structure
2569
2669
  end
2570
2670
 
2571
- # An error that is returned when a limit of a specific type is exceeded.
2671
+ # An error that is returned when a limit of a specific type has been
2672
+ # exceeded.
2572
2673
  #
2573
2674
  # @!attribute [rw] limit_type
2574
2675
  # The type of limit that was exceeded.
2575
2676
  # @return [String]
2576
2677
  #
2577
2678
  # @!attribute [rw] message
2578
- # An error message to inform that the request failed.
2679
+ # An error message to inform that the request has failed.
2579
2680
  # @return [String]
2580
2681
  #
2581
2682
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/LimitExceededException AWS API Documentation
@@ -2718,8 +2819,8 @@ module Aws::AmplifyBackend
2718
2819
  # }
2719
2820
  #
2720
2821
  # @!attribute [rw] aws_cognito_identity_pool_id
2721
- # The Amazon Cognito identity pool ID used for Amplify Admin UI login
2722
- # authorization.
2822
+ # The Amazon Cognito identity pool ID used for the Amplify Admin UI
2823
+ # login authorization.
2723
2824
  # @return [String]
2724
2825
  #
2725
2826
  # @!attribute [rw] aws_cognito_region
@@ -2749,11 +2850,11 @@ module Aws::AmplifyBackend
2749
2850
  # An error returned when a specific resource type is not found.
2750
2851
  #
2751
2852
  # @!attribute [rw] message
2752
- # An error message to inform that the request failed.
2853
+ # An error message to inform that the request has failed.
2753
2854
  # @return [String]
2754
2855
  #
2755
2856
  # @!attribute [rw] resource_type
2756
- # The type of resource that wasn't found.
2857
+ # The type of resource that is not found.
2757
2858
  # @return [String]
2758
2859
  #
2759
2860
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/NotFoundException AWS API Documentation
@@ -2809,7 +2910,7 @@ module Aws::AmplifyBackend
2809
2910
  # @return [String]
2810
2911
  #
2811
2912
  # @!attribute [rw] error
2812
- # If the request failed, this is the returned error.
2913
+ # If the request fails, this error is returned.
2813
2914
  # @return [String]
2814
2915
  #
2815
2916
  # @!attribute [rw] job_id
@@ -2898,7 +2999,7 @@ module Aws::AmplifyBackend
2898
2999
  # The response object for this operation.
2899
3000
  #
2900
3001
  # @!attribute [rw] error
2901
- # If the request failed, this is the returned error.
3002
+ # If the request fails, this error is returned.
2902
3003
  # @return [String]
2903
3004
  #
2904
3005
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfigRespObj AWS API Documentation
@@ -3012,7 +3113,8 @@ module Aws::AmplifyBackend
3012
3113
  include Aws::Structure
3013
3114
  end
3014
3115
 
3015
- # An error that is returned when a limit of a specific type is exceeded.
3116
+ # An error that is returned when a limit of a specific type has been
3117
+ # exceeded.
3016
3118
  #
3017
3119
  # @!attribute [rw] limit_type
3018
3120
  # @return [String]
@@ -3081,8 +3183,8 @@ module Aws::AmplifyBackend
3081
3183
  # @return [String]
3082
3184
  #
3083
3185
  # @!attribute [rw] resource_config
3084
- # The resource configuration for the data model, configured as a part
3085
- # of the Amplify project.
3186
+ # The resource config for the data model, configured as a part of the
3187
+ # Amplify project.
3086
3188
  # @return [Types::BackendAPIResourceConfig]
3087
3189
  #
3088
3190
  # @!attribute [rw] resource_name
@@ -3148,7 +3250,7 @@ module Aws::AmplifyBackend
3148
3250
  # }
3149
3251
  #
3150
3252
  # @!attribute [rw] delivery_method
3151
- # Describes which method to use (either SMS or email) to deliver
3253
+ # Describes which mode to use (either SMS or email) to deliver
3152
3254
  # messages to app users that want to recover their password.
3153
3255
  # @return [String]
3154
3256
  #
@@ -3184,7 +3286,7 @@ module Aws::AmplifyBackend
3184
3286
  # }
3185
3287
  #
3186
3288
  # @!attribute [rw] unauthenticated_login
3187
- # A Boolean value that you can set to allow or disallow guest-level
3289
+ # A boolean value which can be set to allow or disallow guest-level
3188
3290
  # authorization into your Amplify app.
3189
3291
  # @return [Boolean]
3190
3292
  #
@@ -3272,13 +3374,11 @@ module Aws::AmplifyBackend
3272
3374
  # @return [Array<String>]
3273
3375
  #
3274
3376
  # @!attribute [rw] redirect_sign_in_ur_is
3275
- # Redirect URLs that OAuth uses when a user signs in to an Amplify
3276
- # app.
3377
+ # Redirect URLs used by OAuth when a user signs in to an Amplify app.
3277
3378
  # @return [Array<String>]
3278
3379
  #
3279
3380
  # @!attribute [rw] redirect_sign_out_ur_is
3280
- # Redirect URLs that OAuth uses when a user signs out of an Amplify
3281
- # app.
3381
+ # Redirect URLs used by OAuth when a user signs out of an Amplify app.
3282
3382
  # @return [Array<String>]
3283
3383
  #
3284
3384
  # @!attribute [rw] social_provider_settings
@@ -3300,7 +3400,7 @@ module Aws::AmplifyBackend
3300
3400
  end
3301
3401
 
3302
3402
  # Describes the password policy for your Amazon Cognito user pool
3303
- # that's configured as a part of your Amplify project.
3403
+ # configured as a part of your Amplify project.
3304
3404
  #
3305
3405
  # @note When making an API call, you may pass UpdateBackendAuthPasswordPolicyConfig
3306
3406
  # data as a hash:
@@ -3311,9 +3411,8 @@ module Aws::AmplifyBackend
3311
3411
  # }
3312
3412
  #
3313
3413
  # @!attribute [rw] additional_constraints
3314
- # Describes additional constrains on the password requirements to sign
3315
- # in to the auth resource, configured as a part of your Amplify
3316
- # project.
3414
+ # Describes additional constraints on password requirements to sign in
3415
+ # to the auth resource, configured as a part of your Amplify project.
3317
3416
  # @return [Array<String>]
3318
3417
  #
3319
3418
  # @!attribute [rw] minimum_length
@@ -3499,7 +3598,7 @@ module Aws::AmplifyBackend
3499
3598
  #
3500
3599
  # @!attribute [rw] identity_pool_configs
3501
3600
  # Describes the authorization configuration for the Amazon Cognito
3502
- # identity pool, provisioned as a part of the auth resource in your
3601
+ # identity pool, provisioned as a part of your auth resource in the
3503
3602
  # Amplify project.
3504
3603
  # @return [Types::UpdateBackendAuthIdentityPoolConfig]
3505
3604
  #
@@ -3510,7 +3609,7 @@ module Aws::AmplifyBackend
3510
3609
  #
3511
3610
  # @!attribute [rw] user_pool_configs
3512
3611
  # Describes the authentication configuration for the Amazon Cognito
3513
- # user pool, provisioned as a part of the auth resource in your
3612
+ # user pool, provisioned as a part of your auth resource in the
3514
3613
  # Amplify project.
3515
3614
  # @return [Types::UpdateBackendAuthUserPoolConfig]
3516
3615
  #
@@ -3556,8 +3655,9 @@ module Aws::AmplifyBackend
3556
3655
  include Aws::Structure
3557
3656
  end
3558
3657
 
3559
- # Describes the Amazon Cognito user pool configuration to configure the
3560
- # authorization resource for your Amplify project on an update.
3658
+ # Describes the Amazon Cognito user pool configuration for the
3659
+ # authorization resource to be configured for your Amplify project on an
3660
+ # update.
3561
3661
  #
3562
3662
  # @note When making an API call, you may pass UpdateBackendAuthUserPoolConfig
3563
3663
  # data as a hash:
@@ -3613,9 +3713,9 @@ module Aws::AmplifyBackend
3613
3713
  # @return [Types::UpdateBackendAuthForgotPasswordConfig]
3614
3714
  #
3615
3715
  # @!attribute [rw] mfa
3616
- # Describes whether to apply multi-factor authentication (MFA)
3617
- # policies for your Amazon Cognito user pool that's configured as a
3618
- # part of your Amplify project.
3716
+ # Describes whether multi-factor authentication policies should be
3717
+ # applied for your Amazon Cognito user pool configured as a part of
3718
+ # your Amplify project.
3619
3719
  # @return [Types::UpdateBackendAuthMFAConfig]
3620
3720
  #
3621
3721
  # @!attribute [rw] o_auth
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-amplifybackend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-amplifybackend
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-amplifybackend/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-amplifybackend
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-amplifybackend/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubyforge_project:
87
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
88
87
  signing_key:
89
88
  specification_version: 4
90
89
  summary: AWS SDK for Ruby - AmplifyBackend