@aws-sdk/client-appsync 3.686.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.
@@ -17,37 +17,37 @@ export declare const AuthenticationType: {
17
17
  export type AuthenticationType =
18
18
  (typeof AuthenticationType)[keyof typeof AuthenticationType];
19
19
  export interface LambdaAuthorizerConfig {
20
- authorizerResultTtlInSeconds?: number;
20
+ authorizerResultTtlInSeconds?: number | undefined;
21
21
  authorizerUri: string | undefined;
22
- identityValidationExpression?: string;
22
+ identityValidationExpression?: string | undefined;
23
23
  }
24
24
  export interface OpenIDConnectConfig {
25
25
  issuer: string | undefined;
26
- clientId?: string;
27
- iatTTL?: number;
28
- authTTL?: number;
26
+ clientId?: string | undefined;
27
+ iatTTL?: number | undefined;
28
+ authTTL?: number | undefined;
29
29
  }
30
30
  export interface CognitoUserPoolConfig {
31
31
  userPoolId: string | undefined;
32
32
  awsRegion: string | undefined;
33
- appIdClientRegex?: string;
33
+ appIdClientRegex?: string | undefined;
34
34
  }
35
35
  export interface AdditionalAuthenticationProvider {
36
- authenticationType?: AuthenticationType;
37
- openIDConnectConfig?: OpenIDConnectConfig;
38
- userPoolConfig?: CognitoUserPoolConfig;
39
- lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
36
+ authenticationType?: AuthenticationType | undefined;
37
+ openIDConnectConfig?: OpenIDConnectConfig | undefined;
38
+ userPoolConfig?: CognitoUserPoolConfig | undefined;
39
+ lambdaAuthorizerConfig?: LambdaAuthorizerConfig | undefined;
40
40
  }
41
41
  export interface CognitoConfig {
42
42
  userPoolId: string | undefined;
43
43
  awsRegion: string | undefined;
44
- appIdClientRegex?: string;
44
+ appIdClientRegex?: string | undefined;
45
45
  }
46
46
  export interface AuthProvider {
47
47
  authType: AuthenticationType | undefined;
48
- cognitoConfig?: CognitoConfig;
49
- openIDConnectConfig?: OpenIDConnectConfig;
50
- lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
48
+ cognitoConfig?: CognitoConfig | undefined;
49
+ openIDConnectConfig?: OpenIDConnectConfig | undefined;
50
+ lambdaAuthorizerConfig?: LambdaAuthorizerConfig | undefined;
51
51
  }
52
52
  export interface AuthMode {
53
53
  authType: AuthenticationType | undefined;
@@ -69,19 +69,19 @@ export interface EventConfig {
69
69
  connectionAuthModes: AuthMode[] | undefined;
70
70
  defaultPublishAuthModes: AuthMode[] | undefined;
71
71
  defaultSubscribeAuthModes: AuthMode[] | undefined;
72
- logConfig?: EventLogConfig;
72
+ logConfig?: EventLogConfig | undefined;
73
73
  }
74
74
  export interface Api {
75
- apiId?: string;
76
- name?: string;
77
- ownerContact?: string;
78
- tags?: Record<string, string>;
79
- dns?: Record<string, string>;
80
- apiArn?: string;
81
- created?: Date;
82
- xrayEnabled?: boolean;
83
- wafWebAclArn?: string;
84
- eventConfig?: EventConfig;
75
+ apiId?: string | undefined;
76
+ name?: string | undefined;
77
+ ownerContact?: string | undefined;
78
+ tags?: Record<string, string> | undefined;
79
+ dns?: Record<string, string> | undefined;
80
+ apiArn?: string | undefined;
81
+ created?: Date | undefined;
82
+ xrayEnabled?: boolean | undefined;
83
+ wafWebAclArn?: string | undefined;
84
+ eventConfig?: EventConfig | undefined;
85
85
  }
86
86
  export declare const AssociationStatus: {
87
87
  readonly Failed: "FAILED";
@@ -91,10 +91,10 @@ export declare const AssociationStatus: {
91
91
  export type AssociationStatus =
92
92
  (typeof AssociationStatus)[keyof typeof AssociationStatus];
93
93
  export interface ApiAssociation {
94
- domainName?: string;
95
- apiId?: string;
96
- associationStatus?: AssociationStatus;
97
- deploymentDetail?: string;
94
+ domainName?: string | undefined;
95
+ apiId?: string | undefined;
96
+ associationStatus?: AssociationStatus | undefined;
97
+ deploymentDetail?: string | undefined;
98
98
  }
99
99
  export declare const ApiCachingBehavior: {
100
100
  readonly FULL_REQUEST_CACHING: "FULL_REQUEST_CACHING";
@@ -136,19 +136,19 @@ export declare const ApiCacheType: {
136
136
  };
137
137
  export type ApiCacheType = (typeof ApiCacheType)[keyof typeof ApiCacheType];
138
138
  export interface ApiCache {
139
- ttl?: number;
140
- apiCachingBehavior?: ApiCachingBehavior;
141
- transitEncryptionEnabled?: boolean;
142
- atRestEncryptionEnabled?: boolean;
143
- type?: ApiCacheType;
144
- status?: ApiCacheStatus;
145
- healthMetricsConfig?: CacheHealthMetricsConfig;
139
+ ttl?: number | undefined;
140
+ apiCachingBehavior?: ApiCachingBehavior | undefined;
141
+ transitEncryptionEnabled?: boolean | undefined;
142
+ atRestEncryptionEnabled?: boolean | undefined;
143
+ type?: ApiCacheType | undefined;
144
+ status?: ApiCacheStatus | undefined;
145
+ healthMetricsConfig?: CacheHealthMetricsConfig | undefined;
146
146
  }
147
147
  export interface ApiKey {
148
- id?: string;
149
- description?: string;
150
- expires?: number;
151
- deletes?: number;
148
+ id?: string | undefined;
149
+ description?: string | undefined;
150
+ expires?: number | undefined;
151
+ deletes?: number | undefined;
152
152
  }
153
153
  export declare class ApiKeyLimitExceededException extends __BaseException {
154
154
  readonly name: "ApiKeyLimitExceededException";
@@ -187,20 +187,20 @@ export interface AssociateApiRequest {
187
187
  apiId: string | undefined;
188
188
  }
189
189
  export interface AssociateApiResponse {
190
- apiAssociation?: ApiAssociation;
190
+ apiAssociation?: ApiAssociation | undefined;
191
191
  }
192
192
  export interface CodeErrorLocation {
193
- line?: number;
194
- column?: number;
195
- span?: number;
193
+ line?: number | undefined;
194
+ column?: number | undefined;
195
+ span?: number | undefined;
196
196
  }
197
197
  export interface CodeError {
198
- errorType?: string;
199
- value?: string;
200
- location?: CodeErrorLocation;
198
+ errorType?: string | undefined;
199
+ value?: string | undefined;
200
+ location?: CodeErrorLocation | undefined;
201
201
  }
202
202
  export interface BadRequestDetail {
203
- codeErrors?: CodeError[];
203
+ codeErrors?: CodeError[] | undefined;
204
204
  }
205
205
  export declare const BadRequestReason: {
206
206
  readonly CODE_ERROR: "CODE_ERROR";
@@ -210,8 +210,8 @@ export type BadRequestReason =
210
210
  export declare class BadRequestException extends __BaseException {
211
211
  readonly name: "BadRequestException";
212
212
  readonly $fault: "client";
213
- reason?: BadRequestReason;
214
- detail?: BadRequestDetail;
213
+ reason?: BadRequestReason | undefined;
214
+ detail?: BadRequestDetail | undefined;
215
215
  constructor(
216
216
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
217
217
  );
@@ -234,13 +234,13 @@ export declare const MergeType: {
234
234
  };
235
235
  export type MergeType = (typeof MergeType)[keyof typeof MergeType];
236
236
  export interface SourceApiAssociationConfig {
237
- mergeType?: MergeType;
237
+ mergeType?: MergeType | undefined;
238
238
  }
239
239
  export interface AssociateMergedGraphqlApiRequest {
240
240
  sourceApiIdentifier: string | undefined;
241
241
  mergedApiIdentifier: string | undefined;
242
- description?: string;
243
- sourceApiAssociationConfig?: SourceApiAssociationConfig;
242
+ description?: string | undefined;
243
+ sourceApiAssociationConfig?: SourceApiAssociationConfig | undefined;
244
244
  }
245
245
  export declare const SourceApiAssociationStatus: {
246
246
  readonly AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED";
@@ -255,20 +255,20 @@ export declare const SourceApiAssociationStatus: {
255
255
  export type SourceApiAssociationStatus =
256
256
  (typeof SourceApiAssociationStatus)[keyof typeof SourceApiAssociationStatus];
257
257
  export interface SourceApiAssociation {
258
- associationId?: string;
259
- associationArn?: string;
260
- sourceApiId?: string;
261
- sourceApiArn?: string;
262
- mergedApiArn?: string;
263
- mergedApiId?: string;
264
- description?: string;
265
- sourceApiAssociationConfig?: SourceApiAssociationConfig;
266
- sourceApiAssociationStatus?: SourceApiAssociationStatus;
267
- sourceApiAssociationStatusDetail?: string;
268
- lastSuccessfulMergeDate?: Date;
258
+ associationId?: string | undefined;
259
+ associationArn?: string | undefined;
260
+ sourceApiId?: string | undefined;
261
+ sourceApiArn?: string | undefined;
262
+ mergedApiArn?: string | undefined;
263
+ mergedApiId?: string | undefined;
264
+ description?: string | undefined;
265
+ sourceApiAssociationConfig?: SourceApiAssociationConfig | undefined;
266
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | undefined;
267
+ sourceApiAssociationStatusDetail?: string | undefined;
268
+ lastSuccessfulMergeDate?: Date | undefined;
269
269
  }
270
270
  export interface AssociateMergedGraphqlApiResponse {
271
- sourceApiAssociation?: SourceApiAssociation;
271
+ sourceApiAssociation?: SourceApiAssociation | undefined;
272
272
  }
273
273
  export declare class ConcurrentModificationException extends __BaseException {
274
274
  readonly name: "ConcurrentModificationException";
@@ -297,11 +297,11 @@ export declare class UnauthorizedException extends __BaseException {
297
297
  export interface AssociateSourceGraphqlApiRequest {
298
298
  mergedApiIdentifier: string | undefined;
299
299
  sourceApiIdentifier: string | undefined;
300
- description?: string;
301
- sourceApiAssociationConfig?: SourceApiAssociationConfig;
300
+ description?: string | undefined;
301
+ sourceApiAssociationConfig?: SourceApiAssociationConfig | undefined;
302
302
  }
303
303
  export interface AssociateSourceGraphqlApiResponse {
304
- sourceApiAssociation?: SourceApiAssociation;
304
+ sourceApiAssociation?: SourceApiAssociation | undefined;
305
305
  }
306
306
  export declare const AuthorizationType: {
307
307
  readonly AWS_IAM: "AWS_IAM";
@@ -309,21 +309,21 @@ export declare const AuthorizationType: {
309
309
  export type AuthorizationType =
310
310
  (typeof AuthorizationType)[keyof typeof AuthorizationType];
311
311
  export interface AwsIamConfig {
312
- signingRegion?: string;
313
- signingServiceName?: string;
312
+ signingRegion?: string | undefined;
313
+ signingServiceName?: string | undefined;
314
314
  }
315
315
  export interface AuthorizationConfig {
316
316
  authorizationType: AuthorizationType | undefined;
317
- awsIamConfig?: AwsIamConfig;
317
+ awsIamConfig?: AwsIamConfig | undefined;
318
318
  }
319
319
  export interface CreateApiRequest {
320
320
  name: string | undefined;
321
- ownerContact?: string;
322
- tags?: Record<string, string>;
323
- eventConfig?: EventConfig;
321
+ ownerContact?: string | undefined;
322
+ tags?: Record<string, string> | undefined;
323
+ eventConfig?: EventConfig | undefined;
324
324
  }
325
325
  export interface CreateApiResponse {
326
- api?: Api;
326
+ api?: Api | undefined;
327
327
  }
328
328
  export declare class ServiceQuotaExceededException extends __BaseException {
329
329
  readonly name: "ServiceQuotaExceededException";
@@ -335,22 +335,22 @@ export declare class ServiceQuotaExceededException extends __BaseException {
335
335
  export interface CreateApiCacheRequest {
336
336
  apiId: string | undefined;
337
337
  ttl: number | undefined;
338
- transitEncryptionEnabled?: boolean;
339
- atRestEncryptionEnabled?: boolean;
338
+ transitEncryptionEnabled?: boolean | undefined;
339
+ atRestEncryptionEnabled?: boolean | undefined;
340
340
  apiCachingBehavior: ApiCachingBehavior | undefined;
341
341
  type: ApiCacheType | undefined;
342
- healthMetricsConfig?: CacheHealthMetricsConfig;
342
+ healthMetricsConfig?: CacheHealthMetricsConfig | undefined;
343
343
  }
344
344
  export interface CreateApiCacheResponse {
345
- apiCache?: ApiCache;
345
+ apiCache?: ApiCache | undefined;
346
346
  }
347
347
  export interface CreateApiKeyRequest {
348
348
  apiId: string | undefined;
349
- description?: string;
350
- expires?: number;
349
+ description?: string | undefined;
350
+ expires?: number | undefined;
351
351
  }
352
352
  export interface CreateApiKeyResponse {
353
- apiKey?: ApiKey;
353
+ apiKey?: ApiKey | undefined;
354
354
  }
355
355
  export declare class ConflictException extends __BaseException {
356
356
  readonly name: "ConflictException";
@@ -360,36 +360,36 @@ export declare class ConflictException extends __BaseException {
360
360
  export interface CreateChannelNamespaceRequest {
361
361
  apiId: string | undefined;
362
362
  name: string | undefined;
363
- subscribeAuthModes?: AuthMode[];
364
- publishAuthModes?: AuthMode[];
365
- codeHandlers?: string;
366
- tags?: Record<string, string>;
363
+ subscribeAuthModes?: AuthMode[] | undefined;
364
+ publishAuthModes?: AuthMode[] | undefined;
365
+ codeHandlers?: string | undefined;
366
+ tags?: Record<string, string> | undefined;
367
367
  }
368
368
  export interface ChannelNamespace {
369
- apiId?: string;
370
- name?: string;
371
- subscribeAuthModes?: AuthMode[];
372
- publishAuthModes?: AuthMode[];
373
- codeHandlers?: string;
374
- tags?: Record<string, string>;
375
- channelNamespaceArn?: string;
376
- created?: Date;
377
- lastModified?: Date;
369
+ apiId?: string | undefined;
370
+ name?: string | undefined;
371
+ subscribeAuthModes?: AuthMode[] | undefined;
372
+ publishAuthModes?: AuthMode[] | undefined;
373
+ codeHandlers?: string | undefined;
374
+ tags?: Record<string, string> | undefined;
375
+ channelNamespaceArn?: string | undefined;
376
+ created?: Date | undefined;
377
+ lastModified?: Date | undefined;
378
378
  }
379
379
  export interface CreateChannelNamespaceResponse {
380
- channelNamespace?: ChannelNamespace;
380
+ channelNamespace?: ChannelNamespace | undefined;
381
381
  }
382
382
  export interface DeltaSyncConfig {
383
- baseTableTTL?: number;
384
- deltaSyncTableName?: string;
385
- deltaSyncTableTTL?: number;
383
+ baseTableTTL?: number | undefined;
384
+ deltaSyncTableName?: string | undefined;
385
+ deltaSyncTableTTL?: number | undefined;
386
386
  }
387
387
  export interface DynamodbDataSourceConfig {
388
388
  tableName: string | undefined;
389
389
  awsRegion: string | undefined;
390
- useCallerCredentials?: boolean;
391
- deltaSyncConfig?: DeltaSyncConfig;
392
- versioned?: boolean;
390
+ useCallerCredentials?: boolean | undefined;
391
+ deltaSyncConfig?: DeltaSyncConfig | undefined;
392
+ versioned?: boolean | undefined;
393
393
  }
394
394
  export interface ElasticsearchDataSourceConfig {
395
395
  endpoint: string | undefined;
@@ -399,8 +399,8 @@ export interface EventBridgeDataSourceConfig {
399
399
  eventBusArn: string | undefined;
400
400
  }
401
401
  export interface HttpDataSourceConfig {
402
- endpoint?: string;
403
- authorizationConfig?: AuthorizationConfig;
402
+ endpoint?: string | undefined;
403
+ authorizationConfig?: AuthorizationConfig | undefined;
404
404
  }
405
405
  export interface LambdaDataSourceConfig {
406
406
  lambdaFunctionArn: string | undefined;
@@ -416,11 +416,11 @@ export interface OpenSearchServiceDataSourceConfig {
416
416
  awsRegion: string | undefined;
417
417
  }
418
418
  export interface RdsHttpEndpointConfig {
419
- awsRegion?: string;
420
- dbClusterIdentifier?: string;
421
- databaseName?: string;
422
- schema?: string;
423
- awsSecretStoreArn?: string;
419
+ awsRegion?: string | undefined;
420
+ dbClusterIdentifier?: string | undefined;
421
+ databaseName?: string | undefined;
422
+ schema?: string | undefined;
423
+ awsSecretStoreArn?: string | undefined;
424
424
  }
425
425
  export declare const RelationalDatabaseSourceType: {
426
426
  readonly RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT";
@@ -428,8 +428,8 @@ export declare const RelationalDatabaseSourceType: {
428
428
  export type RelationalDatabaseSourceType =
429
429
  (typeof RelationalDatabaseSourceType)[keyof typeof RelationalDatabaseSourceType];
430
430
  export interface RelationalDatabaseDataSourceConfig {
431
- relationalDatabaseSourceType?: RelationalDatabaseSourceType;
432
- rdsHttpEndpointConfig?: RdsHttpEndpointConfig;
431
+ relationalDatabaseSourceType?: RelationalDatabaseSourceType | undefined;
432
+ rdsHttpEndpointConfig?: RdsHttpEndpointConfig | undefined;
433
433
  }
434
434
  export declare const DataSourceType: {
435
435
  readonly AMAZON_DYNAMODB: "AMAZON_DYNAMODB";
@@ -446,50 +446,50 @@ export type DataSourceType =
446
446
  export interface CreateDataSourceRequest {
447
447
  apiId: string | undefined;
448
448
  name: string | undefined;
449
- description?: string;
449
+ description?: string | undefined;
450
450
  type: DataSourceType | undefined;
451
- serviceRoleArn?: string;
452
- dynamodbConfig?: DynamodbDataSourceConfig;
453
- lambdaConfig?: LambdaDataSourceConfig;
454
- elasticsearchConfig?: ElasticsearchDataSourceConfig;
455
- openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
456
- httpConfig?: HttpDataSourceConfig;
457
- relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
458
- eventBridgeConfig?: EventBridgeDataSourceConfig;
459
- metricsConfig?: DataSourceLevelMetricsConfig;
451
+ serviceRoleArn?: string | undefined;
452
+ dynamodbConfig?: DynamodbDataSourceConfig | undefined;
453
+ lambdaConfig?: LambdaDataSourceConfig | undefined;
454
+ elasticsearchConfig?: ElasticsearchDataSourceConfig | undefined;
455
+ openSearchServiceConfig?: OpenSearchServiceDataSourceConfig | undefined;
456
+ httpConfig?: HttpDataSourceConfig | undefined;
457
+ relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig | undefined;
458
+ eventBridgeConfig?: EventBridgeDataSourceConfig | undefined;
459
+ metricsConfig?: DataSourceLevelMetricsConfig | undefined;
460
460
  }
461
461
  export interface DataSource {
462
- dataSourceArn?: string;
463
- name?: string;
464
- description?: string;
465
- type?: DataSourceType;
466
- serviceRoleArn?: string;
467
- dynamodbConfig?: DynamodbDataSourceConfig;
468
- lambdaConfig?: LambdaDataSourceConfig;
469
- elasticsearchConfig?: ElasticsearchDataSourceConfig;
470
- openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
471
- httpConfig?: HttpDataSourceConfig;
472
- relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
473
- eventBridgeConfig?: EventBridgeDataSourceConfig;
474
- metricsConfig?: DataSourceLevelMetricsConfig;
462
+ dataSourceArn?: string | undefined;
463
+ name?: string | undefined;
464
+ description?: string | undefined;
465
+ type?: DataSourceType | undefined;
466
+ serviceRoleArn?: string | undefined;
467
+ dynamodbConfig?: DynamodbDataSourceConfig | undefined;
468
+ lambdaConfig?: LambdaDataSourceConfig | undefined;
469
+ elasticsearchConfig?: ElasticsearchDataSourceConfig | undefined;
470
+ openSearchServiceConfig?: OpenSearchServiceDataSourceConfig | undefined;
471
+ httpConfig?: HttpDataSourceConfig | undefined;
472
+ relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig | undefined;
473
+ eventBridgeConfig?: EventBridgeDataSourceConfig | undefined;
474
+ metricsConfig?: DataSourceLevelMetricsConfig | undefined;
475
475
  }
476
476
  export interface CreateDataSourceResponse {
477
- dataSource?: DataSource;
477
+ dataSource?: DataSource | undefined;
478
478
  }
479
479
  export interface CreateDomainNameRequest {
480
480
  domainName: string | undefined;
481
481
  certificateArn: string | undefined;
482
- description?: string;
482
+ description?: string | undefined;
483
483
  }
484
484
  export interface DomainNameConfig {
485
- domainName?: string;
486
- description?: string;
487
- certificateArn?: string;
488
- appsyncDomainName?: string;
489
- hostedZoneId?: string;
485
+ domainName?: string | undefined;
486
+ description?: string | undefined;
487
+ certificateArn?: string | undefined;
488
+ appsyncDomainName?: string | undefined;
489
+ hostedZoneId?: string | undefined;
490
490
  }
491
491
  export interface CreateDomainNameResponse {
492
- domainNameConfig?: DomainNameConfig;
492
+ domainNameConfig?: DomainNameConfig | undefined;
493
493
  }
494
494
  export declare const ConflictDetectionType: {
495
495
  readonly NONE: "NONE";
@@ -506,42 +506,42 @@ export declare const ConflictHandlerType: {
506
506
  export type ConflictHandlerType =
507
507
  (typeof ConflictHandlerType)[keyof typeof ConflictHandlerType];
508
508
  export interface LambdaConflictHandlerConfig {
509
- lambdaConflictHandlerArn?: string;
509
+ lambdaConflictHandlerArn?: string | undefined;
510
510
  }
511
511
  export interface SyncConfig {
512
- conflictHandler?: ConflictHandlerType;
513
- conflictDetection?: ConflictDetectionType;
514
- lambdaConflictHandlerConfig?: LambdaConflictHandlerConfig;
512
+ conflictHandler?: ConflictHandlerType | undefined;
513
+ conflictDetection?: ConflictDetectionType | undefined;
514
+ lambdaConflictHandlerConfig?: LambdaConflictHandlerConfig | undefined;
515
515
  }
516
516
  export interface CreateFunctionRequest {
517
517
  apiId: string | undefined;
518
518
  name: string | undefined;
519
- description?: string;
519
+ description?: string | undefined;
520
520
  dataSourceName: string | undefined;
521
- requestMappingTemplate?: string;
522
- responseMappingTemplate?: string;
523
- functionVersion?: string;
524
- syncConfig?: SyncConfig;
525
- maxBatchSize?: number;
526
- runtime?: AppSyncRuntime;
527
- code?: string;
521
+ requestMappingTemplate?: string | undefined;
522
+ responseMappingTemplate?: string | undefined;
523
+ functionVersion?: string | undefined;
524
+ syncConfig?: SyncConfig | undefined;
525
+ maxBatchSize?: number | undefined;
526
+ runtime?: AppSyncRuntime | undefined;
527
+ code?: string | undefined;
528
528
  }
529
529
  export interface FunctionConfiguration {
530
- functionId?: string;
531
- functionArn?: string;
532
- name?: string;
533
- description?: string;
534
- dataSourceName?: string;
535
- requestMappingTemplate?: string;
536
- responseMappingTemplate?: string;
537
- functionVersion?: string;
538
- syncConfig?: SyncConfig;
539
- maxBatchSize?: number;
540
- runtime?: AppSyncRuntime;
541
- code?: string;
530
+ functionId?: string | undefined;
531
+ functionArn?: string | undefined;
532
+ name?: string | undefined;
533
+ description?: string | undefined;
534
+ dataSourceName?: string | undefined;
535
+ requestMappingTemplate?: string | undefined;
536
+ responseMappingTemplate?: string | undefined;
537
+ functionVersion?: string | undefined;
538
+ syncConfig?: SyncConfig | undefined;
539
+ maxBatchSize?: number | undefined;
540
+ runtime?: AppSyncRuntime | undefined;
541
+ code?: string | undefined;
542
542
  }
543
543
  export interface CreateFunctionResponse {
544
- functionConfiguration?: FunctionConfiguration;
544
+ functionConfiguration?: FunctionConfiguration | undefined;
545
545
  }
546
546
  export declare const GraphQLApiType: {
547
547
  readonly GRAPHQL: "GRAPHQL";
@@ -589,7 +589,7 @@ export type FieldLogLevel = (typeof FieldLogLevel)[keyof typeof FieldLogLevel];
589
589
  export interface LogConfig {
590
590
  fieldLogLevel: FieldLogLevel | undefined;
591
591
  cloudWatchLogsRoleArn: string | undefined;
592
- excludeVerboseContent?: boolean;
592
+ excludeVerboseContent?: boolean | undefined;
593
593
  }
594
594
  export declare const DefaultAction: {
595
595
  readonly ALLOW: "ALLOW";
@@ -600,7 +600,7 @@ export interface UserPoolConfig {
600
600
  userPoolId: string | undefined;
601
601
  awsRegion: string | undefined;
602
602
  defaultAction: DefaultAction | undefined;
603
- appIdClientRegex?: string;
603
+ appIdClientRegex?: string | undefined;
604
604
  }
605
605
  export declare const GraphQLApiVisibility: {
606
606
  readonly GLOBAL: "GLOBAL";
@@ -610,54 +610,58 @@ export type GraphQLApiVisibility =
610
610
  (typeof GraphQLApiVisibility)[keyof typeof GraphQLApiVisibility];
611
611
  export interface CreateGraphqlApiRequest {
612
612
  name: string | undefined;
613
- logConfig?: LogConfig;
613
+ logConfig?: LogConfig | undefined;
614
614
  authenticationType: AuthenticationType | undefined;
615
- userPoolConfig?: UserPoolConfig;
616
- openIDConnectConfig?: OpenIDConnectConfig;
617
- tags?: Record<string, string>;
618
- additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
619
- xrayEnabled?: boolean;
620
- lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
621
- apiType?: GraphQLApiType;
622
- mergedApiExecutionRoleArn?: string;
623
- visibility?: GraphQLApiVisibility;
624
- ownerContact?: string;
625
- introspectionConfig?: GraphQLApiIntrospectionConfig;
626
- queryDepthLimit?: number;
627
- resolverCountLimit?: number;
628
- enhancedMetricsConfig?: EnhancedMetricsConfig;
615
+ userPoolConfig?: UserPoolConfig | undefined;
616
+ openIDConnectConfig?: OpenIDConnectConfig | undefined;
617
+ tags?: Record<string, string> | undefined;
618
+ additionalAuthenticationProviders?:
619
+ | AdditionalAuthenticationProvider[]
620
+ | undefined;
621
+ xrayEnabled?: boolean | undefined;
622
+ lambdaAuthorizerConfig?: LambdaAuthorizerConfig | undefined;
623
+ apiType?: GraphQLApiType | undefined;
624
+ mergedApiExecutionRoleArn?: string | undefined;
625
+ visibility?: GraphQLApiVisibility | undefined;
626
+ ownerContact?: string | undefined;
627
+ introspectionConfig?: GraphQLApiIntrospectionConfig | undefined;
628
+ queryDepthLimit?: number | undefined;
629
+ resolverCountLimit?: number | undefined;
630
+ enhancedMetricsConfig?: EnhancedMetricsConfig | undefined;
629
631
  }
630
632
  export interface GraphqlApi {
631
- name?: string;
632
- apiId?: string;
633
- authenticationType?: AuthenticationType;
634
- logConfig?: LogConfig;
635
- userPoolConfig?: UserPoolConfig;
636
- openIDConnectConfig?: OpenIDConnectConfig;
637
- arn?: string;
638
- uris?: Record<string, string>;
639
- tags?: Record<string, string>;
640
- additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
641
- xrayEnabled?: boolean;
642
- wafWebAclArn?: string;
643
- lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
644
- dns?: Record<string, string>;
645
- visibility?: GraphQLApiVisibility;
646
- apiType?: GraphQLApiType;
647
- mergedApiExecutionRoleArn?: string;
648
- owner?: string;
649
- ownerContact?: string;
650
- introspectionConfig?: GraphQLApiIntrospectionConfig;
651
- queryDepthLimit?: number;
652
- resolverCountLimit?: number;
653
- enhancedMetricsConfig?: EnhancedMetricsConfig;
633
+ name?: string | undefined;
634
+ apiId?: string | undefined;
635
+ authenticationType?: AuthenticationType | undefined;
636
+ logConfig?: LogConfig | undefined;
637
+ userPoolConfig?: UserPoolConfig | undefined;
638
+ openIDConnectConfig?: OpenIDConnectConfig | undefined;
639
+ arn?: string | undefined;
640
+ uris?: Record<string, string> | undefined;
641
+ tags?: Record<string, string> | undefined;
642
+ additionalAuthenticationProviders?:
643
+ | AdditionalAuthenticationProvider[]
644
+ | undefined;
645
+ xrayEnabled?: boolean | undefined;
646
+ wafWebAclArn?: string | undefined;
647
+ lambdaAuthorizerConfig?: LambdaAuthorizerConfig | undefined;
648
+ dns?: Record<string, string> | undefined;
649
+ visibility?: GraphQLApiVisibility | undefined;
650
+ apiType?: GraphQLApiType | undefined;
651
+ mergedApiExecutionRoleArn?: string | undefined;
652
+ owner?: string | undefined;
653
+ ownerContact?: string | undefined;
654
+ introspectionConfig?: GraphQLApiIntrospectionConfig | undefined;
655
+ queryDepthLimit?: number | undefined;
656
+ resolverCountLimit?: number | undefined;
657
+ enhancedMetricsConfig?: EnhancedMetricsConfig | undefined;
654
658
  }
655
659
  export interface CreateGraphqlApiResponse {
656
- graphqlApi?: GraphqlApi;
660
+ graphqlApi?: GraphqlApi | undefined;
657
661
  }
658
662
  export interface CachingConfig {
659
663
  ttl: number | undefined;
660
- cachingKeys?: string[];
664
+ cachingKeys?: string[] | undefined;
661
665
  }
662
666
  export declare const ResolverKind: {
663
667
  readonly PIPELINE: "PIPELINE";
@@ -671,42 +675,42 @@ export declare const ResolverLevelMetricsConfig: {
671
675
  export type ResolverLevelMetricsConfig =
672
676
  (typeof ResolverLevelMetricsConfig)[keyof typeof ResolverLevelMetricsConfig];
673
677
  export interface PipelineConfig {
674
- functions?: string[];
678
+ functions?: string[] | undefined;
675
679
  }
676
680
  export interface CreateResolverRequest {
677
681
  apiId: string | undefined;
678
682
  typeName: string | undefined;
679
683
  fieldName: string | undefined;
680
- dataSourceName?: string;
681
- requestMappingTemplate?: string;
682
- responseMappingTemplate?: string;
683
- kind?: ResolverKind;
684
- pipelineConfig?: PipelineConfig;
685
- syncConfig?: SyncConfig;
686
- cachingConfig?: CachingConfig;
687
- maxBatchSize?: number;
688
- runtime?: AppSyncRuntime;
689
- code?: string;
690
- metricsConfig?: ResolverLevelMetricsConfig;
684
+ dataSourceName?: string | undefined;
685
+ requestMappingTemplate?: string | undefined;
686
+ responseMappingTemplate?: string | undefined;
687
+ kind?: ResolverKind | undefined;
688
+ pipelineConfig?: PipelineConfig | undefined;
689
+ syncConfig?: SyncConfig | undefined;
690
+ cachingConfig?: CachingConfig | undefined;
691
+ maxBatchSize?: number | undefined;
692
+ runtime?: AppSyncRuntime | undefined;
693
+ code?: string | undefined;
694
+ metricsConfig?: ResolverLevelMetricsConfig | undefined;
691
695
  }
692
696
  export interface Resolver {
693
- typeName?: string;
694
- fieldName?: string;
695
- dataSourceName?: string;
696
- resolverArn?: string;
697
- requestMappingTemplate?: string;
698
- responseMappingTemplate?: string;
699
- kind?: ResolverKind;
700
- pipelineConfig?: PipelineConfig;
701
- syncConfig?: SyncConfig;
702
- cachingConfig?: CachingConfig;
703
- maxBatchSize?: number;
704
- runtime?: AppSyncRuntime;
705
- code?: string;
706
- metricsConfig?: ResolverLevelMetricsConfig;
697
+ typeName?: string | undefined;
698
+ fieldName?: string | undefined;
699
+ dataSourceName?: string | undefined;
700
+ resolverArn?: string | undefined;
701
+ requestMappingTemplate?: string | undefined;
702
+ responseMappingTemplate?: string | undefined;
703
+ kind?: ResolverKind | undefined;
704
+ pipelineConfig?: PipelineConfig | undefined;
705
+ syncConfig?: SyncConfig | undefined;
706
+ cachingConfig?: CachingConfig | undefined;
707
+ maxBatchSize?: number | undefined;
708
+ runtime?: AppSyncRuntime | undefined;
709
+ code?: string | undefined;
710
+ metricsConfig?: ResolverLevelMetricsConfig | undefined;
707
711
  }
708
712
  export interface CreateResolverResponse {
709
- resolver?: Resolver;
713
+ resolver?: Resolver | undefined;
710
714
  }
711
715
  export declare const TypeDefinitionFormat: {
712
716
  readonly JSON: "JSON";
@@ -720,14 +724,14 @@ export interface CreateTypeRequest {
720
724
  format: TypeDefinitionFormat | undefined;
721
725
  }
722
726
  export interface Type {
723
- name?: string;
724
- description?: string;
725
- arn?: string;
726
- definition?: string;
727
- format?: TypeDefinitionFormat;
727
+ name?: string | undefined;
728
+ description?: string | undefined;
729
+ arn?: string | undefined;
730
+ definition?: string | undefined;
731
+ format?: TypeDefinitionFormat | undefined;
728
732
  }
729
733
  export interface CreateTypeResponse {
730
- type?: Type;
734
+ type?: Type | undefined;
731
735
  }
732
736
  export interface DeleteApiRequest {
733
737
  apiId: string | undefined;
@@ -785,41 +789,41 @@ export interface DisassociateMergedGraphqlApiRequest {
785
789
  associationId: string | undefined;
786
790
  }
787
791
  export interface DisassociateMergedGraphqlApiResponse {
788
- sourceApiAssociationStatus?: SourceApiAssociationStatus;
792
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | undefined;
789
793
  }
790
794
  export interface DisassociateSourceGraphqlApiRequest {
791
795
  mergedApiIdentifier: string | undefined;
792
796
  associationId: string | undefined;
793
797
  }
794
798
  export interface DisassociateSourceGraphqlApiResponse {
795
- sourceApiAssociationStatus?: SourceApiAssociationStatus;
799
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | undefined;
796
800
  }
797
801
  export interface EvaluateCodeRequest {
798
802
  runtime: AppSyncRuntime | undefined;
799
803
  code: string | undefined;
800
804
  context: string | undefined;
801
- function?: string;
805
+ function?: string | undefined;
802
806
  }
803
807
  export interface EvaluateCodeErrorDetail {
804
- message?: string;
805
- codeErrors?: CodeError[];
808
+ message?: string | undefined;
809
+ codeErrors?: CodeError[] | undefined;
806
810
  }
807
811
  export interface EvaluateCodeResponse {
808
- evaluationResult?: string;
809
- error?: EvaluateCodeErrorDetail;
810
- logs?: string[];
812
+ evaluationResult?: string | undefined;
813
+ error?: EvaluateCodeErrorDetail | undefined;
814
+ logs?: string[] | undefined;
811
815
  }
812
816
  export interface EvaluateMappingTemplateRequest {
813
817
  template: string | undefined;
814
818
  context: string | undefined;
815
819
  }
816
820
  export interface ErrorDetail {
817
- message?: string;
821
+ message?: string | undefined;
818
822
  }
819
823
  export interface EvaluateMappingTemplateResponse {
820
- evaluationResult?: string;
821
- error?: ErrorDetail;
822
- logs?: string[];
824
+ evaluationResult?: string | undefined;
825
+ error?: ErrorDetail | undefined;
826
+ logs?: string[] | undefined;
823
827
  }
824
828
  export interface FlushApiCacheRequest {
825
829
  apiId: string | undefined;
@@ -829,43 +833,43 @@ export interface GetApiRequest {
829
833
  apiId: string | undefined;
830
834
  }
831
835
  export interface GetApiResponse {
832
- api?: Api;
836
+ api?: Api | undefined;
833
837
  }
834
838
  export interface GetApiAssociationRequest {
835
839
  domainName: string | undefined;
836
840
  }
837
841
  export interface GetApiAssociationResponse {
838
- apiAssociation?: ApiAssociation;
842
+ apiAssociation?: ApiAssociation | undefined;
839
843
  }
840
844
  export interface GetApiCacheRequest {
841
845
  apiId: string | undefined;
842
846
  }
843
847
  export interface GetApiCacheResponse {
844
- apiCache?: ApiCache;
848
+ apiCache?: ApiCache | undefined;
845
849
  }
846
850
  export interface GetChannelNamespaceRequest {
847
851
  apiId: string | undefined;
848
852
  name: string | undefined;
849
853
  }
850
854
  export interface GetChannelNamespaceResponse {
851
- channelNamespace?: ChannelNamespace;
855
+ channelNamespace?: ChannelNamespace | undefined;
852
856
  }
853
857
  export interface GetDataSourceRequest {
854
858
  apiId: string | undefined;
855
859
  name: string | undefined;
856
860
  }
857
861
  export interface GetDataSourceResponse {
858
- dataSource?: DataSource;
862
+ dataSource?: DataSource | undefined;
859
863
  }
860
864
  export interface GetDataSourceIntrospectionRequest {
861
865
  introspectionId: string | undefined;
862
- includeModelsSDL?: boolean;
863
- nextToken?: string;
864
- maxResults?: number;
866
+ includeModelsSDL?: boolean | undefined;
867
+ nextToken?: string | undefined;
868
+ maxResults?: number | undefined;
865
869
  }
866
870
  export interface DataSourceIntrospectionModelIndex {
867
- name?: string;
868
- fields?: string[];
871
+ name?: string | undefined;
872
+ fields?: string[] | undefined;
869
873
  }
870
874
  export declare const DataSourceIntrospectionStatus: {
871
875
  readonly FAILED: "FAILED";
@@ -878,26 +882,26 @@ export interface GetDomainNameRequest {
878
882
  domainName: string | undefined;
879
883
  }
880
884
  export interface GetDomainNameResponse {
881
- domainNameConfig?: DomainNameConfig;
885
+ domainNameConfig?: DomainNameConfig | undefined;
882
886
  }
883
887
  export interface GetFunctionRequest {
884
888
  apiId: string | undefined;
885
889
  functionId: string | undefined;
886
890
  }
887
891
  export interface GetFunctionResponse {
888
- functionConfiguration?: FunctionConfiguration;
892
+ functionConfiguration?: FunctionConfiguration | undefined;
889
893
  }
890
894
  export interface GetGraphqlApiRequest {
891
895
  apiId: string | undefined;
892
896
  }
893
897
  export interface GetGraphqlApiResponse {
894
- graphqlApi?: GraphqlApi;
898
+ graphqlApi?: GraphqlApi | undefined;
895
899
  }
896
900
  export interface GetGraphqlApiEnvironmentVariablesRequest {
897
901
  apiId: string | undefined;
898
902
  }
899
903
  export interface GetGraphqlApiEnvironmentVariablesResponse {
900
- environmentVariables?: Record<string, string>;
904
+ environmentVariables?: Record<string, string> | undefined;
901
905
  }
902
906
  export declare const OutputType: {
903
907
  readonly JSON: "JSON";
@@ -907,10 +911,10 @@ export type OutputType = (typeof OutputType)[keyof typeof OutputType];
907
911
  export interface GetIntrospectionSchemaRequest {
908
912
  apiId: string | undefined;
909
913
  format: OutputType | undefined;
910
- includeDirectives?: boolean;
914
+ includeDirectives?: boolean | undefined;
911
915
  }
912
916
  export interface GetIntrospectionSchemaResponse {
913
- schema?: Uint8Array;
917
+ schema?: Uint8Array | undefined;
914
918
  }
915
919
  export declare class GraphQLSchemaException extends __BaseException {
916
920
  readonly name: "GraphQLSchemaException";
@@ -925,7 +929,7 @@ export interface GetResolverRequest {
925
929
  fieldName: string | undefined;
926
930
  }
927
931
  export interface GetResolverResponse {
928
- resolver?: Resolver;
932
+ resolver?: Resolver | undefined;
929
933
  }
930
934
  export interface GetSchemaCreationStatusRequest {
931
935
  apiId: string | undefined;
@@ -940,15 +944,15 @@ export declare const SchemaStatus: {
940
944
  };
941
945
  export type SchemaStatus = (typeof SchemaStatus)[keyof typeof SchemaStatus];
942
946
  export interface GetSchemaCreationStatusResponse {
943
- status?: SchemaStatus;
944
- details?: string;
947
+ status?: SchemaStatus | undefined;
948
+ details?: string | undefined;
945
949
  }
946
950
  export interface GetSourceApiAssociationRequest {
947
951
  mergedApiIdentifier: string | undefined;
948
952
  associationId: string | undefined;
949
953
  }
950
954
  export interface GetSourceApiAssociationResponse {
951
- sourceApiAssociation?: SourceApiAssociation;
955
+ sourceApiAssociation?: SourceApiAssociation | undefined;
952
956
  }
953
957
  export interface GetTypeRequest {
954
958
  apiId: string | undefined;
@@ -956,59 +960,59 @@ export interface GetTypeRequest {
956
960
  format: TypeDefinitionFormat | undefined;
957
961
  }
958
962
  export interface GetTypeResponse {
959
- type?: Type;
963
+ type?: Type | undefined;
960
964
  }
961
965
  export interface ListApiKeysRequest {
962
966
  apiId: string | undefined;
963
- nextToken?: string;
964
- maxResults?: number;
967
+ nextToken?: string | undefined;
968
+ maxResults?: number | undefined;
965
969
  }
966
970
  export interface ListApiKeysResponse {
967
- apiKeys?: ApiKey[];
968
- nextToken?: string;
971
+ apiKeys?: ApiKey[] | undefined;
972
+ nextToken?: string | undefined;
969
973
  }
970
974
  export interface ListApisRequest {
971
- nextToken?: string;
972
- maxResults?: number;
975
+ nextToken?: string | undefined;
976
+ maxResults?: number | undefined;
973
977
  }
974
978
  export interface ListApisResponse {
975
- apis?: Api[];
976
- nextToken?: string;
979
+ apis?: Api[] | undefined;
980
+ nextToken?: string | undefined;
977
981
  }
978
982
  export interface ListChannelNamespacesRequest {
979
983
  apiId: string | undefined;
980
- nextToken?: string;
981
- maxResults?: number;
984
+ nextToken?: string | undefined;
985
+ maxResults?: number | undefined;
982
986
  }
983
987
  export interface ListChannelNamespacesResponse {
984
- channelNamespaces?: ChannelNamespace[];
985
- nextToken?: string;
988
+ channelNamespaces?: ChannelNamespace[] | undefined;
989
+ nextToken?: string | undefined;
986
990
  }
987
991
  export interface ListDataSourcesRequest {
988
992
  apiId: string | undefined;
989
- nextToken?: string;
990
- maxResults?: number;
993
+ nextToken?: string | undefined;
994
+ maxResults?: number | undefined;
991
995
  }
992
996
  export interface ListDataSourcesResponse {
993
- dataSources?: DataSource[];
994
- nextToken?: string;
997
+ dataSources?: DataSource[] | undefined;
998
+ nextToken?: string | undefined;
995
999
  }
996
1000
  export interface ListDomainNamesRequest {
997
- nextToken?: string;
998
- maxResults?: number;
1001
+ nextToken?: string | undefined;
1002
+ maxResults?: number | undefined;
999
1003
  }
1000
1004
  export interface ListDomainNamesResponse {
1001
- domainNameConfigs?: DomainNameConfig[];
1002
- nextToken?: string;
1005
+ domainNameConfigs?: DomainNameConfig[] | undefined;
1006
+ nextToken?: string | undefined;
1003
1007
  }
1004
1008
  export interface ListFunctionsRequest {
1005
1009
  apiId: string | undefined;
1006
- nextToken?: string;
1007
- maxResults?: number;
1010
+ nextToken?: string | undefined;
1011
+ maxResults?: number | undefined;
1008
1012
  }
1009
1013
  export interface ListFunctionsResponse {
1010
- functions?: FunctionConfiguration[];
1011
- nextToken?: string;
1014
+ functions?: FunctionConfiguration[] | undefined;
1015
+ nextToken?: string | undefined;
1012
1016
  }
1013
1017
  export declare const Ownership: {
1014
1018
  readonly CURRENT_ACCOUNT: "CURRENT_ACCOUNT";
@@ -1016,86 +1020,86 @@ export declare const Ownership: {
1016
1020
  };
1017
1021
  export type Ownership = (typeof Ownership)[keyof typeof Ownership];
1018
1022
  export interface ListGraphqlApisRequest {
1019
- nextToken?: string;
1020
- maxResults?: number;
1021
- apiType?: GraphQLApiType;
1022
- owner?: Ownership;
1023
+ nextToken?: string | undefined;
1024
+ maxResults?: number | undefined;
1025
+ apiType?: GraphQLApiType | undefined;
1026
+ owner?: Ownership | undefined;
1023
1027
  }
1024
1028
  export interface ListGraphqlApisResponse {
1025
- graphqlApis?: GraphqlApi[];
1026
- nextToken?: string;
1029
+ graphqlApis?: GraphqlApi[] | undefined;
1030
+ nextToken?: string | undefined;
1027
1031
  }
1028
1032
  export interface ListResolversRequest {
1029
1033
  apiId: string | undefined;
1030
1034
  typeName: string | undefined;
1031
- nextToken?: string;
1032
- maxResults?: number;
1035
+ nextToken?: string | undefined;
1036
+ maxResults?: number | undefined;
1033
1037
  }
1034
1038
  export interface ListResolversResponse {
1035
- resolvers?: Resolver[];
1036
- nextToken?: string;
1039
+ resolvers?: Resolver[] | undefined;
1040
+ nextToken?: string | undefined;
1037
1041
  }
1038
1042
  export interface ListResolversByFunctionRequest {
1039
1043
  apiId: string | undefined;
1040
1044
  functionId: string | undefined;
1041
- nextToken?: string;
1042
- maxResults?: number;
1045
+ nextToken?: string | undefined;
1046
+ maxResults?: number | undefined;
1043
1047
  }
1044
1048
  export interface ListResolversByFunctionResponse {
1045
- resolvers?: Resolver[];
1046
- nextToken?: string;
1049
+ resolvers?: Resolver[] | undefined;
1050
+ nextToken?: string | undefined;
1047
1051
  }
1048
1052
  export interface ListSourceApiAssociationsRequest {
1049
1053
  apiId: string | undefined;
1050
- nextToken?: string;
1051
- maxResults?: number;
1054
+ nextToken?: string | undefined;
1055
+ maxResults?: number | undefined;
1052
1056
  }
1053
1057
  export interface SourceApiAssociationSummary {
1054
- associationId?: string;
1055
- associationArn?: string;
1056
- sourceApiId?: string;
1057
- sourceApiArn?: string;
1058
- mergedApiId?: string;
1059
- mergedApiArn?: string;
1060
- description?: string;
1058
+ associationId?: string | undefined;
1059
+ associationArn?: string | undefined;
1060
+ sourceApiId?: string | undefined;
1061
+ sourceApiArn?: string | undefined;
1062
+ mergedApiId?: string | undefined;
1063
+ mergedApiArn?: string | undefined;
1064
+ description?: string | undefined;
1061
1065
  }
1062
1066
  export interface ListSourceApiAssociationsResponse {
1063
- sourceApiAssociationSummaries?: SourceApiAssociationSummary[];
1064
- nextToken?: string;
1067
+ sourceApiAssociationSummaries?: SourceApiAssociationSummary[] | undefined;
1068
+ nextToken?: string | undefined;
1065
1069
  }
1066
1070
  export interface ListTagsForResourceRequest {
1067
1071
  resourceArn: string | undefined;
1068
1072
  }
1069
1073
  export interface ListTagsForResourceResponse {
1070
- tags?: Record<string, string>;
1074
+ tags?: Record<string, string> | undefined;
1071
1075
  }
1072
1076
  export interface ListTypesRequest {
1073
1077
  apiId: string | undefined;
1074
1078
  format: TypeDefinitionFormat | undefined;
1075
- nextToken?: string;
1076
- maxResults?: number;
1079
+ nextToken?: string | undefined;
1080
+ maxResults?: number | undefined;
1077
1081
  }
1078
1082
  export interface ListTypesResponse {
1079
- types?: Type[];
1080
- nextToken?: string;
1083
+ types?: Type[] | undefined;
1084
+ nextToken?: string | undefined;
1081
1085
  }
1082
1086
  export interface ListTypesByAssociationRequest {
1083
1087
  mergedApiIdentifier: string | undefined;
1084
1088
  associationId: string | undefined;
1085
1089
  format: TypeDefinitionFormat | undefined;
1086
- nextToken?: string;
1087
- maxResults?: number;
1090
+ nextToken?: string | undefined;
1091
+ maxResults?: number | undefined;
1088
1092
  }
1089
1093
  export interface ListTypesByAssociationResponse {
1090
- types?: Type[];
1091
- nextToken?: string;
1094
+ types?: Type[] | undefined;
1095
+ nextToken?: string | undefined;
1092
1096
  }
1093
1097
  export interface PutGraphqlApiEnvironmentVariablesRequest {
1094
1098
  apiId: string | undefined;
1095
1099
  environmentVariables: Record<string, string> | undefined;
1096
1100
  }
1097
1101
  export interface PutGraphqlApiEnvironmentVariablesResponse {
1098
- environmentVariables?: Record<string, string>;
1102
+ environmentVariables?: Record<string, string> | undefined;
1099
1103
  }
1100
1104
  export interface RdsDataApiConfig {
1101
1105
  resourceArn: string | undefined;
@@ -1103,26 +1107,26 @@ export interface RdsDataApiConfig {
1103
1107
  databaseName: string | undefined;
1104
1108
  }
1105
1109
  export interface StartDataSourceIntrospectionRequest {
1106
- rdsDataApiConfig?: RdsDataApiConfig;
1110
+ rdsDataApiConfig?: RdsDataApiConfig | undefined;
1107
1111
  }
1108
1112
  export interface StartDataSourceIntrospectionResponse {
1109
- introspectionId?: string;
1110
- introspectionStatus?: DataSourceIntrospectionStatus;
1111
- introspectionStatusDetail?: string;
1113
+ introspectionId?: string | undefined;
1114
+ introspectionStatus?: DataSourceIntrospectionStatus | undefined;
1115
+ introspectionStatusDetail?: string | undefined;
1112
1116
  }
1113
1117
  export interface StartSchemaCreationRequest {
1114
1118
  apiId: string | undefined;
1115
1119
  definition: Uint8Array | undefined;
1116
1120
  }
1117
1121
  export interface StartSchemaCreationResponse {
1118
- status?: SchemaStatus;
1122
+ status?: SchemaStatus | undefined;
1119
1123
  }
1120
1124
  export interface StartSchemaMergeRequest {
1121
1125
  associationId: string | undefined;
1122
1126
  mergedApiIdentifier: string | undefined;
1123
1127
  }
1124
1128
  export interface StartSchemaMergeResponse {
1125
- sourceApiAssociationStatus?: SourceApiAssociationStatus;
1129
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | undefined;
1126
1130
  }
1127
1131
  export interface TagResourceRequest {
1128
1132
  resourceArn: string | undefined;
@@ -1137,165 +1141,167 @@ export interface UntagResourceResponse {}
1137
1141
  export interface UpdateApiRequest {
1138
1142
  apiId: string | undefined;
1139
1143
  name: string | undefined;
1140
- ownerContact?: string;
1141
- eventConfig?: EventConfig;
1144
+ ownerContact?: string | undefined;
1145
+ eventConfig?: EventConfig | undefined;
1142
1146
  }
1143
1147
  export interface UpdateApiResponse {
1144
- api?: Api;
1148
+ api?: Api | undefined;
1145
1149
  }
1146
1150
  export interface UpdateApiCacheRequest {
1147
1151
  apiId: string | undefined;
1148
1152
  ttl: number | undefined;
1149
1153
  apiCachingBehavior: ApiCachingBehavior | undefined;
1150
1154
  type: ApiCacheType | undefined;
1151
- healthMetricsConfig?: CacheHealthMetricsConfig;
1155
+ healthMetricsConfig?: CacheHealthMetricsConfig | undefined;
1152
1156
  }
1153
1157
  export interface UpdateApiCacheResponse {
1154
- apiCache?: ApiCache;
1158
+ apiCache?: ApiCache | undefined;
1155
1159
  }
1156
1160
  export interface UpdateApiKeyRequest {
1157
1161
  apiId: string | undefined;
1158
1162
  id: string | undefined;
1159
- description?: string;
1160
- expires?: number;
1163
+ description?: string | undefined;
1164
+ expires?: number | undefined;
1161
1165
  }
1162
1166
  export interface UpdateApiKeyResponse {
1163
- apiKey?: ApiKey;
1167
+ apiKey?: ApiKey | undefined;
1164
1168
  }
1165
1169
  export interface UpdateChannelNamespaceRequest {
1166
1170
  apiId: string | undefined;
1167
1171
  name: string | undefined;
1168
- subscribeAuthModes?: AuthMode[];
1169
- publishAuthModes?: AuthMode[];
1170
- codeHandlers?: string;
1172
+ subscribeAuthModes?: AuthMode[] | undefined;
1173
+ publishAuthModes?: AuthMode[] | undefined;
1174
+ codeHandlers?: string | undefined;
1171
1175
  }
1172
1176
  export interface UpdateChannelNamespaceResponse {
1173
- channelNamespace?: ChannelNamespace;
1177
+ channelNamespace?: ChannelNamespace | undefined;
1174
1178
  }
1175
1179
  export interface UpdateDataSourceRequest {
1176
1180
  apiId: string | undefined;
1177
1181
  name: string | undefined;
1178
- description?: string;
1182
+ description?: string | undefined;
1179
1183
  type: DataSourceType | undefined;
1180
- serviceRoleArn?: string;
1181
- dynamodbConfig?: DynamodbDataSourceConfig;
1182
- lambdaConfig?: LambdaDataSourceConfig;
1183
- elasticsearchConfig?: ElasticsearchDataSourceConfig;
1184
- openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
1185
- httpConfig?: HttpDataSourceConfig;
1186
- relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
1187
- eventBridgeConfig?: EventBridgeDataSourceConfig;
1188
- metricsConfig?: DataSourceLevelMetricsConfig;
1184
+ serviceRoleArn?: string | undefined;
1185
+ dynamodbConfig?: DynamodbDataSourceConfig | undefined;
1186
+ lambdaConfig?: LambdaDataSourceConfig | undefined;
1187
+ elasticsearchConfig?: ElasticsearchDataSourceConfig | undefined;
1188
+ openSearchServiceConfig?: OpenSearchServiceDataSourceConfig | undefined;
1189
+ httpConfig?: HttpDataSourceConfig | undefined;
1190
+ relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig | undefined;
1191
+ eventBridgeConfig?: EventBridgeDataSourceConfig | undefined;
1192
+ metricsConfig?: DataSourceLevelMetricsConfig | undefined;
1189
1193
  }
1190
1194
  export interface UpdateDataSourceResponse {
1191
- dataSource?: DataSource;
1195
+ dataSource?: DataSource | undefined;
1192
1196
  }
1193
1197
  export interface UpdateDomainNameRequest {
1194
1198
  domainName: string | undefined;
1195
- description?: string;
1199
+ description?: string | undefined;
1196
1200
  }
1197
1201
  export interface UpdateDomainNameResponse {
1198
- domainNameConfig?: DomainNameConfig;
1202
+ domainNameConfig?: DomainNameConfig | undefined;
1199
1203
  }
1200
1204
  export interface UpdateFunctionRequest {
1201
1205
  apiId: string | undefined;
1202
1206
  name: string | undefined;
1203
- description?: string;
1207
+ description?: string | undefined;
1204
1208
  functionId: string | undefined;
1205
1209
  dataSourceName: string | undefined;
1206
- requestMappingTemplate?: string;
1207
- responseMappingTemplate?: string;
1208
- functionVersion?: string;
1209
- syncConfig?: SyncConfig;
1210
- maxBatchSize?: number;
1211
- runtime?: AppSyncRuntime;
1212
- code?: string;
1210
+ requestMappingTemplate?: string | undefined;
1211
+ responseMappingTemplate?: string | undefined;
1212
+ functionVersion?: string | undefined;
1213
+ syncConfig?: SyncConfig | undefined;
1214
+ maxBatchSize?: number | undefined;
1215
+ runtime?: AppSyncRuntime | undefined;
1216
+ code?: string | undefined;
1213
1217
  }
1214
1218
  export interface UpdateFunctionResponse {
1215
- functionConfiguration?: FunctionConfiguration;
1219
+ functionConfiguration?: FunctionConfiguration | undefined;
1216
1220
  }
1217
1221
  export interface UpdateGraphqlApiRequest {
1218
1222
  apiId: string | undefined;
1219
1223
  name: string | undefined;
1220
- logConfig?: LogConfig;
1221
- authenticationType?: AuthenticationType;
1222
- userPoolConfig?: UserPoolConfig;
1223
- openIDConnectConfig?: OpenIDConnectConfig;
1224
- additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
1225
- xrayEnabled?: boolean;
1226
- lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
1227
- mergedApiExecutionRoleArn?: string;
1228
- ownerContact?: string;
1229
- introspectionConfig?: GraphQLApiIntrospectionConfig;
1230
- queryDepthLimit?: number;
1231
- resolverCountLimit?: number;
1232
- enhancedMetricsConfig?: EnhancedMetricsConfig;
1224
+ logConfig?: LogConfig | undefined;
1225
+ authenticationType?: AuthenticationType | undefined;
1226
+ userPoolConfig?: UserPoolConfig | undefined;
1227
+ openIDConnectConfig?: OpenIDConnectConfig | undefined;
1228
+ additionalAuthenticationProviders?:
1229
+ | AdditionalAuthenticationProvider[]
1230
+ | undefined;
1231
+ xrayEnabled?: boolean | undefined;
1232
+ lambdaAuthorizerConfig?: LambdaAuthorizerConfig | undefined;
1233
+ mergedApiExecutionRoleArn?: string | undefined;
1234
+ ownerContact?: string | undefined;
1235
+ introspectionConfig?: GraphQLApiIntrospectionConfig | undefined;
1236
+ queryDepthLimit?: number | undefined;
1237
+ resolverCountLimit?: number | undefined;
1238
+ enhancedMetricsConfig?: EnhancedMetricsConfig | undefined;
1233
1239
  }
1234
1240
  export interface UpdateGraphqlApiResponse {
1235
- graphqlApi?: GraphqlApi;
1241
+ graphqlApi?: GraphqlApi | undefined;
1236
1242
  }
1237
1243
  export interface UpdateResolverRequest {
1238
1244
  apiId: string | undefined;
1239
1245
  typeName: string | undefined;
1240
1246
  fieldName: string | undefined;
1241
- dataSourceName?: string;
1242
- requestMappingTemplate?: string;
1243
- responseMappingTemplate?: string;
1244
- kind?: ResolverKind;
1245
- pipelineConfig?: PipelineConfig;
1246
- syncConfig?: SyncConfig;
1247
- cachingConfig?: CachingConfig;
1248
- maxBatchSize?: number;
1249
- runtime?: AppSyncRuntime;
1250
- code?: string;
1251
- metricsConfig?: ResolverLevelMetricsConfig;
1247
+ dataSourceName?: string | undefined;
1248
+ requestMappingTemplate?: string | undefined;
1249
+ responseMappingTemplate?: string | undefined;
1250
+ kind?: ResolverKind | undefined;
1251
+ pipelineConfig?: PipelineConfig | undefined;
1252
+ syncConfig?: SyncConfig | undefined;
1253
+ cachingConfig?: CachingConfig | undefined;
1254
+ maxBatchSize?: number | undefined;
1255
+ runtime?: AppSyncRuntime | undefined;
1256
+ code?: string | undefined;
1257
+ metricsConfig?: ResolverLevelMetricsConfig | undefined;
1252
1258
  }
1253
1259
  export interface UpdateResolverResponse {
1254
- resolver?: Resolver;
1260
+ resolver?: Resolver | undefined;
1255
1261
  }
1256
1262
  export interface UpdateSourceApiAssociationRequest {
1257
1263
  associationId: string | undefined;
1258
1264
  mergedApiIdentifier: string | undefined;
1259
- description?: string;
1260
- sourceApiAssociationConfig?: SourceApiAssociationConfig;
1265
+ description?: string | undefined;
1266
+ sourceApiAssociationConfig?: SourceApiAssociationConfig | undefined;
1261
1267
  }
1262
1268
  export interface UpdateSourceApiAssociationResponse {
1263
- sourceApiAssociation?: SourceApiAssociation;
1269
+ sourceApiAssociation?: SourceApiAssociation | undefined;
1264
1270
  }
1265
1271
  export interface UpdateTypeRequest {
1266
1272
  apiId: string | undefined;
1267
1273
  typeName: string | undefined;
1268
- definition?: string;
1274
+ definition?: string | undefined;
1269
1275
  format: TypeDefinitionFormat | undefined;
1270
1276
  }
1271
1277
  export interface UpdateTypeResponse {
1272
- type?: Type;
1278
+ type?: Type | undefined;
1273
1279
  }
1274
1280
  export interface DataSourceIntrospectionModelFieldType {
1275
- kind?: string;
1276
- name?: string;
1277
- type?: DataSourceIntrospectionModelFieldType;
1278
- values?: string[];
1281
+ kind?: string | undefined;
1282
+ name?: string | undefined;
1283
+ type?: DataSourceIntrospectionModelFieldType | undefined;
1284
+ values?: string[] | undefined;
1279
1285
  }
1280
1286
  export interface DataSourceIntrospectionModelField {
1281
- name?: string;
1282
- type?: DataSourceIntrospectionModelFieldType;
1283
- length?: number;
1287
+ name?: string | undefined;
1288
+ type?: DataSourceIntrospectionModelFieldType | undefined;
1289
+ length?: number | undefined;
1284
1290
  }
1285
1291
  export interface DataSourceIntrospectionModel {
1286
- name?: string;
1287
- fields?: DataSourceIntrospectionModelField[];
1288
- primaryKey?: DataSourceIntrospectionModelIndex;
1289
- indexes?: DataSourceIntrospectionModelIndex[];
1290
- sdl?: string;
1292
+ name?: string | undefined;
1293
+ fields?: DataSourceIntrospectionModelField[] | undefined;
1294
+ primaryKey?: DataSourceIntrospectionModelIndex | undefined;
1295
+ indexes?: DataSourceIntrospectionModelIndex[] | undefined;
1296
+ sdl?: string | undefined;
1291
1297
  }
1292
1298
  export interface DataSourceIntrospectionResult {
1293
- models?: DataSourceIntrospectionModel[];
1294
- nextToken?: string;
1299
+ models?: DataSourceIntrospectionModel[] | undefined;
1300
+ nextToken?: string | undefined;
1295
1301
  }
1296
1302
  export interface GetDataSourceIntrospectionResponse {
1297
- introspectionId?: string;
1298
- introspectionStatus?: DataSourceIntrospectionStatus;
1299
- introspectionStatusDetail?: string;
1300
- introspectionResult?: DataSourceIntrospectionResult;
1303
+ introspectionId?: string | undefined;
1304
+ introspectionStatus?: DataSourceIntrospectionStatus | undefined;
1305
+ introspectionStatusDetail?: string | undefined;
1306
+ introspectionResult?: DataSourceIntrospectionResult | undefined;
1301
1307
  }