@aws-sdk/client-amplifybackend 3.169.0 → 3.170.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 (46) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/AmplifyBackend.d.ts +562 -160
  3. package/dist-types/ts3.4/AmplifyBackendClient.d.ts +316 -104
  4. package/dist-types/ts3.4/commands/CloneBackendCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/CreateBackendAPICommand.d.ts +37 -17
  6. package/dist-types/ts3.4/commands/CreateBackendAuthCommand.d.ts +38 -17
  7. package/dist-types/ts3.4/commands/CreateBackendCommand.d.ts +37 -17
  8. package/dist-types/ts3.4/commands/CreateBackendConfigCommand.d.ts +38 -17
  9. package/dist-types/ts3.4/commands/CreateBackendStorageCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/DeleteBackendAPICommand.d.ts +37 -17
  12. package/dist-types/ts3.4/commands/DeleteBackendAuthCommand.d.ts +38 -17
  13. package/dist-types/ts3.4/commands/DeleteBackendCommand.d.ts +37 -17
  14. package/dist-types/ts3.4/commands/DeleteBackendStorageCommand.d.ts +41 -17
  15. package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +34 -17
  16. package/dist-types/ts3.4/commands/GenerateBackendAPIModelsCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/GetBackendAPICommand.d.ts +37 -17
  18. package/dist-types/ts3.4/commands/GetBackendAPIModelsCommand.d.ts +38 -17
  19. package/dist-types/ts3.4/commands/GetBackendAuthCommand.d.ts +37 -17
  20. package/dist-types/ts3.4/commands/GetBackendCommand.d.ts +34 -17
  21. package/dist-types/ts3.4/commands/GetBackendJobCommand.d.ts +37 -17
  22. package/dist-types/ts3.4/commands/GetBackendStorageCommand.d.ts +38 -17
  23. package/dist-types/ts3.4/commands/GetTokenCommand.d.ts +34 -17
  24. package/dist-types/ts3.4/commands/ImportBackendAuthCommand.d.ts +38 -17
  25. package/dist-types/ts3.4/commands/ImportBackendStorageCommand.d.ts +41 -17
  26. package/dist-types/ts3.4/commands/ListBackendJobsCommand.d.ts +37 -17
  27. package/dist-types/ts3.4/commands/ListS3BucketsCommand.d.ts +37 -17
  28. package/dist-types/ts3.4/commands/RemoveAllBackendsCommand.d.ts +38 -17
  29. package/dist-types/ts3.4/commands/RemoveBackendConfigCommand.d.ts +38 -17
  30. package/dist-types/ts3.4/commands/UpdateBackendAPICommand.d.ts +37 -17
  31. package/dist-types/ts3.4/commands/UpdateBackendAuthCommand.d.ts +38 -17
  32. package/dist-types/ts3.4/commands/UpdateBackendConfigCommand.d.ts +38 -17
  33. package/dist-types/ts3.4/commands/UpdateBackendJobCommand.d.ts +37 -17
  34. package/dist-types/ts3.4/commands/UpdateBackendStorageCommand.d.ts +41 -17
  35. package/dist-types/ts3.4/commands/index.d.ts +31 -31
  36. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  37. package/dist-types/ts3.4/index.d.ts +5 -5
  38. package/dist-types/ts3.4/models/AmplifyBackendServiceException.d.ts +8 -6
  39. package/dist-types/ts3.4/models/index.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_0.d.ts +1398 -1300
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +377 -95
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  46. package/package.json +34 -34
@@ -1,1300 +1,1398 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { AmplifyBackendServiceException as __BaseException } from "./AmplifyBackendServiceException";
3
- export declare enum AdditionalConstraintsElement {
4
- REQUIRE_DIGIT = "REQUIRE_DIGIT",
5
- REQUIRE_LOWERCASE = "REQUIRE_LOWERCASE",
6
- REQUIRE_SYMBOL = "REQUIRE_SYMBOL",
7
- REQUIRE_UPPERCASE = "REQUIRE_UPPERCASE"
8
- }
9
-
10
- export declare class BadRequestException extends __BaseException {
11
- readonly name: "BadRequestException";
12
- readonly $fault: "client";
13
-
14
- Message?: string;
15
-
16
- constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
17
- }
18
-
19
- export interface CloneBackendRequest {
20
-
21
- AppId: string | undefined;
22
-
23
- BackendEnvironmentName: string | undefined;
24
-
25
- TargetEnvironmentName: string | undefined;
26
- }
27
- export interface CloneBackendResponse {
28
-
29
- AppId?: string;
30
-
31
- BackendEnvironmentName?: string;
32
-
33
- Error?: string;
34
-
35
- JobId?: string;
36
-
37
- Operation?: string;
38
-
39
- Status?: string;
40
- }
41
-
42
- export declare class GatewayTimeoutException extends __BaseException {
43
- readonly name: "GatewayTimeoutException";
44
- readonly $fault: "server";
45
-
46
- Message?: string;
47
-
48
- constructor(opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>);
49
- }
50
-
51
- export declare class NotFoundException extends __BaseException {
52
- readonly name: "NotFoundException";
53
- readonly $fault: "client";
54
-
55
- Message?: string;
56
-
57
- ResourceType?: string;
58
-
59
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
60
- }
61
-
62
- export declare class TooManyRequestsException extends __BaseException {
63
- readonly name: "TooManyRequestsException";
64
- readonly $fault: "client";
65
-
66
- LimitType?: string;
67
-
68
- Message?: string;
69
-
70
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
71
- }
72
-
73
- export interface ResourceConfig {
74
- }
75
-
76
- export interface CreateBackendRequest {
77
-
78
- AppId: string | undefined;
79
-
80
- AppName: string | undefined;
81
-
82
- BackendEnvironmentName: string | undefined;
83
-
84
- ResourceConfig?: ResourceConfig;
85
-
86
- ResourceName?: string;
87
- }
88
- export interface CreateBackendResponse {
89
-
90
- AppId?: string;
91
-
92
- BackendEnvironmentName?: string;
93
-
94
- Error?: string;
95
-
96
- JobId?: string;
97
-
98
- Operation?: string;
99
-
100
- Status?: string;
101
- }
102
- export declare enum Mode {
103
- AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS",
104
- API_KEY = "API_KEY",
105
- AWS_IAM = "AWS_IAM",
106
- OPENID_CONNECT = "OPENID_CONNECT"
107
- }
108
-
109
- export interface BackendAPIAppSyncAuthSettings {
110
-
111
- CognitoUserPoolId?: string;
112
-
113
- Description?: string;
114
-
115
- ExpirationTime?: number;
116
-
117
- OpenIDAuthTTL?: string;
118
-
119
- OpenIDClientId?: string;
120
-
121
- OpenIDIatTTL?: string;
122
-
123
- OpenIDIssueURL?: string;
124
-
125
- OpenIDProviderName?: string;
126
- }
127
-
128
- export interface BackendAPIAuthType {
129
-
130
- Mode?: Mode | string;
131
-
132
- Settings?: BackendAPIAppSyncAuthSettings;
133
- }
134
- export declare enum ResolutionStrategy {
135
- AUTOMERGE = "AUTOMERGE",
136
- LAMBDA = "LAMBDA",
137
- NONE = "NONE",
138
- OPTIMISTIC_CONCURRENCY = "OPTIMISTIC_CONCURRENCY"
139
- }
140
-
141
- export interface BackendAPIConflictResolution {
142
-
143
- ResolutionStrategy?: ResolutionStrategy | string;
144
- }
145
-
146
- export interface BackendAPIResourceConfig {
147
-
148
- AdditionalAuthTypes?: BackendAPIAuthType[];
149
-
150
- ApiName?: string;
151
-
152
- ConflictResolution?: BackendAPIConflictResolution;
153
-
154
- DefaultAuthType?: BackendAPIAuthType;
155
-
156
- Service?: string;
157
-
158
- TransformSchema?: string;
159
- }
160
-
161
- export interface CreateBackendAPIRequest {
162
-
163
- AppId: string | undefined;
164
-
165
- BackendEnvironmentName: string | undefined;
166
-
167
- ResourceConfig: BackendAPIResourceConfig | undefined;
168
-
169
- ResourceName: string | undefined;
170
- }
171
- export interface CreateBackendAPIResponse {
172
-
173
- AppId?: string;
174
-
175
- BackendEnvironmentName?: string;
176
-
177
- Error?: string;
178
-
179
- JobId?: string;
180
-
181
- Operation?: string;
182
-
183
- Status?: string;
184
- }
185
- export declare enum AuthResources {
186
- IDENTITY_POOL_AND_USER_POOL = "IDENTITY_POOL_AND_USER_POOL",
187
- USER_POOL_ONLY = "USER_POOL_ONLY"
188
- }
189
-
190
- export interface CreateBackendAuthIdentityPoolConfig {
191
-
192
- IdentityPoolName: string | undefined;
193
-
194
- UnauthenticatedLogin: boolean | undefined;
195
- }
196
- export declare enum Service {
197
- COGNITO = "COGNITO"
198
- }
199
- export declare enum DeliveryMethod {
200
- EMAIL = "EMAIL",
201
- SMS = "SMS"
202
- }
203
-
204
- export interface EmailSettings {
205
-
206
- EmailMessage?: string;
207
-
208
- EmailSubject?: string;
209
- }
210
-
211
- export interface SmsSettings {
212
-
213
- SmsMessage?: string;
214
- }
215
-
216
- export interface CreateBackendAuthForgotPasswordConfig {
217
-
218
- DeliveryMethod: DeliveryMethod | string | undefined;
219
-
220
- EmailSettings?: EmailSettings;
221
-
222
- SmsSettings?: SmsSettings;
223
- }
224
- export declare enum MFAMode {
225
- OFF = "OFF",
226
- ON = "ON",
227
- OPTIONAL = "OPTIONAL"
228
- }
229
- export declare enum MfaTypesElement {
230
- SMS = "SMS",
231
- TOTP = "TOTP"
232
- }
233
-
234
- export interface Settings {
235
-
236
- MfaTypes?: (MfaTypesElement | string)[];
237
-
238
- SmsMessage?: string;
239
- }
240
-
241
- export interface CreateBackendAuthMFAConfig {
242
-
243
- MFAMode: MFAMode | string | undefined;
244
-
245
- Settings?: Settings;
246
- }
247
- export declare enum OAuthGrantType {
248
- CODE = "CODE",
249
- IMPLICIT = "IMPLICIT"
250
- }
251
- export declare enum OAuthScopesElement {
252
- AWS_COGNITO_SIGNIN_USER_ADMIN = "AWS_COGNITO_SIGNIN_USER_ADMIN",
253
- EMAIL = "EMAIL",
254
- OPENID = "OPENID",
255
- PHONE = "PHONE",
256
- PROFILE = "PROFILE"
257
- }
258
-
259
- export interface BackendAuthSocialProviderConfig {
260
-
261
- ClientId?: string;
262
-
263
- ClientSecret?: string;
264
- }
265
-
266
- export interface BackendAuthAppleProviderConfig {
267
-
268
- ClientId?: string;
269
-
270
- KeyId?: string;
271
-
272
- PrivateKey?: string;
273
-
274
- TeamId?: string;
275
- }
276
-
277
- export interface SocialProviderSettings {
278
-
279
- Facebook?: BackendAuthSocialProviderConfig;
280
-
281
- Google?: BackendAuthSocialProviderConfig;
282
-
283
- LoginWithAmazon?: BackendAuthSocialProviderConfig;
284
-
285
- SignInWithApple?: BackendAuthAppleProviderConfig;
286
- }
287
-
288
- export interface CreateBackendAuthOAuthConfig {
289
-
290
- DomainPrefix?: string;
291
-
292
- OAuthGrantType: OAuthGrantType | string | undefined;
293
-
294
- OAuthScopes: (OAuthScopesElement | string)[] | undefined;
295
-
296
- RedirectSignInURIs: string[] | undefined;
297
-
298
- RedirectSignOutURIs: string[] | undefined;
299
-
300
- SocialProviderSettings?: SocialProviderSettings;
301
- }
302
-
303
- export interface CreateBackendAuthPasswordPolicyConfig {
304
-
305
- AdditionalConstraints?: (AdditionalConstraintsElement | string)[];
306
-
307
- MinimumLength: number | undefined;
308
- }
309
- export declare enum RequiredSignUpAttributesElement {
310
- ADDRESS = "ADDRESS",
311
- BIRTHDATE = "BIRTHDATE",
312
- EMAIL = "EMAIL",
313
- FAMILY_NAME = "FAMILY_NAME",
314
- GENDER = "GENDER",
315
- GIVEN_NAME = "GIVEN_NAME",
316
- LOCALE = "LOCALE",
317
- MIDDLE_NAME = "MIDDLE_NAME",
318
- NAME = "NAME",
319
- NICKNAME = "NICKNAME",
320
- PHONE_NUMBER = "PHONE_NUMBER",
321
- PICTURE = "PICTURE",
322
- PREFERRED_USERNAME = "PREFERRED_USERNAME",
323
- PROFILE = "PROFILE",
324
- UPDATED_AT = "UPDATED_AT",
325
- WEBSITE = "WEBSITE",
326
- ZONE_INFO = "ZONE_INFO"
327
- }
328
- export declare enum SignInMethod {
329
- EMAIL = "EMAIL",
330
- EMAIL_AND_PHONE_NUMBER = "EMAIL_AND_PHONE_NUMBER",
331
- PHONE_NUMBER = "PHONE_NUMBER",
332
- USERNAME = "USERNAME"
333
- }
334
-
335
- export interface CreateBackendAuthVerificationMessageConfig {
336
-
337
- DeliveryMethod: DeliveryMethod | string | undefined;
338
-
339
- EmailSettings?: EmailSettings;
340
-
341
- SmsSettings?: SmsSettings;
342
- }
343
-
344
- export interface CreateBackendAuthUserPoolConfig {
345
-
346
- ForgotPassword?: CreateBackendAuthForgotPasswordConfig;
347
-
348
- Mfa?: CreateBackendAuthMFAConfig;
349
-
350
- OAuth?: CreateBackendAuthOAuthConfig;
351
-
352
- PasswordPolicy?: CreateBackendAuthPasswordPolicyConfig;
353
-
354
- RequiredSignUpAttributes: (RequiredSignUpAttributesElement | string)[] | undefined;
355
-
356
- SignInMethod: SignInMethod | string | undefined;
357
-
358
- UserPoolName: string | undefined;
359
-
360
- VerificationMessage?: CreateBackendAuthVerificationMessageConfig;
361
- }
362
-
363
- export interface CreateBackendAuthResourceConfig {
364
-
365
- AuthResources: AuthResources | string | undefined;
366
-
367
- IdentityPoolConfigs?: CreateBackendAuthIdentityPoolConfig;
368
-
369
- Service: Service | string | undefined;
370
-
371
- UserPoolConfigs: CreateBackendAuthUserPoolConfig | undefined;
372
- }
373
-
374
- export interface CreateBackendAuthRequest {
375
-
376
- AppId: string | undefined;
377
-
378
- BackendEnvironmentName: string | undefined;
379
-
380
- ResourceConfig: CreateBackendAuthResourceConfig | undefined;
381
-
382
- ResourceName: string | undefined;
383
- }
384
- export interface CreateBackendAuthResponse {
385
-
386
- AppId?: string;
387
-
388
- BackendEnvironmentName?: string;
389
-
390
- Error?: string;
391
-
392
- JobId?: string;
393
-
394
- Operation?: string;
395
-
396
- Status?: string;
397
- }
398
-
399
- export interface CreateBackendConfigRequest {
400
-
401
- AppId: string | undefined;
402
-
403
- BackendManagerAppId?: string;
404
- }
405
- export interface CreateBackendConfigResponse {
406
-
407
- AppId?: string;
408
-
409
- BackendEnvironmentName?: string;
410
-
411
- JobId?: string;
412
-
413
- Status?: string;
414
- }
415
- export declare enum AuthenticatedElement {
416
- CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
417
- DELETE = "DELETE",
418
- READ = "READ"
419
- }
420
- export declare enum UnAuthenticatedElement {
421
- CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
422
- DELETE = "DELETE",
423
- READ = "READ"
424
- }
425
-
426
- export interface BackendStoragePermissions {
427
-
428
- Authenticated: (AuthenticatedElement | string)[] | undefined;
429
-
430
- UnAuthenticated?: (UnAuthenticatedElement | string)[];
431
- }
432
- export declare enum ServiceName {
433
- S3 = "S3"
434
- }
435
-
436
- export interface CreateBackendStorageResourceConfig {
437
-
438
- BucketName?: string;
439
-
440
- Permissions: BackendStoragePermissions | undefined;
441
-
442
- ServiceName: ServiceName | string | undefined;
443
- }
444
-
445
- export interface CreateBackendStorageRequest {
446
-
447
- AppId: string | undefined;
448
-
449
- BackendEnvironmentName: string | undefined;
450
-
451
- ResourceConfig: CreateBackendStorageResourceConfig | undefined;
452
-
453
- ResourceName: string | undefined;
454
- }
455
- export interface CreateBackendStorageResponse {
456
-
457
- AppId?: string;
458
-
459
- BackendEnvironmentName?: string;
460
-
461
- JobId?: string;
462
-
463
- Status?: string;
464
- }
465
- export interface CreateTokenRequest {
466
-
467
- AppId: string | undefined;
468
- }
469
- export interface CreateTokenResponse {
470
-
471
- AppId?: string;
472
-
473
- ChallengeCode?: string;
474
-
475
- SessionId?: string;
476
-
477
- Ttl?: string;
478
- }
479
- export interface DeleteBackendRequest {
480
-
481
- AppId: string | undefined;
482
-
483
- BackendEnvironmentName: string | undefined;
484
- }
485
- export interface DeleteBackendResponse {
486
-
487
- AppId?: string;
488
-
489
- BackendEnvironmentName?: string;
490
-
491
- Error?: string;
492
-
493
- JobId?: string;
494
-
495
- Operation?: string;
496
-
497
- Status?: string;
498
- }
499
-
500
- export interface DeleteBackendAPIRequest {
501
-
502
- AppId: string | undefined;
503
-
504
- BackendEnvironmentName: string | undefined;
505
-
506
- ResourceConfig?: BackendAPIResourceConfig;
507
-
508
- ResourceName: string | undefined;
509
- }
510
- export interface DeleteBackendAPIResponse {
511
-
512
- AppId?: string;
513
-
514
- BackendEnvironmentName?: string;
515
-
516
- Error?: string;
517
-
518
- JobId?: string;
519
-
520
- Operation?: string;
521
-
522
- Status?: string;
523
- }
524
-
525
- export interface DeleteBackendAuthRequest {
526
-
527
- AppId: string | undefined;
528
-
529
- BackendEnvironmentName: string | undefined;
530
-
531
- ResourceName: string | undefined;
532
- }
533
- export interface DeleteBackendAuthResponse {
534
-
535
- AppId?: string;
536
-
537
- BackendEnvironmentName?: string;
538
-
539
- Error?: string;
540
-
541
- JobId?: string;
542
-
543
- Operation?: string;
544
-
545
- Status?: string;
546
- }
547
-
548
- export interface DeleteBackendStorageRequest {
549
-
550
- AppId: string | undefined;
551
-
552
- BackendEnvironmentName: string | undefined;
553
-
554
- ResourceName: string | undefined;
555
-
556
- ServiceName: ServiceName | string | undefined;
557
- }
558
- export interface DeleteBackendStorageResponse {
559
-
560
- AppId?: string;
561
-
562
- BackendEnvironmentName?: string;
563
-
564
- JobId?: string;
565
-
566
- Status?: string;
567
- }
568
- export interface DeleteTokenRequest {
569
-
570
- AppId: string | undefined;
571
-
572
- SessionId: string | undefined;
573
- }
574
- export interface DeleteTokenResponse {
575
-
576
- IsSuccess?: boolean;
577
- }
578
-
579
- export interface GenerateBackendAPIModelsRequest {
580
-
581
- AppId: string | undefined;
582
-
583
- BackendEnvironmentName: string | undefined;
584
-
585
- ResourceName: string | undefined;
586
- }
587
- export interface GenerateBackendAPIModelsResponse {
588
-
589
- AppId?: string;
590
-
591
- BackendEnvironmentName?: string;
592
-
593
- Error?: string;
594
-
595
- JobId?: string;
596
-
597
- Operation?: string;
598
-
599
- Status?: string;
600
- }
601
-
602
- export interface GetBackendRequest {
603
-
604
- AppId: string | undefined;
605
-
606
- BackendEnvironmentName?: string;
607
- }
608
- export interface GetBackendResponse {
609
-
610
- AmplifyFeatureFlags?: string;
611
-
612
- AmplifyMetaConfig?: string;
613
-
614
- AppId?: string;
615
-
616
- AppName?: string;
617
-
618
- BackendEnvironmentList?: string[];
619
-
620
- BackendEnvironmentName?: string;
621
-
622
- Error?: string;
623
- }
624
-
625
- export interface GetBackendAPIRequest {
626
-
627
- AppId: string | undefined;
628
-
629
- BackendEnvironmentName: string | undefined;
630
-
631
- ResourceConfig?: BackendAPIResourceConfig;
632
-
633
- ResourceName: string | undefined;
634
- }
635
- export interface GetBackendAPIResponse {
636
-
637
- AppId?: string;
638
-
639
- BackendEnvironmentName?: string;
640
-
641
- Error?: string;
642
-
643
- ResourceConfig?: BackendAPIResourceConfig;
644
-
645
- ResourceName?: string;
646
- }
647
-
648
- export interface GetBackendAPIModelsRequest {
649
-
650
- AppId: string | undefined;
651
-
652
- BackendEnvironmentName: string | undefined;
653
-
654
- ResourceName: string | undefined;
655
- }
656
- export declare enum Status {
657
- LATEST = "LATEST",
658
- STALE = "STALE"
659
- }
660
- export interface GetBackendAPIModelsResponse {
661
-
662
- Models?: string;
663
-
664
- Status?: Status | string;
665
- }
666
-
667
- export interface GetBackendAuthRequest {
668
-
669
- AppId: string | undefined;
670
-
671
- BackendEnvironmentName: string | undefined;
672
-
673
- ResourceName: string | undefined;
674
- }
675
- export interface GetBackendAuthResponse {
676
-
677
- AppId?: string;
678
-
679
- BackendEnvironmentName?: string;
680
-
681
- Error?: string;
682
-
683
- ResourceConfig?: CreateBackendAuthResourceConfig;
684
-
685
- ResourceName?: string;
686
- }
687
- export interface GetBackendJobRequest {
688
-
689
- AppId: string | undefined;
690
-
691
- BackendEnvironmentName: string | undefined;
692
-
693
- JobId: string | undefined;
694
- }
695
- export interface GetBackendJobResponse {
696
-
697
- AppId?: string;
698
-
699
- BackendEnvironmentName?: string;
700
-
701
- CreateTime?: string;
702
-
703
- Error?: string;
704
-
705
- JobId?: string;
706
-
707
- Operation?: string;
708
-
709
- Status?: string;
710
-
711
- UpdateTime?: string;
712
- }
713
-
714
- export interface GetBackendStorageRequest {
715
-
716
- AppId: string | undefined;
717
-
718
- BackendEnvironmentName: string | undefined;
719
-
720
- ResourceName: string | undefined;
721
- }
722
-
723
- export interface GetBackendStorageResourceConfig {
724
-
725
- BucketName?: string;
726
-
727
- Imported: boolean | undefined;
728
-
729
- Permissions?: BackendStoragePermissions;
730
-
731
- ServiceName: ServiceName | string | undefined;
732
- }
733
- export interface GetBackendStorageResponse {
734
-
735
- AppId?: string;
736
-
737
- BackendEnvironmentName?: string;
738
-
739
- ResourceConfig?: GetBackendStorageResourceConfig;
740
-
741
- ResourceName?: string;
742
- }
743
- export interface GetTokenRequest {
744
-
745
- AppId: string | undefined;
746
-
747
- SessionId: string | undefined;
748
- }
749
- export interface GetTokenResponse {
750
-
751
- AppId?: string;
752
-
753
- ChallengeCode?: string;
754
-
755
- SessionId?: string;
756
-
757
- Ttl?: string;
758
- }
759
-
760
- export interface ImportBackendAuthRequest {
761
-
762
- AppId: string | undefined;
763
-
764
- BackendEnvironmentName: string | undefined;
765
-
766
- IdentityPoolId?: string;
767
-
768
- NativeClientId: string | undefined;
769
-
770
- UserPoolId: string | undefined;
771
-
772
- WebClientId: string | undefined;
773
- }
774
- export interface ImportBackendAuthResponse {
775
-
776
- AppId?: string;
777
-
778
- BackendEnvironmentName?: string;
779
-
780
- Error?: string;
781
-
782
- JobId?: string;
783
-
784
- Operation?: string;
785
-
786
- Status?: string;
787
- }
788
-
789
- export interface ImportBackendStorageRequest {
790
-
791
- AppId: string | undefined;
792
-
793
- BackendEnvironmentName: string | undefined;
794
-
795
- BucketName?: string;
796
-
797
- ServiceName: ServiceName | string | undefined;
798
- }
799
- export interface ImportBackendStorageResponse {
800
-
801
- AppId?: string;
802
-
803
- BackendEnvironmentName?: string;
804
-
805
- JobId?: string;
806
-
807
- Status?: string;
808
- }
809
-
810
- export interface ListBackendJobsRequest {
811
-
812
- AppId: string | undefined;
813
-
814
- BackendEnvironmentName: string | undefined;
815
-
816
- JobId?: string;
817
-
818
- MaxResults?: number;
819
-
820
- NextToken?: string;
821
-
822
- Operation?: string;
823
-
824
- Status?: string;
825
- }
826
-
827
- export interface BackendJobRespObj {
828
-
829
- AppId: string | undefined;
830
-
831
- BackendEnvironmentName: string | undefined;
832
-
833
- CreateTime?: string;
834
-
835
- Error?: string;
836
-
837
- JobId?: string;
838
-
839
- Operation?: string;
840
-
841
- Status?: string;
842
-
843
- UpdateTime?: string;
844
- }
845
- export interface ListBackendJobsResponse {
846
-
847
- Jobs?: BackendJobRespObj[];
848
-
849
- NextToken?: string;
850
- }
851
-
852
- export interface ListS3BucketsRequest {
853
-
854
- NextToken?: string;
855
- }
856
-
857
- export interface S3BucketInfo {
858
-
859
- CreationDate?: string;
860
-
861
- Name?: string;
862
- }
863
- export interface ListS3BucketsResponse {
864
-
865
- Buckets?: S3BucketInfo[];
866
-
867
- NextToken?: string;
868
- }
869
-
870
- export interface RemoveAllBackendsRequest {
871
-
872
- AppId: string | undefined;
873
-
874
- CleanAmplifyApp?: boolean;
875
- }
876
- export interface RemoveAllBackendsResponse {
877
-
878
- AppId?: string;
879
-
880
- Error?: string;
881
-
882
- JobId?: string;
883
-
884
- Operation?: string;
885
-
886
- Status?: string;
887
- }
888
- export interface RemoveBackendConfigRequest {
889
-
890
- AppId: string | undefined;
891
- }
892
- export interface RemoveBackendConfigResponse {
893
-
894
- Error?: string;
895
- }
896
-
897
- export interface UpdateBackendAPIRequest {
898
-
899
- AppId: string | undefined;
900
-
901
- BackendEnvironmentName: string | undefined;
902
-
903
- ResourceConfig?: BackendAPIResourceConfig;
904
-
905
- ResourceName: string | undefined;
906
- }
907
- export interface UpdateBackendAPIResponse {
908
-
909
- AppId?: string;
910
-
911
- BackendEnvironmentName?: string;
912
-
913
- Error?: string;
914
-
915
- JobId?: string;
916
-
917
- Operation?: string;
918
-
919
- Status?: string;
920
- }
921
-
922
- export interface UpdateBackendAuthIdentityPoolConfig {
923
-
924
- UnauthenticatedLogin?: boolean;
925
- }
926
-
927
- export interface UpdateBackendAuthForgotPasswordConfig {
928
-
929
- DeliveryMethod?: DeliveryMethod | string;
930
-
931
- EmailSettings?: EmailSettings;
932
-
933
- SmsSettings?: SmsSettings;
934
- }
935
-
936
- export interface UpdateBackendAuthMFAConfig {
937
-
938
- MFAMode?: MFAMode | string;
939
-
940
- Settings?: Settings;
941
- }
942
-
943
- export interface UpdateBackendAuthOAuthConfig {
944
-
945
- DomainPrefix?: string;
946
-
947
- OAuthGrantType?: OAuthGrantType | string;
948
-
949
- OAuthScopes?: (OAuthScopesElement | string)[];
950
-
951
- RedirectSignInURIs?: string[];
952
-
953
- RedirectSignOutURIs?: string[];
954
-
955
- SocialProviderSettings?: SocialProviderSettings;
956
- }
957
-
958
- export interface UpdateBackendAuthPasswordPolicyConfig {
959
-
960
- AdditionalConstraints?: (AdditionalConstraintsElement | string)[];
961
-
962
- MinimumLength?: number;
963
- }
964
-
965
- export interface UpdateBackendAuthVerificationMessageConfig {
966
-
967
- DeliveryMethod: DeliveryMethod | string | undefined;
968
-
969
- EmailSettings?: EmailSettings;
970
-
971
- SmsSettings?: SmsSettings;
972
- }
973
-
974
- export interface UpdateBackendAuthUserPoolConfig {
975
-
976
- ForgotPassword?: UpdateBackendAuthForgotPasswordConfig;
977
-
978
- Mfa?: UpdateBackendAuthMFAConfig;
979
-
980
- OAuth?: UpdateBackendAuthOAuthConfig;
981
-
982
- PasswordPolicy?: UpdateBackendAuthPasswordPolicyConfig;
983
-
984
- VerificationMessage?: UpdateBackendAuthVerificationMessageConfig;
985
- }
986
-
987
- export interface UpdateBackendAuthResourceConfig {
988
-
989
- AuthResources: AuthResources | string | undefined;
990
-
991
- IdentityPoolConfigs?: UpdateBackendAuthIdentityPoolConfig;
992
-
993
- Service: Service | string | undefined;
994
-
995
- UserPoolConfigs: UpdateBackendAuthUserPoolConfig | undefined;
996
- }
997
-
998
- export interface UpdateBackendAuthRequest {
999
-
1000
- AppId: string | undefined;
1001
-
1002
- BackendEnvironmentName: string | undefined;
1003
-
1004
- ResourceConfig: UpdateBackendAuthResourceConfig | undefined;
1005
-
1006
- ResourceName: string | undefined;
1007
- }
1008
- export interface UpdateBackendAuthResponse {
1009
-
1010
- AppId?: string;
1011
-
1012
- BackendEnvironmentName?: string;
1013
-
1014
- Error?: string;
1015
-
1016
- JobId?: string;
1017
-
1018
- Operation?: string;
1019
-
1020
- Status?: string;
1021
- }
1022
-
1023
- export interface LoginAuthConfigReqObj {
1024
-
1025
- AwsCognitoIdentityPoolId?: string;
1026
-
1027
- AwsCognitoRegion?: string;
1028
-
1029
- AwsUserPoolsId?: string;
1030
-
1031
- AwsUserPoolsWebClientId?: string;
1032
- }
1033
-
1034
- export interface UpdateBackendConfigRequest {
1035
-
1036
- AppId: string | undefined;
1037
-
1038
- LoginAuthConfig?: LoginAuthConfigReqObj;
1039
- }
1040
- export interface UpdateBackendConfigResponse {
1041
-
1042
- AppId?: string;
1043
-
1044
- BackendManagerAppId?: string;
1045
-
1046
- Error?: string;
1047
-
1048
- LoginAuthConfig?: LoginAuthConfigReqObj;
1049
- }
1050
-
1051
- export interface UpdateBackendJobRequest {
1052
-
1053
- AppId: string | undefined;
1054
-
1055
- BackendEnvironmentName: string | undefined;
1056
-
1057
- JobId: string | undefined;
1058
-
1059
- Operation?: string;
1060
-
1061
- Status?: string;
1062
- }
1063
- export interface UpdateBackendJobResponse {
1064
-
1065
- AppId?: string;
1066
-
1067
- BackendEnvironmentName?: string;
1068
-
1069
- CreateTime?: string;
1070
-
1071
- Error?: string;
1072
-
1073
- JobId?: string;
1074
-
1075
- Operation?: string;
1076
-
1077
- Status?: string;
1078
-
1079
- UpdateTime?: string;
1080
- }
1081
-
1082
- export interface UpdateBackendStorageResourceConfig {
1083
-
1084
- Permissions: BackendStoragePermissions | undefined;
1085
-
1086
- ServiceName: ServiceName | string | undefined;
1087
- }
1088
-
1089
- export interface UpdateBackendStorageRequest {
1090
-
1091
- AppId: string | undefined;
1092
-
1093
- BackendEnvironmentName: string | undefined;
1094
-
1095
- ResourceConfig: UpdateBackendStorageResourceConfig | undefined;
1096
-
1097
- ResourceName: string | undefined;
1098
- }
1099
- export interface UpdateBackendStorageResponse {
1100
-
1101
- AppId?: string;
1102
-
1103
- BackendEnvironmentName?: string;
1104
-
1105
- JobId?: string;
1106
-
1107
- Status?: string;
1108
- }
1109
-
1110
- export declare const CloneBackendRequestFilterSensitiveLog: (obj: CloneBackendRequest) => any;
1111
-
1112
- export declare const CloneBackendResponseFilterSensitiveLog: (obj: CloneBackendResponse) => any;
1113
-
1114
- export declare const ResourceConfigFilterSensitiveLog: (obj: ResourceConfig) => any;
1115
-
1116
- export declare const CreateBackendRequestFilterSensitiveLog: (obj: CreateBackendRequest) => any;
1117
-
1118
- export declare const CreateBackendResponseFilterSensitiveLog: (obj: CreateBackendResponse) => any;
1119
-
1120
- export declare const BackendAPIAppSyncAuthSettingsFilterSensitiveLog: (obj: BackendAPIAppSyncAuthSettings) => any;
1121
-
1122
- export declare const BackendAPIAuthTypeFilterSensitiveLog: (obj: BackendAPIAuthType) => any;
1123
-
1124
- export declare const BackendAPIConflictResolutionFilterSensitiveLog: (obj: BackendAPIConflictResolution) => any;
1125
-
1126
- export declare const BackendAPIResourceConfigFilterSensitiveLog: (obj: BackendAPIResourceConfig) => any;
1127
-
1128
- export declare const CreateBackendAPIRequestFilterSensitiveLog: (obj: CreateBackendAPIRequest) => any;
1129
-
1130
- export declare const CreateBackendAPIResponseFilterSensitiveLog: (obj: CreateBackendAPIResponse) => any;
1131
-
1132
- export declare const CreateBackendAuthIdentityPoolConfigFilterSensitiveLog: (obj: CreateBackendAuthIdentityPoolConfig) => any;
1133
-
1134
- export declare const EmailSettingsFilterSensitiveLog: (obj: EmailSettings) => any;
1135
-
1136
- export declare const SmsSettingsFilterSensitiveLog: (obj: SmsSettings) => any;
1137
-
1138
- export declare const CreateBackendAuthForgotPasswordConfigFilterSensitiveLog: (obj: CreateBackendAuthForgotPasswordConfig) => any;
1139
-
1140
- export declare const SettingsFilterSensitiveLog: (obj: Settings) => any;
1141
-
1142
- export declare const CreateBackendAuthMFAConfigFilterSensitiveLog: (obj: CreateBackendAuthMFAConfig) => any;
1143
-
1144
- export declare const BackendAuthSocialProviderConfigFilterSensitiveLog: (obj: BackendAuthSocialProviderConfig) => any;
1145
-
1146
- export declare const BackendAuthAppleProviderConfigFilterSensitiveLog: (obj: BackendAuthAppleProviderConfig) => any;
1147
-
1148
- export declare const SocialProviderSettingsFilterSensitiveLog: (obj: SocialProviderSettings) => any;
1149
-
1150
- export declare const CreateBackendAuthOAuthConfigFilterSensitiveLog: (obj: CreateBackendAuthOAuthConfig) => any;
1151
-
1152
- export declare const CreateBackendAuthPasswordPolicyConfigFilterSensitiveLog: (obj: CreateBackendAuthPasswordPolicyConfig) => any;
1153
-
1154
- export declare const CreateBackendAuthVerificationMessageConfigFilterSensitiveLog: (obj: CreateBackendAuthVerificationMessageConfig) => any;
1155
-
1156
- export declare const CreateBackendAuthUserPoolConfigFilterSensitiveLog: (obj: CreateBackendAuthUserPoolConfig) => any;
1157
-
1158
- export declare const CreateBackendAuthResourceConfigFilterSensitiveLog: (obj: CreateBackendAuthResourceConfig) => any;
1159
-
1160
- export declare const CreateBackendAuthRequestFilterSensitiveLog: (obj: CreateBackendAuthRequest) => any;
1161
-
1162
- export declare const CreateBackendAuthResponseFilterSensitiveLog: (obj: CreateBackendAuthResponse) => any;
1163
-
1164
- export declare const CreateBackendConfigRequestFilterSensitiveLog: (obj: CreateBackendConfigRequest) => any;
1165
-
1166
- export declare const CreateBackendConfigResponseFilterSensitiveLog: (obj: CreateBackendConfigResponse) => any;
1167
-
1168
- export declare const BackendStoragePermissionsFilterSensitiveLog: (obj: BackendStoragePermissions) => any;
1169
-
1170
- export declare const CreateBackendStorageResourceConfigFilterSensitiveLog: (obj: CreateBackendStorageResourceConfig) => any;
1171
-
1172
- export declare const CreateBackendStorageRequestFilterSensitiveLog: (obj: CreateBackendStorageRequest) => any;
1173
-
1174
- export declare const CreateBackendStorageResponseFilterSensitiveLog: (obj: CreateBackendStorageResponse) => any;
1175
-
1176
- export declare const CreateTokenRequestFilterSensitiveLog: (obj: CreateTokenRequest) => any;
1177
-
1178
- export declare const CreateTokenResponseFilterSensitiveLog: (obj: CreateTokenResponse) => any;
1179
-
1180
- export declare const DeleteBackendRequestFilterSensitiveLog: (obj: DeleteBackendRequest) => any;
1181
-
1182
- export declare const DeleteBackendResponseFilterSensitiveLog: (obj: DeleteBackendResponse) => any;
1183
-
1184
- export declare const DeleteBackendAPIRequestFilterSensitiveLog: (obj: DeleteBackendAPIRequest) => any;
1185
-
1186
- export declare const DeleteBackendAPIResponseFilterSensitiveLog: (obj: DeleteBackendAPIResponse) => any;
1187
-
1188
- export declare const DeleteBackendAuthRequestFilterSensitiveLog: (obj: DeleteBackendAuthRequest) => any;
1189
-
1190
- export declare const DeleteBackendAuthResponseFilterSensitiveLog: (obj: DeleteBackendAuthResponse) => any;
1191
-
1192
- export declare const DeleteBackendStorageRequestFilterSensitiveLog: (obj: DeleteBackendStorageRequest) => any;
1193
-
1194
- export declare const DeleteBackendStorageResponseFilterSensitiveLog: (obj: DeleteBackendStorageResponse) => any;
1195
-
1196
- export declare const DeleteTokenRequestFilterSensitiveLog: (obj: DeleteTokenRequest) => any;
1197
-
1198
- export declare const DeleteTokenResponseFilterSensitiveLog: (obj: DeleteTokenResponse) => any;
1199
-
1200
- export declare const GenerateBackendAPIModelsRequestFilterSensitiveLog: (obj: GenerateBackendAPIModelsRequest) => any;
1201
-
1202
- export declare const GenerateBackendAPIModelsResponseFilterSensitiveLog: (obj: GenerateBackendAPIModelsResponse) => any;
1203
-
1204
- export declare const GetBackendRequestFilterSensitiveLog: (obj: GetBackendRequest) => any;
1205
-
1206
- export declare const GetBackendResponseFilterSensitiveLog: (obj: GetBackendResponse) => any;
1207
-
1208
- export declare const GetBackendAPIRequestFilterSensitiveLog: (obj: GetBackendAPIRequest) => any;
1209
-
1210
- export declare const GetBackendAPIResponseFilterSensitiveLog: (obj: GetBackendAPIResponse) => any;
1211
-
1212
- export declare const GetBackendAPIModelsRequestFilterSensitiveLog: (obj: GetBackendAPIModelsRequest) => any;
1213
-
1214
- export declare const GetBackendAPIModelsResponseFilterSensitiveLog: (obj: GetBackendAPIModelsResponse) => any;
1215
-
1216
- export declare const GetBackendAuthRequestFilterSensitiveLog: (obj: GetBackendAuthRequest) => any;
1217
-
1218
- export declare const GetBackendAuthResponseFilterSensitiveLog: (obj: GetBackendAuthResponse) => any;
1219
-
1220
- export declare const GetBackendJobRequestFilterSensitiveLog: (obj: GetBackendJobRequest) => any;
1221
-
1222
- export declare const GetBackendJobResponseFilterSensitiveLog: (obj: GetBackendJobResponse) => any;
1223
-
1224
- export declare const GetBackendStorageRequestFilterSensitiveLog: (obj: GetBackendStorageRequest) => any;
1225
-
1226
- export declare const GetBackendStorageResourceConfigFilterSensitiveLog: (obj: GetBackendStorageResourceConfig) => any;
1227
-
1228
- export declare const GetBackendStorageResponseFilterSensitiveLog: (obj: GetBackendStorageResponse) => any;
1229
-
1230
- export declare const GetTokenRequestFilterSensitiveLog: (obj: GetTokenRequest) => any;
1231
-
1232
- export declare const GetTokenResponseFilterSensitiveLog: (obj: GetTokenResponse) => any;
1233
-
1234
- export declare const ImportBackendAuthRequestFilterSensitiveLog: (obj: ImportBackendAuthRequest) => any;
1235
-
1236
- export declare const ImportBackendAuthResponseFilterSensitiveLog: (obj: ImportBackendAuthResponse) => any;
1237
-
1238
- export declare const ImportBackendStorageRequestFilterSensitiveLog: (obj: ImportBackendStorageRequest) => any;
1239
-
1240
- export declare const ImportBackendStorageResponseFilterSensitiveLog: (obj: ImportBackendStorageResponse) => any;
1241
-
1242
- export declare const ListBackendJobsRequestFilterSensitiveLog: (obj: ListBackendJobsRequest) => any;
1243
-
1244
- export declare const BackendJobRespObjFilterSensitiveLog: (obj: BackendJobRespObj) => any;
1245
-
1246
- export declare const ListBackendJobsResponseFilterSensitiveLog: (obj: ListBackendJobsResponse) => any;
1247
-
1248
- export declare const ListS3BucketsRequestFilterSensitiveLog: (obj: ListS3BucketsRequest) => any;
1249
-
1250
- export declare const S3BucketInfoFilterSensitiveLog: (obj: S3BucketInfo) => any;
1251
-
1252
- export declare const ListS3BucketsResponseFilterSensitiveLog: (obj: ListS3BucketsResponse) => any;
1253
-
1254
- export declare const RemoveAllBackendsRequestFilterSensitiveLog: (obj: RemoveAllBackendsRequest) => any;
1255
-
1256
- export declare const RemoveAllBackendsResponseFilterSensitiveLog: (obj: RemoveAllBackendsResponse) => any;
1257
-
1258
- export declare const RemoveBackendConfigRequestFilterSensitiveLog: (obj: RemoveBackendConfigRequest) => any;
1259
-
1260
- export declare const RemoveBackendConfigResponseFilterSensitiveLog: (obj: RemoveBackendConfigResponse) => any;
1261
-
1262
- export declare const UpdateBackendAPIRequestFilterSensitiveLog: (obj: UpdateBackendAPIRequest) => any;
1263
-
1264
- export declare const UpdateBackendAPIResponseFilterSensitiveLog: (obj: UpdateBackendAPIResponse) => any;
1265
-
1266
- export declare const UpdateBackendAuthIdentityPoolConfigFilterSensitiveLog: (obj: UpdateBackendAuthIdentityPoolConfig) => any;
1267
-
1268
- export declare const UpdateBackendAuthForgotPasswordConfigFilterSensitiveLog: (obj: UpdateBackendAuthForgotPasswordConfig) => any;
1269
-
1270
- export declare const UpdateBackendAuthMFAConfigFilterSensitiveLog: (obj: UpdateBackendAuthMFAConfig) => any;
1271
-
1272
- export declare const UpdateBackendAuthOAuthConfigFilterSensitiveLog: (obj: UpdateBackendAuthOAuthConfig) => any;
1273
-
1274
- export declare const UpdateBackendAuthPasswordPolicyConfigFilterSensitiveLog: (obj: UpdateBackendAuthPasswordPolicyConfig) => any;
1275
-
1276
- export declare const UpdateBackendAuthVerificationMessageConfigFilterSensitiveLog: (obj: UpdateBackendAuthVerificationMessageConfig) => any;
1277
-
1278
- export declare const UpdateBackendAuthUserPoolConfigFilterSensitiveLog: (obj: UpdateBackendAuthUserPoolConfig) => any;
1279
-
1280
- export declare const UpdateBackendAuthResourceConfigFilterSensitiveLog: (obj: UpdateBackendAuthResourceConfig) => any;
1281
-
1282
- export declare const UpdateBackendAuthRequestFilterSensitiveLog: (obj: UpdateBackendAuthRequest) => any;
1283
-
1284
- export declare const UpdateBackendAuthResponseFilterSensitiveLog: (obj: UpdateBackendAuthResponse) => any;
1285
-
1286
- export declare const LoginAuthConfigReqObjFilterSensitiveLog: (obj: LoginAuthConfigReqObj) => any;
1287
-
1288
- export declare const UpdateBackendConfigRequestFilterSensitiveLog: (obj: UpdateBackendConfigRequest) => any;
1289
-
1290
- export declare const UpdateBackendConfigResponseFilterSensitiveLog: (obj: UpdateBackendConfigResponse) => any;
1291
-
1292
- export declare const UpdateBackendJobRequestFilterSensitiveLog: (obj: UpdateBackendJobRequest) => any;
1293
-
1294
- export declare const UpdateBackendJobResponseFilterSensitiveLog: (obj: UpdateBackendJobResponse) => any;
1295
-
1296
- export declare const UpdateBackendStorageResourceConfigFilterSensitiveLog: (obj: UpdateBackendStorageResourceConfig) => any;
1297
-
1298
- export declare const UpdateBackendStorageRequestFilterSensitiveLog: (obj: UpdateBackendStorageRequest) => any;
1299
-
1300
- export declare const UpdateBackendStorageResponseFilterSensitiveLog: (obj: UpdateBackendStorageResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AmplifyBackendServiceException as __BaseException } from "./AmplifyBackendServiceException";
3
+ export declare enum AdditionalConstraintsElement {
4
+ REQUIRE_DIGIT = "REQUIRE_DIGIT",
5
+ REQUIRE_LOWERCASE = "REQUIRE_LOWERCASE",
6
+ REQUIRE_SYMBOL = "REQUIRE_SYMBOL",
7
+ REQUIRE_UPPERCASE = "REQUIRE_UPPERCASE",
8
+ }
9
+
10
+ export declare class BadRequestException extends __BaseException {
11
+ readonly name: "BadRequestException";
12
+ readonly $fault: "client";
13
+
14
+ Message?: string;
15
+
16
+ constructor(
17
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
18
+ );
19
+ }
20
+
21
+ export interface CloneBackendRequest {
22
+ AppId: string | undefined;
23
+
24
+ BackendEnvironmentName: string | undefined;
25
+
26
+ TargetEnvironmentName: string | undefined;
27
+ }
28
+ export interface CloneBackendResponse {
29
+ AppId?: string;
30
+
31
+ BackendEnvironmentName?: string;
32
+
33
+ Error?: string;
34
+
35
+ JobId?: string;
36
+
37
+ Operation?: string;
38
+
39
+ Status?: string;
40
+ }
41
+
42
+ export declare class GatewayTimeoutException extends __BaseException {
43
+ readonly name: "GatewayTimeoutException";
44
+ readonly $fault: "server";
45
+
46
+ Message?: string;
47
+
48
+ constructor(
49
+ opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>
50
+ );
51
+ }
52
+
53
+ export declare class NotFoundException extends __BaseException {
54
+ readonly name: "NotFoundException";
55
+ readonly $fault: "client";
56
+
57
+ Message?: string;
58
+
59
+ ResourceType?: string;
60
+
61
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
62
+ }
63
+
64
+ export declare class TooManyRequestsException extends __BaseException {
65
+ readonly name: "TooManyRequestsException";
66
+ readonly $fault: "client";
67
+
68
+ LimitType?: string;
69
+
70
+ Message?: string;
71
+
72
+ constructor(
73
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
74
+ );
75
+ }
76
+
77
+ export interface ResourceConfig {}
78
+
79
+ export interface CreateBackendRequest {
80
+ AppId: string | undefined;
81
+
82
+ AppName: string | undefined;
83
+
84
+ BackendEnvironmentName: string | undefined;
85
+
86
+ ResourceConfig?: ResourceConfig;
87
+
88
+ ResourceName?: string;
89
+ }
90
+ export interface CreateBackendResponse {
91
+ AppId?: string;
92
+
93
+ BackendEnvironmentName?: string;
94
+
95
+ Error?: string;
96
+
97
+ JobId?: string;
98
+
99
+ Operation?: string;
100
+
101
+ Status?: string;
102
+ }
103
+ export declare enum Mode {
104
+ AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS",
105
+ API_KEY = "API_KEY",
106
+ AWS_IAM = "AWS_IAM",
107
+ OPENID_CONNECT = "OPENID_CONNECT",
108
+ }
109
+
110
+ export interface BackendAPIAppSyncAuthSettings {
111
+ CognitoUserPoolId?: string;
112
+
113
+ Description?: string;
114
+
115
+ ExpirationTime?: number;
116
+
117
+ OpenIDAuthTTL?: string;
118
+
119
+ OpenIDClientId?: string;
120
+
121
+ OpenIDIatTTL?: string;
122
+
123
+ OpenIDIssueURL?: string;
124
+
125
+ OpenIDProviderName?: string;
126
+ }
127
+
128
+ export interface BackendAPIAuthType {
129
+ Mode?: Mode | string;
130
+
131
+ Settings?: BackendAPIAppSyncAuthSettings;
132
+ }
133
+ export declare enum ResolutionStrategy {
134
+ AUTOMERGE = "AUTOMERGE",
135
+ LAMBDA = "LAMBDA",
136
+ NONE = "NONE",
137
+ OPTIMISTIC_CONCURRENCY = "OPTIMISTIC_CONCURRENCY",
138
+ }
139
+
140
+ export interface BackendAPIConflictResolution {
141
+ ResolutionStrategy?: ResolutionStrategy | string;
142
+ }
143
+
144
+ export interface BackendAPIResourceConfig {
145
+ AdditionalAuthTypes?: BackendAPIAuthType[];
146
+
147
+ ApiName?: string;
148
+
149
+ ConflictResolution?: BackendAPIConflictResolution;
150
+
151
+ DefaultAuthType?: BackendAPIAuthType;
152
+
153
+ Service?: string;
154
+
155
+ TransformSchema?: string;
156
+ }
157
+
158
+ export interface CreateBackendAPIRequest {
159
+ AppId: string | undefined;
160
+
161
+ BackendEnvironmentName: string | undefined;
162
+
163
+ ResourceConfig: BackendAPIResourceConfig | undefined;
164
+
165
+ ResourceName: string | undefined;
166
+ }
167
+ export interface CreateBackendAPIResponse {
168
+ AppId?: string;
169
+
170
+ BackendEnvironmentName?: string;
171
+
172
+ Error?: string;
173
+
174
+ JobId?: string;
175
+
176
+ Operation?: string;
177
+
178
+ Status?: string;
179
+ }
180
+ export declare enum AuthResources {
181
+ IDENTITY_POOL_AND_USER_POOL = "IDENTITY_POOL_AND_USER_POOL",
182
+ USER_POOL_ONLY = "USER_POOL_ONLY",
183
+ }
184
+
185
+ export interface CreateBackendAuthIdentityPoolConfig {
186
+ IdentityPoolName: string | undefined;
187
+
188
+ UnauthenticatedLogin: boolean | undefined;
189
+ }
190
+ export declare enum Service {
191
+ COGNITO = "COGNITO",
192
+ }
193
+ export declare enum DeliveryMethod {
194
+ EMAIL = "EMAIL",
195
+ SMS = "SMS",
196
+ }
197
+
198
+ export interface EmailSettings {
199
+ EmailMessage?: string;
200
+
201
+ EmailSubject?: string;
202
+ }
203
+
204
+ export interface SmsSettings {
205
+ SmsMessage?: string;
206
+ }
207
+
208
+ export interface CreateBackendAuthForgotPasswordConfig {
209
+ DeliveryMethod: DeliveryMethod | string | undefined;
210
+
211
+ EmailSettings?: EmailSettings;
212
+
213
+ SmsSettings?: SmsSettings;
214
+ }
215
+ export declare enum MFAMode {
216
+ OFF = "OFF",
217
+ ON = "ON",
218
+ OPTIONAL = "OPTIONAL",
219
+ }
220
+ export declare enum MfaTypesElement {
221
+ SMS = "SMS",
222
+ TOTP = "TOTP",
223
+ }
224
+
225
+ export interface Settings {
226
+ MfaTypes?: (MfaTypesElement | string)[];
227
+
228
+ SmsMessage?: string;
229
+ }
230
+
231
+ export interface CreateBackendAuthMFAConfig {
232
+ MFAMode: MFAMode | string | undefined;
233
+
234
+ Settings?: Settings;
235
+ }
236
+ export declare enum OAuthGrantType {
237
+ CODE = "CODE",
238
+ IMPLICIT = "IMPLICIT",
239
+ }
240
+ export declare enum OAuthScopesElement {
241
+ AWS_COGNITO_SIGNIN_USER_ADMIN = "AWS_COGNITO_SIGNIN_USER_ADMIN",
242
+ EMAIL = "EMAIL",
243
+ OPENID = "OPENID",
244
+ PHONE = "PHONE",
245
+ PROFILE = "PROFILE",
246
+ }
247
+
248
+ export interface BackendAuthSocialProviderConfig {
249
+ ClientId?: string;
250
+
251
+ ClientSecret?: string;
252
+ }
253
+
254
+ export interface BackendAuthAppleProviderConfig {
255
+ ClientId?: string;
256
+
257
+ KeyId?: string;
258
+
259
+ PrivateKey?: string;
260
+
261
+ TeamId?: string;
262
+ }
263
+
264
+ export interface SocialProviderSettings {
265
+ Facebook?: BackendAuthSocialProviderConfig;
266
+
267
+ Google?: BackendAuthSocialProviderConfig;
268
+
269
+ LoginWithAmazon?: BackendAuthSocialProviderConfig;
270
+
271
+ SignInWithApple?: BackendAuthAppleProviderConfig;
272
+ }
273
+
274
+ export interface CreateBackendAuthOAuthConfig {
275
+ DomainPrefix?: string;
276
+
277
+ OAuthGrantType: OAuthGrantType | string | undefined;
278
+
279
+ OAuthScopes: (OAuthScopesElement | string)[] | undefined;
280
+
281
+ RedirectSignInURIs: string[] | undefined;
282
+
283
+ RedirectSignOutURIs: string[] | undefined;
284
+
285
+ SocialProviderSettings?: SocialProviderSettings;
286
+ }
287
+
288
+ export interface CreateBackendAuthPasswordPolicyConfig {
289
+ AdditionalConstraints?: (AdditionalConstraintsElement | string)[];
290
+
291
+ MinimumLength: number | undefined;
292
+ }
293
+ export declare enum RequiredSignUpAttributesElement {
294
+ ADDRESS = "ADDRESS",
295
+ BIRTHDATE = "BIRTHDATE",
296
+ EMAIL = "EMAIL",
297
+ FAMILY_NAME = "FAMILY_NAME",
298
+ GENDER = "GENDER",
299
+ GIVEN_NAME = "GIVEN_NAME",
300
+ LOCALE = "LOCALE",
301
+ MIDDLE_NAME = "MIDDLE_NAME",
302
+ NAME = "NAME",
303
+ NICKNAME = "NICKNAME",
304
+ PHONE_NUMBER = "PHONE_NUMBER",
305
+ PICTURE = "PICTURE",
306
+ PREFERRED_USERNAME = "PREFERRED_USERNAME",
307
+ PROFILE = "PROFILE",
308
+ UPDATED_AT = "UPDATED_AT",
309
+ WEBSITE = "WEBSITE",
310
+ ZONE_INFO = "ZONE_INFO",
311
+ }
312
+ export declare enum SignInMethod {
313
+ EMAIL = "EMAIL",
314
+ EMAIL_AND_PHONE_NUMBER = "EMAIL_AND_PHONE_NUMBER",
315
+ PHONE_NUMBER = "PHONE_NUMBER",
316
+ USERNAME = "USERNAME",
317
+ }
318
+
319
+ export interface CreateBackendAuthVerificationMessageConfig {
320
+ DeliveryMethod: DeliveryMethod | string | undefined;
321
+
322
+ EmailSettings?: EmailSettings;
323
+
324
+ SmsSettings?: SmsSettings;
325
+ }
326
+
327
+ export interface CreateBackendAuthUserPoolConfig {
328
+ ForgotPassword?: CreateBackendAuthForgotPasswordConfig;
329
+
330
+ Mfa?: CreateBackendAuthMFAConfig;
331
+
332
+ OAuth?: CreateBackendAuthOAuthConfig;
333
+
334
+ PasswordPolicy?: CreateBackendAuthPasswordPolicyConfig;
335
+
336
+ RequiredSignUpAttributes:
337
+ | (RequiredSignUpAttributesElement | string)[]
338
+ | undefined;
339
+
340
+ SignInMethod: SignInMethod | string | undefined;
341
+
342
+ UserPoolName: string | undefined;
343
+
344
+ VerificationMessage?: CreateBackendAuthVerificationMessageConfig;
345
+ }
346
+
347
+ export interface CreateBackendAuthResourceConfig {
348
+ AuthResources: AuthResources | string | undefined;
349
+
350
+ IdentityPoolConfigs?: CreateBackendAuthIdentityPoolConfig;
351
+
352
+ Service: Service | string | undefined;
353
+
354
+ UserPoolConfigs: CreateBackendAuthUserPoolConfig | undefined;
355
+ }
356
+
357
+ export interface CreateBackendAuthRequest {
358
+ AppId: string | undefined;
359
+
360
+ BackendEnvironmentName: string | undefined;
361
+
362
+ ResourceConfig: CreateBackendAuthResourceConfig | undefined;
363
+
364
+ ResourceName: string | undefined;
365
+ }
366
+ export interface CreateBackendAuthResponse {
367
+ AppId?: string;
368
+
369
+ BackendEnvironmentName?: string;
370
+
371
+ Error?: string;
372
+
373
+ JobId?: string;
374
+
375
+ Operation?: string;
376
+
377
+ Status?: string;
378
+ }
379
+
380
+ export interface CreateBackendConfigRequest {
381
+ AppId: string | undefined;
382
+
383
+ BackendManagerAppId?: string;
384
+ }
385
+ export interface CreateBackendConfigResponse {
386
+ AppId?: string;
387
+
388
+ BackendEnvironmentName?: string;
389
+
390
+ JobId?: string;
391
+
392
+ Status?: string;
393
+ }
394
+ export declare enum AuthenticatedElement {
395
+ CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
396
+ DELETE = "DELETE",
397
+ READ = "READ",
398
+ }
399
+ export declare enum UnAuthenticatedElement {
400
+ CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
401
+ DELETE = "DELETE",
402
+ READ = "READ",
403
+ }
404
+
405
+ export interface BackendStoragePermissions {
406
+ Authenticated: (AuthenticatedElement | string)[] | undefined;
407
+
408
+ UnAuthenticated?: (UnAuthenticatedElement | string)[];
409
+ }
410
+ export declare enum ServiceName {
411
+ S3 = "S3",
412
+ }
413
+
414
+ export interface CreateBackendStorageResourceConfig {
415
+ BucketName?: string;
416
+
417
+ Permissions: BackendStoragePermissions | undefined;
418
+
419
+ ServiceName: ServiceName | string | undefined;
420
+ }
421
+
422
+ export interface CreateBackendStorageRequest {
423
+ AppId: string | undefined;
424
+
425
+ BackendEnvironmentName: string | undefined;
426
+
427
+ ResourceConfig: CreateBackendStorageResourceConfig | undefined;
428
+
429
+ ResourceName: string | undefined;
430
+ }
431
+ export interface CreateBackendStorageResponse {
432
+ AppId?: string;
433
+
434
+ BackendEnvironmentName?: string;
435
+
436
+ JobId?: string;
437
+
438
+ Status?: string;
439
+ }
440
+ export interface CreateTokenRequest {
441
+ AppId: string | undefined;
442
+ }
443
+ export interface CreateTokenResponse {
444
+ AppId?: string;
445
+
446
+ ChallengeCode?: string;
447
+
448
+ SessionId?: string;
449
+
450
+ Ttl?: string;
451
+ }
452
+ export interface DeleteBackendRequest {
453
+ AppId: string | undefined;
454
+
455
+ BackendEnvironmentName: string | undefined;
456
+ }
457
+ export interface DeleteBackendResponse {
458
+ AppId?: string;
459
+
460
+ BackendEnvironmentName?: string;
461
+
462
+ Error?: string;
463
+
464
+ JobId?: string;
465
+
466
+ Operation?: string;
467
+
468
+ Status?: string;
469
+ }
470
+
471
+ export interface DeleteBackendAPIRequest {
472
+ AppId: string | undefined;
473
+
474
+ BackendEnvironmentName: string | undefined;
475
+
476
+ ResourceConfig?: BackendAPIResourceConfig;
477
+
478
+ ResourceName: string | undefined;
479
+ }
480
+ export interface DeleteBackendAPIResponse {
481
+ AppId?: string;
482
+
483
+ BackendEnvironmentName?: string;
484
+
485
+ Error?: string;
486
+
487
+ JobId?: string;
488
+
489
+ Operation?: string;
490
+
491
+ Status?: string;
492
+ }
493
+
494
+ export interface DeleteBackendAuthRequest {
495
+ AppId: string | undefined;
496
+
497
+ BackendEnvironmentName: string | undefined;
498
+
499
+ ResourceName: string | undefined;
500
+ }
501
+ export interface DeleteBackendAuthResponse {
502
+ AppId?: string;
503
+
504
+ BackendEnvironmentName?: string;
505
+
506
+ Error?: string;
507
+
508
+ JobId?: string;
509
+
510
+ Operation?: string;
511
+
512
+ Status?: string;
513
+ }
514
+
515
+ export interface DeleteBackendStorageRequest {
516
+ AppId: string | undefined;
517
+
518
+ BackendEnvironmentName: string | undefined;
519
+
520
+ ResourceName: string | undefined;
521
+
522
+ ServiceName: ServiceName | string | undefined;
523
+ }
524
+ export interface DeleteBackendStorageResponse {
525
+ AppId?: string;
526
+
527
+ BackendEnvironmentName?: string;
528
+
529
+ JobId?: string;
530
+
531
+ Status?: string;
532
+ }
533
+ export interface DeleteTokenRequest {
534
+ AppId: string | undefined;
535
+
536
+ SessionId: string | undefined;
537
+ }
538
+ export interface DeleteTokenResponse {
539
+ IsSuccess?: boolean;
540
+ }
541
+
542
+ export interface GenerateBackendAPIModelsRequest {
543
+ AppId: string | undefined;
544
+
545
+ BackendEnvironmentName: string | undefined;
546
+
547
+ ResourceName: string | undefined;
548
+ }
549
+ export interface GenerateBackendAPIModelsResponse {
550
+ AppId?: string;
551
+
552
+ BackendEnvironmentName?: string;
553
+
554
+ Error?: string;
555
+
556
+ JobId?: string;
557
+
558
+ Operation?: string;
559
+
560
+ Status?: string;
561
+ }
562
+
563
+ export interface GetBackendRequest {
564
+ AppId: string | undefined;
565
+
566
+ BackendEnvironmentName?: string;
567
+ }
568
+ export interface GetBackendResponse {
569
+ AmplifyFeatureFlags?: string;
570
+
571
+ AmplifyMetaConfig?: string;
572
+
573
+ AppId?: string;
574
+
575
+ AppName?: string;
576
+
577
+ BackendEnvironmentList?: string[];
578
+
579
+ BackendEnvironmentName?: string;
580
+
581
+ Error?: string;
582
+ }
583
+
584
+ export interface GetBackendAPIRequest {
585
+ AppId: string | undefined;
586
+
587
+ BackendEnvironmentName: string | undefined;
588
+
589
+ ResourceConfig?: BackendAPIResourceConfig;
590
+
591
+ ResourceName: string | undefined;
592
+ }
593
+ export interface GetBackendAPIResponse {
594
+ AppId?: string;
595
+
596
+ BackendEnvironmentName?: string;
597
+
598
+ Error?: string;
599
+
600
+ ResourceConfig?: BackendAPIResourceConfig;
601
+
602
+ ResourceName?: string;
603
+ }
604
+
605
+ export interface GetBackendAPIModelsRequest {
606
+ AppId: string | undefined;
607
+
608
+ BackendEnvironmentName: string | undefined;
609
+
610
+ ResourceName: string | undefined;
611
+ }
612
+ export declare enum Status {
613
+ LATEST = "LATEST",
614
+ STALE = "STALE",
615
+ }
616
+ export interface GetBackendAPIModelsResponse {
617
+ Models?: string;
618
+
619
+ Status?: Status | string;
620
+ }
621
+
622
+ export interface GetBackendAuthRequest {
623
+ AppId: string | undefined;
624
+
625
+ BackendEnvironmentName: string | undefined;
626
+
627
+ ResourceName: string | undefined;
628
+ }
629
+ export interface GetBackendAuthResponse {
630
+ AppId?: string;
631
+
632
+ BackendEnvironmentName?: string;
633
+
634
+ Error?: string;
635
+
636
+ ResourceConfig?: CreateBackendAuthResourceConfig;
637
+
638
+ ResourceName?: string;
639
+ }
640
+ export interface GetBackendJobRequest {
641
+ AppId: string | undefined;
642
+
643
+ BackendEnvironmentName: string | undefined;
644
+
645
+ JobId: string | undefined;
646
+ }
647
+ export interface GetBackendJobResponse {
648
+ AppId?: string;
649
+
650
+ BackendEnvironmentName?: string;
651
+
652
+ CreateTime?: string;
653
+
654
+ Error?: string;
655
+
656
+ JobId?: string;
657
+
658
+ Operation?: string;
659
+
660
+ Status?: string;
661
+
662
+ UpdateTime?: string;
663
+ }
664
+
665
+ export interface GetBackendStorageRequest {
666
+ AppId: string | undefined;
667
+
668
+ BackendEnvironmentName: string | undefined;
669
+
670
+ ResourceName: string | undefined;
671
+ }
672
+
673
+ export interface GetBackendStorageResourceConfig {
674
+ BucketName?: string;
675
+
676
+ Imported: boolean | undefined;
677
+
678
+ Permissions?: BackendStoragePermissions;
679
+
680
+ ServiceName: ServiceName | string | undefined;
681
+ }
682
+ export interface GetBackendStorageResponse {
683
+ AppId?: string;
684
+
685
+ BackendEnvironmentName?: string;
686
+
687
+ ResourceConfig?: GetBackendStorageResourceConfig;
688
+
689
+ ResourceName?: string;
690
+ }
691
+ export interface GetTokenRequest {
692
+ AppId: string | undefined;
693
+
694
+ SessionId: string | undefined;
695
+ }
696
+ export interface GetTokenResponse {
697
+ AppId?: string;
698
+
699
+ ChallengeCode?: string;
700
+
701
+ SessionId?: string;
702
+
703
+ Ttl?: string;
704
+ }
705
+
706
+ export interface ImportBackendAuthRequest {
707
+ AppId: string | undefined;
708
+
709
+ BackendEnvironmentName: string | undefined;
710
+
711
+ IdentityPoolId?: string;
712
+
713
+ NativeClientId: string | undefined;
714
+
715
+ UserPoolId: string | undefined;
716
+
717
+ WebClientId: string | undefined;
718
+ }
719
+ export interface ImportBackendAuthResponse {
720
+ AppId?: string;
721
+
722
+ BackendEnvironmentName?: string;
723
+
724
+ Error?: string;
725
+
726
+ JobId?: string;
727
+
728
+ Operation?: string;
729
+
730
+ Status?: string;
731
+ }
732
+
733
+ export interface ImportBackendStorageRequest {
734
+ AppId: string | undefined;
735
+
736
+ BackendEnvironmentName: string | undefined;
737
+
738
+ BucketName?: string;
739
+
740
+ ServiceName: ServiceName | string | undefined;
741
+ }
742
+ export interface ImportBackendStorageResponse {
743
+ AppId?: string;
744
+
745
+ BackendEnvironmentName?: string;
746
+
747
+ JobId?: string;
748
+
749
+ Status?: string;
750
+ }
751
+
752
+ export interface ListBackendJobsRequest {
753
+ AppId: string | undefined;
754
+
755
+ BackendEnvironmentName: string | undefined;
756
+
757
+ JobId?: string;
758
+
759
+ MaxResults?: number;
760
+
761
+ NextToken?: string;
762
+
763
+ Operation?: string;
764
+
765
+ Status?: string;
766
+ }
767
+
768
+ export interface BackendJobRespObj {
769
+ AppId: string | undefined;
770
+
771
+ BackendEnvironmentName: string | undefined;
772
+
773
+ CreateTime?: string;
774
+
775
+ Error?: string;
776
+
777
+ JobId?: string;
778
+
779
+ Operation?: string;
780
+
781
+ Status?: string;
782
+
783
+ UpdateTime?: string;
784
+ }
785
+ export interface ListBackendJobsResponse {
786
+ Jobs?: BackendJobRespObj[];
787
+
788
+ NextToken?: string;
789
+ }
790
+
791
+ export interface ListS3BucketsRequest {
792
+ NextToken?: string;
793
+ }
794
+
795
+ export interface S3BucketInfo {
796
+ CreationDate?: string;
797
+
798
+ Name?: string;
799
+ }
800
+ export interface ListS3BucketsResponse {
801
+ Buckets?: S3BucketInfo[];
802
+
803
+ NextToken?: string;
804
+ }
805
+
806
+ export interface RemoveAllBackendsRequest {
807
+ AppId: string | undefined;
808
+
809
+ CleanAmplifyApp?: boolean;
810
+ }
811
+ export interface RemoveAllBackendsResponse {
812
+ AppId?: string;
813
+
814
+ Error?: string;
815
+
816
+ JobId?: string;
817
+
818
+ Operation?: string;
819
+
820
+ Status?: string;
821
+ }
822
+ export interface RemoveBackendConfigRequest {
823
+ AppId: string | undefined;
824
+ }
825
+ export interface RemoveBackendConfigResponse {
826
+ Error?: string;
827
+ }
828
+
829
+ export interface UpdateBackendAPIRequest {
830
+ AppId: string | undefined;
831
+
832
+ BackendEnvironmentName: string | undefined;
833
+
834
+ ResourceConfig?: BackendAPIResourceConfig;
835
+
836
+ ResourceName: string | undefined;
837
+ }
838
+ export interface UpdateBackendAPIResponse {
839
+ AppId?: string;
840
+
841
+ BackendEnvironmentName?: string;
842
+
843
+ Error?: string;
844
+
845
+ JobId?: string;
846
+
847
+ Operation?: string;
848
+
849
+ Status?: string;
850
+ }
851
+
852
+ export interface UpdateBackendAuthIdentityPoolConfig {
853
+ UnauthenticatedLogin?: boolean;
854
+ }
855
+
856
+ export interface UpdateBackendAuthForgotPasswordConfig {
857
+ DeliveryMethod?: DeliveryMethod | string;
858
+
859
+ EmailSettings?: EmailSettings;
860
+
861
+ SmsSettings?: SmsSettings;
862
+ }
863
+
864
+ export interface UpdateBackendAuthMFAConfig {
865
+ MFAMode?: MFAMode | string;
866
+
867
+ Settings?: Settings;
868
+ }
869
+
870
+ export interface UpdateBackendAuthOAuthConfig {
871
+ DomainPrefix?: string;
872
+
873
+ OAuthGrantType?: OAuthGrantType | string;
874
+
875
+ OAuthScopes?: (OAuthScopesElement | string)[];
876
+
877
+ RedirectSignInURIs?: string[];
878
+
879
+ RedirectSignOutURIs?: string[];
880
+
881
+ SocialProviderSettings?: SocialProviderSettings;
882
+ }
883
+
884
+ export interface UpdateBackendAuthPasswordPolicyConfig {
885
+ AdditionalConstraints?: (AdditionalConstraintsElement | string)[];
886
+
887
+ MinimumLength?: number;
888
+ }
889
+
890
+ export interface UpdateBackendAuthVerificationMessageConfig {
891
+ DeliveryMethod: DeliveryMethod | string | undefined;
892
+
893
+ EmailSettings?: EmailSettings;
894
+
895
+ SmsSettings?: SmsSettings;
896
+ }
897
+
898
+ export interface UpdateBackendAuthUserPoolConfig {
899
+ ForgotPassword?: UpdateBackendAuthForgotPasswordConfig;
900
+
901
+ Mfa?: UpdateBackendAuthMFAConfig;
902
+
903
+ OAuth?: UpdateBackendAuthOAuthConfig;
904
+
905
+ PasswordPolicy?: UpdateBackendAuthPasswordPolicyConfig;
906
+
907
+ VerificationMessage?: UpdateBackendAuthVerificationMessageConfig;
908
+ }
909
+
910
+ export interface UpdateBackendAuthResourceConfig {
911
+ AuthResources: AuthResources | string | undefined;
912
+
913
+ IdentityPoolConfigs?: UpdateBackendAuthIdentityPoolConfig;
914
+
915
+ Service: Service | string | undefined;
916
+
917
+ UserPoolConfigs: UpdateBackendAuthUserPoolConfig | undefined;
918
+ }
919
+
920
+ export interface UpdateBackendAuthRequest {
921
+ AppId: string | undefined;
922
+
923
+ BackendEnvironmentName: string | undefined;
924
+
925
+ ResourceConfig: UpdateBackendAuthResourceConfig | undefined;
926
+
927
+ ResourceName: string | undefined;
928
+ }
929
+ export interface UpdateBackendAuthResponse {
930
+ AppId?: string;
931
+
932
+ BackendEnvironmentName?: string;
933
+
934
+ Error?: string;
935
+
936
+ JobId?: string;
937
+
938
+ Operation?: string;
939
+
940
+ Status?: string;
941
+ }
942
+
943
+ export interface LoginAuthConfigReqObj {
944
+ AwsCognitoIdentityPoolId?: string;
945
+
946
+ AwsCognitoRegion?: string;
947
+
948
+ AwsUserPoolsId?: string;
949
+
950
+ AwsUserPoolsWebClientId?: string;
951
+ }
952
+
953
+ export interface UpdateBackendConfigRequest {
954
+ AppId: string | undefined;
955
+
956
+ LoginAuthConfig?: LoginAuthConfigReqObj;
957
+ }
958
+ export interface UpdateBackendConfigResponse {
959
+ AppId?: string;
960
+
961
+ BackendManagerAppId?: string;
962
+
963
+ Error?: string;
964
+
965
+ LoginAuthConfig?: LoginAuthConfigReqObj;
966
+ }
967
+
968
+ export interface UpdateBackendJobRequest {
969
+ AppId: string | undefined;
970
+
971
+ BackendEnvironmentName: string | undefined;
972
+
973
+ JobId: string | undefined;
974
+
975
+ Operation?: string;
976
+
977
+ Status?: string;
978
+ }
979
+ export interface UpdateBackendJobResponse {
980
+ AppId?: string;
981
+
982
+ BackendEnvironmentName?: string;
983
+
984
+ CreateTime?: string;
985
+
986
+ Error?: string;
987
+
988
+ JobId?: string;
989
+
990
+ Operation?: string;
991
+
992
+ Status?: string;
993
+
994
+ UpdateTime?: string;
995
+ }
996
+
997
+ export interface UpdateBackendStorageResourceConfig {
998
+ Permissions: BackendStoragePermissions | undefined;
999
+
1000
+ ServiceName: ServiceName | string | undefined;
1001
+ }
1002
+
1003
+ export interface UpdateBackendStorageRequest {
1004
+ AppId: string | undefined;
1005
+
1006
+ BackendEnvironmentName: string | undefined;
1007
+
1008
+ ResourceConfig: UpdateBackendStorageResourceConfig | undefined;
1009
+
1010
+ ResourceName: string | undefined;
1011
+ }
1012
+ export interface UpdateBackendStorageResponse {
1013
+ AppId?: string;
1014
+
1015
+ BackendEnvironmentName?: string;
1016
+
1017
+ JobId?: string;
1018
+
1019
+ Status?: string;
1020
+ }
1021
+
1022
+ export declare const CloneBackendRequestFilterSensitiveLog: (
1023
+ obj: CloneBackendRequest
1024
+ ) => any;
1025
+
1026
+ export declare const CloneBackendResponseFilterSensitiveLog: (
1027
+ obj: CloneBackendResponse
1028
+ ) => any;
1029
+
1030
+ export declare const ResourceConfigFilterSensitiveLog: (
1031
+ obj: ResourceConfig
1032
+ ) => any;
1033
+
1034
+ export declare const CreateBackendRequestFilterSensitiveLog: (
1035
+ obj: CreateBackendRequest
1036
+ ) => any;
1037
+
1038
+ export declare const CreateBackendResponseFilterSensitiveLog: (
1039
+ obj: CreateBackendResponse
1040
+ ) => any;
1041
+
1042
+ export declare const BackendAPIAppSyncAuthSettingsFilterSensitiveLog: (
1043
+ obj: BackendAPIAppSyncAuthSettings
1044
+ ) => any;
1045
+
1046
+ export declare const BackendAPIAuthTypeFilterSensitiveLog: (
1047
+ obj: BackendAPIAuthType
1048
+ ) => any;
1049
+
1050
+ export declare const BackendAPIConflictResolutionFilterSensitiveLog: (
1051
+ obj: BackendAPIConflictResolution
1052
+ ) => any;
1053
+
1054
+ export declare const BackendAPIResourceConfigFilterSensitiveLog: (
1055
+ obj: BackendAPIResourceConfig
1056
+ ) => any;
1057
+
1058
+ export declare const CreateBackendAPIRequestFilterSensitiveLog: (
1059
+ obj: CreateBackendAPIRequest
1060
+ ) => any;
1061
+
1062
+ export declare const CreateBackendAPIResponseFilterSensitiveLog: (
1063
+ obj: CreateBackendAPIResponse
1064
+ ) => any;
1065
+
1066
+ export declare const CreateBackendAuthIdentityPoolConfigFilterSensitiveLog: (
1067
+ obj: CreateBackendAuthIdentityPoolConfig
1068
+ ) => any;
1069
+
1070
+ export declare const EmailSettingsFilterSensitiveLog: (
1071
+ obj: EmailSettings
1072
+ ) => any;
1073
+
1074
+ export declare const SmsSettingsFilterSensitiveLog: (obj: SmsSettings) => any;
1075
+
1076
+ export declare const CreateBackendAuthForgotPasswordConfigFilterSensitiveLog: (
1077
+ obj: CreateBackendAuthForgotPasswordConfig
1078
+ ) => any;
1079
+
1080
+ export declare const SettingsFilterSensitiveLog: (obj: Settings) => any;
1081
+
1082
+ export declare const CreateBackendAuthMFAConfigFilterSensitiveLog: (
1083
+ obj: CreateBackendAuthMFAConfig
1084
+ ) => any;
1085
+
1086
+ export declare const BackendAuthSocialProviderConfigFilterSensitiveLog: (
1087
+ obj: BackendAuthSocialProviderConfig
1088
+ ) => any;
1089
+
1090
+ export declare const BackendAuthAppleProviderConfigFilterSensitiveLog: (
1091
+ obj: BackendAuthAppleProviderConfig
1092
+ ) => any;
1093
+
1094
+ export declare const SocialProviderSettingsFilterSensitiveLog: (
1095
+ obj: SocialProviderSettings
1096
+ ) => any;
1097
+
1098
+ export declare const CreateBackendAuthOAuthConfigFilterSensitiveLog: (
1099
+ obj: CreateBackendAuthOAuthConfig
1100
+ ) => any;
1101
+
1102
+ export declare const CreateBackendAuthPasswordPolicyConfigFilterSensitiveLog: (
1103
+ obj: CreateBackendAuthPasswordPolicyConfig
1104
+ ) => any;
1105
+
1106
+ export declare const CreateBackendAuthVerificationMessageConfigFilterSensitiveLog: (
1107
+ obj: CreateBackendAuthVerificationMessageConfig
1108
+ ) => any;
1109
+
1110
+ export declare const CreateBackendAuthUserPoolConfigFilterSensitiveLog: (
1111
+ obj: CreateBackendAuthUserPoolConfig
1112
+ ) => any;
1113
+
1114
+ export declare const CreateBackendAuthResourceConfigFilterSensitiveLog: (
1115
+ obj: CreateBackendAuthResourceConfig
1116
+ ) => any;
1117
+
1118
+ export declare const CreateBackendAuthRequestFilterSensitiveLog: (
1119
+ obj: CreateBackendAuthRequest
1120
+ ) => any;
1121
+
1122
+ export declare const CreateBackendAuthResponseFilterSensitiveLog: (
1123
+ obj: CreateBackendAuthResponse
1124
+ ) => any;
1125
+
1126
+ export declare const CreateBackendConfigRequestFilterSensitiveLog: (
1127
+ obj: CreateBackendConfigRequest
1128
+ ) => any;
1129
+
1130
+ export declare const CreateBackendConfigResponseFilterSensitiveLog: (
1131
+ obj: CreateBackendConfigResponse
1132
+ ) => any;
1133
+
1134
+ export declare const BackendStoragePermissionsFilterSensitiveLog: (
1135
+ obj: BackendStoragePermissions
1136
+ ) => any;
1137
+
1138
+ export declare const CreateBackendStorageResourceConfigFilterSensitiveLog: (
1139
+ obj: CreateBackendStorageResourceConfig
1140
+ ) => any;
1141
+
1142
+ export declare const CreateBackendStorageRequestFilterSensitiveLog: (
1143
+ obj: CreateBackendStorageRequest
1144
+ ) => any;
1145
+
1146
+ export declare const CreateBackendStorageResponseFilterSensitiveLog: (
1147
+ obj: CreateBackendStorageResponse
1148
+ ) => any;
1149
+
1150
+ export declare const CreateTokenRequestFilterSensitiveLog: (
1151
+ obj: CreateTokenRequest
1152
+ ) => any;
1153
+
1154
+ export declare const CreateTokenResponseFilterSensitiveLog: (
1155
+ obj: CreateTokenResponse
1156
+ ) => any;
1157
+
1158
+ export declare const DeleteBackendRequestFilterSensitiveLog: (
1159
+ obj: DeleteBackendRequest
1160
+ ) => any;
1161
+
1162
+ export declare const DeleteBackendResponseFilterSensitiveLog: (
1163
+ obj: DeleteBackendResponse
1164
+ ) => any;
1165
+
1166
+ export declare const DeleteBackendAPIRequestFilterSensitiveLog: (
1167
+ obj: DeleteBackendAPIRequest
1168
+ ) => any;
1169
+
1170
+ export declare const DeleteBackendAPIResponseFilterSensitiveLog: (
1171
+ obj: DeleteBackendAPIResponse
1172
+ ) => any;
1173
+
1174
+ export declare const DeleteBackendAuthRequestFilterSensitiveLog: (
1175
+ obj: DeleteBackendAuthRequest
1176
+ ) => any;
1177
+
1178
+ export declare const DeleteBackendAuthResponseFilterSensitiveLog: (
1179
+ obj: DeleteBackendAuthResponse
1180
+ ) => any;
1181
+
1182
+ export declare const DeleteBackendStorageRequestFilterSensitiveLog: (
1183
+ obj: DeleteBackendStorageRequest
1184
+ ) => any;
1185
+
1186
+ export declare const DeleteBackendStorageResponseFilterSensitiveLog: (
1187
+ obj: DeleteBackendStorageResponse
1188
+ ) => any;
1189
+
1190
+ export declare const DeleteTokenRequestFilterSensitiveLog: (
1191
+ obj: DeleteTokenRequest
1192
+ ) => any;
1193
+
1194
+ export declare const DeleteTokenResponseFilterSensitiveLog: (
1195
+ obj: DeleteTokenResponse
1196
+ ) => any;
1197
+
1198
+ export declare const GenerateBackendAPIModelsRequestFilterSensitiveLog: (
1199
+ obj: GenerateBackendAPIModelsRequest
1200
+ ) => any;
1201
+
1202
+ export declare const GenerateBackendAPIModelsResponseFilterSensitiveLog: (
1203
+ obj: GenerateBackendAPIModelsResponse
1204
+ ) => any;
1205
+
1206
+ export declare const GetBackendRequestFilterSensitiveLog: (
1207
+ obj: GetBackendRequest
1208
+ ) => any;
1209
+
1210
+ export declare const GetBackendResponseFilterSensitiveLog: (
1211
+ obj: GetBackendResponse
1212
+ ) => any;
1213
+
1214
+ export declare const GetBackendAPIRequestFilterSensitiveLog: (
1215
+ obj: GetBackendAPIRequest
1216
+ ) => any;
1217
+
1218
+ export declare const GetBackendAPIResponseFilterSensitiveLog: (
1219
+ obj: GetBackendAPIResponse
1220
+ ) => any;
1221
+
1222
+ export declare const GetBackendAPIModelsRequestFilterSensitiveLog: (
1223
+ obj: GetBackendAPIModelsRequest
1224
+ ) => any;
1225
+
1226
+ export declare const GetBackendAPIModelsResponseFilterSensitiveLog: (
1227
+ obj: GetBackendAPIModelsResponse
1228
+ ) => any;
1229
+
1230
+ export declare const GetBackendAuthRequestFilterSensitiveLog: (
1231
+ obj: GetBackendAuthRequest
1232
+ ) => any;
1233
+
1234
+ export declare const GetBackendAuthResponseFilterSensitiveLog: (
1235
+ obj: GetBackendAuthResponse
1236
+ ) => any;
1237
+
1238
+ export declare const GetBackendJobRequestFilterSensitiveLog: (
1239
+ obj: GetBackendJobRequest
1240
+ ) => any;
1241
+
1242
+ export declare const GetBackendJobResponseFilterSensitiveLog: (
1243
+ obj: GetBackendJobResponse
1244
+ ) => any;
1245
+
1246
+ export declare const GetBackendStorageRequestFilterSensitiveLog: (
1247
+ obj: GetBackendStorageRequest
1248
+ ) => any;
1249
+
1250
+ export declare const GetBackendStorageResourceConfigFilterSensitiveLog: (
1251
+ obj: GetBackendStorageResourceConfig
1252
+ ) => any;
1253
+
1254
+ export declare const GetBackendStorageResponseFilterSensitiveLog: (
1255
+ obj: GetBackendStorageResponse
1256
+ ) => any;
1257
+
1258
+ export declare const GetTokenRequestFilterSensitiveLog: (
1259
+ obj: GetTokenRequest
1260
+ ) => any;
1261
+
1262
+ export declare const GetTokenResponseFilterSensitiveLog: (
1263
+ obj: GetTokenResponse
1264
+ ) => any;
1265
+
1266
+ export declare const ImportBackendAuthRequestFilterSensitiveLog: (
1267
+ obj: ImportBackendAuthRequest
1268
+ ) => any;
1269
+
1270
+ export declare const ImportBackendAuthResponseFilterSensitiveLog: (
1271
+ obj: ImportBackendAuthResponse
1272
+ ) => any;
1273
+
1274
+ export declare const ImportBackendStorageRequestFilterSensitiveLog: (
1275
+ obj: ImportBackendStorageRequest
1276
+ ) => any;
1277
+
1278
+ export declare const ImportBackendStorageResponseFilterSensitiveLog: (
1279
+ obj: ImportBackendStorageResponse
1280
+ ) => any;
1281
+
1282
+ export declare const ListBackendJobsRequestFilterSensitiveLog: (
1283
+ obj: ListBackendJobsRequest
1284
+ ) => any;
1285
+
1286
+ export declare const BackendJobRespObjFilterSensitiveLog: (
1287
+ obj: BackendJobRespObj
1288
+ ) => any;
1289
+
1290
+ export declare const ListBackendJobsResponseFilterSensitiveLog: (
1291
+ obj: ListBackendJobsResponse
1292
+ ) => any;
1293
+
1294
+ export declare const ListS3BucketsRequestFilterSensitiveLog: (
1295
+ obj: ListS3BucketsRequest
1296
+ ) => any;
1297
+
1298
+ export declare const S3BucketInfoFilterSensitiveLog: (obj: S3BucketInfo) => any;
1299
+
1300
+ export declare const ListS3BucketsResponseFilterSensitiveLog: (
1301
+ obj: ListS3BucketsResponse
1302
+ ) => any;
1303
+
1304
+ export declare const RemoveAllBackendsRequestFilterSensitiveLog: (
1305
+ obj: RemoveAllBackendsRequest
1306
+ ) => any;
1307
+
1308
+ export declare const RemoveAllBackendsResponseFilterSensitiveLog: (
1309
+ obj: RemoveAllBackendsResponse
1310
+ ) => any;
1311
+
1312
+ export declare const RemoveBackendConfigRequestFilterSensitiveLog: (
1313
+ obj: RemoveBackendConfigRequest
1314
+ ) => any;
1315
+
1316
+ export declare const RemoveBackendConfigResponseFilterSensitiveLog: (
1317
+ obj: RemoveBackendConfigResponse
1318
+ ) => any;
1319
+
1320
+ export declare const UpdateBackendAPIRequestFilterSensitiveLog: (
1321
+ obj: UpdateBackendAPIRequest
1322
+ ) => any;
1323
+
1324
+ export declare const UpdateBackendAPIResponseFilterSensitiveLog: (
1325
+ obj: UpdateBackendAPIResponse
1326
+ ) => any;
1327
+
1328
+ export declare const UpdateBackendAuthIdentityPoolConfigFilterSensitiveLog: (
1329
+ obj: UpdateBackendAuthIdentityPoolConfig
1330
+ ) => any;
1331
+
1332
+ export declare const UpdateBackendAuthForgotPasswordConfigFilterSensitiveLog: (
1333
+ obj: UpdateBackendAuthForgotPasswordConfig
1334
+ ) => any;
1335
+
1336
+ export declare const UpdateBackendAuthMFAConfigFilterSensitiveLog: (
1337
+ obj: UpdateBackendAuthMFAConfig
1338
+ ) => any;
1339
+
1340
+ export declare const UpdateBackendAuthOAuthConfigFilterSensitiveLog: (
1341
+ obj: UpdateBackendAuthOAuthConfig
1342
+ ) => any;
1343
+
1344
+ export declare const UpdateBackendAuthPasswordPolicyConfigFilterSensitiveLog: (
1345
+ obj: UpdateBackendAuthPasswordPolicyConfig
1346
+ ) => any;
1347
+
1348
+ export declare const UpdateBackendAuthVerificationMessageConfigFilterSensitiveLog: (
1349
+ obj: UpdateBackendAuthVerificationMessageConfig
1350
+ ) => any;
1351
+
1352
+ export declare const UpdateBackendAuthUserPoolConfigFilterSensitiveLog: (
1353
+ obj: UpdateBackendAuthUserPoolConfig
1354
+ ) => any;
1355
+
1356
+ export declare const UpdateBackendAuthResourceConfigFilterSensitiveLog: (
1357
+ obj: UpdateBackendAuthResourceConfig
1358
+ ) => any;
1359
+
1360
+ export declare const UpdateBackendAuthRequestFilterSensitiveLog: (
1361
+ obj: UpdateBackendAuthRequest
1362
+ ) => any;
1363
+
1364
+ export declare const UpdateBackendAuthResponseFilterSensitiveLog: (
1365
+ obj: UpdateBackendAuthResponse
1366
+ ) => any;
1367
+
1368
+ export declare const LoginAuthConfigReqObjFilterSensitiveLog: (
1369
+ obj: LoginAuthConfigReqObj
1370
+ ) => any;
1371
+
1372
+ export declare const UpdateBackendConfigRequestFilterSensitiveLog: (
1373
+ obj: UpdateBackendConfigRequest
1374
+ ) => any;
1375
+
1376
+ export declare const UpdateBackendConfigResponseFilterSensitiveLog: (
1377
+ obj: UpdateBackendConfigResponse
1378
+ ) => any;
1379
+
1380
+ export declare const UpdateBackendJobRequestFilterSensitiveLog: (
1381
+ obj: UpdateBackendJobRequest
1382
+ ) => any;
1383
+
1384
+ export declare const UpdateBackendJobResponseFilterSensitiveLog: (
1385
+ obj: UpdateBackendJobResponse
1386
+ ) => any;
1387
+
1388
+ export declare const UpdateBackendStorageResourceConfigFilterSensitiveLog: (
1389
+ obj: UpdateBackendStorageResourceConfig
1390
+ ) => any;
1391
+
1392
+ export declare const UpdateBackendStorageRequestFilterSensitiveLog: (
1393
+ obj: UpdateBackendStorageRequest
1394
+ ) => any;
1395
+
1396
+ export declare const UpdateBackendStorageResponseFilterSensitiveLog: (
1397
+ obj: UpdateBackendStorageResponse
1398
+ ) => any;