aws-sdk-amplifybackend 1.11.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-amplifybackend/client.rb +275 -3
- data/lib/aws-sdk-amplifybackend/client_api.rb +238 -0
- data/lib/aws-sdk-amplifybackend/types.rb +655 -1
- data/lib/aws-sdk-amplifybackend.rb +1 -1
- metadata +4 -4
@@ -15,6 +15,7 @@ module Aws::AmplifyBackend
|
|
15
15
|
|
16
16
|
AdditionalConstraintsElement = Shapes::StringShape.new(name: 'AdditionalConstraintsElement')
|
17
17
|
AuthResources = Shapes::StringShape.new(name: 'AuthResources')
|
18
|
+
AuthenticatedElement = Shapes::StringShape.new(name: 'AuthenticatedElement')
|
18
19
|
BackendAPIAppSyncAuthSettings = Shapes::StructureShape.new(name: 'BackendAPIAppSyncAuthSettings')
|
19
20
|
BackendAPIAuthType = Shapes::StructureShape.new(name: 'BackendAPIAuthType')
|
20
21
|
BackendAPICodegenReqObj = Shapes::StructureShape.new(name: 'BackendAPICodegenReqObj')
|
@@ -29,6 +30,8 @@ module Aws::AmplifyBackend
|
|
29
30
|
BackendConfigRespObj = Shapes::StructureShape.new(name: 'BackendConfigRespObj')
|
30
31
|
BackendJobReqObj = Shapes::StructureShape.new(name: 'BackendJobReqObj')
|
31
32
|
BackendJobRespObj = Shapes::StructureShape.new(name: 'BackendJobRespObj')
|
33
|
+
BackendStoragePermissions = Shapes::StructureShape.new(name: 'BackendStoragePermissions')
|
34
|
+
BackendStorageRespObj = Shapes::StructureShape.new(name: 'BackendStorageRespObj')
|
32
35
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
33
36
|
CloneBackendReqObj = Shapes::StructureShape.new(name: 'CloneBackendReqObj')
|
34
37
|
CloneBackendRequest = Shapes::StructureShape.new(name: 'CloneBackendRequest')
|
@@ -55,6 +58,10 @@ module Aws::AmplifyBackend
|
|
55
58
|
CreateBackendRequest = Shapes::StructureShape.new(name: 'CreateBackendRequest')
|
56
59
|
CreateBackendRespObj = Shapes::StructureShape.new(name: 'CreateBackendRespObj')
|
57
60
|
CreateBackendResponse = Shapes::StructureShape.new(name: 'CreateBackendResponse')
|
61
|
+
CreateBackendStorageReqObj = Shapes::StructureShape.new(name: 'CreateBackendStorageReqObj')
|
62
|
+
CreateBackendStorageRequest = Shapes::StructureShape.new(name: 'CreateBackendStorageRequest')
|
63
|
+
CreateBackendStorageResourceConfig = Shapes::StructureShape.new(name: 'CreateBackendStorageResourceConfig')
|
64
|
+
CreateBackendStorageResponse = Shapes::StructureShape.new(name: 'CreateBackendStorageResponse')
|
58
65
|
CreateTokenRequest = Shapes::StructureShape.new(name: 'CreateTokenRequest')
|
59
66
|
CreateTokenRespObj = Shapes::StructureShape.new(name: 'CreateTokenRespObj')
|
60
67
|
CreateTokenResponse = Shapes::StructureShape.new(name: 'CreateTokenResponse')
|
@@ -65,6 +72,8 @@ module Aws::AmplifyBackend
|
|
65
72
|
DeleteBackendRequest = Shapes::StructureShape.new(name: 'DeleteBackendRequest')
|
66
73
|
DeleteBackendRespObj = Shapes::StructureShape.new(name: 'DeleteBackendRespObj')
|
67
74
|
DeleteBackendResponse = Shapes::StructureShape.new(name: 'DeleteBackendResponse')
|
75
|
+
DeleteBackendStorageRequest = Shapes::StructureShape.new(name: 'DeleteBackendStorageRequest')
|
76
|
+
DeleteBackendStorageResponse = Shapes::StructureShape.new(name: 'DeleteBackendStorageResponse')
|
68
77
|
DeleteTokenRequest = Shapes::StructureShape.new(name: 'DeleteTokenRequest')
|
69
78
|
DeleteTokenRespObj = Shapes::StructureShape.new(name: 'DeleteTokenRespObj')
|
70
79
|
DeleteTokenResponse = Shapes::StructureShape.new(name: 'DeleteTokenResponse')
|
@@ -89,12 +98,20 @@ module Aws::AmplifyBackend
|
|
89
98
|
GetBackendRequest = Shapes::StructureShape.new(name: 'GetBackendRequest')
|
90
99
|
GetBackendRespObj = Shapes::StructureShape.new(name: 'GetBackendRespObj')
|
91
100
|
GetBackendResponse = Shapes::StructureShape.new(name: 'GetBackendResponse')
|
101
|
+
GetBackendStorageReqObj = Shapes::StructureShape.new(name: 'GetBackendStorageReqObj')
|
102
|
+
GetBackendStorageRequest = Shapes::StructureShape.new(name: 'GetBackendStorageRequest')
|
103
|
+
GetBackendStorageResourceConfig = Shapes::StructureShape.new(name: 'GetBackendStorageResourceConfig')
|
104
|
+
GetBackendStorageRespObj = Shapes::StructureShape.new(name: 'GetBackendStorageRespObj')
|
105
|
+
GetBackendStorageResponse = Shapes::StructureShape.new(name: 'GetBackendStorageResponse')
|
92
106
|
GetTokenRequest = Shapes::StructureShape.new(name: 'GetTokenRequest')
|
93
107
|
GetTokenRespObj = Shapes::StructureShape.new(name: 'GetTokenRespObj')
|
94
108
|
GetTokenResponse = Shapes::StructureShape.new(name: 'GetTokenResponse')
|
95
109
|
ImportBackendAuthReqObj = Shapes::StructureShape.new(name: 'ImportBackendAuthReqObj')
|
96
110
|
ImportBackendAuthRequest = Shapes::StructureShape.new(name: 'ImportBackendAuthRequest')
|
97
111
|
ImportBackendAuthResponse = Shapes::StructureShape.new(name: 'ImportBackendAuthResponse')
|
112
|
+
ImportBackendStorageReqObj = Shapes::StructureShape.new(name: 'ImportBackendStorageReqObj')
|
113
|
+
ImportBackendStorageRequest = Shapes::StructureShape.new(name: 'ImportBackendStorageRequest')
|
114
|
+
ImportBackendStorageResponse = Shapes::StructureShape.new(name: 'ImportBackendStorageResponse')
|
98
115
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
99
116
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
100
117
|
ListBackendJobReqObj = Shapes::StructureShape.new(name: 'ListBackendJobReqObj')
|
@@ -102,12 +119,19 @@ module Aws::AmplifyBackend
|
|
102
119
|
ListBackendJobsRequest = Shapes::StructureShape.new(name: 'ListBackendJobsRequest')
|
103
120
|
ListBackendJobsResponse = Shapes::StructureShape.new(name: 'ListBackendJobsResponse')
|
104
121
|
ListOfAdditionalConstraintsElement = Shapes::ListShape.new(name: 'ListOfAdditionalConstraintsElement')
|
122
|
+
ListOfAuthenticatedElement = Shapes::ListShape.new(name: 'ListOfAuthenticatedElement')
|
105
123
|
ListOfBackendAPIAuthType = Shapes::ListShape.new(name: 'ListOfBackendAPIAuthType')
|
106
124
|
ListOfBackendJobRespObj = Shapes::ListShape.new(name: 'ListOfBackendJobRespObj')
|
107
125
|
ListOfMfaTypesElement = Shapes::ListShape.new(name: 'ListOfMfaTypesElement')
|
108
126
|
ListOfOAuthScopesElement = Shapes::ListShape.new(name: 'ListOfOAuthScopesElement')
|
109
127
|
ListOfRequiredSignUpAttributesElement = Shapes::ListShape.new(name: 'ListOfRequiredSignUpAttributesElement')
|
128
|
+
ListOfS3BucketInfo = Shapes::ListShape.new(name: 'ListOfS3BucketInfo')
|
129
|
+
ListOfUnAuthenticatedElement = Shapes::ListShape.new(name: 'ListOfUnAuthenticatedElement')
|
110
130
|
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
131
|
+
ListS3BucketsReqObj = Shapes::StructureShape.new(name: 'ListS3BucketsReqObj')
|
132
|
+
ListS3BucketsRequest = Shapes::StructureShape.new(name: 'ListS3BucketsRequest')
|
133
|
+
ListS3BucketsRespObj = Shapes::StructureShape.new(name: 'ListS3BucketsRespObj')
|
134
|
+
ListS3BucketsResponse = Shapes::StructureShape.new(name: 'ListS3BucketsResponse')
|
111
135
|
LoginAuthConfigReqObj = Shapes::StructureShape.new(name: 'LoginAuthConfigReqObj')
|
112
136
|
MFAMode = Shapes::StringShape.new(name: 'MFAMode')
|
113
137
|
MfaTypesElement = Shapes::StringShape.new(name: 'MfaTypesElement')
|
@@ -123,16 +147,20 @@ module Aws::AmplifyBackend
|
|
123
147
|
RemoveBackendConfigRequest = Shapes::StructureShape.new(name: 'RemoveBackendConfigRequest')
|
124
148
|
RemoveBackendConfigRespObj = Shapes::StructureShape.new(name: 'RemoveBackendConfigRespObj')
|
125
149
|
RemoveBackendConfigResponse = Shapes::StructureShape.new(name: 'RemoveBackendConfigResponse')
|
150
|
+
RemoveBackendStorageReqObj = Shapes::StructureShape.new(name: 'RemoveBackendStorageReqObj')
|
126
151
|
RequiredSignUpAttributesElement = Shapes::StringShape.new(name: 'RequiredSignUpAttributesElement')
|
127
152
|
ResolutionStrategy = Shapes::StringShape.new(name: 'ResolutionStrategy')
|
128
153
|
ResourceConfig = Shapes::StructureShape.new(name: 'ResourceConfig')
|
154
|
+
S3BucketInfo = Shapes::StructureShape.new(name: 'S3BucketInfo')
|
129
155
|
Service = Shapes::StringShape.new(name: 'Service')
|
156
|
+
ServiceName = Shapes::StringShape.new(name: 'ServiceName')
|
130
157
|
Settings = Shapes::StructureShape.new(name: 'Settings')
|
131
158
|
SignInMethod = Shapes::StringShape.new(name: 'SignInMethod')
|
132
159
|
SmsSettings = Shapes::StructureShape.new(name: 'SmsSettings')
|
133
160
|
SocialProviderSettings = Shapes::StructureShape.new(name: 'SocialProviderSettings')
|
134
161
|
Status = Shapes::StringShape.new(name: 'Status')
|
135
162
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
163
|
+
UnAuthenticatedElement = Shapes::StringShape.new(name: 'UnAuthenticatedElement')
|
136
164
|
UpdateBackendAPIRequest = Shapes::StructureShape.new(name: 'UpdateBackendAPIRequest')
|
137
165
|
UpdateBackendAPIResponse = Shapes::StructureShape.new(name: 'UpdateBackendAPIResponse')
|
138
166
|
UpdateBackendAuthForgotPasswordConfig = Shapes::StructureShape.new(name: 'UpdateBackendAuthForgotPasswordConfig')
|
@@ -150,6 +178,10 @@ module Aws::AmplifyBackend
|
|
150
178
|
UpdateBackendConfigResponse = Shapes::StructureShape.new(name: 'UpdateBackendConfigResponse')
|
151
179
|
UpdateBackendJobRequest = Shapes::StructureShape.new(name: 'UpdateBackendJobRequest')
|
152
180
|
UpdateBackendJobResponse = Shapes::StructureShape.new(name: 'UpdateBackendJobResponse')
|
181
|
+
UpdateBackendStorageReqObj = Shapes::StructureShape.new(name: 'UpdateBackendStorageReqObj')
|
182
|
+
UpdateBackendStorageRequest = Shapes::StructureShape.new(name: 'UpdateBackendStorageRequest')
|
183
|
+
UpdateBackendStorageResourceConfig = Shapes::StructureShape.new(name: 'UpdateBackendStorageResourceConfig')
|
184
|
+
UpdateBackendStorageResponse = Shapes::StructureShape.new(name: 'UpdateBackendStorageResponse')
|
153
185
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
154
186
|
__double = Shapes::FloatShape.new(name: '__double')
|
155
187
|
__integer = Shapes::IntegerShape.new(name: '__integer')
|
@@ -245,6 +277,16 @@ module Aws::AmplifyBackend
|
|
245
277
|
BackendJobRespObj.add_member(:update_time, Shapes::ShapeRef.new(shape: __string, location_name: "updateTime"))
|
246
278
|
BackendJobRespObj.struct_class = Types::BackendJobRespObj
|
247
279
|
|
280
|
+
BackendStoragePermissions.add_member(:authenticated, Shapes::ShapeRef.new(shape: ListOfAuthenticatedElement, required: true, location_name: "authenticated"))
|
281
|
+
BackendStoragePermissions.add_member(:un_authenticated, Shapes::ShapeRef.new(shape: ListOfUnAuthenticatedElement, location_name: "unAuthenticated"))
|
282
|
+
BackendStoragePermissions.struct_class = Types::BackendStoragePermissions
|
283
|
+
|
284
|
+
BackendStorageRespObj.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "appId"))
|
285
|
+
BackendStorageRespObj.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "backendEnvironmentName"))
|
286
|
+
BackendStorageRespObj.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "jobId"))
|
287
|
+
BackendStorageRespObj.add_member(:status, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "status"))
|
288
|
+
BackendStorageRespObj.struct_class = Types::BackendStorageRespObj
|
289
|
+
|
248
290
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
249
291
|
BadRequestException.struct_class = Types::BadRequestException
|
250
292
|
|
@@ -399,6 +441,28 @@ module Aws::AmplifyBackend
|
|
399
441
|
CreateBackendResponse.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
400
442
|
CreateBackendResponse.struct_class = Types::CreateBackendResponse
|
401
443
|
|
444
|
+
CreateBackendStorageReqObj.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "backendEnvironmentName"))
|
445
|
+
CreateBackendStorageReqObj.add_member(:resource_config, Shapes::ShapeRef.new(shape: CreateBackendStorageResourceConfig, required: true, location_name: "resourceConfig"))
|
446
|
+
CreateBackendStorageReqObj.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceName"))
|
447
|
+
CreateBackendStorageReqObj.struct_class = Types::CreateBackendStorageReqObj
|
448
|
+
|
449
|
+
CreateBackendStorageRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
|
450
|
+
CreateBackendStorageRequest.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "backendEnvironmentName"))
|
451
|
+
CreateBackendStorageRequest.add_member(:resource_config, Shapes::ShapeRef.new(shape: CreateBackendStorageResourceConfig, required: true, location_name: "resourceConfig"))
|
452
|
+
CreateBackendStorageRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceName"))
|
453
|
+
CreateBackendStorageRequest.struct_class = Types::CreateBackendStorageRequest
|
454
|
+
|
455
|
+
CreateBackendStorageResourceConfig.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
456
|
+
CreateBackendStorageResourceConfig.add_member(:permissions, Shapes::ShapeRef.new(shape: BackendStoragePermissions, required: true, location_name: "permissions"))
|
457
|
+
CreateBackendStorageResourceConfig.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "serviceName"))
|
458
|
+
CreateBackendStorageResourceConfig.struct_class = Types::CreateBackendStorageResourceConfig
|
459
|
+
|
460
|
+
CreateBackendStorageResponse.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, location_name: "appId"))
|
461
|
+
CreateBackendStorageResponse.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, location_name: "backendEnvironmentName"))
|
462
|
+
CreateBackendStorageResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
|
463
|
+
CreateBackendStorageResponse.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
464
|
+
CreateBackendStorageResponse.struct_class = Types::CreateBackendStorageResponse
|
465
|
+
|
402
466
|
CreateTokenRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
|
403
467
|
CreateTokenRequest.struct_class = Types::CreateTokenRequest
|
404
468
|
|
@@ -461,6 +525,18 @@ module Aws::AmplifyBackend
|
|
461
525
|
DeleteBackendResponse.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
462
526
|
DeleteBackendResponse.struct_class = Types::DeleteBackendResponse
|
463
527
|
|
528
|
+
DeleteBackendStorageRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
|
529
|
+
DeleteBackendStorageRequest.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "backendEnvironmentName"))
|
530
|
+
DeleteBackendStorageRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceName"))
|
531
|
+
DeleteBackendStorageRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "serviceName"))
|
532
|
+
DeleteBackendStorageRequest.struct_class = Types::DeleteBackendStorageRequest
|
533
|
+
|
534
|
+
DeleteBackendStorageResponse.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, location_name: "appId"))
|
535
|
+
DeleteBackendStorageResponse.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, location_name: "backendEnvironmentName"))
|
536
|
+
DeleteBackendStorageResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
|
537
|
+
DeleteBackendStorageResponse.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
538
|
+
DeleteBackendStorageResponse.struct_class = Types::DeleteBackendStorageResponse
|
539
|
+
|
464
540
|
DeleteTokenRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
|
465
541
|
DeleteTokenRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "sessionId"))
|
466
542
|
DeleteTokenRequest.struct_class = Types::DeleteTokenRequest
|
@@ -586,6 +662,32 @@ module Aws::AmplifyBackend
|
|
586
662
|
GetBackendResponse.add_member(:error, Shapes::ShapeRef.new(shape: __string, location_name: "error"))
|
587
663
|
GetBackendResponse.struct_class = Types::GetBackendResponse
|
588
664
|
|
665
|
+
GetBackendStorageReqObj.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceName"))
|
666
|
+
GetBackendStorageReqObj.struct_class = Types::GetBackendStorageReqObj
|
667
|
+
|
668
|
+
GetBackendStorageRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
|
669
|
+
GetBackendStorageRequest.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "backendEnvironmentName"))
|
670
|
+
GetBackendStorageRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceName"))
|
671
|
+
GetBackendStorageRequest.struct_class = Types::GetBackendStorageRequest
|
672
|
+
|
673
|
+
GetBackendStorageResourceConfig.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
674
|
+
GetBackendStorageResourceConfig.add_member(:imported, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "imported"))
|
675
|
+
GetBackendStorageResourceConfig.add_member(:permissions, Shapes::ShapeRef.new(shape: BackendStoragePermissions, location_name: "permissions"))
|
676
|
+
GetBackendStorageResourceConfig.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "serviceName"))
|
677
|
+
GetBackendStorageResourceConfig.struct_class = Types::GetBackendStorageResourceConfig
|
678
|
+
|
679
|
+
GetBackendStorageRespObj.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "appId"))
|
680
|
+
GetBackendStorageRespObj.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "backendEnvironmentName"))
|
681
|
+
GetBackendStorageRespObj.add_member(:resource_config, Shapes::ShapeRef.new(shape: GetBackendStorageResourceConfig, location_name: "resourceConfig"))
|
682
|
+
GetBackendStorageRespObj.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, location_name: "resourceName"))
|
683
|
+
GetBackendStorageRespObj.struct_class = Types::GetBackendStorageRespObj
|
684
|
+
|
685
|
+
GetBackendStorageResponse.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, location_name: "appId"))
|
686
|
+
GetBackendStorageResponse.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, location_name: "backendEnvironmentName"))
|
687
|
+
GetBackendStorageResponse.add_member(:resource_config, Shapes::ShapeRef.new(shape: GetBackendStorageResourceConfig, location_name: "resourceConfig"))
|
688
|
+
GetBackendStorageResponse.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, location_name: "resourceName"))
|
689
|
+
GetBackendStorageResponse.struct_class = Types::GetBackendStorageResponse
|
690
|
+
|
589
691
|
GetTokenRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
|
590
692
|
GetTokenRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "sessionId"))
|
591
693
|
GetTokenRequest.struct_class = Types::GetTokenRequest
|
@@ -624,6 +726,22 @@ module Aws::AmplifyBackend
|
|
624
726
|
ImportBackendAuthResponse.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
625
727
|
ImportBackendAuthResponse.struct_class = Types::ImportBackendAuthResponse
|
626
728
|
|
729
|
+
ImportBackendStorageReqObj.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
730
|
+
ImportBackendStorageReqObj.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "serviceName"))
|
731
|
+
ImportBackendStorageReqObj.struct_class = Types::ImportBackendStorageReqObj
|
732
|
+
|
733
|
+
ImportBackendStorageRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
|
734
|
+
ImportBackendStorageRequest.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "backendEnvironmentName"))
|
735
|
+
ImportBackendStorageRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
736
|
+
ImportBackendStorageRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "serviceName"))
|
737
|
+
ImportBackendStorageRequest.struct_class = Types::ImportBackendStorageRequest
|
738
|
+
|
739
|
+
ImportBackendStorageResponse.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, location_name: "appId"))
|
740
|
+
ImportBackendStorageResponse.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, location_name: "backendEnvironmentName"))
|
741
|
+
ImportBackendStorageResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
|
742
|
+
ImportBackendStorageResponse.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
743
|
+
ImportBackendStorageResponse.struct_class = Types::ImportBackendStorageResponse
|
744
|
+
|
627
745
|
InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
628
746
|
InternalServiceException.struct_class = Types::InternalServiceException
|
629
747
|
|
@@ -657,6 +775,8 @@ module Aws::AmplifyBackend
|
|
657
775
|
|
658
776
|
ListOfAdditionalConstraintsElement.member = Shapes::ShapeRef.new(shape: AdditionalConstraintsElement)
|
659
777
|
|
778
|
+
ListOfAuthenticatedElement.member = Shapes::ShapeRef.new(shape: AuthenticatedElement)
|
779
|
+
|
660
780
|
ListOfBackendAPIAuthType.member = Shapes::ShapeRef.new(shape: BackendAPIAuthType)
|
661
781
|
|
662
782
|
ListOfBackendJobRespObj.member = Shapes::ShapeRef.new(shape: BackendJobRespObj)
|
@@ -667,8 +787,26 @@ module Aws::AmplifyBackend
|
|
667
787
|
|
668
788
|
ListOfRequiredSignUpAttributesElement.member = Shapes::ShapeRef.new(shape: RequiredSignUpAttributesElement)
|
669
789
|
|
790
|
+
ListOfS3BucketInfo.member = Shapes::ShapeRef.new(shape: S3BucketInfo)
|
791
|
+
|
792
|
+
ListOfUnAuthenticatedElement.member = Shapes::ShapeRef.new(shape: UnAuthenticatedElement)
|
793
|
+
|
670
794
|
ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
671
795
|
|
796
|
+
ListS3BucketsReqObj.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
797
|
+
ListS3BucketsReqObj.struct_class = Types::ListS3BucketsReqObj
|
798
|
+
|
799
|
+
ListS3BucketsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
800
|
+
ListS3BucketsRequest.struct_class = Types::ListS3BucketsRequest
|
801
|
+
|
802
|
+
ListS3BucketsRespObj.add_member(:buckets, Shapes::ShapeRef.new(shape: ListOfS3BucketInfo, required: true, location_name: "buckets"))
|
803
|
+
ListS3BucketsRespObj.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
804
|
+
ListS3BucketsRespObj.struct_class = Types::ListS3BucketsRespObj
|
805
|
+
|
806
|
+
ListS3BucketsResponse.add_member(:buckets, Shapes::ShapeRef.new(shape: ListOfS3BucketInfo, location_name: "buckets"))
|
807
|
+
ListS3BucketsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
808
|
+
ListS3BucketsResponse.struct_class = Types::ListS3BucketsResponse
|
809
|
+
|
672
810
|
LoginAuthConfigReqObj.add_member(:aws_cognito_identity_pool_id, Shapes::ShapeRef.new(shape: __string, location_name: "aws_cognito_identity_pool_id"))
|
673
811
|
LoginAuthConfigReqObj.add_member(:aws_cognito_region, Shapes::ShapeRef.new(shape: __string, location_name: "aws_cognito_region"))
|
674
812
|
LoginAuthConfigReqObj.add_member(:aws_user_pools_id, Shapes::ShapeRef.new(shape: __string, location_name: "aws_user_pools_id"))
|
@@ -712,8 +850,16 @@ module Aws::AmplifyBackend
|
|
712
850
|
RemoveBackendConfigResponse.add_member(:error, Shapes::ShapeRef.new(shape: __string, location_name: "error"))
|
713
851
|
RemoveBackendConfigResponse.struct_class = Types::RemoveBackendConfigResponse
|
714
852
|
|
853
|
+
RemoveBackendStorageReqObj.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceName"))
|
854
|
+
RemoveBackendStorageReqObj.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "serviceName"))
|
855
|
+
RemoveBackendStorageReqObj.struct_class = Types::RemoveBackendStorageReqObj
|
856
|
+
|
715
857
|
ResourceConfig.struct_class = Types::ResourceConfig
|
716
858
|
|
859
|
+
S3BucketInfo.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "creationDate"))
|
860
|
+
S3BucketInfo.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
861
|
+
S3BucketInfo.struct_class = Types::S3BucketInfo
|
862
|
+
|
717
863
|
Settings.add_member(:mfa_types, Shapes::ShapeRef.new(shape: ListOfMfaTypesElement, location_name: "mfaTypes"))
|
718
864
|
Settings.add_member(:sms_message, Shapes::ShapeRef.new(shape: __string, location_name: "smsMessage"))
|
719
865
|
Settings.struct_class = Types::Settings
|
@@ -829,6 +975,26 @@ module Aws::AmplifyBackend
|
|
829
975
|
UpdateBackendJobResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: __string, location_name: "updateTime"))
|
830
976
|
UpdateBackendJobResponse.struct_class = Types::UpdateBackendJobResponse
|
831
977
|
|
978
|
+
UpdateBackendStorageReqObj.add_member(:resource_config, Shapes::ShapeRef.new(shape: UpdateBackendStorageResourceConfig, required: true, location_name: "resourceConfig"))
|
979
|
+
UpdateBackendStorageReqObj.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceName"))
|
980
|
+
UpdateBackendStorageReqObj.struct_class = Types::UpdateBackendStorageReqObj
|
981
|
+
|
982
|
+
UpdateBackendStorageRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "appId"))
|
983
|
+
UpdateBackendStorageRequest.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "backendEnvironmentName"))
|
984
|
+
UpdateBackendStorageRequest.add_member(:resource_config, Shapes::ShapeRef.new(shape: UpdateBackendStorageResourceConfig, required: true, location_name: "resourceConfig"))
|
985
|
+
UpdateBackendStorageRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceName"))
|
986
|
+
UpdateBackendStorageRequest.struct_class = Types::UpdateBackendStorageRequest
|
987
|
+
|
988
|
+
UpdateBackendStorageResourceConfig.add_member(:permissions, Shapes::ShapeRef.new(shape: BackendStoragePermissions, required: true, location_name: "permissions"))
|
989
|
+
UpdateBackendStorageResourceConfig.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "serviceName"))
|
990
|
+
UpdateBackendStorageResourceConfig.struct_class = Types::UpdateBackendStorageResourceConfig
|
991
|
+
|
992
|
+
UpdateBackendStorageResponse.add_member(:app_id, Shapes::ShapeRef.new(shape: __string, location_name: "appId"))
|
993
|
+
UpdateBackendStorageResponse.add_member(:backend_environment_name, Shapes::ShapeRef.new(shape: __string, location_name: "backendEnvironmentName"))
|
994
|
+
UpdateBackendStorageResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
|
995
|
+
UpdateBackendStorageResponse.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
996
|
+
UpdateBackendStorageResponse.struct_class = Types::UpdateBackendStorageResponse
|
997
|
+
|
832
998
|
|
833
999
|
# @api private
|
834
1000
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -907,6 +1073,18 @@ module Aws::AmplifyBackend
|
|
907
1073
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
908
1074
|
end)
|
909
1075
|
|
1076
|
+
api.add_operation(:create_backend_storage, Seahorse::Model::Operation.new.tap do |o|
|
1077
|
+
o.name = "CreateBackendStorage"
|
1078
|
+
o.http_method = "POST"
|
1079
|
+
o.http_request_uri = "/backend/{appId}/storage"
|
1080
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBackendStorageRequest)
|
1081
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBackendStorageResponse)
|
1082
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1083
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1084
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1085
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1086
|
+
end)
|
1087
|
+
|
910
1088
|
api.add_operation(:create_token, Seahorse::Model::Operation.new.tap do |o|
|
911
1089
|
o.name = "CreateToken"
|
912
1090
|
o.http_method = "POST"
|
@@ -955,6 +1133,18 @@ module Aws::AmplifyBackend
|
|
955
1133
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
956
1134
|
end)
|
957
1135
|
|
1136
|
+
api.add_operation(:delete_backend_storage, Seahorse::Model::Operation.new.tap do |o|
|
1137
|
+
o.name = "DeleteBackendStorage"
|
1138
|
+
o.http_method = "POST"
|
1139
|
+
o.http_request_uri = "/backend/{appId}/storage/{backendEnvironmentName}/remove"
|
1140
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBackendStorageRequest)
|
1141
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteBackendStorageResponse)
|
1142
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1143
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1144
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1145
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1146
|
+
end)
|
1147
|
+
|
958
1148
|
api.add_operation(:delete_token, Seahorse::Model::Operation.new.tap do |o|
|
959
1149
|
o.name = "DeleteToken"
|
960
1150
|
o.http_method = "POST"
|
@@ -1039,6 +1229,18 @@ module Aws::AmplifyBackend
|
|
1039
1229
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1040
1230
|
end)
|
1041
1231
|
|
1232
|
+
api.add_operation(:get_backend_storage, Seahorse::Model::Operation.new.tap do |o|
|
1233
|
+
o.name = "GetBackendStorage"
|
1234
|
+
o.http_method = "POST"
|
1235
|
+
o.http_request_uri = "/backend/{appId}/storage/{backendEnvironmentName}/details"
|
1236
|
+
o.input = Shapes::ShapeRef.new(shape: GetBackendStorageRequest)
|
1237
|
+
o.output = Shapes::ShapeRef.new(shape: GetBackendStorageResponse)
|
1238
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1239
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1240
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1241
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1242
|
+
end)
|
1243
|
+
|
1042
1244
|
api.add_operation(:get_token, Seahorse::Model::Operation.new.tap do |o|
|
1043
1245
|
o.name = "GetToken"
|
1044
1246
|
o.http_method = "GET"
|
@@ -1063,6 +1265,18 @@ module Aws::AmplifyBackend
|
|
1063
1265
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1064
1266
|
end)
|
1065
1267
|
|
1268
|
+
api.add_operation(:import_backend_storage, Seahorse::Model::Operation.new.tap do |o|
|
1269
|
+
o.name = "ImportBackendStorage"
|
1270
|
+
o.http_method = "POST"
|
1271
|
+
o.http_request_uri = "/backend/{appId}/storage/{backendEnvironmentName}/import"
|
1272
|
+
o.input = Shapes::ShapeRef.new(shape: ImportBackendStorageRequest)
|
1273
|
+
o.output = Shapes::ShapeRef.new(shape: ImportBackendStorageResponse)
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1275
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1276
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1277
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1278
|
+
end)
|
1279
|
+
|
1066
1280
|
api.add_operation(:list_backend_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1067
1281
|
o.name = "ListBackendJobs"
|
1068
1282
|
o.http_method = "POST"
|
@@ -1081,6 +1295,18 @@ module Aws::AmplifyBackend
|
|
1081
1295
|
)
|
1082
1296
|
end)
|
1083
1297
|
|
1298
|
+
api.add_operation(:list_s3_buckets, Seahorse::Model::Operation.new.tap do |o|
|
1299
|
+
o.name = "ListS3Buckets"
|
1300
|
+
o.http_method = "POST"
|
1301
|
+
o.http_request_uri = "/s3Buckets"
|
1302
|
+
o.input = Shapes::ShapeRef.new(shape: ListS3BucketsRequest)
|
1303
|
+
o.output = Shapes::ShapeRef.new(shape: ListS3BucketsResponse)
|
1304
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1305
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1306
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1307
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1308
|
+
end)
|
1309
|
+
|
1084
1310
|
api.add_operation(:remove_all_backends, Seahorse::Model::Operation.new.tap do |o|
|
1085
1311
|
o.name = "RemoveAllBackends"
|
1086
1312
|
o.http_method = "POST"
|
@@ -1152,6 +1378,18 @@ module Aws::AmplifyBackend
|
|
1152
1378
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1153
1379
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1154
1380
|
end)
|
1381
|
+
|
1382
|
+
api.add_operation(:update_backend_storage, Seahorse::Model::Operation.new.tap do |o|
|
1383
|
+
o.name = "UpdateBackendStorage"
|
1384
|
+
o.http_method = "POST"
|
1385
|
+
o.http_request_uri = "/backend/{appId}/storage/{backendEnvironmentName}"
|
1386
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBackendStorageRequest)
|
1387
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBackendStorageResponse)
|
1388
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1389
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1390
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1391
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1392
|
+
end)
|
1155
1393
|
end
|
1156
1394
|
|
1157
1395
|
end
|