@aws-sdk/client-amplifybackend 3.687.0 → 3.691.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.
@@ -11,7 +11,7 @@ export type AdditionalConstraintsElement =
11
11
  export declare class BadRequestException extends __BaseException {
12
12
  readonly name: "BadRequestException";
13
13
  readonly $fault: "client";
14
- Message?: string;
14
+ Message?: string | undefined;
15
15
  constructor(
16
16
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
17
17
  );
@@ -22,17 +22,17 @@ export interface CloneBackendRequest {
22
22
  TargetEnvironmentName: string | undefined;
23
23
  }
24
24
  export interface CloneBackendResponse {
25
- AppId?: string;
26
- BackendEnvironmentName?: string;
27
- Error?: string;
28
- JobId?: string;
29
- Operation?: string;
30
- Status?: string;
25
+ AppId?: string | undefined;
26
+ BackendEnvironmentName?: string | undefined;
27
+ Error?: string | undefined;
28
+ JobId?: string | undefined;
29
+ Operation?: string | undefined;
30
+ Status?: string | undefined;
31
31
  }
32
32
  export declare class GatewayTimeoutException extends __BaseException {
33
33
  readonly name: "GatewayTimeoutException";
34
34
  readonly $fault: "server";
35
- Message?: string;
35
+ Message?: string | undefined;
36
36
  constructor(
37
37
  opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>
38
38
  );
@@ -40,15 +40,15 @@ export declare class GatewayTimeoutException extends __BaseException {
40
40
  export declare class NotFoundException extends __BaseException {
41
41
  readonly name: "NotFoundException";
42
42
  readonly $fault: "client";
43
- Message?: string;
44
- ResourceType?: string;
43
+ Message?: string | undefined;
44
+ ResourceType?: string | undefined;
45
45
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
46
46
  }
47
47
  export declare class TooManyRequestsException extends __BaseException {
48
48
  readonly name: "TooManyRequestsException";
49
49
  readonly $fault: "client";
50
- LimitType?: string;
51
- Message?: string;
50
+ LimitType?: string | undefined;
51
+ Message?: string | undefined;
52
52
  constructor(
53
53
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
54
54
  );
@@ -58,16 +58,16 @@ export interface CreateBackendRequest {
58
58
  AppId: string | undefined;
59
59
  AppName: string | undefined;
60
60
  BackendEnvironmentName: string | undefined;
61
- ResourceConfig?: ResourceConfig;
62
- ResourceName?: string;
61
+ ResourceConfig?: ResourceConfig | undefined;
62
+ ResourceName?: string | undefined;
63
63
  }
64
64
  export interface CreateBackendResponse {
65
- AppId?: string;
66
- BackendEnvironmentName?: string;
67
- Error?: string;
68
- JobId?: string;
69
- Operation?: string;
70
- Status?: string;
65
+ AppId?: string | undefined;
66
+ BackendEnvironmentName?: string | undefined;
67
+ Error?: string | undefined;
68
+ JobId?: string | undefined;
69
+ Operation?: string | undefined;
70
+ Status?: string | undefined;
71
71
  }
72
72
  export declare const Mode: {
73
73
  readonly AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS";
@@ -77,18 +77,18 @@ export declare const Mode: {
77
77
  };
78
78
  export type Mode = (typeof Mode)[keyof typeof Mode];
79
79
  export interface BackendAPIAppSyncAuthSettings {
80
- CognitoUserPoolId?: string;
81
- Description?: string;
82
- ExpirationTime?: number;
83
- OpenIDAuthTTL?: string;
84
- OpenIDClientId?: string;
85
- OpenIDIatTTL?: string;
86
- OpenIDIssueURL?: string;
87
- OpenIDProviderName?: string;
80
+ CognitoUserPoolId?: string | undefined;
81
+ Description?: string | undefined;
82
+ ExpirationTime?: number | undefined;
83
+ OpenIDAuthTTL?: string | undefined;
84
+ OpenIDClientId?: string | undefined;
85
+ OpenIDIatTTL?: string | undefined;
86
+ OpenIDIssueURL?: string | undefined;
87
+ OpenIDProviderName?: string | undefined;
88
88
  }
89
89
  export interface BackendAPIAuthType {
90
- Mode?: Mode;
91
- Settings?: BackendAPIAppSyncAuthSettings;
90
+ Mode?: Mode | undefined;
91
+ Settings?: BackendAPIAppSyncAuthSettings | undefined;
92
92
  }
93
93
  export declare const ResolutionStrategy: {
94
94
  readonly AUTOMERGE: "AUTOMERGE";
@@ -99,15 +99,15 @@ export declare const ResolutionStrategy: {
99
99
  export type ResolutionStrategy =
100
100
  (typeof ResolutionStrategy)[keyof typeof ResolutionStrategy];
101
101
  export interface BackendAPIConflictResolution {
102
- ResolutionStrategy?: ResolutionStrategy;
102
+ ResolutionStrategy?: ResolutionStrategy | undefined;
103
103
  }
104
104
  export interface BackendAPIResourceConfig {
105
- AdditionalAuthTypes?: BackendAPIAuthType[];
106
- ApiName?: string;
107
- ConflictResolution?: BackendAPIConflictResolution;
108
- DefaultAuthType?: BackendAPIAuthType;
109
- Service?: string;
110
- TransformSchema?: string;
105
+ AdditionalAuthTypes?: BackendAPIAuthType[] | undefined;
106
+ ApiName?: string | undefined;
107
+ ConflictResolution?: BackendAPIConflictResolution | undefined;
108
+ DefaultAuthType?: BackendAPIAuthType | undefined;
109
+ Service?: string | undefined;
110
+ TransformSchema?: string | undefined;
111
111
  }
112
112
  export interface CreateBackendAPIRequest {
113
113
  AppId: string | undefined;
@@ -116,12 +116,12 @@ export interface CreateBackendAPIRequest {
116
116
  ResourceName: string | undefined;
117
117
  }
118
118
  export interface CreateBackendAPIResponse {
119
- AppId?: string;
120
- BackendEnvironmentName?: string;
121
- Error?: string;
122
- JobId?: string;
123
- Operation?: string;
124
- Status?: string;
119
+ AppId?: string | undefined;
120
+ BackendEnvironmentName?: string | undefined;
121
+ Error?: string | undefined;
122
+ JobId?: string | undefined;
123
+ Operation?: string | undefined;
124
+ Status?: string | undefined;
125
125
  }
126
126
  export declare const AuthResources: {
127
127
  readonly IDENTITY_POOL_AND_USER_POOL: "IDENTITY_POOL_AND_USER_POOL";
@@ -143,16 +143,16 @@ export declare const DeliveryMethod: {
143
143
  export type DeliveryMethod =
144
144
  (typeof DeliveryMethod)[keyof typeof DeliveryMethod];
145
145
  export interface EmailSettings {
146
- EmailMessage?: string;
147
- EmailSubject?: string;
146
+ EmailMessage?: string | undefined;
147
+ EmailSubject?: string | undefined;
148
148
  }
149
149
  export interface SmsSettings {
150
- SmsMessage?: string;
150
+ SmsMessage?: string | undefined;
151
151
  }
152
152
  export interface CreateBackendAuthForgotPasswordConfig {
153
153
  DeliveryMethod: DeliveryMethod | undefined;
154
- EmailSettings?: EmailSettings;
155
- SmsSettings?: SmsSettings;
154
+ EmailSettings?: EmailSettings | undefined;
155
+ SmsSettings?: SmsSettings | undefined;
156
156
  }
157
157
  export declare const MFAMode: {
158
158
  readonly OFF: "OFF";
@@ -167,12 +167,12 @@ export declare const MfaTypesElement: {
167
167
  export type MfaTypesElement =
168
168
  (typeof MfaTypesElement)[keyof typeof MfaTypesElement];
169
169
  export interface Settings {
170
- MfaTypes?: MfaTypesElement[];
171
- SmsMessage?: string;
170
+ MfaTypes?: MfaTypesElement[] | undefined;
171
+ SmsMessage?: string | undefined;
172
172
  }
173
173
  export interface CreateBackendAuthMFAConfig {
174
174
  MFAMode: MFAMode | undefined;
175
- Settings?: Settings;
175
+ Settings?: Settings | undefined;
176
176
  }
177
177
  export declare const OAuthGrantType: {
178
178
  readonly CODE: "CODE";
@@ -190,31 +190,31 @@ export declare const OAuthScopesElement: {
190
190
  export type OAuthScopesElement =
191
191
  (typeof OAuthScopesElement)[keyof typeof OAuthScopesElement];
192
192
  export interface BackendAuthSocialProviderConfig {
193
- ClientId?: string;
194
- ClientSecret?: string;
193
+ ClientId?: string | undefined;
194
+ ClientSecret?: string | undefined;
195
195
  }
196
196
  export interface BackendAuthAppleProviderConfig {
197
- ClientId?: string;
198
- KeyId?: string;
199
- PrivateKey?: string;
200
- TeamId?: string;
197
+ ClientId?: string | undefined;
198
+ KeyId?: string | undefined;
199
+ PrivateKey?: string | undefined;
200
+ TeamId?: string | undefined;
201
201
  }
202
202
  export interface SocialProviderSettings {
203
- Facebook?: BackendAuthSocialProviderConfig;
204
- Google?: BackendAuthSocialProviderConfig;
205
- LoginWithAmazon?: BackendAuthSocialProviderConfig;
206
- SignInWithApple?: BackendAuthAppleProviderConfig;
203
+ Facebook?: BackendAuthSocialProviderConfig | undefined;
204
+ Google?: BackendAuthSocialProviderConfig | undefined;
205
+ LoginWithAmazon?: BackendAuthSocialProviderConfig | undefined;
206
+ SignInWithApple?: BackendAuthAppleProviderConfig | undefined;
207
207
  }
208
208
  export interface CreateBackendAuthOAuthConfig {
209
- DomainPrefix?: string;
209
+ DomainPrefix?: string | undefined;
210
210
  OAuthGrantType: OAuthGrantType | undefined;
211
211
  OAuthScopes: OAuthScopesElement[] | undefined;
212
212
  RedirectSignInURIs: string[] | undefined;
213
213
  RedirectSignOutURIs: string[] | undefined;
214
- SocialProviderSettings?: SocialProviderSettings;
214
+ SocialProviderSettings?: SocialProviderSettings | undefined;
215
215
  }
216
216
  export interface CreateBackendAuthPasswordPolicyConfig {
217
- AdditionalConstraints?: AdditionalConstraintsElement[];
217
+ AdditionalConstraints?: AdditionalConstraintsElement[] | undefined;
218
218
  MinimumLength: number | undefined;
219
219
  }
220
220
  export declare const RequiredSignUpAttributesElement: {
@@ -247,22 +247,22 @@ export declare const SignInMethod: {
247
247
  export type SignInMethod = (typeof SignInMethod)[keyof typeof SignInMethod];
248
248
  export interface CreateBackendAuthVerificationMessageConfig {
249
249
  DeliveryMethod: DeliveryMethod | undefined;
250
- EmailSettings?: EmailSettings;
251
- SmsSettings?: SmsSettings;
250
+ EmailSettings?: EmailSettings | undefined;
251
+ SmsSettings?: SmsSettings | undefined;
252
252
  }
253
253
  export interface CreateBackendAuthUserPoolConfig {
254
- ForgotPassword?: CreateBackendAuthForgotPasswordConfig;
255
- Mfa?: CreateBackendAuthMFAConfig;
256
- OAuth?: CreateBackendAuthOAuthConfig;
257
- PasswordPolicy?: CreateBackendAuthPasswordPolicyConfig;
254
+ ForgotPassword?: CreateBackendAuthForgotPasswordConfig | undefined;
255
+ Mfa?: CreateBackendAuthMFAConfig | undefined;
256
+ OAuth?: CreateBackendAuthOAuthConfig | undefined;
257
+ PasswordPolicy?: CreateBackendAuthPasswordPolicyConfig | undefined;
258
258
  RequiredSignUpAttributes: RequiredSignUpAttributesElement[] | undefined;
259
259
  SignInMethod: SignInMethod | undefined;
260
260
  UserPoolName: string | undefined;
261
- VerificationMessage?: CreateBackendAuthVerificationMessageConfig;
261
+ VerificationMessage?: CreateBackendAuthVerificationMessageConfig | undefined;
262
262
  }
263
263
  export interface CreateBackendAuthResourceConfig {
264
264
  AuthResources: AuthResources | undefined;
265
- IdentityPoolConfigs?: CreateBackendAuthIdentityPoolConfig;
265
+ IdentityPoolConfigs?: CreateBackendAuthIdentityPoolConfig | undefined;
266
266
  Service: Service | undefined;
267
267
  UserPoolConfigs: CreateBackendAuthUserPoolConfig | undefined;
268
268
  }
@@ -273,22 +273,22 @@ export interface CreateBackendAuthRequest {
273
273
  ResourceName: string | undefined;
274
274
  }
275
275
  export interface CreateBackendAuthResponse {
276
- AppId?: string;
277
- BackendEnvironmentName?: string;
278
- Error?: string;
279
- JobId?: string;
280
- Operation?: string;
281
- Status?: string;
276
+ AppId?: string | undefined;
277
+ BackendEnvironmentName?: string | undefined;
278
+ Error?: string | undefined;
279
+ JobId?: string | undefined;
280
+ Operation?: string | undefined;
281
+ Status?: string | undefined;
282
282
  }
283
283
  export interface CreateBackendConfigRequest {
284
284
  AppId: string | undefined;
285
- BackendManagerAppId?: string;
285
+ BackendManagerAppId?: string | undefined;
286
286
  }
287
287
  export interface CreateBackendConfigResponse {
288
- AppId?: string;
289
- BackendEnvironmentName?: string;
290
- JobId?: string;
291
- Status?: string;
288
+ AppId?: string | undefined;
289
+ BackendEnvironmentName?: string | undefined;
290
+ JobId?: string | undefined;
291
+ Status?: string | undefined;
292
292
  }
293
293
  export declare const AuthenticatedElement: {
294
294
  readonly CREATE_AND_UPDATE: "CREATE_AND_UPDATE";
@@ -306,14 +306,14 @@ export type UnAuthenticatedElement =
306
306
  (typeof UnAuthenticatedElement)[keyof typeof UnAuthenticatedElement];
307
307
  export interface BackendStoragePermissions {
308
308
  Authenticated: AuthenticatedElement[] | undefined;
309
- UnAuthenticated?: UnAuthenticatedElement[];
309
+ UnAuthenticated?: UnAuthenticatedElement[] | undefined;
310
310
  }
311
311
  export declare const ServiceName: {
312
312
  readonly S3: "S3";
313
313
  };
314
314
  export type ServiceName = (typeof ServiceName)[keyof typeof ServiceName];
315
315
  export interface CreateBackendStorageResourceConfig {
316
- BucketName?: string;
316
+ BucketName?: string | undefined;
317
317
  Permissions: BackendStoragePermissions | undefined;
318
318
  ServiceName: ServiceName | undefined;
319
319
  }
@@ -324,45 +324,45 @@ export interface CreateBackendStorageRequest {
324
324
  ResourceName: string | undefined;
325
325
  }
326
326
  export interface CreateBackendStorageResponse {
327
- AppId?: string;
328
- BackendEnvironmentName?: string;
329
- JobId?: string;
330
- Status?: string;
327
+ AppId?: string | undefined;
328
+ BackendEnvironmentName?: string | undefined;
329
+ JobId?: string | undefined;
330
+ Status?: string | undefined;
331
331
  }
332
332
  export interface CreateTokenRequest {
333
333
  AppId: string | undefined;
334
334
  }
335
335
  export interface CreateTokenResponse {
336
- AppId?: string;
337
- ChallengeCode?: string;
338
- SessionId?: string;
339
- Ttl?: string;
336
+ AppId?: string | undefined;
337
+ ChallengeCode?: string | undefined;
338
+ SessionId?: string | undefined;
339
+ Ttl?: string | undefined;
340
340
  }
341
341
  export interface DeleteBackendRequest {
342
342
  AppId: string | undefined;
343
343
  BackendEnvironmentName: string | undefined;
344
344
  }
345
345
  export interface DeleteBackendResponse {
346
- AppId?: string;
347
- BackendEnvironmentName?: string;
348
- Error?: string;
349
- JobId?: string;
350
- Operation?: string;
351
- Status?: string;
346
+ AppId?: string | undefined;
347
+ BackendEnvironmentName?: string | undefined;
348
+ Error?: string | undefined;
349
+ JobId?: string | undefined;
350
+ Operation?: string | undefined;
351
+ Status?: string | undefined;
352
352
  }
353
353
  export interface DeleteBackendAPIRequest {
354
354
  AppId: string | undefined;
355
355
  BackendEnvironmentName: string | undefined;
356
- ResourceConfig?: BackendAPIResourceConfig;
356
+ ResourceConfig?: BackendAPIResourceConfig | undefined;
357
357
  ResourceName: string | undefined;
358
358
  }
359
359
  export interface DeleteBackendAPIResponse {
360
- AppId?: string;
361
- BackendEnvironmentName?: string;
362
- Error?: string;
363
- JobId?: string;
364
- Operation?: string;
365
- Status?: string;
360
+ AppId?: string | undefined;
361
+ BackendEnvironmentName?: string | undefined;
362
+ Error?: string | undefined;
363
+ JobId?: string | undefined;
364
+ Operation?: string | undefined;
365
+ Status?: string | undefined;
366
366
  }
367
367
  export interface DeleteBackendAuthRequest {
368
368
  AppId: string | undefined;
@@ -370,12 +370,12 @@ export interface DeleteBackendAuthRequest {
370
370
  ResourceName: string | undefined;
371
371
  }
372
372
  export interface DeleteBackendAuthResponse {
373
- AppId?: string;
374
- BackendEnvironmentName?: string;
375
- Error?: string;
376
- JobId?: string;
377
- Operation?: string;
378
- Status?: string;
373
+ AppId?: string | undefined;
374
+ BackendEnvironmentName?: string | undefined;
375
+ Error?: string | undefined;
376
+ JobId?: string | undefined;
377
+ Operation?: string | undefined;
378
+ Status?: string | undefined;
379
379
  }
380
380
  export interface DeleteBackendStorageRequest {
381
381
  AppId: string | undefined;
@@ -384,17 +384,17 @@ export interface DeleteBackendStorageRequest {
384
384
  ServiceName: ServiceName | undefined;
385
385
  }
386
386
  export interface DeleteBackendStorageResponse {
387
- AppId?: string;
388
- BackendEnvironmentName?: string;
389
- JobId?: string;
390
- Status?: string;
387
+ AppId?: string | undefined;
388
+ BackendEnvironmentName?: string | undefined;
389
+ JobId?: string | undefined;
390
+ Status?: string | undefined;
391
391
  }
392
392
  export interface DeleteTokenRequest {
393
393
  AppId: string | undefined;
394
394
  SessionId: string | undefined;
395
395
  }
396
396
  export interface DeleteTokenResponse {
397
- IsSuccess?: boolean;
397
+ IsSuccess?: boolean | undefined;
398
398
  }
399
399
  export interface GenerateBackendAPIModelsRequest {
400
400
  AppId: string | undefined;
@@ -402,38 +402,38 @@ export interface GenerateBackendAPIModelsRequest {
402
402
  ResourceName: string | undefined;
403
403
  }
404
404
  export interface GenerateBackendAPIModelsResponse {
405
- AppId?: string;
406
- BackendEnvironmentName?: string;
407
- Error?: string;
408
- JobId?: string;
409
- Operation?: string;
410
- Status?: string;
405
+ AppId?: string | undefined;
406
+ BackendEnvironmentName?: string | undefined;
407
+ Error?: string | undefined;
408
+ JobId?: string | undefined;
409
+ Operation?: string | undefined;
410
+ Status?: string | undefined;
411
411
  }
412
412
  export interface GetBackendRequest {
413
413
  AppId: string | undefined;
414
- BackendEnvironmentName?: string;
414
+ BackendEnvironmentName?: string | undefined;
415
415
  }
416
416
  export interface GetBackendResponse {
417
- AmplifyFeatureFlags?: string;
418
- AmplifyMetaConfig?: string;
419
- AppId?: string;
420
- AppName?: string;
421
- BackendEnvironmentList?: string[];
422
- BackendEnvironmentName?: string;
423
- Error?: string;
417
+ AmplifyFeatureFlags?: string | undefined;
418
+ AmplifyMetaConfig?: string | undefined;
419
+ AppId?: string | undefined;
420
+ AppName?: string | undefined;
421
+ BackendEnvironmentList?: string[] | undefined;
422
+ BackendEnvironmentName?: string | undefined;
423
+ Error?: string | undefined;
424
424
  }
425
425
  export interface GetBackendAPIRequest {
426
426
  AppId: string | undefined;
427
427
  BackendEnvironmentName: string | undefined;
428
- ResourceConfig?: BackendAPIResourceConfig;
428
+ ResourceConfig?: BackendAPIResourceConfig | undefined;
429
429
  ResourceName: string | undefined;
430
430
  }
431
431
  export interface GetBackendAPIResponse {
432
- AppId?: string;
433
- BackendEnvironmentName?: string;
434
- Error?: string;
435
- ResourceConfig?: BackendAPIResourceConfig;
436
- ResourceName?: string;
432
+ AppId?: string | undefined;
433
+ BackendEnvironmentName?: string | undefined;
434
+ Error?: string | undefined;
435
+ ResourceConfig?: BackendAPIResourceConfig | undefined;
436
+ ResourceName?: string | undefined;
437
437
  }
438
438
  export interface GetBackendAPIModelsRequest {
439
439
  AppId: string | undefined;
@@ -446,9 +446,9 @@ export declare const Status: {
446
446
  };
447
447
  export type Status = (typeof Status)[keyof typeof Status];
448
448
  export interface GetBackendAPIModelsResponse {
449
- Models?: string;
450
- Status?: Status;
451
- ModelIntrospectionSchema?: string;
449
+ Models?: string | undefined;
450
+ Status?: Status | undefined;
451
+ ModelIntrospectionSchema?: string | undefined;
452
452
  }
453
453
  export interface GetBackendAuthRequest {
454
454
  AppId: string | undefined;
@@ -456,11 +456,11 @@ export interface GetBackendAuthRequest {
456
456
  ResourceName: string | undefined;
457
457
  }
458
458
  export interface GetBackendAuthResponse {
459
- AppId?: string;
460
- BackendEnvironmentName?: string;
461
- Error?: string;
462
- ResourceConfig?: CreateBackendAuthResourceConfig;
463
- ResourceName?: string;
459
+ AppId?: string | undefined;
460
+ BackendEnvironmentName?: string | undefined;
461
+ Error?: string | undefined;
462
+ ResourceConfig?: CreateBackendAuthResourceConfig | undefined;
463
+ ResourceName?: string | undefined;
464
464
  }
465
465
  export interface GetBackendJobRequest {
466
466
  AppId: string | undefined;
@@ -468,14 +468,14 @@ export interface GetBackendJobRequest {
468
468
  JobId: string | undefined;
469
469
  }
470
470
  export interface GetBackendJobResponse {
471
- AppId?: string;
472
- BackendEnvironmentName?: string;
473
- CreateTime?: string;
474
- Error?: string;
475
- JobId?: string;
476
- Operation?: string;
477
- Status?: string;
478
- UpdateTime?: string;
471
+ AppId?: string | undefined;
472
+ BackendEnvironmentName?: string | undefined;
473
+ CreateTime?: string | undefined;
474
+ Error?: string | undefined;
475
+ JobId?: string | undefined;
476
+ Operation?: string | undefined;
477
+ Status?: string | undefined;
478
+ UpdateTime?: string | undefined;
479
479
  }
480
480
  export interface GetBackendStorageRequest {
481
481
  AppId: string | undefined;
@@ -483,159 +483,159 @@ export interface GetBackendStorageRequest {
483
483
  ResourceName: string | undefined;
484
484
  }
485
485
  export interface GetBackendStorageResourceConfig {
486
- BucketName?: string;
486
+ BucketName?: string | undefined;
487
487
  Imported: boolean | undefined;
488
- Permissions?: BackendStoragePermissions;
488
+ Permissions?: BackendStoragePermissions | undefined;
489
489
  ServiceName: ServiceName | undefined;
490
490
  }
491
491
  export interface GetBackendStorageResponse {
492
- AppId?: string;
493
- BackendEnvironmentName?: string;
494
- ResourceConfig?: GetBackendStorageResourceConfig;
495
- ResourceName?: string;
492
+ AppId?: string | undefined;
493
+ BackendEnvironmentName?: string | undefined;
494
+ ResourceConfig?: GetBackendStorageResourceConfig | undefined;
495
+ ResourceName?: string | undefined;
496
496
  }
497
497
  export interface GetTokenRequest {
498
498
  AppId: string | undefined;
499
499
  SessionId: string | undefined;
500
500
  }
501
501
  export interface GetTokenResponse {
502
- AppId?: string;
503
- ChallengeCode?: string;
504
- SessionId?: string;
505
- Ttl?: string;
502
+ AppId?: string | undefined;
503
+ ChallengeCode?: string | undefined;
504
+ SessionId?: string | undefined;
505
+ Ttl?: string | undefined;
506
506
  }
507
507
  export interface ImportBackendAuthRequest {
508
508
  AppId: string | undefined;
509
509
  BackendEnvironmentName: string | undefined;
510
- IdentityPoolId?: string;
510
+ IdentityPoolId?: string | undefined;
511
511
  NativeClientId: string | undefined;
512
512
  UserPoolId: string | undefined;
513
513
  WebClientId: string | undefined;
514
514
  }
515
515
  export interface ImportBackendAuthResponse {
516
- AppId?: string;
517
- BackendEnvironmentName?: string;
518
- Error?: string;
519
- JobId?: string;
520
- Operation?: string;
521
- Status?: string;
516
+ AppId?: string | undefined;
517
+ BackendEnvironmentName?: string | undefined;
518
+ Error?: string | undefined;
519
+ JobId?: string | undefined;
520
+ Operation?: string | undefined;
521
+ Status?: string | undefined;
522
522
  }
523
523
  export interface ImportBackendStorageRequest {
524
524
  AppId: string | undefined;
525
525
  BackendEnvironmentName: string | undefined;
526
- BucketName?: string;
526
+ BucketName?: string | undefined;
527
527
  ServiceName: ServiceName | undefined;
528
528
  }
529
529
  export interface ImportBackendStorageResponse {
530
- AppId?: string;
531
- BackendEnvironmentName?: string;
532
- JobId?: string;
533
- Status?: string;
530
+ AppId?: string | undefined;
531
+ BackendEnvironmentName?: string | undefined;
532
+ JobId?: string | undefined;
533
+ Status?: string | undefined;
534
534
  }
535
535
  export interface ListBackendJobsRequest {
536
536
  AppId: string | undefined;
537
537
  BackendEnvironmentName: string | undefined;
538
- JobId?: string;
539
- MaxResults?: number;
540
- NextToken?: string;
541
- Operation?: string;
542
- Status?: string;
538
+ JobId?: string | undefined;
539
+ MaxResults?: number | undefined;
540
+ NextToken?: string | undefined;
541
+ Operation?: string | undefined;
542
+ Status?: string | undefined;
543
543
  }
544
544
  export interface BackendJobRespObj {
545
545
  AppId: string | undefined;
546
546
  BackendEnvironmentName: string | undefined;
547
- CreateTime?: string;
548
- Error?: string;
549
- JobId?: string;
550
- Operation?: string;
551
- Status?: string;
552
- UpdateTime?: string;
547
+ CreateTime?: string | undefined;
548
+ Error?: string | undefined;
549
+ JobId?: string | undefined;
550
+ Operation?: string | undefined;
551
+ Status?: string | undefined;
552
+ UpdateTime?: string | undefined;
553
553
  }
554
554
  export interface ListBackendJobsResponse {
555
- Jobs?: BackendJobRespObj[];
556
- NextToken?: string;
555
+ Jobs?: BackendJobRespObj[] | undefined;
556
+ NextToken?: string | undefined;
557
557
  }
558
558
  export interface ListS3BucketsRequest {
559
- NextToken?: string;
559
+ NextToken?: string | undefined;
560
560
  }
561
561
  export interface S3BucketInfo {
562
- CreationDate?: string;
563
- Name?: string;
562
+ CreationDate?: string | undefined;
563
+ Name?: string | undefined;
564
564
  }
565
565
  export interface ListS3BucketsResponse {
566
- Buckets?: S3BucketInfo[];
567
- NextToken?: string;
566
+ Buckets?: S3BucketInfo[] | undefined;
567
+ NextToken?: string | undefined;
568
568
  }
569
569
  export interface RemoveAllBackendsRequest {
570
570
  AppId: string | undefined;
571
- CleanAmplifyApp?: boolean;
571
+ CleanAmplifyApp?: boolean | undefined;
572
572
  }
573
573
  export interface RemoveAllBackendsResponse {
574
- AppId?: string;
575
- Error?: string;
576
- JobId?: string;
577
- Operation?: string;
578
- Status?: string;
574
+ AppId?: string | undefined;
575
+ Error?: string | undefined;
576
+ JobId?: string | undefined;
577
+ Operation?: string | undefined;
578
+ Status?: string | undefined;
579
579
  }
580
580
  export interface RemoveBackendConfigRequest {
581
581
  AppId: string | undefined;
582
582
  }
583
583
  export interface RemoveBackendConfigResponse {
584
- Error?: string;
584
+ Error?: string | undefined;
585
585
  }
586
586
  export interface UpdateBackendAPIRequest {
587
587
  AppId: string | undefined;
588
588
  BackendEnvironmentName: string | undefined;
589
- ResourceConfig?: BackendAPIResourceConfig;
589
+ ResourceConfig?: BackendAPIResourceConfig | undefined;
590
590
  ResourceName: string | undefined;
591
591
  }
592
592
  export interface UpdateBackendAPIResponse {
593
- AppId?: string;
594
- BackendEnvironmentName?: string;
595
- Error?: string;
596
- JobId?: string;
597
- Operation?: string;
598
- Status?: string;
593
+ AppId?: string | undefined;
594
+ BackendEnvironmentName?: string | undefined;
595
+ Error?: string | undefined;
596
+ JobId?: string | undefined;
597
+ Operation?: string | undefined;
598
+ Status?: string | undefined;
599
599
  }
600
600
  export interface UpdateBackendAuthIdentityPoolConfig {
601
- UnauthenticatedLogin?: boolean;
601
+ UnauthenticatedLogin?: boolean | undefined;
602
602
  }
603
603
  export interface UpdateBackendAuthForgotPasswordConfig {
604
- DeliveryMethod?: DeliveryMethod;
605
- EmailSettings?: EmailSettings;
606
- SmsSettings?: SmsSettings;
604
+ DeliveryMethod?: DeliveryMethod | undefined;
605
+ EmailSettings?: EmailSettings | undefined;
606
+ SmsSettings?: SmsSettings | undefined;
607
607
  }
608
608
  export interface UpdateBackendAuthMFAConfig {
609
- MFAMode?: MFAMode;
610
- Settings?: Settings;
609
+ MFAMode?: MFAMode | undefined;
610
+ Settings?: Settings | undefined;
611
611
  }
612
612
  export interface UpdateBackendAuthOAuthConfig {
613
- DomainPrefix?: string;
614
- OAuthGrantType?: OAuthGrantType;
615
- OAuthScopes?: OAuthScopesElement[];
616
- RedirectSignInURIs?: string[];
617
- RedirectSignOutURIs?: string[];
618
- SocialProviderSettings?: SocialProviderSettings;
613
+ DomainPrefix?: string | undefined;
614
+ OAuthGrantType?: OAuthGrantType | undefined;
615
+ OAuthScopes?: OAuthScopesElement[] | undefined;
616
+ RedirectSignInURIs?: string[] | undefined;
617
+ RedirectSignOutURIs?: string[] | undefined;
618
+ SocialProviderSettings?: SocialProviderSettings | undefined;
619
619
  }
620
620
  export interface UpdateBackendAuthPasswordPolicyConfig {
621
- AdditionalConstraints?: AdditionalConstraintsElement[];
622
- MinimumLength?: number;
621
+ AdditionalConstraints?: AdditionalConstraintsElement[] | undefined;
622
+ MinimumLength?: number | undefined;
623
623
  }
624
624
  export interface UpdateBackendAuthVerificationMessageConfig {
625
625
  DeliveryMethod: DeliveryMethod | undefined;
626
- EmailSettings?: EmailSettings;
627
- SmsSettings?: SmsSettings;
626
+ EmailSettings?: EmailSettings | undefined;
627
+ SmsSettings?: SmsSettings | undefined;
628
628
  }
629
629
  export interface UpdateBackendAuthUserPoolConfig {
630
- ForgotPassword?: UpdateBackendAuthForgotPasswordConfig;
631
- Mfa?: UpdateBackendAuthMFAConfig;
632
- OAuth?: UpdateBackendAuthOAuthConfig;
633
- PasswordPolicy?: UpdateBackendAuthPasswordPolicyConfig;
634
- VerificationMessage?: UpdateBackendAuthVerificationMessageConfig;
630
+ ForgotPassword?: UpdateBackendAuthForgotPasswordConfig | undefined;
631
+ Mfa?: UpdateBackendAuthMFAConfig | undefined;
632
+ OAuth?: UpdateBackendAuthOAuthConfig | undefined;
633
+ PasswordPolicy?: UpdateBackendAuthPasswordPolicyConfig | undefined;
634
+ VerificationMessage?: UpdateBackendAuthVerificationMessageConfig | undefined;
635
635
  }
636
636
  export interface UpdateBackendAuthResourceConfig {
637
637
  AuthResources: AuthResources | undefined;
638
- IdentityPoolConfigs?: UpdateBackendAuthIdentityPoolConfig;
638
+ IdentityPoolConfigs?: UpdateBackendAuthIdentityPoolConfig | undefined;
639
639
  Service: Service | undefined;
640
640
  UserPoolConfigs: UpdateBackendAuthUserPoolConfig | undefined;
641
641
  }
@@ -646,45 +646,45 @@ export interface UpdateBackendAuthRequest {
646
646
  ResourceName: string | undefined;
647
647
  }
648
648
  export interface UpdateBackendAuthResponse {
649
- AppId?: string;
650
- BackendEnvironmentName?: string;
651
- Error?: string;
652
- JobId?: string;
653
- Operation?: string;
654
- Status?: string;
649
+ AppId?: string | undefined;
650
+ BackendEnvironmentName?: string | undefined;
651
+ Error?: string | undefined;
652
+ JobId?: string | undefined;
653
+ Operation?: string | undefined;
654
+ Status?: string | undefined;
655
655
  }
656
656
  export interface LoginAuthConfigReqObj {
657
- AwsCognitoIdentityPoolId?: string;
658
- AwsCognitoRegion?: string;
659
- AwsUserPoolsId?: string;
660
- AwsUserPoolsWebClientId?: string;
657
+ AwsCognitoIdentityPoolId?: string | undefined;
658
+ AwsCognitoRegion?: string | undefined;
659
+ AwsUserPoolsId?: string | undefined;
660
+ AwsUserPoolsWebClientId?: string | undefined;
661
661
  }
662
662
  export interface UpdateBackendConfigRequest {
663
663
  AppId: string | undefined;
664
- LoginAuthConfig?: LoginAuthConfigReqObj;
664
+ LoginAuthConfig?: LoginAuthConfigReqObj | undefined;
665
665
  }
666
666
  export interface UpdateBackendConfigResponse {
667
- AppId?: string;
668
- BackendManagerAppId?: string;
669
- Error?: string;
670
- LoginAuthConfig?: LoginAuthConfigReqObj;
667
+ AppId?: string | undefined;
668
+ BackendManagerAppId?: string | undefined;
669
+ Error?: string | undefined;
670
+ LoginAuthConfig?: LoginAuthConfigReqObj | undefined;
671
671
  }
672
672
  export interface UpdateBackendJobRequest {
673
673
  AppId: string | undefined;
674
674
  BackendEnvironmentName: string | undefined;
675
675
  JobId: string | undefined;
676
- Operation?: string;
677
- Status?: string;
676
+ Operation?: string | undefined;
677
+ Status?: string | undefined;
678
678
  }
679
679
  export interface UpdateBackendJobResponse {
680
- AppId?: string;
681
- BackendEnvironmentName?: string;
682
- CreateTime?: string;
683
- Error?: string;
684
- JobId?: string;
685
- Operation?: string;
686
- Status?: string;
687
- UpdateTime?: string;
680
+ AppId?: string | undefined;
681
+ BackendEnvironmentName?: string | undefined;
682
+ CreateTime?: string | undefined;
683
+ Error?: string | undefined;
684
+ JobId?: string | undefined;
685
+ Operation?: string | undefined;
686
+ Status?: string | undefined;
687
+ UpdateTime?: string | undefined;
688
688
  }
689
689
  export interface UpdateBackendStorageResourceConfig {
690
690
  Permissions: BackendStoragePermissions | undefined;
@@ -697,10 +697,10 @@ export interface UpdateBackendStorageRequest {
697
697
  ResourceName: string | undefined;
698
698
  }
699
699
  export interface UpdateBackendStorageResponse {
700
- AppId?: string;
701
- BackendEnvironmentName?: string;
702
- JobId?: string;
703
- Status?: string;
700
+ AppId?: string | undefined;
701
+ BackendEnvironmentName?: string | undefined;
702
+ JobId?: string | undefined;
703
+ Status?: string | undefined;
704
704
  }
705
705
  export declare const EmailSettingsFilterSensitiveLog: (
706
706
  obj: EmailSettings