@aws-sdk/client-amplifybackend 3.169.0 → 3.171.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 +16 -0
  2. package/dist-types/ts3.4/AmplifyBackend.d.ts +531 -160
  3. package/dist-types/ts3.4/AmplifyBackendClient.d.ts +291 -104
  4. package/dist-types/ts3.4/commands/CloneBackendCommand.d.ts +32 -17
  5. package/dist-types/ts3.4/commands/CreateBackendAPICommand.d.ts +35 -17
  6. package/dist-types/ts3.4/commands/CreateBackendAuthCommand.d.ts +36 -17
  7. package/dist-types/ts3.4/commands/CreateBackendCommand.d.ts +35 -17
  8. package/dist-types/ts3.4/commands/CreateBackendConfigCommand.d.ts +36 -17
  9. package/dist-types/ts3.4/commands/CreateBackendStorageCommand.d.ts +39 -17
  10. package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +32 -17
  11. package/dist-types/ts3.4/commands/DeleteBackendAPICommand.d.ts +35 -17
  12. package/dist-types/ts3.4/commands/DeleteBackendAuthCommand.d.ts +36 -17
  13. package/dist-types/ts3.4/commands/DeleteBackendCommand.d.ts +35 -17
  14. package/dist-types/ts3.4/commands/DeleteBackendStorageCommand.d.ts +39 -17
  15. package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +32 -17
  16. package/dist-types/ts3.4/commands/GenerateBackendAPIModelsCommand.d.ts +39 -17
  17. package/dist-types/ts3.4/commands/GetBackendAPICommand.d.ts +35 -17
  18. package/dist-types/ts3.4/commands/GetBackendAPIModelsCommand.d.ts +36 -17
  19. package/dist-types/ts3.4/commands/GetBackendAuthCommand.d.ts +35 -17
  20. package/dist-types/ts3.4/commands/GetBackendCommand.d.ts +32 -17
  21. package/dist-types/ts3.4/commands/GetBackendJobCommand.d.ts +35 -17
  22. package/dist-types/ts3.4/commands/GetBackendStorageCommand.d.ts +36 -17
  23. package/dist-types/ts3.4/commands/GetTokenCommand.d.ts +32 -17
  24. package/dist-types/ts3.4/commands/ImportBackendAuthCommand.d.ts +36 -17
  25. package/dist-types/ts3.4/commands/ImportBackendStorageCommand.d.ts +39 -17
  26. package/dist-types/ts3.4/commands/ListBackendJobsCommand.d.ts +35 -17
  27. package/dist-types/ts3.4/commands/ListS3BucketsCommand.d.ts +35 -17
  28. package/dist-types/ts3.4/commands/RemoveAllBackendsCommand.d.ts +36 -17
  29. package/dist-types/ts3.4/commands/RemoveBackendConfigCommand.d.ts +36 -17
  30. package/dist-types/ts3.4/commands/UpdateBackendAPICommand.d.ts +35 -17
  31. package/dist-types/ts3.4/commands/UpdateBackendAuthCommand.d.ts +36 -17
  32. package/dist-types/ts3.4/commands/UpdateBackendConfigCommand.d.ts +36 -17
  33. package/dist-types/ts3.4/commands/UpdateBackendJobCommand.d.ts +35 -17
  34. package/dist-types/ts3.4/commands/UpdateBackendStorageCommand.d.ts +39 -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 +7 -6
  39. package/dist-types/ts3.4/models/index.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_0.d.ts +962 -1300
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +377 -95
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  46. package/package.json +34 -34
@@ -1,1300 +1,962 @@
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
+ export declare class BadRequestException extends __BaseException {
10
+ readonly name: "BadRequestException";
11
+ readonly $fault: "client";
12
+ Message?: string;
13
+ constructor(
14
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
15
+ );
16
+ }
17
+ export interface CloneBackendRequest {
18
+ AppId: string | undefined;
19
+ BackendEnvironmentName: string | undefined;
20
+ TargetEnvironmentName: string | undefined;
21
+ }
22
+ export interface CloneBackendResponse {
23
+ AppId?: string;
24
+ BackendEnvironmentName?: string;
25
+ Error?: string;
26
+ JobId?: string;
27
+ Operation?: string;
28
+ Status?: string;
29
+ }
30
+ export declare class GatewayTimeoutException extends __BaseException {
31
+ readonly name: "GatewayTimeoutException";
32
+ readonly $fault: "server";
33
+ Message?: string;
34
+ constructor(
35
+ opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>
36
+ );
37
+ }
38
+ export declare class NotFoundException extends __BaseException {
39
+ readonly name: "NotFoundException";
40
+ readonly $fault: "client";
41
+ Message?: string;
42
+ ResourceType?: string;
43
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
44
+ }
45
+ export declare class TooManyRequestsException extends __BaseException {
46
+ readonly name: "TooManyRequestsException";
47
+ readonly $fault: "client";
48
+ LimitType?: string;
49
+ Message?: string;
50
+ constructor(
51
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
52
+ );
53
+ }
54
+ export interface ResourceConfig {}
55
+ export interface CreateBackendRequest {
56
+ AppId: string | undefined;
57
+ AppName: string | undefined;
58
+ BackendEnvironmentName: string | undefined;
59
+ ResourceConfig?: ResourceConfig;
60
+ ResourceName?: string;
61
+ }
62
+ export interface CreateBackendResponse {
63
+ AppId?: string;
64
+ BackendEnvironmentName?: string;
65
+ Error?: string;
66
+ JobId?: string;
67
+ Operation?: string;
68
+ Status?: string;
69
+ }
70
+ export declare enum Mode {
71
+ AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS",
72
+ API_KEY = "API_KEY",
73
+ AWS_IAM = "AWS_IAM",
74
+ OPENID_CONNECT = "OPENID_CONNECT",
75
+ }
76
+ export interface BackendAPIAppSyncAuthSettings {
77
+ CognitoUserPoolId?: string;
78
+ Description?: string;
79
+ ExpirationTime?: number;
80
+ OpenIDAuthTTL?: string;
81
+ OpenIDClientId?: string;
82
+ OpenIDIatTTL?: string;
83
+ OpenIDIssueURL?: string;
84
+ OpenIDProviderName?: string;
85
+ }
86
+ export interface BackendAPIAuthType {
87
+ Mode?: Mode | string;
88
+ Settings?: BackendAPIAppSyncAuthSettings;
89
+ }
90
+ export declare enum ResolutionStrategy {
91
+ AUTOMERGE = "AUTOMERGE",
92
+ LAMBDA = "LAMBDA",
93
+ NONE = "NONE",
94
+ OPTIMISTIC_CONCURRENCY = "OPTIMISTIC_CONCURRENCY",
95
+ }
96
+ export interface BackendAPIConflictResolution {
97
+ ResolutionStrategy?: ResolutionStrategy | string;
98
+ }
99
+ export interface BackendAPIResourceConfig {
100
+ AdditionalAuthTypes?: BackendAPIAuthType[];
101
+ ApiName?: string;
102
+ ConflictResolution?: BackendAPIConflictResolution;
103
+ DefaultAuthType?: BackendAPIAuthType;
104
+ Service?: string;
105
+ TransformSchema?: string;
106
+ }
107
+ export interface CreateBackendAPIRequest {
108
+ AppId: string | undefined;
109
+ BackendEnvironmentName: string | undefined;
110
+ ResourceConfig: BackendAPIResourceConfig | undefined;
111
+ ResourceName: string | undefined;
112
+ }
113
+ export interface CreateBackendAPIResponse {
114
+ AppId?: string;
115
+ BackendEnvironmentName?: string;
116
+ Error?: string;
117
+ JobId?: string;
118
+ Operation?: string;
119
+ Status?: string;
120
+ }
121
+ export declare enum AuthResources {
122
+ IDENTITY_POOL_AND_USER_POOL = "IDENTITY_POOL_AND_USER_POOL",
123
+ USER_POOL_ONLY = "USER_POOL_ONLY",
124
+ }
125
+ export interface CreateBackendAuthIdentityPoolConfig {
126
+ IdentityPoolName: string | undefined;
127
+ UnauthenticatedLogin: boolean | undefined;
128
+ }
129
+ export declare enum Service {
130
+ COGNITO = "COGNITO",
131
+ }
132
+ export declare enum DeliveryMethod {
133
+ EMAIL = "EMAIL",
134
+ SMS = "SMS",
135
+ }
136
+ export interface EmailSettings {
137
+ EmailMessage?: string;
138
+ EmailSubject?: string;
139
+ }
140
+ export interface SmsSettings {
141
+ SmsMessage?: string;
142
+ }
143
+ export interface CreateBackendAuthForgotPasswordConfig {
144
+ DeliveryMethod: DeliveryMethod | string | undefined;
145
+ EmailSettings?: EmailSettings;
146
+ SmsSettings?: SmsSettings;
147
+ }
148
+ export declare enum MFAMode {
149
+ OFF = "OFF",
150
+ ON = "ON",
151
+ OPTIONAL = "OPTIONAL",
152
+ }
153
+ export declare enum MfaTypesElement {
154
+ SMS = "SMS",
155
+ TOTP = "TOTP",
156
+ }
157
+ export interface Settings {
158
+ MfaTypes?: (MfaTypesElement | string)[];
159
+ SmsMessage?: string;
160
+ }
161
+ export interface CreateBackendAuthMFAConfig {
162
+ MFAMode: MFAMode | string | undefined;
163
+ Settings?: Settings;
164
+ }
165
+ export declare enum OAuthGrantType {
166
+ CODE = "CODE",
167
+ IMPLICIT = "IMPLICIT",
168
+ }
169
+ export declare enum OAuthScopesElement {
170
+ AWS_COGNITO_SIGNIN_USER_ADMIN = "AWS_COGNITO_SIGNIN_USER_ADMIN",
171
+ EMAIL = "EMAIL",
172
+ OPENID = "OPENID",
173
+ PHONE = "PHONE",
174
+ PROFILE = "PROFILE",
175
+ }
176
+ export interface BackendAuthSocialProviderConfig {
177
+ ClientId?: string;
178
+ ClientSecret?: string;
179
+ }
180
+ export interface BackendAuthAppleProviderConfig {
181
+ ClientId?: string;
182
+ KeyId?: string;
183
+ PrivateKey?: string;
184
+ TeamId?: string;
185
+ }
186
+ export interface SocialProviderSettings {
187
+ Facebook?: BackendAuthSocialProviderConfig;
188
+ Google?: BackendAuthSocialProviderConfig;
189
+ LoginWithAmazon?: BackendAuthSocialProviderConfig;
190
+ SignInWithApple?: BackendAuthAppleProviderConfig;
191
+ }
192
+ export interface CreateBackendAuthOAuthConfig {
193
+ DomainPrefix?: string;
194
+ OAuthGrantType: OAuthGrantType | string | undefined;
195
+ OAuthScopes: (OAuthScopesElement | string)[] | undefined;
196
+ RedirectSignInURIs: string[] | undefined;
197
+ RedirectSignOutURIs: string[] | undefined;
198
+ SocialProviderSettings?: SocialProviderSettings;
199
+ }
200
+ export interface CreateBackendAuthPasswordPolicyConfig {
201
+ AdditionalConstraints?: (AdditionalConstraintsElement | string)[];
202
+ MinimumLength: number | undefined;
203
+ }
204
+ export declare enum RequiredSignUpAttributesElement {
205
+ ADDRESS = "ADDRESS",
206
+ BIRTHDATE = "BIRTHDATE",
207
+ EMAIL = "EMAIL",
208
+ FAMILY_NAME = "FAMILY_NAME",
209
+ GENDER = "GENDER",
210
+ GIVEN_NAME = "GIVEN_NAME",
211
+ LOCALE = "LOCALE",
212
+ MIDDLE_NAME = "MIDDLE_NAME",
213
+ NAME = "NAME",
214
+ NICKNAME = "NICKNAME",
215
+ PHONE_NUMBER = "PHONE_NUMBER",
216
+ PICTURE = "PICTURE",
217
+ PREFERRED_USERNAME = "PREFERRED_USERNAME",
218
+ PROFILE = "PROFILE",
219
+ UPDATED_AT = "UPDATED_AT",
220
+ WEBSITE = "WEBSITE",
221
+ ZONE_INFO = "ZONE_INFO",
222
+ }
223
+ export declare enum SignInMethod {
224
+ EMAIL = "EMAIL",
225
+ EMAIL_AND_PHONE_NUMBER = "EMAIL_AND_PHONE_NUMBER",
226
+ PHONE_NUMBER = "PHONE_NUMBER",
227
+ USERNAME = "USERNAME",
228
+ }
229
+ export interface CreateBackendAuthVerificationMessageConfig {
230
+ DeliveryMethod: DeliveryMethod | string | undefined;
231
+ EmailSettings?: EmailSettings;
232
+ SmsSettings?: SmsSettings;
233
+ }
234
+ export interface CreateBackendAuthUserPoolConfig {
235
+ ForgotPassword?: CreateBackendAuthForgotPasswordConfig;
236
+ Mfa?: CreateBackendAuthMFAConfig;
237
+ OAuth?: CreateBackendAuthOAuthConfig;
238
+ PasswordPolicy?: CreateBackendAuthPasswordPolicyConfig;
239
+ RequiredSignUpAttributes:
240
+ | (RequiredSignUpAttributesElement | string)[]
241
+ | undefined;
242
+ SignInMethod: SignInMethod | string | undefined;
243
+ UserPoolName: string | undefined;
244
+ VerificationMessage?: CreateBackendAuthVerificationMessageConfig;
245
+ }
246
+ export interface CreateBackendAuthResourceConfig {
247
+ AuthResources: AuthResources | string | undefined;
248
+ IdentityPoolConfigs?: CreateBackendAuthIdentityPoolConfig;
249
+ Service: Service | string | undefined;
250
+ UserPoolConfigs: CreateBackendAuthUserPoolConfig | undefined;
251
+ }
252
+ export interface CreateBackendAuthRequest {
253
+ AppId: string | undefined;
254
+ BackendEnvironmentName: string | undefined;
255
+ ResourceConfig: CreateBackendAuthResourceConfig | undefined;
256
+ ResourceName: string | undefined;
257
+ }
258
+ export interface CreateBackendAuthResponse {
259
+ AppId?: string;
260
+ BackendEnvironmentName?: string;
261
+ Error?: string;
262
+ JobId?: string;
263
+ Operation?: string;
264
+ Status?: string;
265
+ }
266
+ export interface CreateBackendConfigRequest {
267
+ AppId: string | undefined;
268
+ BackendManagerAppId?: string;
269
+ }
270
+ export interface CreateBackendConfigResponse {
271
+ AppId?: string;
272
+ BackendEnvironmentName?: string;
273
+ JobId?: string;
274
+ Status?: string;
275
+ }
276
+ export declare enum AuthenticatedElement {
277
+ CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
278
+ DELETE = "DELETE",
279
+ READ = "READ",
280
+ }
281
+ export declare enum UnAuthenticatedElement {
282
+ CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
283
+ DELETE = "DELETE",
284
+ READ = "READ",
285
+ }
286
+ export interface BackendStoragePermissions {
287
+ Authenticated: (AuthenticatedElement | string)[] | undefined;
288
+ UnAuthenticated?: (UnAuthenticatedElement | string)[];
289
+ }
290
+ export declare enum ServiceName {
291
+ S3 = "S3",
292
+ }
293
+ export interface CreateBackendStorageResourceConfig {
294
+ BucketName?: string;
295
+ Permissions: BackendStoragePermissions | undefined;
296
+ ServiceName: ServiceName | string | undefined;
297
+ }
298
+ export interface CreateBackendStorageRequest {
299
+ AppId: string | undefined;
300
+ BackendEnvironmentName: string | undefined;
301
+ ResourceConfig: CreateBackendStorageResourceConfig | undefined;
302
+ ResourceName: string | undefined;
303
+ }
304
+ export interface CreateBackendStorageResponse {
305
+ AppId?: string;
306
+ BackendEnvironmentName?: string;
307
+ JobId?: string;
308
+ Status?: string;
309
+ }
310
+ export interface CreateTokenRequest {
311
+ AppId: string | undefined;
312
+ }
313
+ export interface CreateTokenResponse {
314
+ AppId?: string;
315
+ ChallengeCode?: string;
316
+ SessionId?: string;
317
+ Ttl?: string;
318
+ }
319
+ export interface DeleteBackendRequest {
320
+ AppId: string | undefined;
321
+ BackendEnvironmentName: string | undefined;
322
+ }
323
+ export interface DeleteBackendResponse {
324
+ AppId?: string;
325
+ BackendEnvironmentName?: string;
326
+ Error?: string;
327
+ JobId?: string;
328
+ Operation?: string;
329
+ Status?: string;
330
+ }
331
+ export interface DeleteBackendAPIRequest {
332
+ AppId: string | undefined;
333
+ BackendEnvironmentName: string | undefined;
334
+ ResourceConfig?: BackendAPIResourceConfig;
335
+ ResourceName: string | undefined;
336
+ }
337
+ export interface DeleteBackendAPIResponse {
338
+ AppId?: string;
339
+ BackendEnvironmentName?: string;
340
+ Error?: string;
341
+ JobId?: string;
342
+ Operation?: string;
343
+ Status?: string;
344
+ }
345
+ export interface DeleteBackendAuthRequest {
346
+ AppId: string | undefined;
347
+ BackendEnvironmentName: string | undefined;
348
+ ResourceName: string | undefined;
349
+ }
350
+ export interface DeleteBackendAuthResponse {
351
+ AppId?: string;
352
+ BackendEnvironmentName?: string;
353
+ Error?: string;
354
+ JobId?: string;
355
+ Operation?: string;
356
+ Status?: string;
357
+ }
358
+ export interface DeleteBackendStorageRequest {
359
+ AppId: string | undefined;
360
+ BackendEnvironmentName: string | undefined;
361
+ ResourceName: string | undefined;
362
+ ServiceName: ServiceName | string | undefined;
363
+ }
364
+ export interface DeleteBackendStorageResponse {
365
+ AppId?: string;
366
+ BackendEnvironmentName?: string;
367
+ JobId?: string;
368
+ Status?: string;
369
+ }
370
+ export interface DeleteTokenRequest {
371
+ AppId: string | undefined;
372
+ SessionId: string | undefined;
373
+ }
374
+ export interface DeleteTokenResponse {
375
+ IsSuccess?: boolean;
376
+ }
377
+ export interface GenerateBackendAPIModelsRequest {
378
+ AppId: string | undefined;
379
+ BackendEnvironmentName: string | undefined;
380
+ ResourceName: string | undefined;
381
+ }
382
+ export interface GenerateBackendAPIModelsResponse {
383
+ AppId?: string;
384
+ BackendEnvironmentName?: string;
385
+ Error?: string;
386
+ JobId?: string;
387
+ Operation?: string;
388
+ Status?: string;
389
+ }
390
+ export interface GetBackendRequest {
391
+ AppId: string | undefined;
392
+ BackendEnvironmentName?: string;
393
+ }
394
+ export interface GetBackendResponse {
395
+ AmplifyFeatureFlags?: string;
396
+ AmplifyMetaConfig?: string;
397
+ AppId?: string;
398
+ AppName?: string;
399
+ BackendEnvironmentList?: string[];
400
+ BackendEnvironmentName?: string;
401
+ Error?: string;
402
+ }
403
+ export interface GetBackendAPIRequest {
404
+ AppId: string | undefined;
405
+ BackendEnvironmentName: string | undefined;
406
+ ResourceConfig?: BackendAPIResourceConfig;
407
+ ResourceName: string | undefined;
408
+ }
409
+ export interface GetBackendAPIResponse {
410
+ AppId?: string;
411
+ BackendEnvironmentName?: string;
412
+ Error?: string;
413
+ ResourceConfig?: BackendAPIResourceConfig;
414
+ ResourceName?: string;
415
+ }
416
+ export interface GetBackendAPIModelsRequest {
417
+ AppId: string | undefined;
418
+ BackendEnvironmentName: string | undefined;
419
+ ResourceName: string | undefined;
420
+ }
421
+ export declare enum Status {
422
+ LATEST = "LATEST",
423
+ STALE = "STALE",
424
+ }
425
+ export interface GetBackendAPIModelsResponse {
426
+ Models?: string;
427
+ Status?: Status | string;
428
+ }
429
+ export interface GetBackendAuthRequest {
430
+ AppId: string | undefined;
431
+ BackendEnvironmentName: string | undefined;
432
+ ResourceName: string | undefined;
433
+ }
434
+ export interface GetBackendAuthResponse {
435
+ AppId?: string;
436
+ BackendEnvironmentName?: string;
437
+ Error?: string;
438
+ ResourceConfig?: CreateBackendAuthResourceConfig;
439
+ ResourceName?: string;
440
+ }
441
+ export interface GetBackendJobRequest {
442
+ AppId: string | undefined;
443
+ BackendEnvironmentName: string | undefined;
444
+ JobId: string | undefined;
445
+ }
446
+ export interface GetBackendJobResponse {
447
+ AppId?: string;
448
+ BackendEnvironmentName?: string;
449
+ CreateTime?: string;
450
+ Error?: string;
451
+ JobId?: string;
452
+ Operation?: string;
453
+ Status?: string;
454
+ UpdateTime?: string;
455
+ }
456
+ export interface GetBackendStorageRequest {
457
+ AppId: string | undefined;
458
+ BackendEnvironmentName: string | undefined;
459
+ ResourceName: string | undefined;
460
+ }
461
+ export interface GetBackendStorageResourceConfig {
462
+ BucketName?: string;
463
+ Imported: boolean | undefined;
464
+ Permissions?: BackendStoragePermissions;
465
+ ServiceName: ServiceName | string | undefined;
466
+ }
467
+ export interface GetBackendStorageResponse {
468
+ AppId?: string;
469
+ BackendEnvironmentName?: string;
470
+ ResourceConfig?: GetBackendStorageResourceConfig;
471
+ ResourceName?: string;
472
+ }
473
+ export interface GetTokenRequest {
474
+ AppId: string | undefined;
475
+ SessionId: string | undefined;
476
+ }
477
+ export interface GetTokenResponse {
478
+ AppId?: string;
479
+ ChallengeCode?: string;
480
+ SessionId?: string;
481
+ Ttl?: string;
482
+ }
483
+ export interface ImportBackendAuthRequest {
484
+ AppId: string | undefined;
485
+ BackendEnvironmentName: string | undefined;
486
+ IdentityPoolId?: string;
487
+ NativeClientId: string | undefined;
488
+ UserPoolId: string | undefined;
489
+ WebClientId: string | undefined;
490
+ }
491
+ export interface ImportBackendAuthResponse {
492
+ AppId?: string;
493
+ BackendEnvironmentName?: string;
494
+ Error?: string;
495
+ JobId?: string;
496
+ Operation?: string;
497
+ Status?: string;
498
+ }
499
+ export interface ImportBackendStorageRequest {
500
+ AppId: string | undefined;
501
+ BackendEnvironmentName: string | undefined;
502
+ BucketName?: string;
503
+ ServiceName: ServiceName | string | undefined;
504
+ }
505
+ export interface ImportBackendStorageResponse {
506
+ AppId?: string;
507
+ BackendEnvironmentName?: string;
508
+ JobId?: string;
509
+ Status?: string;
510
+ }
511
+ export interface ListBackendJobsRequest {
512
+ AppId: string | undefined;
513
+ BackendEnvironmentName: string | undefined;
514
+ JobId?: string;
515
+ MaxResults?: number;
516
+ NextToken?: string;
517
+ Operation?: string;
518
+ Status?: string;
519
+ }
520
+ export interface BackendJobRespObj {
521
+ AppId: string | undefined;
522
+ BackendEnvironmentName: string | undefined;
523
+ CreateTime?: string;
524
+ Error?: string;
525
+ JobId?: string;
526
+ Operation?: string;
527
+ Status?: string;
528
+ UpdateTime?: string;
529
+ }
530
+ export interface ListBackendJobsResponse {
531
+ Jobs?: BackendJobRespObj[];
532
+ NextToken?: string;
533
+ }
534
+ export interface ListS3BucketsRequest {
535
+ NextToken?: string;
536
+ }
537
+ export interface S3BucketInfo {
538
+ CreationDate?: string;
539
+ Name?: string;
540
+ }
541
+ export interface ListS3BucketsResponse {
542
+ Buckets?: S3BucketInfo[];
543
+ NextToken?: string;
544
+ }
545
+ export interface RemoveAllBackendsRequest {
546
+ AppId: string | undefined;
547
+ CleanAmplifyApp?: boolean;
548
+ }
549
+ export interface RemoveAllBackendsResponse {
550
+ AppId?: string;
551
+ Error?: string;
552
+ JobId?: string;
553
+ Operation?: string;
554
+ Status?: string;
555
+ }
556
+ export interface RemoveBackendConfigRequest {
557
+ AppId: string | undefined;
558
+ }
559
+ export interface RemoveBackendConfigResponse {
560
+ Error?: string;
561
+ }
562
+ export interface UpdateBackendAPIRequest {
563
+ AppId: string | undefined;
564
+ BackendEnvironmentName: string | undefined;
565
+ ResourceConfig?: BackendAPIResourceConfig;
566
+ ResourceName: string | undefined;
567
+ }
568
+ export interface UpdateBackendAPIResponse {
569
+ AppId?: string;
570
+ BackendEnvironmentName?: string;
571
+ Error?: string;
572
+ JobId?: string;
573
+ Operation?: string;
574
+ Status?: string;
575
+ }
576
+ export interface UpdateBackendAuthIdentityPoolConfig {
577
+ UnauthenticatedLogin?: boolean;
578
+ }
579
+ export interface UpdateBackendAuthForgotPasswordConfig {
580
+ DeliveryMethod?: DeliveryMethod | string;
581
+ EmailSettings?: EmailSettings;
582
+ SmsSettings?: SmsSettings;
583
+ }
584
+ export interface UpdateBackendAuthMFAConfig {
585
+ MFAMode?: MFAMode | string;
586
+ Settings?: Settings;
587
+ }
588
+ export interface UpdateBackendAuthOAuthConfig {
589
+ DomainPrefix?: string;
590
+ OAuthGrantType?: OAuthGrantType | string;
591
+ OAuthScopes?: (OAuthScopesElement | string)[];
592
+ RedirectSignInURIs?: string[];
593
+ RedirectSignOutURIs?: string[];
594
+ SocialProviderSettings?: SocialProviderSettings;
595
+ }
596
+ export interface UpdateBackendAuthPasswordPolicyConfig {
597
+ AdditionalConstraints?: (AdditionalConstraintsElement | string)[];
598
+ MinimumLength?: number;
599
+ }
600
+ export interface UpdateBackendAuthVerificationMessageConfig {
601
+ DeliveryMethod: DeliveryMethod | string | undefined;
602
+ EmailSettings?: EmailSettings;
603
+ SmsSettings?: SmsSettings;
604
+ }
605
+ export interface UpdateBackendAuthUserPoolConfig {
606
+ ForgotPassword?: UpdateBackendAuthForgotPasswordConfig;
607
+ Mfa?: UpdateBackendAuthMFAConfig;
608
+ OAuth?: UpdateBackendAuthOAuthConfig;
609
+ PasswordPolicy?: UpdateBackendAuthPasswordPolicyConfig;
610
+ VerificationMessage?: UpdateBackendAuthVerificationMessageConfig;
611
+ }
612
+ export interface UpdateBackendAuthResourceConfig {
613
+ AuthResources: AuthResources | string | undefined;
614
+ IdentityPoolConfigs?: UpdateBackendAuthIdentityPoolConfig;
615
+ Service: Service | string | undefined;
616
+ UserPoolConfigs: UpdateBackendAuthUserPoolConfig | undefined;
617
+ }
618
+ export interface UpdateBackendAuthRequest {
619
+ AppId: string | undefined;
620
+ BackendEnvironmentName: string | undefined;
621
+ ResourceConfig: UpdateBackendAuthResourceConfig | undefined;
622
+ ResourceName: string | undefined;
623
+ }
624
+ export interface UpdateBackendAuthResponse {
625
+ AppId?: string;
626
+ BackendEnvironmentName?: string;
627
+ Error?: string;
628
+ JobId?: string;
629
+ Operation?: string;
630
+ Status?: string;
631
+ }
632
+ export interface LoginAuthConfigReqObj {
633
+ AwsCognitoIdentityPoolId?: string;
634
+ AwsCognitoRegion?: string;
635
+ AwsUserPoolsId?: string;
636
+ AwsUserPoolsWebClientId?: string;
637
+ }
638
+ export interface UpdateBackendConfigRequest {
639
+ AppId: string | undefined;
640
+ LoginAuthConfig?: LoginAuthConfigReqObj;
641
+ }
642
+ export interface UpdateBackendConfigResponse {
643
+ AppId?: string;
644
+ BackendManagerAppId?: string;
645
+ Error?: string;
646
+ LoginAuthConfig?: LoginAuthConfigReqObj;
647
+ }
648
+ export interface UpdateBackendJobRequest {
649
+ AppId: string | undefined;
650
+ BackendEnvironmentName: string | undefined;
651
+ JobId: string | undefined;
652
+ Operation?: string;
653
+ Status?: string;
654
+ }
655
+ export interface UpdateBackendJobResponse {
656
+ AppId?: string;
657
+ BackendEnvironmentName?: string;
658
+ CreateTime?: string;
659
+ Error?: string;
660
+ JobId?: string;
661
+ Operation?: string;
662
+ Status?: string;
663
+ UpdateTime?: string;
664
+ }
665
+ export interface UpdateBackendStorageResourceConfig {
666
+ Permissions: BackendStoragePermissions | undefined;
667
+ ServiceName: ServiceName | string | undefined;
668
+ }
669
+ export interface UpdateBackendStorageRequest {
670
+ AppId: string | undefined;
671
+ BackendEnvironmentName: string | undefined;
672
+ ResourceConfig: UpdateBackendStorageResourceConfig | undefined;
673
+ ResourceName: string | undefined;
674
+ }
675
+ export interface UpdateBackendStorageResponse {
676
+ AppId?: string;
677
+ BackendEnvironmentName?: string;
678
+ JobId?: string;
679
+ Status?: string;
680
+ }
681
+ export declare const CloneBackendRequestFilterSensitiveLog: (
682
+ obj: CloneBackendRequest
683
+ ) => any;
684
+ export declare const CloneBackendResponseFilterSensitiveLog: (
685
+ obj: CloneBackendResponse
686
+ ) => any;
687
+ export declare const ResourceConfigFilterSensitiveLog: (
688
+ obj: ResourceConfig
689
+ ) => any;
690
+ export declare const CreateBackendRequestFilterSensitiveLog: (
691
+ obj: CreateBackendRequest
692
+ ) => any;
693
+ export declare const CreateBackendResponseFilterSensitiveLog: (
694
+ obj: CreateBackendResponse
695
+ ) => any;
696
+ export declare const BackendAPIAppSyncAuthSettingsFilterSensitiveLog: (
697
+ obj: BackendAPIAppSyncAuthSettings
698
+ ) => any;
699
+ export declare const BackendAPIAuthTypeFilterSensitiveLog: (
700
+ obj: BackendAPIAuthType
701
+ ) => any;
702
+ export declare const BackendAPIConflictResolutionFilterSensitiveLog: (
703
+ obj: BackendAPIConflictResolution
704
+ ) => any;
705
+ export declare const BackendAPIResourceConfigFilterSensitiveLog: (
706
+ obj: BackendAPIResourceConfig
707
+ ) => any;
708
+ export declare const CreateBackendAPIRequestFilterSensitiveLog: (
709
+ obj: CreateBackendAPIRequest
710
+ ) => any;
711
+ export declare const CreateBackendAPIResponseFilterSensitiveLog: (
712
+ obj: CreateBackendAPIResponse
713
+ ) => any;
714
+ export declare const CreateBackendAuthIdentityPoolConfigFilterSensitiveLog: (
715
+ obj: CreateBackendAuthIdentityPoolConfig
716
+ ) => any;
717
+ export declare const EmailSettingsFilterSensitiveLog: (
718
+ obj: EmailSettings
719
+ ) => any;
720
+ export declare const SmsSettingsFilterSensitiveLog: (obj: SmsSettings) => any;
721
+ export declare const CreateBackendAuthForgotPasswordConfigFilterSensitiveLog: (
722
+ obj: CreateBackendAuthForgotPasswordConfig
723
+ ) => any;
724
+ export declare const SettingsFilterSensitiveLog: (obj: Settings) => any;
725
+ export declare const CreateBackendAuthMFAConfigFilterSensitiveLog: (
726
+ obj: CreateBackendAuthMFAConfig
727
+ ) => any;
728
+ export declare const BackendAuthSocialProviderConfigFilterSensitiveLog: (
729
+ obj: BackendAuthSocialProviderConfig
730
+ ) => any;
731
+ export declare const BackendAuthAppleProviderConfigFilterSensitiveLog: (
732
+ obj: BackendAuthAppleProviderConfig
733
+ ) => any;
734
+ export declare const SocialProviderSettingsFilterSensitiveLog: (
735
+ obj: SocialProviderSettings
736
+ ) => any;
737
+ export declare const CreateBackendAuthOAuthConfigFilterSensitiveLog: (
738
+ obj: CreateBackendAuthOAuthConfig
739
+ ) => any;
740
+ export declare const CreateBackendAuthPasswordPolicyConfigFilterSensitiveLog: (
741
+ obj: CreateBackendAuthPasswordPolicyConfig
742
+ ) => any;
743
+ export declare const CreateBackendAuthVerificationMessageConfigFilterSensitiveLog: (
744
+ obj: CreateBackendAuthVerificationMessageConfig
745
+ ) => any;
746
+ export declare const CreateBackendAuthUserPoolConfigFilterSensitiveLog: (
747
+ obj: CreateBackendAuthUserPoolConfig
748
+ ) => any;
749
+ export declare const CreateBackendAuthResourceConfigFilterSensitiveLog: (
750
+ obj: CreateBackendAuthResourceConfig
751
+ ) => any;
752
+ export declare const CreateBackendAuthRequestFilterSensitiveLog: (
753
+ obj: CreateBackendAuthRequest
754
+ ) => any;
755
+ export declare const CreateBackendAuthResponseFilterSensitiveLog: (
756
+ obj: CreateBackendAuthResponse
757
+ ) => any;
758
+ export declare const CreateBackendConfigRequestFilterSensitiveLog: (
759
+ obj: CreateBackendConfigRequest
760
+ ) => any;
761
+ export declare const CreateBackendConfigResponseFilterSensitiveLog: (
762
+ obj: CreateBackendConfigResponse
763
+ ) => any;
764
+ export declare const BackendStoragePermissionsFilterSensitiveLog: (
765
+ obj: BackendStoragePermissions
766
+ ) => any;
767
+ export declare const CreateBackendStorageResourceConfigFilterSensitiveLog: (
768
+ obj: CreateBackendStorageResourceConfig
769
+ ) => any;
770
+ export declare const CreateBackendStorageRequestFilterSensitiveLog: (
771
+ obj: CreateBackendStorageRequest
772
+ ) => any;
773
+ export declare const CreateBackendStorageResponseFilterSensitiveLog: (
774
+ obj: CreateBackendStorageResponse
775
+ ) => any;
776
+ export declare const CreateTokenRequestFilterSensitiveLog: (
777
+ obj: CreateTokenRequest
778
+ ) => any;
779
+ export declare const CreateTokenResponseFilterSensitiveLog: (
780
+ obj: CreateTokenResponse
781
+ ) => any;
782
+ export declare const DeleteBackendRequestFilterSensitiveLog: (
783
+ obj: DeleteBackendRequest
784
+ ) => any;
785
+ export declare const DeleteBackendResponseFilterSensitiveLog: (
786
+ obj: DeleteBackendResponse
787
+ ) => any;
788
+ export declare const DeleteBackendAPIRequestFilterSensitiveLog: (
789
+ obj: DeleteBackendAPIRequest
790
+ ) => any;
791
+ export declare const DeleteBackendAPIResponseFilterSensitiveLog: (
792
+ obj: DeleteBackendAPIResponse
793
+ ) => any;
794
+ export declare const DeleteBackendAuthRequestFilterSensitiveLog: (
795
+ obj: DeleteBackendAuthRequest
796
+ ) => any;
797
+ export declare const DeleteBackendAuthResponseFilterSensitiveLog: (
798
+ obj: DeleteBackendAuthResponse
799
+ ) => any;
800
+ export declare const DeleteBackendStorageRequestFilterSensitiveLog: (
801
+ obj: DeleteBackendStorageRequest
802
+ ) => any;
803
+ export declare const DeleteBackendStorageResponseFilterSensitiveLog: (
804
+ obj: DeleteBackendStorageResponse
805
+ ) => any;
806
+ export declare const DeleteTokenRequestFilterSensitiveLog: (
807
+ obj: DeleteTokenRequest
808
+ ) => any;
809
+ export declare const DeleteTokenResponseFilterSensitiveLog: (
810
+ obj: DeleteTokenResponse
811
+ ) => any;
812
+ export declare const GenerateBackendAPIModelsRequestFilterSensitiveLog: (
813
+ obj: GenerateBackendAPIModelsRequest
814
+ ) => any;
815
+ export declare const GenerateBackendAPIModelsResponseFilterSensitiveLog: (
816
+ obj: GenerateBackendAPIModelsResponse
817
+ ) => any;
818
+ export declare const GetBackendRequestFilterSensitiveLog: (
819
+ obj: GetBackendRequest
820
+ ) => any;
821
+ export declare const GetBackendResponseFilterSensitiveLog: (
822
+ obj: GetBackendResponse
823
+ ) => any;
824
+ export declare const GetBackendAPIRequestFilterSensitiveLog: (
825
+ obj: GetBackendAPIRequest
826
+ ) => any;
827
+ export declare const GetBackendAPIResponseFilterSensitiveLog: (
828
+ obj: GetBackendAPIResponse
829
+ ) => any;
830
+ export declare const GetBackendAPIModelsRequestFilterSensitiveLog: (
831
+ obj: GetBackendAPIModelsRequest
832
+ ) => any;
833
+ export declare const GetBackendAPIModelsResponseFilterSensitiveLog: (
834
+ obj: GetBackendAPIModelsResponse
835
+ ) => any;
836
+ export declare const GetBackendAuthRequestFilterSensitiveLog: (
837
+ obj: GetBackendAuthRequest
838
+ ) => any;
839
+ export declare const GetBackendAuthResponseFilterSensitiveLog: (
840
+ obj: GetBackendAuthResponse
841
+ ) => any;
842
+ export declare const GetBackendJobRequestFilterSensitiveLog: (
843
+ obj: GetBackendJobRequest
844
+ ) => any;
845
+ export declare const GetBackendJobResponseFilterSensitiveLog: (
846
+ obj: GetBackendJobResponse
847
+ ) => any;
848
+ export declare const GetBackendStorageRequestFilterSensitiveLog: (
849
+ obj: GetBackendStorageRequest
850
+ ) => any;
851
+ export declare const GetBackendStorageResourceConfigFilterSensitiveLog: (
852
+ obj: GetBackendStorageResourceConfig
853
+ ) => any;
854
+ export declare const GetBackendStorageResponseFilterSensitiveLog: (
855
+ obj: GetBackendStorageResponse
856
+ ) => any;
857
+ export declare const GetTokenRequestFilterSensitiveLog: (
858
+ obj: GetTokenRequest
859
+ ) => any;
860
+ export declare const GetTokenResponseFilterSensitiveLog: (
861
+ obj: GetTokenResponse
862
+ ) => any;
863
+ export declare const ImportBackendAuthRequestFilterSensitiveLog: (
864
+ obj: ImportBackendAuthRequest
865
+ ) => any;
866
+ export declare const ImportBackendAuthResponseFilterSensitiveLog: (
867
+ obj: ImportBackendAuthResponse
868
+ ) => any;
869
+ export declare const ImportBackendStorageRequestFilterSensitiveLog: (
870
+ obj: ImportBackendStorageRequest
871
+ ) => any;
872
+ export declare const ImportBackendStorageResponseFilterSensitiveLog: (
873
+ obj: ImportBackendStorageResponse
874
+ ) => any;
875
+ export declare const ListBackendJobsRequestFilterSensitiveLog: (
876
+ obj: ListBackendJobsRequest
877
+ ) => any;
878
+ export declare const BackendJobRespObjFilterSensitiveLog: (
879
+ obj: BackendJobRespObj
880
+ ) => any;
881
+ export declare const ListBackendJobsResponseFilterSensitiveLog: (
882
+ obj: ListBackendJobsResponse
883
+ ) => any;
884
+ export declare const ListS3BucketsRequestFilterSensitiveLog: (
885
+ obj: ListS3BucketsRequest
886
+ ) => any;
887
+ export declare const S3BucketInfoFilterSensitiveLog: (obj: S3BucketInfo) => any;
888
+ export declare const ListS3BucketsResponseFilterSensitiveLog: (
889
+ obj: ListS3BucketsResponse
890
+ ) => any;
891
+ export declare const RemoveAllBackendsRequestFilterSensitiveLog: (
892
+ obj: RemoveAllBackendsRequest
893
+ ) => any;
894
+ export declare const RemoveAllBackendsResponseFilterSensitiveLog: (
895
+ obj: RemoveAllBackendsResponse
896
+ ) => any;
897
+ export declare const RemoveBackendConfigRequestFilterSensitiveLog: (
898
+ obj: RemoveBackendConfigRequest
899
+ ) => any;
900
+ export declare const RemoveBackendConfigResponseFilterSensitiveLog: (
901
+ obj: RemoveBackendConfigResponse
902
+ ) => any;
903
+ export declare const UpdateBackendAPIRequestFilterSensitiveLog: (
904
+ obj: UpdateBackendAPIRequest
905
+ ) => any;
906
+ export declare const UpdateBackendAPIResponseFilterSensitiveLog: (
907
+ obj: UpdateBackendAPIResponse
908
+ ) => any;
909
+ export declare const UpdateBackendAuthIdentityPoolConfigFilterSensitiveLog: (
910
+ obj: UpdateBackendAuthIdentityPoolConfig
911
+ ) => any;
912
+ export declare const UpdateBackendAuthForgotPasswordConfigFilterSensitiveLog: (
913
+ obj: UpdateBackendAuthForgotPasswordConfig
914
+ ) => any;
915
+ export declare const UpdateBackendAuthMFAConfigFilterSensitiveLog: (
916
+ obj: UpdateBackendAuthMFAConfig
917
+ ) => any;
918
+ export declare const UpdateBackendAuthOAuthConfigFilterSensitiveLog: (
919
+ obj: UpdateBackendAuthOAuthConfig
920
+ ) => any;
921
+ export declare const UpdateBackendAuthPasswordPolicyConfigFilterSensitiveLog: (
922
+ obj: UpdateBackendAuthPasswordPolicyConfig
923
+ ) => any;
924
+ export declare const UpdateBackendAuthVerificationMessageConfigFilterSensitiveLog: (
925
+ obj: UpdateBackendAuthVerificationMessageConfig
926
+ ) => any;
927
+ export declare const UpdateBackendAuthUserPoolConfigFilterSensitiveLog: (
928
+ obj: UpdateBackendAuthUserPoolConfig
929
+ ) => any;
930
+ export declare const UpdateBackendAuthResourceConfigFilterSensitiveLog: (
931
+ obj: UpdateBackendAuthResourceConfig
932
+ ) => any;
933
+ export declare const UpdateBackendAuthRequestFilterSensitiveLog: (
934
+ obj: UpdateBackendAuthRequest
935
+ ) => any;
936
+ export declare const UpdateBackendAuthResponseFilterSensitiveLog: (
937
+ obj: UpdateBackendAuthResponse
938
+ ) => any;
939
+ export declare const LoginAuthConfigReqObjFilterSensitiveLog: (
940
+ obj: LoginAuthConfigReqObj
941
+ ) => any;
942
+ export declare const UpdateBackendConfigRequestFilterSensitiveLog: (
943
+ obj: UpdateBackendConfigRequest
944
+ ) => any;
945
+ export declare const UpdateBackendConfigResponseFilterSensitiveLog: (
946
+ obj: UpdateBackendConfigResponse
947
+ ) => any;
948
+ export declare const UpdateBackendJobRequestFilterSensitiveLog: (
949
+ obj: UpdateBackendJobRequest
950
+ ) => any;
951
+ export declare const UpdateBackendJobResponseFilterSensitiveLog: (
952
+ obj: UpdateBackendJobResponse
953
+ ) => any;
954
+ export declare const UpdateBackendStorageResourceConfigFilterSensitiveLog: (
955
+ obj: UpdateBackendStorageResourceConfig
956
+ ) => any;
957
+ export declare const UpdateBackendStorageRequestFilterSensitiveLog: (
958
+ obj: UpdateBackendStorageRequest
959
+ ) => any;
960
+ export declare const UpdateBackendStorageResponseFilterSensitiveLog: (
961
+ obj: UpdateBackendStorageResponse
962
+ ) => any;