1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class Amplify extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: Amplify.Types.ClientConfiguration)
|
13 | config: Config & Amplify.Types.ClientConfiguration;
|
14 | /**
|
15 | * Creates a new Amplify App.
|
16 | */
|
17 | createApp(params: Amplify.Types.CreateAppRequest, callback?: (err: AWSError, data: Amplify.Types.CreateAppResult) => void): Request<Amplify.Types.CreateAppResult, AWSError>;
|
18 | /**
|
19 | * Creates a new Amplify App.
|
20 | */
|
21 | createApp(callback?: (err: AWSError, data: Amplify.Types.CreateAppResult) => void): Request<Amplify.Types.CreateAppResult, AWSError>;
|
22 | /**
|
23 | * Creates a new Branch for an Amplify App.
|
24 | */
|
25 | createBranch(params: Amplify.Types.CreateBranchRequest, callback?: (err: AWSError, data: Amplify.Types.CreateBranchResult) => void): Request<Amplify.Types.CreateBranchResult, AWSError>;
|
26 | /**
|
27 | * Creates a new Branch for an Amplify App.
|
28 | */
|
29 | createBranch(callback?: (err: AWSError, data: Amplify.Types.CreateBranchResult) => void): Request<Amplify.Types.CreateBranchResult, AWSError>;
|
30 | /**
|
31 | * Create a deployment for manual deploy apps. (Apps are not connected to repository)
|
32 | */
|
33 | createDeployment(params: Amplify.Types.CreateDeploymentRequest, callback?: (err: AWSError, data: Amplify.Types.CreateDeploymentResult) => void): Request<Amplify.Types.CreateDeploymentResult, AWSError>;
|
34 | /**
|
35 | * Create a deployment for manual deploy apps. (Apps are not connected to repository)
|
36 | */
|
37 | createDeployment(callback?: (err: AWSError, data: Amplify.Types.CreateDeploymentResult) => void): Request<Amplify.Types.CreateDeploymentResult, AWSError>;
|
38 | /**
|
39 | * Create a new DomainAssociation on an App
|
40 | */
|
41 | createDomainAssociation(params: Amplify.Types.CreateDomainAssociationRequest, callback?: (err: AWSError, data: Amplify.Types.CreateDomainAssociationResult) => void): Request<Amplify.Types.CreateDomainAssociationResult, AWSError>;
|
42 | /**
|
43 | * Create a new DomainAssociation on an App
|
44 | */
|
45 | createDomainAssociation(callback?: (err: AWSError, data: Amplify.Types.CreateDomainAssociationResult) => void): Request<Amplify.Types.CreateDomainAssociationResult, AWSError>;
|
46 | /**
|
47 | * Create a new webhook on an App.
|
48 | */
|
49 | createWebhook(params: Amplify.Types.CreateWebhookRequest, callback?: (err: AWSError, data: Amplify.Types.CreateWebhookResult) => void): Request<Amplify.Types.CreateWebhookResult, AWSError>;
|
50 | /**
|
51 | * Create a new webhook on an App.
|
52 | */
|
53 | createWebhook(callback?: (err: AWSError, data: Amplify.Types.CreateWebhookResult) => void): Request<Amplify.Types.CreateWebhookResult, AWSError>;
|
54 | /**
|
55 | * Delete an existing Amplify App by appId.
|
56 | */
|
57 | deleteApp(params: Amplify.Types.DeleteAppRequest, callback?: (err: AWSError, data: Amplify.Types.DeleteAppResult) => void): Request<Amplify.Types.DeleteAppResult, AWSError>;
|
58 | /**
|
59 | * Delete an existing Amplify App by appId.
|
60 | */
|
61 | deleteApp(callback?: (err: AWSError, data: Amplify.Types.DeleteAppResult) => void): Request<Amplify.Types.DeleteAppResult, AWSError>;
|
62 | /**
|
63 | * Deletes a branch for an Amplify App.
|
64 | */
|
65 | deleteBranch(params: Amplify.Types.DeleteBranchRequest, callback?: (err: AWSError, data: Amplify.Types.DeleteBranchResult) => void): Request<Amplify.Types.DeleteBranchResult, AWSError>;
|
66 | /**
|
67 | * Deletes a branch for an Amplify App.
|
68 | */
|
69 | deleteBranch(callback?: (err: AWSError, data: Amplify.Types.DeleteBranchResult) => void): Request<Amplify.Types.DeleteBranchResult, AWSError>;
|
70 | /**
|
71 | * Deletes a DomainAssociation.
|
72 | */
|
73 | deleteDomainAssociation(params: Amplify.Types.DeleteDomainAssociationRequest, callback?: (err: AWSError, data: Amplify.Types.DeleteDomainAssociationResult) => void): Request<Amplify.Types.DeleteDomainAssociationResult, AWSError>;
|
74 | /**
|
75 | * Deletes a DomainAssociation.
|
76 | */
|
77 | deleteDomainAssociation(callback?: (err: AWSError, data: Amplify.Types.DeleteDomainAssociationResult) => void): Request<Amplify.Types.DeleteDomainAssociationResult, AWSError>;
|
78 | /**
|
79 | * Delete a job, for an Amplify branch, part of Amplify App.
|
80 | */
|
81 | deleteJob(params: Amplify.Types.DeleteJobRequest, callback?: (err: AWSError, data: Amplify.Types.DeleteJobResult) => void): Request<Amplify.Types.DeleteJobResult, AWSError>;
|
82 | /**
|
83 | * Delete a job, for an Amplify branch, part of Amplify App.
|
84 | */
|
85 | deleteJob(callback?: (err: AWSError, data: Amplify.Types.DeleteJobResult) => void): Request<Amplify.Types.DeleteJobResult, AWSError>;
|
86 | /**
|
87 | * Deletes a webhook.
|
88 | */
|
89 | deleteWebhook(params: Amplify.Types.DeleteWebhookRequest, callback?: (err: AWSError, data: Amplify.Types.DeleteWebhookResult) => void): Request<Amplify.Types.DeleteWebhookResult, AWSError>;
|
90 | /**
|
91 | * Deletes a webhook.
|
92 | */
|
93 | deleteWebhook(callback?: (err: AWSError, data: Amplify.Types.DeleteWebhookResult) => void): Request<Amplify.Types.DeleteWebhookResult, AWSError>;
|
94 | /**
|
95 | * Retrieve website access logs for a specific time range via a pre-signed URL. Optionally, deliver the logs to a given S3 bucket.
|
96 | */
|
97 | generateAccessLogs(params: Amplify.Types.GenerateAccessLogsRequest, callback?: (err: AWSError, data: Amplify.Types.GenerateAccessLogsResult) => void): Request<Amplify.Types.GenerateAccessLogsResult, AWSError>;
|
98 | /**
|
99 | * Retrieve website access logs for a specific time range via a pre-signed URL. Optionally, deliver the logs to a given S3 bucket.
|
100 | */
|
101 | generateAccessLogs(callback?: (err: AWSError, data: Amplify.Types.GenerateAccessLogsResult) => void): Request<Amplify.Types.GenerateAccessLogsResult, AWSError>;
|
102 | /**
|
103 | * Retrieves an existing Amplify App by appId.
|
104 | */
|
105 | getApp(params: Amplify.Types.GetAppRequest, callback?: (err: AWSError, data: Amplify.Types.GetAppResult) => void): Request<Amplify.Types.GetAppResult, AWSError>;
|
106 | /**
|
107 | * Retrieves an existing Amplify App by appId.
|
108 | */
|
109 | getApp(callback?: (err: AWSError, data: Amplify.Types.GetAppResult) => void): Request<Amplify.Types.GetAppResult, AWSError>;
|
110 | /**
|
111 | * Retrieves artifact info that corresponds to a artifactId.
|
112 | */
|
113 | getArtifactUrl(params: Amplify.Types.GetArtifactUrlRequest, callback?: (err: AWSError, data: Amplify.Types.GetArtifactUrlResult) => void): Request<Amplify.Types.GetArtifactUrlResult, AWSError>;
|
114 | /**
|
115 | * Retrieves artifact info that corresponds to a artifactId.
|
116 | */
|
117 | getArtifactUrl(callback?: (err: AWSError, data: Amplify.Types.GetArtifactUrlResult) => void): Request<Amplify.Types.GetArtifactUrlResult, AWSError>;
|
118 | /**
|
119 | * Retrieves a branch for an Amplify App.
|
120 | */
|
121 | getBranch(params: Amplify.Types.GetBranchRequest, callback?: (err: AWSError, data: Amplify.Types.GetBranchResult) => void): Request<Amplify.Types.GetBranchResult, AWSError>;
|
122 | /**
|
123 | * Retrieves a branch for an Amplify App.
|
124 | */
|
125 | getBranch(callback?: (err: AWSError, data: Amplify.Types.GetBranchResult) => void): Request<Amplify.Types.GetBranchResult, AWSError>;
|
126 | /**
|
127 | * Retrieves domain info that corresponds to an appId and domainName.
|
128 | */
|
129 | getDomainAssociation(params: Amplify.Types.GetDomainAssociationRequest, callback?: (err: AWSError, data: Amplify.Types.GetDomainAssociationResult) => void): Request<Amplify.Types.GetDomainAssociationResult, AWSError>;
|
130 | /**
|
131 | * Retrieves domain info that corresponds to an appId and domainName.
|
132 | */
|
133 | getDomainAssociation(callback?: (err: AWSError, data: Amplify.Types.GetDomainAssociationResult) => void): Request<Amplify.Types.GetDomainAssociationResult, AWSError>;
|
134 | /**
|
135 | * Get a job for a branch, part of an Amplify App.
|
136 | */
|
137 | getJob(params: Amplify.Types.GetJobRequest, callback?: (err: AWSError, data: Amplify.Types.GetJobResult) => void): Request<Amplify.Types.GetJobResult, AWSError>;
|
138 | /**
|
139 | * Get a job for a branch, part of an Amplify App.
|
140 | */
|
141 | getJob(callback?: (err: AWSError, data: Amplify.Types.GetJobResult) => void): Request<Amplify.Types.GetJobResult, AWSError>;
|
142 | /**
|
143 | * Retrieves webhook info that corresponds to a webhookId.
|
144 | */
|
145 | getWebhook(params: Amplify.Types.GetWebhookRequest, callback?: (err: AWSError, data: Amplify.Types.GetWebhookResult) => void): Request<Amplify.Types.GetWebhookResult, AWSError>;
|
146 | /**
|
147 | * Retrieves webhook info that corresponds to a webhookId.
|
148 | */
|
149 | getWebhook(callback?: (err: AWSError, data: Amplify.Types.GetWebhookResult) => void): Request<Amplify.Types.GetWebhookResult, AWSError>;
|
150 | /**
|
151 | * Lists existing Amplify Apps.
|
152 | */
|
153 | listApps(params: Amplify.Types.ListAppsRequest, callback?: (err: AWSError, data: Amplify.Types.ListAppsResult) => void): Request<Amplify.Types.ListAppsResult, AWSError>;
|
154 | /**
|
155 | * Lists existing Amplify Apps.
|
156 | */
|
157 | listApps(callback?: (err: AWSError, data: Amplify.Types.ListAppsResult) => void): Request<Amplify.Types.ListAppsResult, AWSError>;
|
158 | /**
|
159 | * List artifacts with an app, a branch, a job and an artifact type.
|
160 | */
|
161 | listArtifacts(params: Amplify.Types.ListArtifactsRequest, callback?: (err: AWSError, data: Amplify.Types.ListArtifactsResult) => void): Request<Amplify.Types.ListArtifactsResult, AWSError>;
|
162 | /**
|
163 | * List artifacts with an app, a branch, a job and an artifact type.
|
164 | */
|
165 | listArtifacts(callback?: (err: AWSError, data: Amplify.Types.ListArtifactsResult) => void): Request<Amplify.Types.ListArtifactsResult, AWSError>;
|
166 | /**
|
167 | * Lists branches for an Amplify App.
|
168 | */
|
169 | listBranches(params: Amplify.Types.ListBranchesRequest, callback?: (err: AWSError, data: Amplify.Types.ListBranchesResult) => void): Request<Amplify.Types.ListBranchesResult, AWSError>;
|
170 | /**
|
171 | * Lists branches for an Amplify App.
|
172 | */
|
173 | listBranches(callback?: (err: AWSError, data: Amplify.Types.ListBranchesResult) => void): Request<Amplify.Types.ListBranchesResult, AWSError>;
|
174 | /**
|
175 | * List domains with an app
|
176 | */
|
177 | listDomainAssociations(params: Amplify.Types.ListDomainAssociationsRequest, callback?: (err: AWSError, data: Amplify.Types.ListDomainAssociationsResult) => void): Request<Amplify.Types.ListDomainAssociationsResult, AWSError>;
|
178 | /**
|
179 | * List domains with an app
|
180 | */
|
181 | listDomainAssociations(callback?: (err: AWSError, data: Amplify.Types.ListDomainAssociationsResult) => void): Request<Amplify.Types.ListDomainAssociationsResult, AWSError>;
|
182 | /**
|
183 | * List Jobs for a branch, part of an Amplify App.
|
184 | */
|
185 | listJobs(params: Amplify.Types.ListJobsRequest, callback?: (err: AWSError, data: Amplify.Types.ListJobsResult) => void): Request<Amplify.Types.ListJobsResult, AWSError>;
|
186 | /**
|
187 | * List Jobs for a branch, part of an Amplify App.
|
188 | */
|
189 | listJobs(callback?: (err: AWSError, data: Amplify.Types.ListJobsResult) => void): Request<Amplify.Types.ListJobsResult, AWSError>;
|
190 | /**
|
191 | * List tags for resource.
|
192 | */
|
193 | listTagsForResource(params: Amplify.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Amplify.Types.ListTagsForResourceResponse) => void): Request<Amplify.Types.ListTagsForResourceResponse, AWSError>;
|
194 | /**
|
195 | * List tags for resource.
|
196 | */
|
197 | listTagsForResource(callback?: (err: AWSError, data: Amplify.Types.ListTagsForResourceResponse) => void): Request<Amplify.Types.ListTagsForResourceResponse, AWSError>;
|
198 | /**
|
199 | * List webhooks with an app.
|
200 | */
|
201 | listWebhooks(params: Amplify.Types.ListWebhooksRequest, callback?: (err: AWSError, data: Amplify.Types.ListWebhooksResult) => void): Request<Amplify.Types.ListWebhooksResult, AWSError>;
|
202 | /**
|
203 | * List webhooks with an app.
|
204 | */
|
205 | listWebhooks(callback?: (err: AWSError, data: Amplify.Types.ListWebhooksResult) => void): Request<Amplify.Types.ListWebhooksResult, AWSError>;
|
206 | /**
|
207 | * Start a deployment for manual deploy apps. (Apps are not connected to repository)
|
208 | */
|
209 | startDeployment(params: Amplify.Types.StartDeploymentRequest, callback?: (err: AWSError, data: Amplify.Types.StartDeploymentResult) => void): Request<Amplify.Types.StartDeploymentResult, AWSError>;
|
210 | /**
|
211 | * Start a deployment for manual deploy apps. (Apps are not connected to repository)
|
212 | */
|
213 | startDeployment(callback?: (err: AWSError, data: Amplify.Types.StartDeploymentResult) => void): Request<Amplify.Types.StartDeploymentResult, AWSError>;
|
214 | /**
|
215 | * Starts a new job for a branch, part of an Amplify App.
|
216 | */
|
217 | startJob(params: Amplify.Types.StartJobRequest, callback?: (err: AWSError, data: Amplify.Types.StartJobResult) => void): Request<Amplify.Types.StartJobResult, AWSError>;
|
218 | /**
|
219 | * Starts a new job for a branch, part of an Amplify App.
|
220 | */
|
221 | startJob(callback?: (err: AWSError, data: Amplify.Types.StartJobResult) => void): Request<Amplify.Types.StartJobResult, AWSError>;
|
222 | /**
|
223 | * Stop a job that is in progress, for an Amplify branch, part of Amplify App.
|
224 | */
|
225 | stopJob(params: Amplify.Types.StopJobRequest, callback?: (err: AWSError, data: Amplify.Types.StopJobResult) => void): Request<Amplify.Types.StopJobResult, AWSError>;
|
226 | /**
|
227 | * Stop a job that is in progress, for an Amplify branch, part of Amplify App.
|
228 | */
|
229 | stopJob(callback?: (err: AWSError, data: Amplify.Types.StopJobResult) => void): Request<Amplify.Types.StopJobResult, AWSError>;
|
230 | /**
|
231 | * Tag resource with tag key and value.
|
232 | */
|
233 | tagResource(params: Amplify.Types.TagResourceRequest, callback?: (err: AWSError, data: Amplify.Types.TagResourceResponse) => void): Request<Amplify.Types.TagResourceResponse, AWSError>;
|
234 | /**
|
235 | * Tag resource with tag key and value.
|
236 | */
|
237 | tagResource(callback?: (err: AWSError, data: Amplify.Types.TagResourceResponse) => void): Request<Amplify.Types.TagResourceResponse, AWSError>;
|
238 | /**
|
239 | * Untag resource with resourceArn.
|
240 | */
|
241 | untagResource(params: Amplify.Types.UntagResourceRequest, callback?: (err: AWSError, data: Amplify.Types.UntagResourceResponse) => void): Request<Amplify.Types.UntagResourceResponse, AWSError>;
|
242 | /**
|
243 | * Untag resource with resourceArn.
|
244 | */
|
245 | untagResource(callback?: (err: AWSError, data: Amplify.Types.UntagResourceResponse) => void): Request<Amplify.Types.UntagResourceResponse, AWSError>;
|
246 | /**
|
247 | * Updates an existing Amplify App.
|
248 | */
|
249 | updateApp(params: Amplify.Types.UpdateAppRequest, callback?: (err: AWSError, data: Amplify.Types.UpdateAppResult) => void): Request<Amplify.Types.UpdateAppResult, AWSError>;
|
250 | /**
|
251 | * Updates an existing Amplify App.
|
252 | */
|
253 | updateApp(callback?: (err: AWSError, data: Amplify.Types.UpdateAppResult) => void): Request<Amplify.Types.UpdateAppResult, AWSError>;
|
254 | /**
|
255 | * Updates a branch for an Amplify App.
|
256 | */
|
257 | updateBranch(params: Amplify.Types.UpdateBranchRequest, callback?: (err: AWSError, data: Amplify.Types.UpdateBranchResult) => void): Request<Amplify.Types.UpdateBranchResult, AWSError>;
|
258 | /**
|
259 | * Updates a branch for an Amplify App.
|
260 | */
|
261 | updateBranch(callback?: (err: AWSError, data: Amplify.Types.UpdateBranchResult) => void): Request<Amplify.Types.UpdateBranchResult, AWSError>;
|
262 | /**
|
263 | * Create a new DomainAssociation on an App
|
264 | */
|
265 | updateDomainAssociation(params: Amplify.Types.UpdateDomainAssociationRequest, callback?: (err: AWSError, data: Amplify.Types.UpdateDomainAssociationResult) => void): Request<Amplify.Types.UpdateDomainAssociationResult, AWSError>;
|
266 | /**
|
267 | * Create a new DomainAssociation on an App
|
268 | */
|
269 | updateDomainAssociation(callback?: (err: AWSError, data: Amplify.Types.UpdateDomainAssociationResult) => void): Request<Amplify.Types.UpdateDomainAssociationResult, AWSError>;
|
270 | /**
|
271 | * Update a webhook.
|
272 | */
|
273 | updateWebhook(params: Amplify.Types.UpdateWebhookRequest, callback?: (err: AWSError, data: Amplify.Types.UpdateWebhookResult) => void): Request<Amplify.Types.UpdateWebhookResult, AWSError>;
|
274 | /**
|
275 | * Update a webhook.
|
276 | */
|
277 | updateWebhook(callback?: (err: AWSError, data: Amplify.Types.UpdateWebhookResult) => void): Request<Amplify.Types.UpdateWebhookResult, AWSError>;
|
278 | }
|
279 | declare namespace Amplify {
|
280 | export type AccessToken = string;
|
281 | export type ActiveJobId = string;
|
282 | export interface App {
|
283 | |
284 |
|
285 |
|
286 | appId: AppId;
|
287 | |
288 |
|
289 |
|
290 | appArn: AppArn;
|
291 | |
292 |
|
293 |
|
294 | name: Name;
|
295 | |
296 |
|
297 |
|
298 | tags?: TagMap;
|
299 | |
300 |
|
301 |
|
302 | description: Description;
|
303 | |
304 |
|
305 |
|
306 | repository: Repository;
|
307 | |
308 |
|
309 |
|
310 | platform: Platform;
|
311 | |
312 |
|
313 |
|
314 | createTime: CreateTime;
|
315 | |
316 |
|
317 |
|
318 | updateTime: UpdateTime;
|
319 | |
320 |
|
321 |
|
322 | iamServiceRoleArn?: ServiceRoleArn;
|
323 | |
324 |
|
325 |
|
326 | environmentVariables: EnvironmentVariables;
|
327 | |
328 |
|
329 |
|
330 | defaultDomain: DefaultDomain;
|
331 | |
332 |
|
333 |
|
334 | enableBranchAutoBuild: EnableBranchAutoBuild;
|
335 | |
336 |
|
337 |
|
338 | enableBasicAuth: EnableBasicAuth;
|
339 | |
340 |
|
341 |
|
342 | basicAuthCredentials?: BasicAuthCredentials;
|
343 | |
344 |
|
345 |
|
346 | customRules?: CustomRules;
|
347 | |
348 |
|
349 |
|
350 | productionBranch?: ProductionBranch;
|
351 | |
352 |
|
353 |
|
354 | buildSpec?: BuildSpec;
|
355 | |
356 |
|
357 |
|
358 | enableAutoBranchCreation?: EnableAutoBranchCreation;
|
359 | |
360 |
|
361 |
|
362 | autoBranchCreationPatterns?: AutoBranchCreationPatterns;
|
363 | |
364 |
|
365 |
|
366 | autoBranchCreationConfig?: AutoBranchCreationConfig;
|
367 | }
|
368 | export type AppArn = string;
|
369 | export type AppId = string;
|
370 | export type Apps = App[];
|
371 | export interface Artifact {
|
372 | |
373 |
|
374 |
|
375 | artifactFileName: ArtifactFileName;
|
376 | |
377 |
|
378 |
|
379 | artifactId: ArtifactId;
|
380 | }
|
381 | export type ArtifactFileName = string;
|
382 | export type ArtifactId = string;
|
383 | export type ArtifactType = "TEST"|string;
|
384 | export type ArtifactUrl = string;
|
385 | export type Artifacts = Artifact[];
|
386 | export type ArtifactsUrl = string;
|
387 | export type AssociatedResource = string;
|
388 | export type AssociatedResources = AssociatedResource[];
|
389 | export interface AutoBranchCreationConfig {
|
390 | |
391 |
|
392 |
|
393 | stage?: Stage;
|
394 | |
395 |
|
396 |
|
397 | framework?: Framework;
|
398 | |
399 |
|
400 |
|
401 | enableAutoBuild?: EnableAutoBuild;
|
402 | |
403 |
|
404 |
|
405 | environmentVariables?: EnvironmentVariables;
|
406 | |
407 |
|
408 |
|
409 | basicAuthCredentials?: BasicAuthCredentials;
|
410 | |
411 |
|
412 |
|
413 | enableBasicAuth?: EnableBasicAuth;
|
414 | |
415 |
|
416 |
|
417 | buildSpec?: BuildSpec;
|
418 | |
419 |
|
420 |
|
421 | enablePullRequestPreview?: EnablePullRequestPreview;
|
422 | }
|
423 | export type AutoBranchCreationPattern = string;
|
424 | export type AutoBranchCreationPatterns = AutoBranchCreationPattern[];
|
425 | export type BasicAuthCredentials = string;
|
426 | export interface Branch {
|
427 | |
428 |
|
429 |
|
430 | branchArn: BranchArn;
|
431 | |
432 |
|
433 |
|
434 | branchName: BranchName;
|
435 | |
436 |
|
437 |
|
438 | description: Description;
|
439 | |
440 |
|
441 |
|
442 | tags?: TagMap;
|
443 | |
444 |
|
445 |
|
446 | stage: Stage;
|
447 | |
448 |
|
449 |
|
450 | displayName: DisplayName;
|
451 | |
452 |
|
453 |
|
454 | enableNotification: EnableNotification;
|
455 | |
456 |
|
457 |
|
458 | createTime: CreateTime;
|
459 | |
460 |
|
461 |
|
462 | updateTime: UpdateTime;
|
463 | |
464 |
|
465 |
|
466 | environmentVariables: EnvironmentVariables;
|
467 | |
468 |
|
469 |
|
470 | enableAutoBuild: EnableAutoBuild;
|
471 | |
472 |
|
473 |
|
474 | customDomains: CustomDomains;
|
475 | |
476 |
|
477 |
|
478 | framework: Framework;
|
479 | |
480 |
|
481 |
|
482 | activeJobId: ActiveJobId;
|
483 | |
484 |
|
485 |
|
486 | totalNumberOfJobs: TotalNumberOfJobs;
|
487 | |
488 |
|
489 |
|
490 | enableBasicAuth: EnableBasicAuth;
|
491 | |
492 |
|
493 |
|
494 | thumbnailUrl?: ThumbnailUrl;
|
495 | |
496 |
|
497 |
|
498 | basicAuthCredentials?: BasicAuthCredentials;
|
499 | |
500 |
|
501 |
|
502 | buildSpec?: BuildSpec;
|
503 | |
504 |
|
505 |
|
506 | ttl: TTL;
|
507 | |
508 |
|
509 |
|
510 | associatedResources?: AssociatedResources;
|
511 | |
512 |
|
513 |
|
514 | enablePullRequestPreview: EnablePullRequestPreview;
|
515 | |
516 |
|
517 |
|
518 | destinationBranch?: BranchName;
|
519 | |
520 |
|
521 |
|
522 | sourceBranch?: BranchName;
|
523 | }
|
524 | export type BranchArn = string;
|
525 | export type BranchName = string;
|
526 | export type Branches = Branch[];
|
527 | export type BuildSpec = string;
|
528 | export type CertificateVerificationDNSRecord = string;
|
529 | export type CommitId = string;
|
530 | export type CommitMessage = string;
|
531 | export type CommitTime = Date;
|
532 | export type Condition = string;
|
533 | export type Context = string;
|
534 | export interface CreateAppRequest {
|
535 | |
536 |
|
537 |
|
538 | name: Name;
|
539 | |
540 |
|
541 |
|
542 | description?: Description;
|
543 | |
544 |
|
545 |
|
546 | repository?: Repository;
|
547 | |
548 |
|
549 |
|
550 | platform?: Platform;
|
551 | |
552 |
|
553 |
|
554 | iamServiceRoleArn?: ServiceRoleArn;
|
555 | |
556 |
|
557 |
|
558 | oauthToken?: OauthToken;
|
559 | |
560 |
|
561 |
|
562 | accessToken?: AccessToken;
|
563 | |
564 |
|
565 |
|
566 | environmentVariables?: EnvironmentVariables;
|
567 | |
568 |
|
569 |
|
570 | enableBranchAutoBuild?: EnableBranchAutoBuild;
|
571 | |
572 |
|
573 |
|
574 | enableBasicAuth?: EnableBasicAuth;
|
575 | |
576 |
|
577 |
|
578 | basicAuthCredentials?: BasicAuthCredentials;
|
579 | |
580 |
|
581 |
|
582 | customRules?: CustomRules;
|
583 | |
584 |
|
585 |
|
586 | tags?: TagMap;
|
587 | |
588 |
|
589 |
|
590 | buildSpec?: BuildSpec;
|
591 | |
592 |
|
593 |
|
594 | enableAutoBranchCreation?: EnableAutoBranchCreation;
|
595 | |
596 |
|
597 |
|
598 | autoBranchCreationPatterns?: AutoBranchCreationPatterns;
|
599 | |
600 |
|
601 |
|
602 | autoBranchCreationConfig?: AutoBranchCreationConfig;
|
603 | }
|
604 | export interface CreateAppResult {
|
605 | app: App;
|
606 | }
|
607 | export interface CreateBranchRequest {
|
608 | |
609 |
|
610 |
|
611 | appId: AppId;
|
612 | |
613 |
|
614 |
|
615 | branchName: BranchName;
|
616 | |
617 |
|
618 |
|
619 | description?: Description;
|
620 | |
621 |
|
622 |
|
623 | stage?: Stage;
|
624 | |
625 |
|
626 |
|
627 | framework?: Framework;
|
628 | |
629 |
|
630 |
|
631 | enableNotification?: EnableNotification;
|
632 | |
633 |
|
634 |
|
635 | enableAutoBuild?: EnableAutoBuild;
|
636 | |
637 |
|
638 |
|
639 | environmentVariables?: EnvironmentVariables;
|
640 | |
641 |
|
642 |
|
643 | basicAuthCredentials?: BasicAuthCredentials;
|
644 | |
645 |
|
646 |
|
647 | enableBasicAuth?: EnableBasicAuth;
|
648 | |
649 |
|
650 |
|
651 | tags?: TagMap;
|
652 | |
653 |
|
654 |
|
655 | buildSpec?: BuildSpec;
|
656 | |
657 |
|
658 |
|
659 | ttl?: TTL;
|
660 | |
661 |
|
662 |
|
663 | displayName?: DisplayName;
|
664 | |
665 |
|
666 |
|
667 | enablePullRequestPreview?: EnablePullRequestPreview;
|
668 | }
|
669 | export interface CreateBranchResult {
|
670 | |
671 |
|
672 |
|
673 | branch: Branch;
|
674 | }
|
675 | export interface CreateDeploymentRequest {
|
676 | |
677 |
|
678 |
|
679 | appId: AppId;
|
680 | |
681 |
|
682 |
|
683 | branchName: BranchName;
|
684 | |
685 |
|
686 |
|
687 | fileMap?: FileMap;
|
688 | }
|
689 | export interface CreateDeploymentResult {
|
690 | |
691 |
|
692 |
|
693 | jobId?: JobId;
|
694 | |
695 |
|
696 |
|
697 | fileUploadUrls: FileUploadUrls;
|
698 | |
699 |
|
700 |
|
701 | zipUploadUrl: UploadUrl;
|
702 | }
|
703 | export interface CreateDomainAssociationRequest {
|
704 | |
705 |
|
706 |
|
707 | appId: AppId;
|
708 | |
709 |
|
710 |
|
711 | domainName: DomainName;
|
712 | |
713 |
|
714 |
|
715 | enableAutoSubDomain?: EnableAutoSubDomain;
|
716 | |
717 |
|
718 |
|
719 | subDomainSettings: SubDomainSettings;
|
720 | }
|
721 | export interface CreateDomainAssociationResult {
|
722 | |
723 |
|
724 |
|
725 | domainAssociation: DomainAssociation;
|
726 | }
|
727 | export type CreateTime = Date;
|
728 | export interface CreateWebhookRequest {
|
729 | |
730 |
|
731 |
|
732 | appId: AppId;
|
733 | |
734 |
|
735 |
|
736 | branchName: BranchName;
|
737 | |
738 |
|
739 |
|
740 | description?: Description;
|
741 | }
|
742 | export interface CreateWebhookResult {
|
743 | |
744 |
|
745 |
|
746 | webhook: Webhook;
|
747 | }
|
748 | export type CustomDomain = string;
|
749 | export type CustomDomains = CustomDomain[];
|
750 | export interface CustomRule {
|
751 | |
752 |
|
753 |
|
754 | source: Source;
|
755 | |
756 |
|
757 |
|
758 | target: Target;
|
759 | |
760 |
|
761 |
|
762 | status?: Status;
|
763 | |
764 |
|
765 |
|
766 | condition?: Condition;
|
767 | }
|
768 | export type CustomRules = CustomRule[];
|
769 | export type DNSRecord = string;
|
770 | export type DefaultDomain = string;
|
771 | export interface DeleteAppRequest {
|
772 | |
773 |
|
774 |
|
775 | appId: AppId;
|
776 | }
|
777 | export interface DeleteAppResult {
|
778 | app: App;
|
779 | }
|
780 | export interface DeleteBranchRequest {
|
781 | |
782 |
|
783 |
|
784 | appId: AppId;
|
785 | |
786 |
|
787 |
|
788 | branchName: BranchName;
|
789 | }
|
790 | export interface DeleteBranchResult {
|
791 | |
792 |
|
793 |
|
794 | branch: Branch;
|
795 | }
|
796 | export interface DeleteDomainAssociationRequest {
|
797 | |
798 |
|
799 |
|
800 | appId: AppId;
|
801 | |
802 |
|
803 |
|
804 | domainName: DomainName;
|
805 | }
|
806 | export interface DeleteDomainAssociationResult {
|
807 | domainAssociation: DomainAssociation;
|
808 | }
|
809 | export interface DeleteJobRequest {
|
810 | |
811 |
|
812 |
|
813 | appId: AppId;
|
814 | |
815 |
|
816 |
|
817 | branchName: BranchName;
|
818 | |
819 |
|
820 |
|
821 | jobId: JobId;
|
822 | }
|
823 | export interface DeleteJobResult {
|
824 | jobSummary: JobSummary;
|
825 | }
|
826 | export interface DeleteWebhookRequest {
|
827 | |
828 |
|
829 |
|
830 | webhookId: WebhookId;
|
831 | }
|
832 | export interface DeleteWebhookResult {
|
833 | |
834 |
|
835 |
|
836 | webhook: Webhook;
|
837 | }
|
838 | export type Description = string;
|
839 | export type DisplayName = string;
|
840 | export interface DomainAssociation {
|
841 | |
842 |
|
843 |
|
844 | domainAssociationArn: DomainAssociationArn;
|
845 | |
846 |
|
847 |
|
848 | domainName: DomainName;
|
849 | |
850 |
|
851 |
|
852 | enableAutoSubDomain: EnableAutoSubDomain;
|
853 | |
854 |
|
855 |
|
856 | domainStatus: DomainStatus;
|
857 | |
858 |
|
859 |
|
860 | statusReason: StatusReason;
|
861 | |
862 |
|
863 |
|
864 | certificateVerificationDNSRecord?: CertificateVerificationDNSRecord;
|
865 | |
866 |
|
867 |
|
868 | subDomains: SubDomains;
|
869 | }
|
870 | export type DomainAssociationArn = string;
|
871 | export type DomainAssociations = DomainAssociation[];
|
872 | export type DomainName = string;
|
873 | export type DomainPrefix = string;
|
874 | export type DomainStatus = "PENDING_VERIFICATION"|"IN_PROGRESS"|"AVAILABLE"|"PENDING_DEPLOYMENT"|"FAILED"|"CREATING"|"REQUESTING_CERTIFICATE"|"UPDATING"|string;
|
875 | export type EnableAutoBranchCreation = boolean;
|
876 | export type EnableAutoBuild = boolean;
|
877 | export type EnableAutoSubDomain = boolean;
|
878 | export type EnableBasicAuth = boolean;
|
879 | export type EnableBranchAutoBuild = boolean;
|
880 | export type EnableNotification = boolean;
|
881 | export type EnablePullRequestPreview = boolean;
|
882 | export type EndTime = Date;
|
883 | export type EnvKey = string;
|
884 | export type EnvValue = string;
|
885 | export type EnvironmentVariables = {[key: string]: EnvValue};
|
886 | export type FileMap = {[key: string]: MD5Hash};
|
887 | export type FileName = string;
|
888 | export type FileUploadUrls = {[key: string]: UploadUrl};
|
889 | export type Framework = string;
|
890 | export interface GenerateAccessLogsRequest {
|
891 | |
892 |
|
893 |
|
894 | startTime?: StartTime;
|
895 | |
896 |
|
897 |
|
898 | endTime?: EndTime;
|
899 | |
900 |
|
901 |
|
902 | domainName: DomainName;
|
903 | |
904 |
|
905 |
|
906 | appId: AppId;
|
907 | }
|
908 | export interface GenerateAccessLogsResult {
|
909 | |
910 |
|
911 |
|
912 | logUrl?: LogUrl;
|
913 | }
|
914 | export interface GetAppRequest {
|
915 | |
916 |
|
917 |
|
918 | appId: AppId;
|
919 | }
|
920 | export interface GetAppResult {
|
921 | app: App;
|
922 | }
|
923 | export interface GetArtifactUrlRequest {
|
924 | |
925 |
|
926 |
|
927 | artifactId: ArtifactId;
|
928 | }
|
929 | export interface GetArtifactUrlResult {
|
930 | |
931 |
|
932 |
|
933 | artifactId: ArtifactId;
|
934 | |
935 |
|
936 |
|
937 | artifactUrl: ArtifactUrl;
|
938 | }
|
939 | export interface GetBranchRequest {
|
940 | |
941 |
|
942 |
|
943 | appId: AppId;
|
944 | |
945 |
|
946 |
|
947 | branchName: BranchName;
|
948 | }
|
949 | export interface GetBranchResult {
|
950 | branch: Branch;
|
951 | }
|
952 | export interface GetDomainAssociationRequest {
|
953 | |
954 |
|
955 |
|
956 | appId: AppId;
|
957 | |
958 |
|
959 |
|
960 | domainName: DomainName;
|
961 | }
|
962 | export interface GetDomainAssociationResult {
|
963 | |
964 |
|
965 |
|
966 | domainAssociation: DomainAssociation;
|
967 | }
|
968 | export interface GetJobRequest {
|
969 | |
970 |
|
971 |
|
972 | appId: AppId;
|
973 | |
974 |
|
975 |
|
976 | branchName: BranchName;
|
977 | |
978 |
|
979 |
|
980 | jobId: JobId;
|
981 | }
|
982 | export interface GetJobResult {
|
983 | job: Job;
|
984 | }
|
985 | export interface GetWebhookRequest {
|
986 | |
987 |
|
988 |
|
989 | webhookId: WebhookId;
|
990 | }
|
991 | export interface GetWebhookResult {
|
992 | |
993 |
|
994 |
|
995 | webhook: Webhook;
|
996 | }
|
997 | export interface Job {
|
998 | |
999 |
|
1000 |
|
1001 | summary: JobSummary;
|
1002 | |
1003 |
|
1004 |
|
1005 | steps: Steps;
|
1006 | }
|
1007 | export type JobArn = string;
|
1008 | export type JobId = string;
|
1009 | export type JobReason = string;
|
1010 | export type JobStatus = "PENDING"|"PROVISIONING"|"RUNNING"|"FAILED"|"SUCCEED"|"CANCELLING"|"CANCELLED"|string;
|
1011 | export type JobSummaries = JobSummary[];
|
1012 | export interface JobSummary {
|
1013 | |
1014 |
|
1015 |
|
1016 | jobArn: JobArn;
|
1017 | |
1018 |
|
1019 |
|
1020 | jobId: JobId;
|
1021 | |
1022 |
|
1023 |
|
1024 | commitId: CommitId;
|
1025 | |
1026 |
|
1027 |
|
1028 | commitMessage: CommitMessage;
|
1029 | |
1030 |
|
1031 |
|
1032 | commitTime: CommitTime;
|
1033 | |
1034 |
|
1035 |
|
1036 | startTime: StartTime;
|
1037 | |
1038 |
|
1039 |
|
1040 | status: JobStatus;
|
1041 | |
1042 |
|
1043 |
|
1044 | endTime?: EndTime;
|
1045 | |
1046 |
|
1047 |
|
1048 | jobType: JobType;
|
1049 | }
|
1050 | export type JobType = "RELEASE"|"RETRY"|"MANUAL"|"WEB_HOOK"|string;
|
1051 | export type LastDeployTime = Date;
|
1052 | export interface ListAppsRequest {
|
1053 | |
1054 |
|
1055 |
|
1056 | nextToken?: NextToken;
|
1057 | |
1058 |
|
1059 |
|
1060 | maxResults?: MaxResults;
|
1061 | }
|
1062 | export interface ListAppsResult {
|
1063 | |
1064 |
|
1065 |
|
1066 | apps: Apps;
|
1067 | |
1068 |
|
1069 |
|
1070 | nextToken?: NextToken;
|
1071 | }
|
1072 | export interface ListArtifactsRequest {
|
1073 | |
1074 |
|
1075 |
|
1076 | appId: AppId;
|
1077 | |
1078 |
|
1079 |
|
1080 | branchName: BranchName;
|
1081 | |
1082 |
|
1083 |
|
1084 | jobId: JobId;
|
1085 | |
1086 |
|
1087 |
|
1088 | artifactType?: ArtifactType;
|
1089 | |
1090 |
|
1091 |
|
1092 | nextToken?: NextToken;
|
1093 | |
1094 |
|
1095 |
|
1096 | maxResults?: MaxResults;
|
1097 | }
|
1098 | export interface ListArtifactsResult {
|
1099 | |
1100 |
|
1101 |
|
1102 | artifacts: Artifacts;
|
1103 | |
1104 |
|
1105 |
|
1106 | nextToken?: NextToken;
|
1107 | }
|
1108 | export interface ListBranchesRequest {
|
1109 | |
1110 |
|
1111 |
|
1112 | appId: AppId;
|
1113 | |
1114 |
|
1115 |
|
1116 | nextToken?: NextToken;
|
1117 | |
1118 |
|
1119 |
|
1120 | maxResults?: MaxResults;
|
1121 | }
|
1122 | export interface ListBranchesResult {
|
1123 | |
1124 |
|
1125 |
|
1126 | branches: Branches;
|
1127 | |
1128 |
|
1129 |
|
1130 | nextToken?: NextToken;
|
1131 | }
|
1132 | export interface ListDomainAssociationsRequest {
|
1133 | |
1134 |
|
1135 |
|
1136 | appId: AppId;
|
1137 | |
1138 |
|
1139 |
|
1140 | nextToken?: NextToken;
|
1141 | |
1142 |
|
1143 |
|
1144 | maxResults?: MaxResults;
|
1145 | }
|
1146 | export interface ListDomainAssociationsResult {
|
1147 | |
1148 |
|
1149 |
|
1150 | domainAssociations: DomainAssociations;
|
1151 | |
1152 |
|
1153 |
|
1154 | nextToken?: NextToken;
|
1155 | }
|
1156 | export interface ListJobsRequest {
|
1157 | |
1158 |
|
1159 |
|
1160 | appId: AppId;
|
1161 | |
1162 |
|
1163 |
|
1164 | branchName: BranchName;
|
1165 | |
1166 |
|
1167 |
|
1168 | nextToken?: NextToken;
|
1169 | |
1170 |
|
1171 |
|
1172 | maxResults?: MaxResults;
|
1173 | }
|
1174 | export interface ListJobsResult {
|
1175 | |
1176 |
|
1177 |
|
1178 | jobSummaries: JobSummaries;
|
1179 | |
1180 |
|
1181 |
|
1182 | nextToken?: NextToken;
|
1183 | }
|
1184 | export interface ListTagsForResourceRequest {
|
1185 | |
1186 |
|
1187 |
|
1188 | resourceArn: ResourceArn;
|
1189 | }
|
1190 | export interface ListTagsForResourceResponse {
|
1191 | |
1192 |
|
1193 |
|
1194 | tags?: TagMap;
|
1195 | }
|
1196 | export interface ListWebhooksRequest {
|
1197 | |
1198 |
|
1199 |
|
1200 | appId: AppId;
|
1201 | |
1202 |
|
1203 |
|
1204 | nextToken?: NextToken;
|
1205 | |
1206 |
|
1207 |
|
1208 | maxResults?: MaxResults;
|
1209 | }
|
1210 | export interface ListWebhooksResult {
|
1211 | |
1212 |
|
1213 |
|
1214 | webhooks: Webhooks;
|
1215 | |
1216 |
|
1217 |
|
1218 | nextToken?: NextToken;
|
1219 | }
|
1220 | export type LogUrl = string;
|
1221 | export type MD5Hash = string;
|
1222 | export type MaxResults = number;
|
1223 | export type Name = string;
|
1224 | export type NextToken = string;
|
1225 | export type OauthToken = string;
|
1226 | export type Platform = "WEB"|string;
|
1227 | export interface ProductionBranch {
|
1228 | |
1229 |
|
1230 |
|
1231 | lastDeployTime?: LastDeployTime;
|
1232 | |
1233 |
|
1234 |
|
1235 | status?: Status;
|
1236 | |
1237 |
|
1238 |
|
1239 | thumbnailUrl?: ThumbnailUrl;
|
1240 | |
1241 |
|
1242 |
|
1243 | branchName?: BranchName;
|
1244 | }
|
1245 | export type Repository = string;
|
1246 | export type ResourceArn = string;
|
1247 | export type Screenshots = {[key: string]: ThumbnailUrl};
|
1248 | export type ServiceRoleArn = string;
|
1249 | export type Source = string;
|
1250 | export type SourceUrl = string;
|
1251 | export type Stage = "PRODUCTION"|"BETA"|"DEVELOPMENT"|"EXPERIMENTAL"|"PULL_REQUEST"|string;
|
1252 | export interface StartDeploymentRequest {
|
1253 | |
1254 |
|
1255 |
|
1256 | appId: AppId;
|
1257 | |
1258 |
|
1259 |
|
1260 | branchName: BranchName;
|
1261 | |
1262 |
|
1263 |
|
1264 | jobId?: JobId;
|
1265 | |
1266 |
|
1267 |
|
1268 | sourceUrl?: SourceUrl;
|
1269 | }
|
1270 | export interface StartDeploymentResult {
|
1271 | |
1272 |
|
1273 |
|
1274 | jobSummary: JobSummary;
|
1275 | }
|
1276 | export interface StartJobRequest {
|
1277 | |
1278 |
|
1279 |
|
1280 | appId: AppId;
|
1281 | |
1282 |
|
1283 |
|
1284 | branchName: BranchName;
|
1285 | |
1286 |
|
1287 |
|
1288 | jobId?: JobId;
|
1289 | |
1290 |
|
1291 |
|
1292 | jobType: JobType;
|
1293 | |
1294 |
|
1295 |
|
1296 | jobReason?: JobReason;
|
1297 | |
1298 |
|
1299 |
|
1300 | commitId?: CommitId;
|
1301 | |
1302 |
|
1303 |
|
1304 | commitMessage?: CommitMessage;
|
1305 | |
1306 |
|
1307 |
|
1308 | commitTime?: CommitTime;
|
1309 | }
|
1310 | export interface StartJobResult {
|
1311 | |
1312 |
|
1313 |
|
1314 | jobSummary: JobSummary;
|
1315 | }
|
1316 | export type StartTime = Date;
|
1317 | export type Status = string;
|
1318 | export type StatusReason = string;
|
1319 | export interface Step {
|
1320 | |
1321 |
|
1322 |
|
1323 | stepName: StepName;
|
1324 | |
1325 |
|
1326 |
|
1327 | startTime: StartTime;
|
1328 | |
1329 |
|
1330 |
|
1331 | status: JobStatus;
|
1332 | |
1333 |
|
1334 |
|
1335 | endTime: EndTime;
|
1336 | |
1337 |
|
1338 |
|
1339 | logUrl?: LogUrl;
|
1340 | |
1341 |
|
1342 |
|
1343 | artifactsUrl?: ArtifactsUrl;
|
1344 | |
1345 |
|
1346 |
|
1347 | testArtifactsUrl?: TestArtifactsUrl;
|
1348 | |
1349 |
|
1350 |
|
1351 | testConfigUrl?: TestConfigUrl;
|
1352 | |
1353 |
|
1354 |
|
1355 | screenshots?: Screenshots;
|
1356 | |
1357 |
|
1358 |
|
1359 | statusReason?: StatusReason;
|
1360 | |
1361 |
|
1362 |
|
1363 | context?: Context;
|
1364 | }
|
1365 | export type StepName = string;
|
1366 | export type Steps = Step[];
|
1367 | export interface StopJobRequest {
|
1368 | |
1369 |
|
1370 |
|
1371 | appId: AppId;
|
1372 | |
1373 |
|
1374 |
|
1375 | branchName: BranchName;
|
1376 | |
1377 |
|
1378 |
|
1379 | jobId: JobId;
|
1380 | }
|
1381 | export interface StopJobResult {
|
1382 | |
1383 |
|
1384 |
|
1385 | jobSummary: JobSummary;
|
1386 | }
|
1387 | export interface SubDomain {
|
1388 | |
1389 |
|
1390 |
|
1391 | subDomainSetting: SubDomainSetting;
|
1392 | |
1393 |
|
1394 |
|
1395 | verified: Verified;
|
1396 | |
1397 |
|
1398 |
|
1399 | dnsRecord: DNSRecord;
|
1400 | }
|
1401 | export interface SubDomainSetting {
|
1402 | |
1403 |
|
1404 |
|
1405 | prefix: DomainPrefix;
|
1406 | |
1407 |
|
1408 |
|
1409 | branchName: BranchName;
|
1410 | }
|
1411 | export type SubDomainSettings = SubDomainSetting[];
|
1412 | export type SubDomains = SubDomain[];
|
1413 | export type TTL = string;
|
1414 | export type TagKey = string;
|
1415 | export type TagKeyList = TagKey[];
|
1416 | export type TagMap = {[key: string]: TagValue};
|
1417 | export interface TagResourceRequest {
|
1418 | |
1419 |
|
1420 |
|
1421 | resourceArn: ResourceArn;
|
1422 | |
1423 |
|
1424 |
|
1425 | tags: TagMap;
|
1426 | }
|
1427 | export interface TagResourceResponse {
|
1428 | }
|
1429 | export type TagValue = string;
|
1430 | export type Target = string;
|
1431 | export type TestArtifactsUrl = string;
|
1432 | export type TestConfigUrl = string;
|
1433 | export type ThumbnailName = string;
|
1434 | export type ThumbnailUrl = string;
|
1435 | export type TotalNumberOfJobs = string;
|
1436 | export interface UntagResourceRequest {
|
1437 | |
1438 |
|
1439 |
|
1440 | resourceArn: ResourceArn;
|
1441 | |
1442 |
|
1443 |
|
1444 | tagKeys: TagKeyList;
|
1445 | }
|
1446 | export interface UntagResourceResponse {
|
1447 | }
|
1448 | export interface UpdateAppRequest {
|
1449 | |
1450 |
|
1451 |
|
1452 | appId: AppId;
|
1453 | |
1454 |
|
1455 |
|
1456 | name?: Name;
|
1457 | |
1458 |
|
1459 |
|
1460 | description?: Description;
|
1461 | |
1462 |
|
1463 |
|
1464 | platform?: Platform;
|
1465 | |
1466 |
|
1467 |
|
1468 | iamServiceRoleArn?: ServiceRoleArn;
|
1469 | |
1470 |
|
1471 |
|
1472 | environmentVariables?: EnvironmentVariables;
|
1473 | |
1474 |
|
1475 |
|
1476 | enableBranchAutoBuild?: EnableAutoBuild;
|
1477 | |
1478 |
|
1479 |
|
1480 | enableBasicAuth?: EnableBasicAuth;
|
1481 | |
1482 |
|
1483 |
|
1484 | basicAuthCredentials?: BasicAuthCredentials;
|
1485 | |
1486 |
|
1487 |
|
1488 | customRules?: CustomRules;
|
1489 | |
1490 |
|
1491 |
|
1492 | buildSpec?: BuildSpec;
|
1493 | |
1494 |
|
1495 |
|
1496 | enableAutoBranchCreation?: EnableAutoBranchCreation;
|
1497 | |
1498 |
|
1499 |
|
1500 | autoBranchCreationPatterns?: AutoBranchCreationPatterns;
|
1501 | |
1502 |
|
1503 |
|
1504 | autoBranchCreationConfig?: AutoBranchCreationConfig;
|
1505 | |
1506 |
|
1507 |
|
1508 | repository?: Repository;
|
1509 | |
1510 |
|
1511 |
|
1512 | oauthToken?: OauthToken;
|
1513 | |
1514 |
|
1515 |
|
1516 | accessToken?: AccessToken;
|
1517 | }
|
1518 | export interface UpdateAppResult {
|
1519 | |
1520 |
|
1521 |
|
1522 | app: App;
|
1523 | }
|
1524 | export interface UpdateBranchRequest {
|
1525 | |
1526 |
|
1527 |
|
1528 | appId: AppId;
|
1529 | |
1530 |
|
1531 |
|
1532 | branchName: BranchName;
|
1533 | |
1534 |
|
1535 |
|
1536 | description?: Description;
|
1537 | |
1538 |
|
1539 |
|
1540 | framework?: Framework;
|
1541 | |
1542 |
|
1543 |
|
1544 | stage?: Stage;
|
1545 | |
1546 |
|
1547 |
|
1548 | enableNotification?: EnableNotification;
|
1549 | |
1550 |
|
1551 |
|
1552 | enableAutoBuild?: EnableAutoBuild;
|
1553 | |
1554 |
|
1555 |
|
1556 | environmentVariables?: EnvironmentVariables;
|
1557 | |
1558 |
|
1559 |
|
1560 | basicAuthCredentials?: BasicAuthCredentials;
|
1561 | |
1562 |
|
1563 |
|
1564 | enableBasicAuth?: EnableBasicAuth;
|
1565 | |
1566 |
|
1567 |
|
1568 | buildSpec?: BuildSpec;
|
1569 | |
1570 |
|
1571 |
|
1572 | ttl?: TTL;
|
1573 | |
1574 |
|
1575 |
|
1576 | displayName?: DisplayName;
|
1577 | |
1578 |
|
1579 |
|
1580 | enablePullRequestPreview?: EnablePullRequestPreview;
|
1581 | }
|
1582 | export interface UpdateBranchResult {
|
1583 | |
1584 |
|
1585 |
|
1586 | branch: Branch;
|
1587 | }
|
1588 | export interface UpdateDomainAssociationRequest {
|
1589 | |
1590 |
|
1591 |
|
1592 | appId: AppId;
|
1593 | |
1594 |
|
1595 |
|
1596 | domainName: DomainName;
|
1597 | |
1598 |
|
1599 |
|
1600 | enableAutoSubDomain?: EnableAutoSubDomain;
|
1601 | |
1602 |
|
1603 |
|
1604 | subDomainSettings: SubDomainSettings;
|
1605 | }
|
1606 | export interface UpdateDomainAssociationResult {
|
1607 | |
1608 |
|
1609 |
|
1610 | domainAssociation: DomainAssociation;
|
1611 | }
|
1612 | export type UpdateTime = Date;
|
1613 | export interface UpdateWebhookRequest {
|
1614 | |
1615 |
|
1616 |
|
1617 | webhookId: WebhookId;
|
1618 | |
1619 |
|
1620 |
|
1621 | branchName?: BranchName;
|
1622 | |
1623 |
|
1624 |
|
1625 | description?: Description;
|
1626 | }
|
1627 | export interface UpdateWebhookResult {
|
1628 | |
1629 |
|
1630 |
|
1631 | webhook: Webhook;
|
1632 | }
|
1633 | export type UploadUrl = string;
|
1634 | export type Verified = boolean;
|
1635 | export interface Webhook {
|
1636 | |
1637 |
|
1638 |
|
1639 | webhookArn: WebhookArn;
|
1640 | |
1641 |
|
1642 |
|
1643 | webhookId: WebhookId;
|
1644 | |
1645 |
|
1646 |
|
1647 | webhookUrl: WebhookUrl;
|
1648 | |
1649 |
|
1650 |
|
1651 | branchName: BranchName;
|
1652 | |
1653 |
|
1654 |
|
1655 | description: Description;
|
1656 | |
1657 |
|
1658 |
|
1659 | createTime: CreateTime;
|
1660 | |
1661 |
|
1662 |
|
1663 | updateTime: UpdateTime;
|
1664 | }
|
1665 | export type WebhookArn = string;
|
1666 | export type WebhookId = string;
|
1667 | export type WebhookUrl = string;
|
1668 | export type Webhooks = Webhook[];
|
1669 | |
1670 |
|
1671 |
|
1672 | export type apiVersion = "2017-07-25"|"latest"|string;
|
1673 | export interface ClientApiVersions {
|
1674 | |
1675 |
|
1676 |
|
1677 | apiVersion?: apiVersion;
|
1678 | }
|
1679 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1680 | |
1681 |
|
1682 |
|
1683 | export import Types = Amplify;
|
1684 | }
|
1685 | export = Amplify;
|