@aws-sdk/client-amplify 3.170.0 → 3.178.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  3. package/dist-types/runtimeConfig.d.ts +1 -1
  4. package/dist-types/runtimeConfig.native.d.ts +1 -1
  5. package/dist-types/ts3.4/Amplify.d.ts +0 -37
  6. package/dist-types/ts3.4/AmplifyClient.d.ts +0 -25
  7. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +0 -2
  8. package/dist-types/ts3.4/commands/CreateBackendEnvironmentCommand.d.ts +0 -2
  9. package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +0 -2
  10. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +0 -2
  11. package/dist-types/ts3.4/commands/CreateDomainAssociationCommand.d.ts +0 -2
  12. package/dist-types/ts3.4/commands/CreateWebhookCommand.d.ts +0 -2
  13. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +0 -2
  14. package/dist-types/ts3.4/commands/DeleteBackendEnvironmentCommand.d.ts +0 -2
  15. package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +0 -2
  16. package/dist-types/ts3.4/commands/DeleteDomainAssociationCommand.d.ts +0 -2
  17. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +0 -2
  18. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +0 -2
  19. package/dist-types/ts3.4/commands/GenerateAccessLogsCommand.d.ts +0 -2
  20. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +0 -2
  21. package/dist-types/ts3.4/commands/GetArtifactUrlCommand.d.ts +0 -2
  22. package/dist-types/ts3.4/commands/GetBackendEnvironmentCommand.d.ts +0 -2
  23. package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +0 -2
  24. package/dist-types/ts3.4/commands/GetDomainAssociationCommand.d.ts +0 -2
  25. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +0 -2
  26. package/dist-types/ts3.4/commands/GetWebhookCommand.d.ts +0 -2
  27. package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +0 -2
  28. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +0 -2
  29. package/dist-types/ts3.4/commands/ListBackendEnvironmentsCommand.d.ts +0 -2
  30. package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +0 -2
  31. package/dist-types/ts3.4/commands/ListDomainAssociationsCommand.d.ts +0 -2
  32. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +0 -2
  33. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
  34. package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +0 -2
  35. package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +0 -2
  36. package/dist-types/ts3.4/commands/StartJobCommand.d.ts +0 -2
  37. package/dist-types/ts3.4/commands/StopJobCommand.d.ts +0 -2
  38. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
  39. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
  40. package/dist-types/ts3.4/commands/UpdateAppCommand.d.ts +0 -2
  41. package/dist-types/ts3.4/commands/UpdateBranchCommand.d.ts +0 -2
  42. package/dist-types/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +0 -2
  43. package/dist-types/ts3.4/commands/UpdateWebhookCommand.d.ts +0 -2
  44. package/dist-types/ts3.4/models/AmplifyServiceException.d.ts +0 -1
  45. package/dist-types/ts3.4/models/models_0.d.ts +0 -433
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -2
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -2
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  50. package/package.json +26 -26
@@ -1,10 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { AmplifyServiceException as __BaseException } from "./AmplifyServiceException";
3
-
4
3
  export declare class BadRequestException extends __BaseException {
5
4
  readonly name: "BadRequestException";
6
5
  readonly $fault: "client";
7
-
8
6
  constructor(
9
7
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
10
8
  );
@@ -16,90 +14,53 @@ export declare enum Stage {
16
14
  PRODUCTION = "PRODUCTION",
17
15
  PULL_REQUEST = "PULL_REQUEST",
18
16
  }
19
-
20
17
  export interface AutoBranchCreationConfig {
21
18
  stage?: Stage | string;
22
-
23
19
  framework?: string;
24
-
25
20
  enableAutoBuild?: boolean;
26
-
27
21
  environmentVariables?: Record<string, string>;
28
-
29
22
  basicAuthCredentials?: string;
30
-
31
23
  enableBasicAuth?: boolean;
32
-
33
24
  enablePerformanceMode?: boolean;
34
-
35
25
  buildSpec?: string;
36
-
37
26
  enablePullRequestPreview?: boolean;
38
-
39
27
  pullRequestEnvironmentName?: string;
40
28
  }
41
-
42
29
  export interface CustomRule {
43
30
  source: string | undefined;
44
-
45
31
  target: string | undefined;
46
-
47
32
  status?: string;
48
-
49
33
  condition?: string;
50
34
  }
51
35
  export declare enum Platform {
52
36
  WEB = "WEB",
53
37
  WEB_DYNAMIC = "WEB_DYNAMIC",
54
38
  }
55
-
56
39
  export interface CreateAppRequest {
57
40
  name: string | undefined;
58
-
59
41
  description?: string;
60
-
61
42
  repository?: string;
62
-
63
43
  platform?: Platform | string;
64
-
65
44
  iamServiceRoleArn?: string;
66
-
67
45
  oauthToken?: string;
68
-
69
46
  accessToken?: string;
70
-
71
47
  environmentVariables?: Record<string, string>;
72
-
73
48
  enableBranchAutoBuild?: boolean;
74
-
75
49
  enableBranchAutoDeletion?: boolean;
76
-
77
50
  enableBasicAuth?: boolean;
78
-
79
51
  basicAuthCredentials?: string;
80
-
81
52
  customRules?: CustomRule[];
82
-
83
53
  tags?: Record<string, string>;
84
-
85
54
  buildSpec?: string;
86
-
87
55
  customHeaders?: string;
88
-
89
56
  enableAutoBranchCreation?: boolean;
90
-
91
57
  autoBranchCreationPatterns?: string[];
92
-
93
58
  autoBranchCreationConfig?: AutoBranchCreationConfig;
94
59
  }
95
-
96
60
  export interface ProductionBranch {
97
61
  lastDeployTime?: Date;
98
-
99
62
  status?: string;
100
-
101
63
  thumbnailUrl?: string;
102
-
103
64
  branchName?: string;
104
65
  }
105
66
  export declare enum RepositoryCloneMethod {
@@ -107,64 +68,38 @@ export declare enum RepositoryCloneMethod {
107
68
  SSH = "SSH",
108
69
  TOKEN = "TOKEN",
109
70
  }
110
-
111
71
  export interface App {
112
72
  appId: string | undefined;
113
-
114
73
  appArn: string | undefined;
115
-
116
74
  name: string | undefined;
117
-
118
75
  tags?: Record<string, string>;
119
-
120
76
  description: string | undefined;
121
-
122
77
  repository: string | undefined;
123
-
124
78
  platform: Platform | string | undefined;
125
-
126
79
  createTime: Date | undefined;
127
-
128
80
  updateTime: Date | undefined;
129
-
130
81
  iamServiceRoleArn?: string;
131
-
132
82
  environmentVariables: Record<string, string> | undefined;
133
-
134
83
  defaultDomain: string | undefined;
135
-
136
84
  enableBranchAutoBuild: boolean | undefined;
137
-
138
85
  enableBranchAutoDeletion?: boolean;
139
-
140
86
  enableBasicAuth: boolean | undefined;
141
-
142
87
  basicAuthCredentials?: string;
143
-
144
88
  customRules?: CustomRule[];
145
-
146
89
  productionBranch?: ProductionBranch;
147
-
148
90
  buildSpec?: string;
149
-
150
91
  customHeaders?: string;
151
-
152
92
  enableAutoBranchCreation?: boolean;
153
-
154
93
  autoBranchCreationPatterns?: string[];
155
-
156
94
  autoBranchCreationConfig?: AutoBranchCreationConfig;
157
-
158
95
  repositoryCloneMethod?: RepositoryCloneMethod | string;
159
96
  }
160
97
  export interface CreateAppResult {
161
98
  app: App | undefined;
162
99
  }
163
-
164
100
  export declare class DependentServiceFailureException extends __BaseException {
165
101
  readonly name: "DependentServiceFailureException";
166
102
  readonly $fault: "server";
167
-
168
103
  constructor(
169
104
  opts: __ExceptionOptionType<
170
105
  DependentServiceFailureException,
@@ -172,200 +107,121 @@ export declare class DependentServiceFailureException extends __BaseException {
172
107
  >
173
108
  );
174
109
  }
175
-
176
110
  export declare class InternalFailureException extends __BaseException {
177
111
  readonly name: "InternalFailureException";
178
112
  readonly $fault: "server";
179
-
180
113
  constructor(
181
114
  opts: __ExceptionOptionType<InternalFailureException, __BaseException>
182
115
  );
183
116
  }
184
-
185
117
  export declare class LimitExceededException extends __BaseException {
186
118
  readonly name: "LimitExceededException";
187
119
  readonly $fault: "client";
188
-
189
120
  constructor(
190
121
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
191
122
  );
192
123
  }
193
-
194
124
  export declare class UnauthorizedException extends __BaseException {
195
125
  readonly name: "UnauthorizedException";
196
126
  readonly $fault: "client";
197
-
198
127
  constructor(
199
128
  opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
200
129
  );
201
130
  }
202
-
203
131
  export interface CreateBackendEnvironmentRequest {
204
132
  appId: string | undefined;
205
-
206
133
  environmentName: string | undefined;
207
-
208
134
  stackName?: string;
209
-
210
135
  deploymentArtifacts?: string;
211
136
  }
212
-
213
137
  export interface BackendEnvironment {
214
138
  backendEnvironmentArn: string | undefined;
215
-
216
139
  environmentName: string | undefined;
217
-
218
140
  stackName?: string;
219
-
220
141
  deploymentArtifacts?: string;
221
-
222
142
  createTime: Date | undefined;
223
-
224
143
  updateTime: Date | undefined;
225
144
  }
226
-
227
145
  export interface CreateBackendEnvironmentResult {
228
146
  backendEnvironment: BackendEnvironment | undefined;
229
147
  }
230
-
231
148
  export declare class NotFoundException extends __BaseException {
232
149
  readonly name: "NotFoundException";
233
150
  readonly $fault: "client";
234
-
235
151
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
236
152
  }
237
-
238
153
  export interface CreateBranchRequest {
239
154
  appId: string | undefined;
240
-
241
155
  branchName: string | undefined;
242
-
243
156
  description?: string;
244
-
245
157
  stage?: Stage | string;
246
-
247
158
  framework?: string;
248
-
249
159
  enableNotification?: boolean;
250
-
251
160
  enableAutoBuild?: boolean;
252
-
253
161
  environmentVariables?: Record<string, string>;
254
-
255
162
  basicAuthCredentials?: string;
256
-
257
163
  enableBasicAuth?: boolean;
258
-
259
164
  enablePerformanceMode?: boolean;
260
-
261
165
  tags?: Record<string, string>;
262
-
263
166
  buildSpec?: string;
264
-
265
167
  ttl?: string;
266
-
267
168
  displayName?: string;
268
-
269
169
  enablePullRequestPreview?: boolean;
270
-
271
170
  pullRequestEnvironmentName?: string;
272
-
273
171
  backendEnvironmentArn?: string;
274
172
  }
275
-
276
173
  export interface Branch {
277
174
  branchArn: string | undefined;
278
-
279
175
  branchName: string | undefined;
280
-
281
176
  description: string | undefined;
282
-
283
177
  tags?: Record<string, string>;
284
-
285
178
  stage: Stage | string | undefined;
286
-
287
179
  displayName: string | undefined;
288
-
289
180
  enableNotification: boolean | undefined;
290
-
291
181
  createTime: Date | undefined;
292
-
293
182
  updateTime: Date | undefined;
294
-
295
183
  environmentVariables: Record<string, string> | undefined;
296
-
297
184
  enableAutoBuild: boolean | undefined;
298
-
299
185
  customDomains: string[] | undefined;
300
-
301
186
  framework: string | undefined;
302
-
303
187
  activeJobId: string | undefined;
304
-
305
188
  totalNumberOfJobs: string | undefined;
306
-
307
189
  enableBasicAuth: boolean | undefined;
308
-
309
190
  enablePerformanceMode?: boolean;
310
-
311
191
  thumbnailUrl?: string;
312
-
313
192
  basicAuthCredentials?: string;
314
-
315
193
  buildSpec?: string;
316
-
317
194
  ttl: string | undefined;
318
-
319
195
  associatedResources?: string[];
320
-
321
196
  enablePullRequestPreview: boolean | undefined;
322
-
323
197
  pullRequestEnvironmentName?: string;
324
-
325
198
  destinationBranch?: string;
326
-
327
199
  sourceBranch?: string;
328
-
329
200
  backendEnvironmentArn?: string;
330
201
  }
331
-
332
202
  export interface CreateBranchResult {
333
203
  branch: Branch | undefined;
334
204
  }
335
-
336
205
  export interface CreateDeploymentRequest {
337
206
  appId: string | undefined;
338
-
339
207
  branchName: string | undefined;
340
-
341
208
  fileMap?: Record<string, string>;
342
209
  }
343
-
344
210
  export interface CreateDeploymentResult {
345
211
  jobId?: string;
346
-
347
212
  fileUploadUrls: Record<string, string> | undefined;
348
-
349
213
  zipUploadUrl: string | undefined;
350
214
  }
351
-
352
215
  export interface SubDomainSetting {
353
216
  prefix: string | undefined;
354
-
355
217
  branchName: string | undefined;
356
218
  }
357
-
358
219
  export interface CreateDomainAssociationRequest {
359
220
  appId: string | undefined;
360
-
361
221
  domainName: string | undefined;
362
-
363
222
  enableAutoSubDomain?: boolean;
364
-
365
223
  subDomainSettings: SubDomainSetting[] | undefined;
366
-
367
224
  autoSubDomainCreationPatterns?: string[];
368
-
369
225
  autoSubDomainIAMRole?: string;
370
226
  }
371
227
  export declare enum DomainStatus {
@@ -378,109 +234,72 @@ export declare enum DomainStatus {
378
234
  REQUESTING_CERTIFICATE = "REQUESTING_CERTIFICATE",
379
235
  UPDATING = "UPDATING",
380
236
  }
381
-
382
237
  export interface SubDomain {
383
238
  subDomainSetting: SubDomainSetting | undefined;
384
-
385
239
  verified: boolean | undefined;
386
-
387
240
  dnsRecord: string | undefined;
388
241
  }
389
-
390
242
  export interface DomainAssociation {
391
243
  domainAssociationArn: string | undefined;
392
-
393
244
  domainName: string | undefined;
394
-
395
245
  enableAutoSubDomain: boolean | undefined;
396
-
397
246
  autoSubDomainCreationPatterns?: string[];
398
-
399
247
  autoSubDomainIAMRole?: string;
400
-
401
248
  domainStatus: DomainStatus | string | undefined;
402
-
403
249
  statusReason: string | undefined;
404
-
405
250
  certificateVerificationDNSRecord?: string;
406
-
407
251
  subDomains: SubDomain[] | undefined;
408
252
  }
409
-
410
253
  export interface CreateDomainAssociationResult {
411
254
  domainAssociation: DomainAssociation | undefined;
412
255
  }
413
-
414
256
  export interface CreateWebhookRequest {
415
257
  appId: string | undefined;
416
-
417
258
  branchName: string | undefined;
418
-
419
259
  description?: string;
420
260
  }
421
-
422
261
  export interface Webhook {
423
262
  webhookArn: string | undefined;
424
-
425
263
  webhookId: string | undefined;
426
-
427
264
  webhookUrl: string | undefined;
428
-
429
265
  branchName: string | undefined;
430
-
431
266
  description: string | undefined;
432
-
433
267
  createTime: Date | undefined;
434
-
435
268
  updateTime: Date | undefined;
436
269
  }
437
-
438
270
  export interface CreateWebhookResult {
439
271
  webhook: Webhook | undefined;
440
272
  }
441
-
442
273
  export interface DeleteAppRequest {
443
274
  appId: string | undefined;
444
275
  }
445
-
446
276
  export interface DeleteAppResult {
447
277
  app: App | undefined;
448
278
  }
449
-
450
279
  export interface DeleteBackendEnvironmentRequest {
451
280
  appId: string | undefined;
452
-
453
281
  environmentName: string | undefined;
454
282
  }
455
-
456
283
  export interface DeleteBackendEnvironmentResult {
457
284
  backendEnvironment: BackendEnvironment | undefined;
458
285
  }
459
-
460
286
  export interface DeleteBranchRequest {
461
287
  appId: string | undefined;
462
-
463
288
  branchName: string | undefined;
464
289
  }
465
-
466
290
  export interface DeleteBranchResult {
467
291
  branch: Branch | undefined;
468
292
  }
469
-
470
293
  export interface DeleteDomainAssociationRequest {
471
294
  appId: string | undefined;
472
-
473
295
  domainName: string | undefined;
474
296
  }
475
297
  export interface DeleteDomainAssociationResult {
476
298
  domainAssociation: DomainAssociation | undefined;
477
299
  }
478
-
479
300
  export interface DeleteJobRequest {
480
301
  appId: string | undefined;
481
-
482
302
  branchName: string | undefined;
483
-
484
303
  jobId: string | undefined;
485
304
  }
486
305
  export declare enum JobType {
@@ -498,780 +317,528 @@ export declare enum JobStatus {
498
317
  RUNNING = "RUNNING",
499
318
  SUCCEED = "SUCCEED",
500
319
  }
501
-
502
320
  export interface JobSummary {
503
321
  jobArn: string | undefined;
504
-
505
322
  jobId: string | undefined;
506
-
507
323
  commitId: string | undefined;
508
-
509
324
  commitMessage: string | undefined;
510
-
511
325
  commitTime: Date | undefined;
512
-
513
326
  startTime: Date | undefined;
514
-
515
327
  status: JobStatus | string | undefined;
516
-
517
328
  endTime?: Date;
518
-
519
329
  jobType: JobType | string | undefined;
520
330
  }
521
-
522
331
  export interface DeleteJobResult {
523
332
  jobSummary: JobSummary | undefined;
524
333
  }
525
-
526
334
  export interface DeleteWebhookRequest {
527
335
  webhookId: string | undefined;
528
336
  }
529
-
530
337
  export interface DeleteWebhookResult {
531
338
  webhook: Webhook | undefined;
532
339
  }
533
-
534
340
  export interface GenerateAccessLogsRequest {
535
341
  startTime?: Date;
536
-
537
342
  endTime?: Date;
538
-
539
343
  domainName: string | undefined;
540
-
541
344
  appId: string | undefined;
542
345
  }
543
-
544
346
  export interface GenerateAccessLogsResult {
545
347
  logUrl?: string;
546
348
  }
547
-
548
349
  export interface GetAppRequest {
549
350
  appId: string | undefined;
550
351
  }
551
352
  export interface GetAppResult {
552
353
  app: App | undefined;
553
354
  }
554
-
555
355
  export interface GetArtifactUrlRequest {
556
356
  artifactId: string | undefined;
557
357
  }
558
-
559
358
  export interface GetArtifactUrlResult {
560
359
  artifactId: string | undefined;
561
-
562
360
  artifactUrl: string | undefined;
563
361
  }
564
-
565
362
  export interface GetBackendEnvironmentRequest {
566
363
  appId: string | undefined;
567
-
568
364
  environmentName: string | undefined;
569
365
  }
570
-
571
366
  export interface GetBackendEnvironmentResult {
572
367
  backendEnvironment: BackendEnvironment | undefined;
573
368
  }
574
-
575
369
  export interface GetBranchRequest {
576
370
  appId: string | undefined;
577
-
578
371
  branchName: string | undefined;
579
372
  }
580
373
  export interface GetBranchResult {
581
374
  branch: Branch | undefined;
582
375
  }
583
-
584
376
  export interface GetDomainAssociationRequest {
585
377
  appId: string | undefined;
586
-
587
378
  domainName: string | undefined;
588
379
  }
589
-
590
380
  export interface GetDomainAssociationResult {
591
381
  domainAssociation: DomainAssociation | undefined;
592
382
  }
593
-
594
383
  export interface GetJobRequest {
595
384
  appId: string | undefined;
596
-
597
385
  branchName: string | undefined;
598
-
599
386
  jobId: string | undefined;
600
387
  }
601
-
602
388
  export interface Step {
603
389
  stepName: string | undefined;
604
-
605
390
  startTime: Date | undefined;
606
-
607
391
  status: JobStatus | string | undefined;
608
-
609
392
  endTime: Date | undefined;
610
-
611
393
  logUrl?: string;
612
-
613
394
  artifactsUrl?: string;
614
-
615
395
  testArtifactsUrl?: string;
616
-
617
396
  testConfigUrl?: string;
618
-
619
397
  screenshots?: Record<string, string>;
620
-
621
398
  statusReason?: string;
622
-
623
399
  context?: string;
624
400
  }
625
-
626
401
  export interface Job {
627
402
  summary: JobSummary | undefined;
628
-
629
403
  steps: Step[] | undefined;
630
404
  }
631
405
  export interface GetJobResult {
632
406
  job: Job | undefined;
633
407
  }
634
-
635
408
  export interface GetWebhookRequest {
636
409
  webhookId: string | undefined;
637
410
  }
638
-
639
411
  export interface GetWebhookResult {
640
412
  webhook: Webhook | undefined;
641
413
  }
642
-
643
414
  export interface ListAppsRequest {
644
415
  nextToken?: string;
645
-
646
416
  maxResults?: number;
647
417
  }
648
-
649
418
  export interface ListAppsResult {
650
419
  apps: App[] | undefined;
651
-
652
420
  nextToken?: string;
653
421
  }
654
-
655
422
  export interface ListArtifactsRequest {
656
423
  appId: string | undefined;
657
-
658
424
  branchName: string | undefined;
659
-
660
425
  jobId: string | undefined;
661
-
662
426
  nextToken?: string;
663
-
664
427
  maxResults?: number;
665
428
  }
666
-
667
429
  export interface Artifact {
668
430
  artifactFileName: string | undefined;
669
-
670
431
  artifactId: string | undefined;
671
432
  }
672
-
673
433
  export interface ListArtifactsResult {
674
434
  artifacts: Artifact[] | undefined;
675
-
676
435
  nextToken?: string;
677
436
  }
678
-
679
437
  export interface ListBackendEnvironmentsRequest {
680
438
  appId: string | undefined;
681
-
682
439
  environmentName?: string;
683
-
684
440
  nextToken?: string;
685
-
686
441
  maxResults?: number;
687
442
  }
688
-
689
443
  export interface ListBackendEnvironmentsResult {
690
444
  backendEnvironments: BackendEnvironment[] | undefined;
691
-
692
445
  nextToken?: string;
693
446
  }
694
-
695
447
  export interface ListBranchesRequest {
696
448
  appId: string | undefined;
697
-
698
449
  nextToken?: string;
699
-
700
450
  maxResults?: number;
701
451
  }
702
-
703
452
  export interface ListBranchesResult {
704
453
  branches: Branch[] | undefined;
705
-
706
454
  nextToken?: string;
707
455
  }
708
-
709
456
  export interface ListDomainAssociationsRequest {
710
457
  appId: string | undefined;
711
-
712
458
  nextToken?: string;
713
-
714
459
  maxResults?: number;
715
460
  }
716
-
717
461
  export interface ListDomainAssociationsResult {
718
462
  domainAssociations: DomainAssociation[] | undefined;
719
-
720
463
  nextToken?: string;
721
464
  }
722
-
723
465
  export interface ListJobsRequest {
724
466
  appId: string | undefined;
725
-
726
467
  branchName: string | undefined;
727
-
728
468
  nextToken?: string;
729
-
730
469
  maxResults?: number;
731
470
  }
732
-
733
471
  export interface ListJobsResult {
734
472
  jobSummaries: JobSummary[] | undefined;
735
-
736
473
  nextToken?: string;
737
474
  }
738
-
739
475
  export interface ListTagsForResourceRequest {
740
476
  resourceArn: string | undefined;
741
477
  }
742
-
743
478
  export interface ListTagsForResourceResponse {
744
479
  tags?: Record<string, string>;
745
480
  }
746
-
747
481
  export declare class ResourceNotFoundException extends __BaseException {
748
482
  readonly name: "ResourceNotFoundException";
749
483
  readonly $fault: "client";
750
484
  code: string | undefined;
751
-
752
485
  constructor(
753
486
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
754
487
  );
755
488
  }
756
-
757
489
  export interface ListWebhooksRequest {
758
490
  appId: string | undefined;
759
-
760
491
  nextToken?: string;
761
-
762
492
  maxResults?: number;
763
493
  }
764
-
765
494
  export interface ListWebhooksResult {
766
495
  webhooks: Webhook[] | undefined;
767
-
768
496
  nextToken?: string;
769
497
  }
770
-
771
498
  export interface StartDeploymentRequest {
772
499
  appId: string | undefined;
773
-
774
500
  branchName: string | undefined;
775
-
776
501
  jobId?: string;
777
-
778
502
  sourceUrl?: string;
779
503
  }
780
-
781
504
  export interface StartDeploymentResult {
782
505
  jobSummary: JobSummary | undefined;
783
506
  }
784
-
785
507
  export interface StartJobRequest {
786
508
  appId: string | undefined;
787
-
788
509
  branchName: string | undefined;
789
-
790
510
  jobId?: string;
791
-
792
511
  jobType: JobType | string | undefined;
793
-
794
512
  jobReason?: string;
795
-
796
513
  commitId?: string;
797
-
798
514
  commitMessage?: string;
799
-
800
515
  commitTime?: Date;
801
516
  }
802
-
803
517
  export interface StartJobResult {
804
518
  jobSummary: JobSummary | undefined;
805
519
  }
806
-
807
520
  export interface StopJobRequest {
808
521
  appId: string | undefined;
809
-
810
522
  branchName: string | undefined;
811
-
812
523
  jobId: string | undefined;
813
524
  }
814
-
815
525
  export interface StopJobResult {
816
526
  jobSummary: JobSummary | undefined;
817
527
  }
818
-
819
528
  export interface TagResourceRequest {
820
529
  resourceArn: string | undefined;
821
-
822
530
  tags: Record<string, string> | undefined;
823
531
  }
824
-
825
532
  export interface TagResourceResponse {}
826
-
827
533
  export interface UntagResourceRequest {
828
534
  resourceArn: string | undefined;
829
-
830
535
  tagKeys: string[] | undefined;
831
536
  }
832
-
833
537
  export interface UntagResourceResponse {}
834
-
835
538
  export interface UpdateAppRequest {
836
539
  appId: string | undefined;
837
-
838
540
  name?: string;
839
-
840
541
  description?: string;
841
-
842
542
  platform?: Platform | string;
843
-
844
543
  iamServiceRoleArn?: string;
845
-
846
544
  environmentVariables?: Record<string, string>;
847
-
848
545
  enableBranchAutoBuild?: boolean;
849
-
850
546
  enableBranchAutoDeletion?: boolean;
851
-
852
547
  enableBasicAuth?: boolean;
853
-
854
548
  basicAuthCredentials?: string;
855
-
856
549
  customRules?: CustomRule[];
857
-
858
550
  buildSpec?: string;
859
-
860
551
  customHeaders?: string;
861
-
862
552
  enableAutoBranchCreation?: boolean;
863
-
864
553
  autoBranchCreationPatterns?: string[];
865
-
866
554
  autoBranchCreationConfig?: AutoBranchCreationConfig;
867
-
868
555
  repository?: string;
869
-
870
556
  oauthToken?: string;
871
-
872
557
  accessToken?: string;
873
558
  }
874
-
875
559
  export interface UpdateAppResult {
876
560
  app: App | undefined;
877
561
  }
878
-
879
562
  export interface UpdateBranchRequest {
880
563
  appId: string | undefined;
881
-
882
564
  branchName: string | undefined;
883
-
884
565
  description?: string;
885
-
886
566
  framework?: string;
887
-
888
567
  stage?: Stage | string;
889
-
890
568
  enableNotification?: boolean;
891
-
892
569
  enableAutoBuild?: boolean;
893
-
894
570
  environmentVariables?: Record<string, string>;
895
-
896
571
  basicAuthCredentials?: string;
897
-
898
572
  enableBasicAuth?: boolean;
899
-
900
573
  enablePerformanceMode?: boolean;
901
-
902
574
  buildSpec?: string;
903
-
904
575
  ttl?: string;
905
-
906
576
  displayName?: string;
907
-
908
577
  enablePullRequestPreview?: boolean;
909
-
910
578
  pullRequestEnvironmentName?: string;
911
-
912
579
  backendEnvironmentArn?: string;
913
580
  }
914
-
915
581
  export interface UpdateBranchResult {
916
582
  branch: Branch | undefined;
917
583
  }
918
-
919
584
  export interface UpdateDomainAssociationRequest {
920
585
  appId: string | undefined;
921
-
922
586
  domainName: string | undefined;
923
-
924
587
  enableAutoSubDomain?: boolean;
925
-
926
588
  subDomainSettings?: SubDomainSetting[];
927
-
928
589
  autoSubDomainCreationPatterns?: string[];
929
-
930
590
  autoSubDomainIAMRole?: string;
931
591
  }
932
-
933
592
  export interface UpdateDomainAssociationResult {
934
593
  domainAssociation: DomainAssociation | undefined;
935
594
  }
936
-
937
595
  export interface UpdateWebhookRequest {
938
596
  webhookId: string | undefined;
939
-
940
597
  branchName?: string;
941
-
942
598
  description?: string;
943
599
  }
944
-
945
600
  export interface UpdateWebhookResult {
946
601
  webhook: Webhook | undefined;
947
602
  }
948
-
949
603
  export declare const AutoBranchCreationConfigFilterSensitiveLog: (
950
604
  obj: AutoBranchCreationConfig
951
605
  ) => any;
952
-
953
606
  export declare const CustomRuleFilterSensitiveLog: (obj: CustomRule) => any;
954
-
955
607
  export declare const CreateAppRequestFilterSensitiveLog: (
956
608
  obj: CreateAppRequest
957
609
  ) => any;
958
-
959
610
  export declare const ProductionBranchFilterSensitiveLog: (
960
611
  obj: ProductionBranch
961
612
  ) => any;
962
-
963
613
  export declare const AppFilterSensitiveLog: (obj: App) => any;
964
-
965
614
  export declare const CreateAppResultFilterSensitiveLog: (
966
615
  obj: CreateAppResult
967
616
  ) => any;
968
-
969
617
  export declare const CreateBackendEnvironmentRequestFilterSensitiveLog: (
970
618
  obj: CreateBackendEnvironmentRequest
971
619
  ) => any;
972
-
973
620
  export declare const BackendEnvironmentFilterSensitiveLog: (
974
621
  obj: BackendEnvironment
975
622
  ) => any;
976
-
977
623
  export declare const CreateBackendEnvironmentResultFilterSensitiveLog: (
978
624
  obj: CreateBackendEnvironmentResult
979
625
  ) => any;
980
-
981
626
  export declare const CreateBranchRequestFilterSensitiveLog: (
982
627
  obj: CreateBranchRequest
983
628
  ) => any;
984
-
985
629
  export declare const BranchFilterSensitiveLog: (obj: Branch) => any;
986
-
987
630
  export declare const CreateBranchResultFilterSensitiveLog: (
988
631
  obj: CreateBranchResult
989
632
  ) => any;
990
-
991
633
  export declare const CreateDeploymentRequestFilterSensitiveLog: (
992
634
  obj: CreateDeploymentRequest
993
635
  ) => any;
994
-
995
636
  export declare const CreateDeploymentResultFilterSensitiveLog: (
996
637
  obj: CreateDeploymentResult
997
638
  ) => any;
998
-
999
639
  export declare const SubDomainSettingFilterSensitiveLog: (
1000
640
  obj: SubDomainSetting
1001
641
  ) => any;
1002
-
1003
642
  export declare const CreateDomainAssociationRequestFilterSensitiveLog: (
1004
643
  obj: CreateDomainAssociationRequest
1005
644
  ) => any;
1006
-
1007
645
  export declare const SubDomainFilterSensitiveLog: (obj: SubDomain) => any;
1008
-
1009
646
  export declare const DomainAssociationFilterSensitiveLog: (
1010
647
  obj: DomainAssociation
1011
648
  ) => any;
1012
-
1013
649
  export declare const CreateDomainAssociationResultFilterSensitiveLog: (
1014
650
  obj: CreateDomainAssociationResult
1015
651
  ) => any;
1016
-
1017
652
  export declare const CreateWebhookRequestFilterSensitiveLog: (
1018
653
  obj: CreateWebhookRequest
1019
654
  ) => any;
1020
-
1021
655
  export declare const WebhookFilterSensitiveLog: (obj: Webhook) => any;
1022
-
1023
656
  export declare const CreateWebhookResultFilterSensitiveLog: (
1024
657
  obj: CreateWebhookResult
1025
658
  ) => any;
1026
-
1027
659
  export declare const DeleteAppRequestFilterSensitiveLog: (
1028
660
  obj: DeleteAppRequest
1029
661
  ) => any;
1030
-
1031
662
  export declare const DeleteAppResultFilterSensitiveLog: (
1032
663
  obj: DeleteAppResult
1033
664
  ) => any;
1034
-
1035
665
  export declare const DeleteBackendEnvironmentRequestFilterSensitiveLog: (
1036
666
  obj: DeleteBackendEnvironmentRequest
1037
667
  ) => any;
1038
-
1039
668
  export declare const DeleteBackendEnvironmentResultFilterSensitiveLog: (
1040
669
  obj: DeleteBackendEnvironmentResult
1041
670
  ) => any;
1042
-
1043
671
  export declare const DeleteBranchRequestFilterSensitiveLog: (
1044
672
  obj: DeleteBranchRequest
1045
673
  ) => any;
1046
-
1047
674
  export declare const DeleteBranchResultFilterSensitiveLog: (
1048
675
  obj: DeleteBranchResult
1049
676
  ) => any;
1050
-
1051
677
  export declare const DeleteDomainAssociationRequestFilterSensitiveLog: (
1052
678
  obj: DeleteDomainAssociationRequest
1053
679
  ) => any;
1054
-
1055
680
  export declare const DeleteDomainAssociationResultFilterSensitiveLog: (
1056
681
  obj: DeleteDomainAssociationResult
1057
682
  ) => any;
1058
-
1059
683
  export declare const DeleteJobRequestFilterSensitiveLog: (
1060
684
  obj: DeleteJobRequest
1061
685
  ) => any;
1062
-
1063
686
  export declare const JobSummaryFilterSensitiveLog: (obj: JobSummary) => any;
1064
-
1065
687
  export declare const DeleteJobResultFilterSensitiveLog: (
1066
688
  obj: DeleteJobResult
1067
689
  ) => any;
1068
-
1069
690
  export declare const DeleteWebhookRequestFilterSensitiveLog: (
1070
691
  obj: DeleteWebhookRequest
1071
692
  ) => any;
1072
-
1073
693
  export declare const DeleteWebhookResultFilterSensitiveLog: (
1074
694
  obj: DeleteWebhookResult
1075
695
  ) => any;
1076
-
1077
696
  export declare const GenerateAccessLogsRequestFilterSensitiveLog: (
1078
697
  obj: GenerateAccessLogsRequest
1079
698
  ) => any;
1080
-
1081
699
  export declare const GenerateAccessLogsResultFilterSensitiveLog: (
1082
700
  obj: GenerateAccessLogsResult
1083
701
  ) => any;
1084
-
1085
702
  export declare const GetAppRequestFilterSensitiveLog: (
1086
703
  obj: GetAppRequest
1087
704
  ) => any;
1088
-
1089
705
  export declare const GetAppResultFilterSensitiveLog: (obj: GetAppResult) => any;
1090
-
1091
706
  export declare const GetArtifactUrlRequestFilterSensitiveLog: (
1092
707
  obj: GetArtifactUrlRequest
1093
708
  ) => any;
1094
-
1095
709
  export declare const GetArtifactUrlResultFilterSensitiveLog: (
1096
710
  obj: GetArtifactUrlResult
1097
711
  ) => any;
1098
-
1099
712
  export declare const GetBackendEnvironmentRequestFilterSensitiveLog: (
1100
713
  obj: GetBackendEnvironmentRequest
1101
714
  ) => any;
1102
-
1103
715
  export declare const GetBackendEnvironmentResultFilterSensitiveLog: (
1104
716
  obj: GetBackendEnvironmentResult
1105
717
  ) => any;
1106
-
1107
718
  export declare const GetBranchRequestFilterSensitiveLog: (
1108
719
  obj: GetBranchRequest
1109
720
  ) => any;
1110
-
1111
721
  export declare const GetBranchResultFilterSensitiveLog: (
1112
722
  obj: GetBranchResult
1113
723
  ) => any;
1114
-
1115
724
  export declare const GetDomainAssociationRequestFilterSensitiveLog: (
1116
725
  obj: GetDomainAssociationRequest
1117
726
  ) => any;
1118
-
1119
727
  export declare const GetDomainAssociationResultFilterSensitiveLog: (
1120
728
  obj: GetDomainAssociationResult
1121
729
  ) => any;
1122
-
1123
730
  export declare const GetJobRequestFilterSensitiveLog: (
1124
731
  obj: GetJobRequest
1125
732
  ) => any;
1126
-
1127
733
  export declare const StepFilterSensitiveLog: (obj: Step) => any;
1128
-
1129
734
  export declare const JobFilterSensitiveLog: (obj: Job) => any;
1130
-
1131
735
  export declare const GetJobResultFilterSensitiveLog: (obj: GetJobResult) => any;
1132
-
1133
736
  export declare const GetWebhookRequestFilterSensitiveLog: (
1134
737
  obj: GetWebhookRequest
1135
738
  ) => any;
1136
-
1137
739
  export declare const GetWebhookResultFilterSensitiveLog: (
1138
740
  obj: GetWebhookResult
1139
741
  ) => any;
1140
-
1141
742
  export declare const ListAppsRequestFilterSensitiveLog: (
1142
743
  obj: ListAppsRequest
1143
744
  ) => any;
1144
-
1145
745
  export declare const ListAppsResultFilterSensitiveLog: (
1146
746
  obj: ListAppsResult
1147
747
  ) => any;
1148
-
1149
748
  export declare const ListArtifactsRequestFilterSensitiveLog: (
1150
749
  obj: ListArtifactsRequest
1151
750
  ) => any;
1152
-
1153
751
  export declare const ArtifactFilterSensitiveLog: (obj: Artifact) => any;
1154
-
1155
752
  export declare const ListArtifactsResultFilterSensitiveLog: (
1156
753
  obj: ListArtifactsResult
1157
754
  ) => any;
1158
-
1159
755
  export declare const ListBackendEnvironmentsRequestFilterSensitiveLog: (
1160
756
  obj: ListBackendEnvironmentsRequest
1161
757
  ) => any;
1162
-
1163
758
  export declare const ListBackendEnvironmentsResultFilterSensitiveLog: (
1164
759
  obj: ListBackendEnvironmentsResult
1165
760
  ) => any;
1166
-
1167
761
  export declare const ListBranchesRequestFilterSensitiveLog: (
1168
762
  obj: ListBranchesRequest
1169
763
  ) => any;
1170
-
1171
764
  export declare const ListBranchesResultFilterSensitiveLog: (
1172
765
  obj: ListBranchesResult
1173
766
  ) => any;
1174
-
1175
767
  export declare const ListDomainAssociationsRequestFilterSensitiveLog: (
1176
768
  obj: ListDomainAssociationsRequest
1177
769
  ) => any;
1178
-
1179
770
  export declare const ListDomainAssociationsResultFilterSensitiveLog: (
1180
771
  obj: ListDomainAssociationsResult
1181
772
  ) => any;
1182
-
1183
773
  export declare const ListJobsRequestFilterSensitiveLog: (
1184
774
  obj: ListJobsRequest
1185
775
  ) => any;
1186
-
1187
776
  export declare const ListJobsResultFilterSensitiveLog: (
1188
777
  obj: ListJobsResult
1189
778
  ) => any;
1190
-
1191
779
  export declare const ListTagsForResourceRequestFilterSensitiveLog: (
1192
780
  obj: ListTagsForResourceRequest
1193
781
  ) => any;
1194
-
1195
782
  export declare const ListTagsForResourceResponseFilterSensitiveLog: (
1196
783
  obj: ListTagsForResourceResponse
1197
784
  ) => any;
1198
-
1199
785
  export declare const ListWebhooksRequestFilterSensitiveLog: (
1200
786
  obj: ListWebhooksRequest
1201
787
  ) => any;
1202
-
1203
788
  export declare const ListWebhooksResultFilterSensitiveLog: (
1204
789
  obj: ListWebhooksResult
1205
790
  ) => any;
1206
-
1207
791
  export declare const StartDeploymentRequestFilterSensitiveLog: (
1208
792
  obj: StartDeploymentRequest
1209
793
  ) => any;
1210
-
1211
794
  export declare const StartDeploymentResultFilterSensitiveLog: (
1212
795
  obj: StartDeploymentResult
1213
796
  ) => any;
1214
-
1215
797
  export declare const StartJobRequestFilterSensitiveLog: (
1216
798
  obj: StartJobRequest
1217
799
  ) => any;
1218
-
1219
800
  export declare const StartJobResultFilterSensitiveLog: (
1220
801
  obj: StartJobResult
1221
802
  ) => any;
1222
-
1223
803
  export declare const StopJobRequestFilterSensitiveLog: (
1224
804
  obj: StopJobRequest
1225
805
  ) => any;
1226
-
1227
806
  export declare const StopJobResultFilterSensitiveLog: (
1228
807
  obj: StopJobResult
1229
808
  ) => any;
1230
-
1231
809
  export declare const TagResourceRequestFilterSensitiveLog: (
1232
810
  obj: TagResourceRequest
1233
811
  ) => any;
1234
-
1235
812
  export declare const TagResourceResponseFilterSensitiveLog: (
1236
813
  obj: TagResourceResponse
1237
814
  ) => any;
1238
-
1239
815
  export declare const UntagResourceRequestFilterSensitiveLog: (
1240
816
  obj: UntagResourceRequest
1241
817
  ) => any;
1242
-
1243
818
  export declare const UntagResourceResponseFilterSensitiveLog: (
1244
819
  obj: UntagResourceResponse
1245
820
  ) => any;
1246
-
1247
821
  export declare const UpdateAppRequestFilterSensitiveLog: (
1248
822
  obj: UpdateAppRequest
1249
823
  ) => any;
1250
-
1251
824
  export declare const UpdateAppResultFilterSensitiveLog: (
1252
825
  obj: UpdateAppResult
1253
826
  ) => any;
1254
-
1255
827
  export declare const UpdateBranchRequestFilterSensitiveLog: (
1256
828
  obj: UpdateBranchRequest
1257
829
  ) => any;
1258
-
1259
830
  export declare const UpdateBranchResultFilterSensitiveLog: (
1260
831
  obj: UpdateBranchResult
1261
832
  ) => any;
1262
-
1263
833
  export declare const UpdateDomainAssociationRequestFilterSensitiveLog: (
1264
834
  obj: UpdateDomainAssociationRequest
1265
835
  ) => any;
1266
-
1267
836
  export declare const UpdateDomainAssociationResultFilterSensitiveLog: (
1268
837
  obj: UpdateDomainAssociationResult
1269
838
  ) => any;
1270
-
1271
839
  export declare const UpdateWebhookRequestFilterSensitiveLog: (
1272
840
  obj: UpdateWebhookRequest
1273
841
  ) => any;
1274
-
1275
842
  export declare const UpdateWebhookResultFilterSensitiveLog: (
1276
843
  obj: UpdateWebhookResult
1277
844
  ) => any;