aws-sdk-amplify 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,12 +11,18 @@ module Aws::Amplify
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AccessToken = Shapes::StringShape.new(name: 'AccessToken')
14
15
  ActiveJobId = Shapes::StringShape.new(name: 'ActiveJobId')
15
16
  App = Shapes::StructureShape.new(name: 'App')
16
17
  AppArn = Shapes::StringShape.new(name: 'AppArn')
17
18
  AppId = Shapes::StringShape.new(name: 'AppId')
18
19
  Apps = Shapes::ListShape.new(name: 'Apps')
19
20
  ArtifactsUrl = Shapes::StringShape.new(name: 'ArtifactsUrl')
21
+ AssociatedResource = Shapes::StringShape.new(name: 'AssociatedResource')
22
+ AssociatedResources = Shapes::ListShape.new(name: 'AssociatedResources')
23
+ AutoBranchCreationConfig = Shapes::StructureShape.new(name: 'AutoBranchCreationConfig')
24
+ AutoBranchCreationPattern = Shapes::StringShape.new(name: 'AutoBranchCreationPattern')
25
+ AutoBranchCreationPatterns = Shapes::ListShape.new(name: 'AutoBranchCreationPatterns')
20
26
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
21
27
  BasicAuthCredentials = Shapes::StringShape.new(name: 'BasicAuthCredentials')
22
28
  Branch = Shapes::StructureShape.new(name: 'Branch')
@@ -25,17 +31,23 @@ module Aws::Amplify
25
31
  Branches = Shapes::ListShape.new(name: 'Branches')
26
32
  BuildSpec = Shapes::StringShape.new(name: 'BuildSpec')
27
33
  CertificateVerificationDNSRecord = Shapes::StringShape.new(name: 'CertificateVerificationDNSRecord')
34
+ Code = Shapes::StringShape.new(name: 'Code')
28
35
  CommitId = Shapes::StringShape.new(name: 'CommitId')
29
36
  CommitMessage = Shapes::StringShape.new(name: 'CommitMessage')
30
37
  CommitTime = Shapes::TimestampShape.new(name: 'CommitTime')
31
38
  Condition = Shapes::StringShape.new(name: 'Condition')
39
+ Context = Shapes::StringShape.new(name: 'Context')
32
40
  CreateAppRequest = Shapes::StructureShape.new(name: 'CreateAppRequest')
33
41
  CreateAppResult = Shapes::StructureShape.new(name: 'CreateAppResult')
34
42
  CreateBranchRequest = Shapes::StructureShape.new(name: 'CreateBranchRequest')
35
43
  CreateBranchResult = Shapes::StructureShape.new(name: 'CreateBranchResult')
44
+ CreateDeploymentRequest = Shapes::StructureShape.new(name: 'CreateDeploymentRequest')
45
+ CreateDeploymentResult = Shapes::StructureShape.new(name: 'CreateDeploymentResult')
36
46
  CreateDomainAssociationRequest = Shapes::StructureShape.new(name: 'CreateDomainAssociationRequest')
37
47
  CreateDomainAssociationResult = Shapes::StructureShape.new(name: 'CreateDomainAssociationResult')
38
48
  CreateTime = Shapes::TimestampShape.new(name: 'CreateTime')
49
+ CreateWebhookRequest = Shapes::StructureShape.new(name: 'CreateWebhookRequest')
50
+ CreateWebhookResult = Shapes::StructureShape.new(name: 'CreateWebhookResult')
39
51
  CustomDomain = Shapes::StringShape.new(name: 'CustomDomain')
40
52
  CustomDomains = Shapes::ListShape.new(name: 'CustomDomains')
41
53
  CustomRule = Shapes::StructureShape.new(name: 'CustomRule')
@@ -50,6 +62,8 @@ module Aws::Amplify
50
62
  DeleteDomainAssociationResult = Shapes::StructureShape.new(name: 'DeleteDomainAssociationResult')
51
63
  DeleteJobRequest = Shapes::StructureShape.new(name: 'DeleteJobRequest')
52
64
  DeleteJobResult = Shapes::StructureShape.new(name: 'DeleteJobResult')
65
+ DeleteWebhookRequest = Shapes::StructureShape.new(name: 'DeleteWebhookRequest')
66
+ DeleteWebhookResult = Shapes::StructureShape.new(name: 'DeleteWebhookResult')
53
67
  DependentServiceFailureException = Shapes::StructureShape.new(name: 'DependentServiceFailureException')
54
68
  Description = Shapes::StringShape.new(name: 'Description')
55
69
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
@@ -59,6 +73,7 @@ module Aws::Amplify
59
73
  DomainName = Shapes::StringShape.new(name: 'DomainName')
60
74
  DomainPrefix = Shapes::StringShape.new(name: 'DomainPrefix')
61
75
  DomainStatus = Shapes::StringShape.new(name: 'DomainStatus')
76
+ EnableAutoBranchCreation = Shapes::BooleanShape.new(name: 'EnableAutoBranchCreation')
62
77
  EnableAutoBuild = Shapes::BooleanShape.new(name: 'EnableAutoBuild')
63
78
  EnableAutoSubDomain = Shapes::BooleanShape.new(name: 'EnableAutoSubDomain')
64
79
  EnableBasicAuth = Shapes::BooleanShape.new(name: 'EnableBasicAuth')
@@ -69,6 +84,9 @@ module Aws::Amplify
69
84
  EnvValue = Shapes::StringShape.new(name: 'EnvValue')
70
85
  EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
71
86
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
87
+ FileMap = Shapes::MapShape.new(name: 'FileMap')
88
+ FileName = Shapes::StringShape.new(name: 'FileName')
89
+ FileUploadUrls = Shapes::MapShape.new(name: 'FileUploadUrls')
72
90
  Framework = Shapes::StringShape.new(name: 'Framework')
73
91
  GetAppRequest = Shapes::StructureShape.new(name: 'GetAppRequest')
74
92
  GetAppResult = Shapes::StructureShape.new(name: 'GetAppResult')
@@ -78,6 +96,8 @@ module Aws::Amplify
78
96
  GetDomainAssociationResult = Shapes::StructureShape.new(name: 'GetDomainAssociationResult')
79
97
  GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
80
98
  GetJobResult = Shapes::StructureShape.new(name: 'GetJobResult')
99
+ GetWebhookRequest = Shapes::StructureShape.new(name: 'GetWebhookRequest')
100
+ GetWebhookResult = Shapes::StructureShape.new(name: 'GetWebhookResult')
81
101
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
82
102
  Job = Shapes::StructureShape.new(name: 'Job')
83
103
  JobArn = Shapes::StringShape.new(name: 'JobArn')
@@ -97,7 +117,12 @@ module Aws::Amplify
97
117
  ListDomainAssociationsResult = Shapes::StructureShape.new(name: 'ListDomainAssociationsResult')
98
118
  ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
99
119
  ListJobsResult = Shapes::StructureShape.new(name: 'ListJobsResult')
120
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
121
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
122
+ ListWebhooksRequest = Shapes::StructureShape.new(name: 'ListWebhooksRequest')
123
+ ListWebhooksResult = Shapes::StructureShape.new(name: 'ListWebhooksResult')
100
124
  LogUrl = Shapes::StringShape.new(name: 'LogUrl')
125
+ MD5Hash = Shapes::StringShape.new(name: 'MD5Hash')
101
126
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
102
127
  Name = Shapes::StringShape.new(name: 'Name')
103
128
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -106,10 +131,15 @@ module Aws::Amplify
106
131
  Platform = Shapes::StringShape.new(name: 'Platform')
107
132
  ProductionBranch = Shapes::StructureShape.new(name: 'ProductionBranch')
108
133
  Repository = Shapes::StringShape.new(name: 'Repository')
134
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
135
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
109
136
  Screenshots = Shapes::MapShape.new(name: 'Screenshots')
110
137
  ServiceRoleArn = Shapes::StringShape.new(name: 'ServiceRoleArn')
111
138
  Source = Shapes::StringShape.new(name: 'Source')
139
+ SourceUrl = Shapes::StringShape.new(name: 'SourceUrl')
112
140
  Stage = Shapes::StringShape.new(name: 'Stage')
141
+ StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
142
+ StartDeploymentResult = Shapes::StructureShape.new(name: 'StartDeploymentResult')
113
143
  StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
114
144
  StartJobResult = Shapes::StructureShape.new(name: 'StartJobResult')
115
145
  StartTime = Shapes::TimestampShape.new(name: 'StartTime')
@@ -126,13 +156,18 @@ module Aws::Amplify
126
156
  SubDomains = Shapes::ListShape.new(name: 'SubDomains')
127
157
  TTL = Shapes::StringShape.new(name: 'TTL')
128
158
  TagKey = Shapes::StringShape.new(name: 'TagKey')
159
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
160
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
161
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
162
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
129
163
  TagValue = Shapes::StringShape.new(name: 'TagValue')
130
- Tags = Shapes::MapShape.new(name: 'Tags')
131
164
  Target = Shapes::StringShape.new(name: 'Target')
132
165
  ThumbnailName = Shapes::StringShape.new(name: 'ThumbnailName')
133
166
  ThumbnailUrl = Shapes::StringShape.new(name: 'ThumbnailUrl')
134
167
  TotalNumberOfJobs = Shapes::StringShape.new(name: 'TotalNumberOfJobs')
135
168
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
169
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
170
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
136
171
  UpdateAppRequest = Shapes::StructureShape.new(name: 'UpdateAppRequest')
137
172
  UpdateAppResult = Shapes::StructureShape.new(name: 'UpdateAppResult')
138
173
  UpdateBranchRequest = Shapes::StructureShape.new(name: 'UpdateBranchRequest')
@@ -140,12 +175,20 @@ module Aws::Amplify
140
175
  UpdateDomainAssociationRequest = Shapes::StructureShape.new(name: 'UpdateDomainAssociationRequest')
141
176
  UpdateDomainAssociationResult = Shapes::StructureShape.new(name: 'UpdateDomainAssociationResult')
142
177
  UpdateTime = Shapes::TimestampShape.new(name: 'UpdateTime')
178
+ UpdateWebhookRequest = Shapes::StructureShape.new(name: 'UpdateWebhookRequest')
179
+ UpdateWebhookResult = Shapes::StructureShape.new(name: 'UpdateWebhookResult')
180
+ UploadUrl = Shapes::StringShape.new(name: 'UploadUrl')
143
181
  Verified = Shapes::BooleanShape.new(name: 'Verified')
182
+ Webhook = Shapes::StructureShape.new(name: 'Webhook')
183
+ WebhookArn = Shapes::StringShape.new(name: 'WebhookArn')
184
+ WebhookId = Shapes::StringShape.new(name: 'WebhookId')
185
+ WebhookUrl = Shapes::StringShape.new(name: 'WebhookUrl')
186
+ Webhooks = Shapes::ListShape.new(name: 'Webhooks')
144
187
 
145
188
  App.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location_name: "appId"))
146
189
  App.add_member(:app_arn, Shapes::ShapeRef.new(shape: AppArn, required: true, location_name: "appArn"))
147
190
  App.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
148
- App.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
191
+ App.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
149
192
  App.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
150
193
  App.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, required: true, location_name: "repository"))
151
194
  App.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
@@ -160,19 +203,35 @@ module Aws::Amplify
160
203
  App.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
161
204
  App.add_member(:production_branch, Shapes::ShapeRef.new(shape: ProductionBranch, location_name: "productionBranch"))
162
205
  App.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
206
+ App.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
207
+ App.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
208
+ App.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
163
209
  App.struct_class = Types::App
164
210
 
165
211
  Apps.member = Shapes::ShapeRef.new(shape: App)
166
212
 
213
+ AssociatedResources.member = Shapes::ShapeRef.new(shape: AssociatedResource)
214
+
215
+ AutoBranchCreationConfig.add_member(:stage, Shapes::ShapeRef.new(shape: Stage, location_name: "stage"))
216
+ AutoBranchCreationConfig.add_member(:framework, Shapes::ShapeRef.new(shape: Framework, location_name: "framework"))
217
+ AutoBranchCreationConfig.add_member(:enable_auto_build, Shapes::ShapeRef.new(shape: EnableAutoBuild, location_name: "enableAutoBuild"))
218
+ AutoBranchCreationConfig.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
219
+ AutoBranchCreationConfig.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
220
+ AutoBranchCreationConfig.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
221
+ AutoBranchCreationConfig.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
222
+ AutoBranchCreationConfig.struct_class = Types::AutoBranchCreationConfig
223
+
224
+ AutoBranchCreationPatterns.member = Shapes::ShapeRef.new(shape: AutoBranchCreationPattern)
225
+
167
226
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
168
227
  BadRequestException.struct_class = Types::BadRequestException
169
228
 
170
229
  Branch.add_member(:branch_arn, Shapes::ShapeRef.new(shape: BranchArn, required: true, location_name: "branchArn"))
171
230
  Branch.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
172
231
  Branch.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
173
- Branch.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
232
+ Branch.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
174
233
  Branch.add_member(:stage, Shapes::ShapeRef.new(shape: Stage, required: true, location_name: "stage"))
175
- Branch.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
234
+ Branch.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, required: true, location_name: "displayName"))
176
235
  Branch.add_member(:enable_notification, Shapes::ShapeRef.new(shape: EnableNotification, required: true, location_name: "enableNotification"))
177
236
  Branch.add_member(:create_time, Shapes::ShapeRef.new(shape: CreateTime, required: true, location_name: "createTime"))
178
237
  Branch.add_member(:update_time, Shapes::ShapeRef.new(shape: UpdateTime, required: true, location_name: "updateTime"))
@@ -187,23 +246,28 @@ module Aws::Amplify
187
246
  Branch.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
188
247
  Branch.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
189
248
  Branch.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, required: true, location_name: "ttl"))
249
+ Branch.add_member(:associated_resources, Shapes::ShapeRef.new(shape: AssociatedResources, location_name: "associatedResources"))
190
250
  Branch.struct_class = Types::Branch
191
251
 
192
252
  Branches.member = Shapes::ShapeRef.new(shape: Branch)
193
253
 
194
254
  CreateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
195
255
  CreateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
196
- CreateAppRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, required: true, location_name: "repository"))
197
- CreateAppRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
256
+ CreateAppRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
257
+ CreateAppRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
198
258
  CreateAppRequest.add_member(:iam_service_role_arn, Shapes::ShapeRef.new(shape: ServiceRoleArn, location_name: "iamServiceRoleArn"))
199
- CreateAppRequest.add_member(:oauth_token, Shapes::ShapeRef.new(shape: OauthToken, required: true, location_name: "oauthToken"))
259
+ CreateAppRequest.add_member(:oauth_token, Shapes::ShapeRef.new(shape: OauthToken, location_name: "oauthToken"))
260
+ CreateAppRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: AccessToken, location_name: "accessToken"))
200
261
  CreateAppRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
201
262
  CreateAppRequest.add_member(:enable_branch_auto_build, Shapes::ShapeRef.new(shape: EnableBranchAutoBuild, location_name: "enableBranchAutoBuild"))
202
263
  CreateAppRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
203
264
  CreateAppRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
204
265
  CreateAppRequest.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
205
- CreateAppRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
266
+ CreateAppRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
206
267
  CreateAppRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
268
+ CreateAppRequest.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
269
+ CreateAppRequest.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
270
+ CreateAppRequest.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
207
271
  CreateAppRequest.struct_class = Types::CreateAppRequest
208
272
 
209
273
  CreateAppResult.add_member(:app, Shapes::ShapeRef.new(shape: App, required: true, location_name: "app"))
@@ -219,14 +283,25 @@ module Aws::Amplify
219
283
  CreateBranchRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
220
284
  CreateBranchRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
221
285
  CreateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
222
- CreateBranchRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
286
+ CreateBranchRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
223
287
  CreateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
224
288
  CreateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
289
+ CreateBranchRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
225
290
  CreateBranchRequest.struct_class = Types::CreateBranchRequest
226
291
 
227
292
  CreateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
228
293
  CreateBranchResult.struct_class = Types::CreateBranchResult
229
294
 
295
+ CreateDeploymentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
296
+ CreateDeploymentRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
297
+ CreateDeploymentRequest.add_member(:file_map, Shapes::ShapeRef.new(shape: FileMap, location_name: "fileMap"))
298
+ CreateDeploymentRequest.struct_class = Types::CreateDeploymentRequest
299
+
300
+ CreateDeploymentResult.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
301
+ CreateDeploymentResult.add_member(:file_upload_urls, Shapes::ShapeRef.new(shape: FileUploadUrls, required: true, location_name: "fileUploadUrls"))
302
+ CreateDeploymentResult.add_member(:zip_upload_url, Shapes::ShapeRef.new(shape: UploadUrl, required: true, location_name: "zipUploadUrl"))
303
+ CreateDeploymentResult.struct_class = Types::CreateDeploymentResult
304
+
230
305
  CreateDomainAssociationRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
231
306
  CreateDomainAssociationRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domainName"))
232
307
  CreateDomainAssociationRequest.add_member(:enable_auto_sub_domain, Shapes::ShapeRef.new(shape: EnableAutoSubDomain, location_name: "enableAutoSubDomain"))
@@ -236,6 +311,14 @@ module Aws::Amplify
236
311
  CreateDomainAssociationResult.add_member(:domain_association, Shapes::ShapeRef.new(shape: DomainAssociation, required: true, location_name: "domainAssociation"))
237
312
  CreateDomainAssociationResult.struct_class = Types::CreateDomainAssociationResult
238
313
 
314
+ CreateWebhookRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
315
+ CreateWebhookRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
316
+ CreateWebhookRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
317
+ CreateWebhookRequest.struct_class = Types::CreateWebhookRequest
318
+
319
+ CreateWebhookResult.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, required: true, location_name: "webhook"))
320
+ CreateWebhookResult.struct_class = Types::CreateWebhookResult
321
+
239
322
  CustomDomains.member = Shapes::ShapeRef.new(shape: CustomDomain)
240
323
 
241
324
  CustomRule.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
@@ -274,6 +357,12 @@ module Aws::Amplify
274
357
  DeleteJobResult.add_member(:job_summary, Shapes::ShapeRef.new(shape: JobSummary, required: true, location_name: "jobSummary"))
275
358
  DeleteJobResult.struct_class = Types::DeleteJobResult
276
359
 
360
+ DeleteWebhookRequest.add_member(:webhook_id, Shapes::ShapeRef.new(shape: WebhookId, required: true, location: "uri", location_name: "webhookId"))
361
+ DeleteWebhookRequest.struct_class = Types::DeleteWebhookRequest
362
+
363
+ DeleteWebhookResult.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, required: true, location_name: "webhook"))
364
+ DeleteWebhookResult.struct_class = Types::DeleteWebhookResult
365
+
277
366
  DependentServiceFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
278
367
  DependentServiceFailureException.struct_class = Types::DependentServiceFailureException
279
368
 
@@ -282,7 +371,7 @@ module Aws::Amplify
282
371
  DomainAssociation.add_member(:enable_auto_sub_domain, Shapes::ShapeRef.new(shape: EnableAutoSubDomain, required: true, location_name: "enableAutoSubDomain"))
283
372
  DomainAssociation.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, required: true, location_name: "domainStatus"))
284
373
  DomainAssociation.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, required: true, location_name: "statusReason"))
285
- DomainAssociation.add_member(:certificate_verification_dns_record, Shapes::ShapeRef.new(shape: CertificateVerificationDNSRecord, required: true, location_name: "certificateVerificationDNSRecord"))
374
+ DomainAssociation.add_member(:certificate_verification_dns_record, Shapes::ShapeRef.new(shape: CertificateVerificationDNSRecord, location_name: "certificateVerificationDNSRecord"))
286
375
  DomainAssociation.add_member(:sub_domains, Shapes::ShapeRef.new(shape: SubDomains, required: true, location_name: "subDomains"))
287
376
  DomainAssociation.struct_class = Types::DomainAssociation
288
377
 
@@ -291,6 +380,12 @@ module Aws::Amplify
291
380
  EnvironmentVariables.key = Shapes::ShapeRef.new(shape: EnvKey)
292
381
  EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvValue)
293
382
 
383
+ FileMap.key = Shapes::ShapeRef.new(shape: FileName)
384
+ FileMap.value = Shapes::ShapeRef.new(shape: MD5Hash)
385
+
386
+ FileUploadUrls.key = Shapes::ShapeRef.new(shape: FileName)
387
+ FileUploadUrls.value = Shapes::ShapeRef.new(shape: UploadUrl)
388
+
294
389
  GetAppRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
295
390
  GetAppRequest.struct_class = Types::GetAppRequest
296
391
 
@@ -319,6 +414,12 @@ module Aws::Amplify
319
414
  GetJobResult.add_member(:job, Shapes::ShapeRef.new(shape: Job, required: true, location_name: "job"))
320
415
  GetJobResult.struct_class = Types::GetJobResult
321
416
 
417
+ GetWebhookRequest.add_member(:webhook_id, Shapes::ShapeRef.new(shape: WebhookId, required: true, location: "uri", location_name: "webhookId"))
418
+ GetWebhookRequest.struct_class = Types::GetWebhookRequest
419
+
420
+ GetWebhookResult.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, required: true, location_name: "webhook"))
421
+ GetWebhookResult.struct_class = Types::GetWebhookResult
422
+
322
423
  InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
323
424
  InternalFailureException.struct_class = Types::InternalFailureException
324
425
 
@@ -378,6 +479,21 @@ module Aws::Amplify
378
479
  ListJobsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
379
480
  ListJobsResult.struct_class = Types::ListJobsResult
380
481
 
482
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
483
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
484
+
485
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
486
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
487
+
488
+ ListWebhooksRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
489
+ ListWebhooksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
490
+ ListWebhooksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
491
+ ListWebhooksRequest.struct_class = Types::ListWebhooksRequest
492
+
493
+ ListWebhooksResult.add_member(:webhooks, Shapes::ShapeRef.new(shape: Webhooks, required: true, location_name: "webhooks"))
494
+ ListWebhooksResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
495
+ ListWebhooksResult.struct_class = Types::ListWebhooksResult
496
+
381
497
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
382
498
  NotFoundException.struct_class = Types::NotFoundException
383
499
 
@@ -387,9 +503,22 @@ module Aws::Amplify
387
503
  ProductionBranch.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "branchName"))
388
504
  ProductionBranch.struct_class = Types::ProductionBranch
389
505
 
506
+ ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: Code, required: true, location_name: "code"))
507
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
508
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
509
+
390
510
  Screenshots.key = Shapes::ShapeRef.new(shape: ThumbnailName)
391
511
  Screenshots.value = Shapes::ShapeRef.new(shape: ThumbnailUrl)
392
512
 
513
+ StartDeploymentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
514
+ StartDeploymentRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
515
+ StartDeploymentRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
516
+ StartDeploymentRequest.add_member(:source_url, Shapes::ShapeRef.new(shape: SourceUrl, location_name: "sourceUrl"))
517
+ StartDeploymentRequest.struct_class = Types::StartDeploymentRequest
518
+
519
+ StartDeploymentResult.add_member(:job_summary, Shapes::ShapeRef.new(shape: JobSummary, required: true, location_name: "jobSummary"))
520
+ StartDeploymentResult.struct_class = Types::StartDeploymentResult
521
+
393
522
  StartJobRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
394
523
  StartJobRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
395
524
  StartJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
@@ -410,6 +539,8 @@ module Aws::Amplify
410
539
  Step.add_member(:log_url, Shapes::ShapeRef.new(shape: LogUrl, location_name: "logUrl"))
411
540
  Step.add_member(:artifacts_url, Shapes::ShapeRef.new(shape: ArtifactsUrl, location_name: "artifactsUrl"))
412
541
  Step.add_member(:screenshots, Shapes::ShapeRef.new(shape: Screenshots, location_name: "screenshots"))
542
+ Step.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, location_name: "statusReason"))
543
+ Step.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "context"))
413
544
  Step.struct_class = Types::Step
414
545
 
415
546
  Steps.member = Shapes::ShapeRef.new(shape: Step)
@@ -435,12 +566,26 @@ module Aws::Amplify
435
566
 
436
567
  SubDomains.member = Shapes::ShapeRef.new(shape: SubDomain)
437
568
 
438
- Tags.key = Shapes::ShapeRef.new(shape: TagKey)
439
- Tags.value = Shapes::ShapeRef.new(shape: TagValue)
569
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
570
+
571
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
572
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
573
+
574
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
575
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
576
+ TagResourceRequest.struct_class = Types::TagResourceRequest
577
+
578
+ TagResourceResponse.struct_class = Types::TagResourceResponse
440
579
 
441
580
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
442
581
  UnauthorizedException.struct_class = Types::UnauthorizedException
443
582
 
583
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
584
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
585
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
586
+
587
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
588
+
444
589
  UpdateAppRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
445
590
  UpdateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
446
591
  UpdateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -452,6 +597,9 @@ module Aws::Amplify
452
597
  UpdateAppRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
453
598
  UpdateAppRequest.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
454
599
  UpdateAppRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
600
+ UpdateAppRequest.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
601
+ UpdateAppRequest.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
602
+ UpdateAppRequest.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
455
603
  UpdateAppRequest.struct_class = Types::UpdateAppRequest
456
604
 
457
605
  UpdateAppResult.add_member(:app, Shapes::ShapeRef.new(shape: App, required: true, location_name: "app"))
@@ -469,6 +617,7 @@ module Aws::Amplify
469
617
  UpdateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
470
618
  UpdateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
471
619
  UpdateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
620
+ UpdateBranchRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
472
621
  UpdateBranchRequest.struct_class = Types::UpdateBranchRequest
473
622
 
474
623
  UpdateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
@@ -483,6 +632,25 @@ module Aws::Amplify
483
632
  UpdateDomainAssociationResult.add_member(:domain_association, Shapes::ShapeRef.new(shape: DomainAssociation, required: true, location_name: "domainAssociation"))
484
633
  UpdateDomainAssociationResult.struct_class = Types::UpdateDomainAssociationResult
485
634
 
635
+ UpdateWebhookRequest.add_member(:webhook_id, Shapes::ShapeRef.new(shape: WebhookId, required: true, location: "uri", location_name: "webhookId"))
636
+ UpdateWebhookRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "branchName"))
637
+ UpdateWebhookRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
638
+ UpdateWebhookRequest.struct_class = Types::UpdateWebhookRequest
639
+
640
+ UpdateWebhookResult.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, required: true, location_name: "webhook"))
641
+ UpdateWebhookResult.struct_class = Types::UpdateWebhookResult
642
+
643
+ Webhook.add_member(:webhook_arn, Shapes::ShapeRef.new(shape: WebhookArn, required: true, location_name: "webhookArn"))
644
+ Webhook.add_member(:webhook_id, Shapes::ShapeRef.new(shape: WebhookId, required: true, location_name: "webhookId"))
645
+ Webhook.add_member(:webhook_url, Shapes::ShapeRef.new(shape: WebhookUrl, required: true, location_name: "webhookUrl"))
646
+ Webhook.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
647
+ Webhook.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
648
+ Webhook.add_member(:create_time, Shapes::ShapeRef.new(shape: CreateTime, required: true, location_name: "createTime"))
649
+ Webhook.add_member(:update_time, Shapes::ShapeRef.new(shape: UpdateTime, required: true, location_name: "updateTime"))
650
+ Webhook.struct_class = Types::Webhook
651
+
652
+ Webhooks.member = Shapes::ShapeRef.new(shape: Webhook)
653
+
486
654
 
487
655
  # @api private
488
656
  API = Seahorse::Model::Api.new.tap do |api|
@@ -529,6 +697,18 @@ module Aws::Amplify
529
697
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
530
698
  end)
531
699
 
700
+ api.add_operation(:create_deployment, Seahorse::Model::Operation.new.tap do |o|
701
+ o.name = "CreateDeployment"
702
+ o.http_method = "POST"
703
+ o.http_request_uri = "/apps/{appId}/branches/{branchName}/deployments"
704
+ o.input = Shapes::ShapeRef.new(shape: CreateDeploymentRequest)
705
+ o.output = Shapes::ShapeRef.new(shape: CreateDeploymentResult)
706
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
707
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
708
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
709
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
710
+ end)
711
+
532
712
  api.add_operation(:create_domain_association, Seahorse::Model::Operation.new.tap do |o|
533
713
  o.name = "CreateDomainAssociation"
534
714
  o.http_method = "POST"
@@ -543,6 +723,20 @@ module Aws::Amplify
543
723
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
544
724
  end)
545
725
 
726
+ api.add_operation(:create_webhook, Seahorse::Model::Operation.new.tap do |o|
727
+ o.name = "CreateWebhook"
728
+ o.http_method = "POST"
729
+ o.http_request_uri = "/apps/{appId}/webhooks"
730
+ o.input = Shapes::ShapeRef.new(shape: CreateWebhookRequest)
731
+ o.output = Shapes::ShapeRef.new(shape: CreateWebhookResult)
732
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
733
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
734
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
735
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
736
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
737
+ o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
738
+ end)
739
+
546
740
  api.add_operation(:delete_app, Seahorse::Model::Operation.new.tap do |o|
547
741
  o.name = "DeleteApp"
548
742
  o.http_method = "DELETE"
@@ -595,6 +789,19 @@ module Aws::Amplify
595
789
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
596
790
  end)
597
791
 
792
+ api.add_operation(:delete_webhook, Seahorse::Model::Operation.new.tap do |o|
793
+ o.name = "DeleteWebhook"
794
+ o.http_method = "DELETE"
795
+ o.http_request_uri = "/webhooks/{webhookId}"
796
+ o.input = Shapes::ShapeRef.new(shape: DeleteWebhookRequest)
797
+ o.output = Shapes::ShapeRef.new(shape: DeleteWebhookResult)
798
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
799
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
800
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
801
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
802
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
803
+ end)
804
+
598
805
  api.add_operation(:get_app, Seahorse::Model::Operation.new.tap do |o|
599
806
  o.name = "GetApp"
600
807
  o.http_method = "GET"
@@ -644,6 +851,19 @@ module Aws::Amplify
644
851
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
645
852
  end)
646
853
 
854
+ api.add_operation(:get_webhook, Seahorse::Model::Operation.new.tap do |o|
855
+ o.name = "GetWebhook"
856
+ o.http_method = "GET"
857
+ o.http_request_uri = "/webhooks/{webhookId}"
858
+ o.input = Shapes::ShapeRef.new(shape: GetWebhookRequest)
859
+ o.output = Shapes::ShapeRef.new(shape: GetWebhookResult)
860
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
861
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
862
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
863
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
864
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
865
+ end)
866
+
647
867
  api.add_operation(:list_apps, Seahorse::Model::Operation.new.tap do |o|
648
868
  o.name = "ListApps"
649
869
  o.http_method = "GET"
@@ -689,6 +909,42 @@ module Aws::Amplify
689
909
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
690
910
  end)
691
911
 
912
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
913
+ o.name = "ListTagsForResource"
914
+ o.http_method = "GET"
915
+ o.http_request_uri = "/tags/{resourceArn}"
916
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
917
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
918
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
919
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
920
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
921
+ end)
922
+
923
+ api.add_operation(:list_webhooks, Seahorse::Model::Operation.new.tap do |o|
924
+ o.name = "ListWebhooks"
925
+ o.http_method = "GET"
926
+ o.http_request_uri = "/apps/{appId}/webhooks"
927
+ o.input = Shapes::ShapeRef.new(shape: ListWebhooksRequest)
928
+ o.output = Shapes::ShapeRef.new(shape: ListWebhooksResult)
929
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
930
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
931
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
932
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
933
+ end)
934
+
935
+ api.add_operation(:start_deployment, Seahorse::Model::Operation.new.tap do |o|
936
+ o.name = "StartDeployment"
937
+ o.http_method = "POST"
938
+ o.http_request_uri = "/apps/{appId}/branches/{branchName}/deployments/start"
939
+ o.input = Shapes::ShapeRef.new(shape: StartDeploymentRequest)
940
+ o.output = Shapes::ShapeRef.new(shape: StartDeploymentResult)
941
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
942
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
943
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
944
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
945
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
946
+ end)
947
+
692
948
  api.add_operation(:start_job, Seahorse::Model::Operation.new.tap do |o|
693
949
  o.name = "StartJob"
694
950
  o.http_method = "POST"
@@ -715,6 +971,28 @@ module Aws::Amplify
715
971
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
716
972
  end)
717
973
 
974
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
975
+ o.name = "TagResource"
976
+ o.http_method = "POST"
977
+ o.http_request_uri = "/tags/{resourceArn}"
978
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
979
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
980
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
981
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
982
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
983
+ end)
984
+
985
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
986
+ o.name = "UntagResource"
987
+ o.http_method = "DELETE"
988
+ o.http_request_uri = "/tags/{resourceArn}"
989
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
990
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
991
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
992
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
993
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
994
+ end)
995
+
718
996
  api.add_operation(:update_app, Seahorse::Model::Operation.new.tap do |o|
719
997
  o.name = "UpdateApp"
720
998
  o.http_method = "POST"
@@ -752,6 +1030,19 @@ module Aws::Amplify
752
1030
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
753
1031
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
754
1032
  end)
1033
+
1034
+ api.add_operation(:update_webhook, Seahorse::Model::Operation.new.tap do |o|
1035
+ o.name = "UpdateWebhook"
1036
+ o.http_method = "POST"
1037
+ o.http_request_uri = "/webhooks/{webhookId}"
1038
+ o.input = Shapes::ShapeRef.new(shape: UpdateWebhookRequest)
1039
+ o.output = Shapes::ShapeRef.new(shape: UpdateWebhookResult)
1040
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1042
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1043
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1044
+ o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
1045
+ end)
755
1046
  end
756
1047
 
757
1048
  end