aws-sdk 2.1041.0 → 2.1045.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.
- package/CHANGELOG.md +22 -1
- package/README.md +1 -1
- package/apis/amplifyuibuilder-2021-08-11.examples.json +5 -0
- package/apis/amplifyuibuilder-2021-08-11.min.json +1036 -0
- package/apis/amplifyuibuilder-2021-08-11.paginators.json +16 -0
- package/apis/appsync-2017-07-25.min.json +327 -102
- package/apis/comprehendmedical-2018-10-30.min.json +244 -29
- package/apis/iot-2015-05-28.min.json +280 -271
- package/apis/location-2020-11-19.min.json +235 -107
- package/apis/logs-2014-03-28.min.json +4 -1
- package/apis/lookoutvision-2020-11-20.min.json +208 -11
- package/apis/lookoutvision-2020-11-20.paginators.json +6 -0
- package/apis/metadata.json +3 -0
- package/apis/networkmanager-2019-07-05.min.json +1931 -558
- package/apis/networkmanager-2019-07-05.paginators.json +36 -0
- package/apis/outposts-2019-12-03.min.json +29 -0
- package/apis/ram-2018-01-04.min.json +16 -11
- package/apis/sagemaker-2017-07-24.min.json +31 -28
- package/clients/all.d.ts +1 -0
- package/clients/all.js +2 -1
- package/clients/amplifyuibuilder.d.ts +1003 -0
- package/clients/amplifyuibuilder.js +18 -0
- package/clients/appsync.d.ts +330 -109
- package/clients/cloudwatchlogs.d.ts +6 -1
- package/clients/comprehendmedical.d.ts +306 -25
- package/clients/health.d.ts +2 -2
- package/clients/iot.d.ts +13 -0
- package/clients/location.d.ts +139 -9
- package/clients/lookoutvision.d.ts +293 -23
- package/clients/networkmanager.d.ts +1856 -361
- package/clients/outposts.d.ts +47 -3
- package/clients/ram.d.ts +234 -212
- package/clients/rekognition.d.ts +5 -5
- package/clients/route53.d.ts +11 -11
- package/clients/sagemaker.d.ts +3 -1
- package/clients/support.d.ts +62 -62
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +53 -16
- package/dist/aws-sdk.js +769 -411
- package/dist/aws-sdk.min.js +74 -74
- package/lib/config_service_placeholders.d.ts +2 -0
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/appsync.d.ts
CHANGED
|
@@ -11,6 +11,14 @@ declare class AppSync extends Service {
|
|
|
11
11
|
*/
|
|
12
12
|
constructor(options?: AppSync.Types.ClientConfiguration)
|
|
13
13
|
config: Config & AppSync.Types.ClientConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Maps an endpoint to your custom domain.
|
|
16
|
+
*/
|
|
17
|
+
associateApi(params: AppSync.Types.AssociateApiRequest, callback?: (err: AWSError, data: AppSync.Types.AssociateApiResponse) => void): Request<AppSync.Types.AssociateApiResponse, AWSError>;
|
|
18
|
+
/**
|
|
19
|
+
* Maps an endpoint to your custom domain.
|
|
20
|
+
*/
|
|
21
|
+
associateApi(callback?: (err: AWSError, data: AppSync.Types.AssociateApiResponse) => void): Request<AppSync.Types.AssociateApiResponse, AWSError>;
|
|
14
22
|
/**
|
|
15
23
|
* Creates a cache for the GraphQL API.
|
|
16
24
|
*/
|
|
@@ -20,11 +28,11 @@ declare class AppSync extends Service {
|
|
|
20
28
|
*/
|
|
21
29
|
createApiCache(callback?: (err: AWSError, data: AppSync.Types.CreateApiCacheResponse) => void): Request<AppSync.Types.CreateApiCacheResponse, AWSError>;
|
|
22
30
|
/**
|
|
23
|
-
* Creates a unique key that you can distribute to clients who
|
|
31
|
+
* Creates a unique key that you can distribute to clients who invoke your API.
|
|
24
32
|
*/
|
|
25
33
|
createApiKey(params: AppSync.Types.CreateApiKeyRequest, callback?: (err: AWSError, data: AppSync.Types.CreateApiKeyResponse) => void): Request<AppSync.Types.CreateApiKeyResponse, AWSError>;
|
|
26
34
|
/**
|
|
27
|
-
* Creates a unique key that you can distribute to clients who
|
|
35
|
+
* Creates a unique key that you can distribute to clients who invoke your API.
|
|
28
36
|
*/
|
|
29
37
|
createApiKey(callback?: (err: AWSError, data: AppSync.Types.CreateApiKeyResponse) => void): Request<AppSync.Types.CreateApiKeyResponse, AWSError>;
|
|
30
38
|
/**
|
|
@@ -36,11 +44,19 @@ declare class AppSync extends Service {
|
|
|
36
44
|
*/
|
|
37
45
|
createDataSource(callback?: (err: AWSError, data: AppSync.Types.CreateDataSourceResponse) => void): Request<AppSync.Types.CreateDataSourceResponse, AWSError>;
|
|
38
46
|
/**
|
|
39
|
-
* Creates a
|
|
47
|
+
* Creates a custom DomainName object.
|
|
48
|
+
*/
|
|
49
|
+
createDomainName(params: AppSync.Types.CreateDomainNameRequest, callback?: (err: AWSError, data: AppSync.Types.CreateDomainNameResponse) => void): Request<AppSync.Types.CreateDomainNameResponse, AWSError>;
|
|
50
|
+
/**
|
|
51
|
+
* Creates a custom DomainName object.
|
|
52
|
+
*/
|
|
53
|
+
createDomainName(callback?: (err: AWSError, data: AppSync.Types.CreateDomainNameResponse) => void): Request<AppSync.Types.CreateDomainNameResponse, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Creates a Function object. A function is a reusable entity. You can use multiple functions to compose the resolver logic.
|
|
40
56
|
*/
|
|
41
57
|
createFunction(params: AppSync.Types.CreateFunctionRequest, callback?: (err: AWSError, data: AppSync.Types.CreateFunctionResponse) => void): Request<AppSync.Types.CreateFunctionResponse, AWSError>;
|
|
42
58
|
/**
|
|
43
|
-
* Creates a Function object. A function is a reusable entity.
|
|
59
|
+
* Creates a Function object. A function is a reusable entity. You can use multiple functions to compose the resolver logic.
|
|
44
60
|
*/
|
|
45
61
|
createFunction(callback?: (err: AWSError, data: AppSync.Types.CreateFunctionResponse) => void): Request<AppSync.Types.CreateFunctionResponse, AWSError>;
|
|
46
62
|
/**
|
|
@@ -52,11 +68,11 @@ declare class AppSync extends Service {
|
|
|
52
68
|
*/
|
|
53
69
|
createGraphqlApi(callback?: (err: AWSError, data: AppSync.Types.CreateGraphqlApiResponse) => void): Request<AppSync.Types.CreateGraphqlApiResponse, AWSError>;
|
|
54
70
|
/**
|
|
55
|
-
* Creates a Resolver object. A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.
|
|
71
|
+
* Creates a Resolver object. A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL.
|
|
56
72
|
*/
|
|
57
73
|
createResolver(params: AppSync.Types.CreateResolverRequest, callback?: (err: AWSError, data: AppSync.Types.CreateResolverResponse) => void): Request<AppSync.Types.CreateResolverResponse, AWSError>;
|
|
58
74
|
/**
|
|
59
|
-
* Creates a Resolver object. A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.
|
|
75
|
+
* Creates a Resolver object. A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL.
|
|
60
76
|
*/
|
|
61
77
|
createResolver(callback?: (err: AWSError, data: AppSync.Types.CreateResolverResponse) => void): Request<AppSync.Types.CreateResolverResponse, AWSError>;
|
|
62
78
|
/**
|
|
@@ -91,6 +107,14 @@ declare class AppSync extends Service {
|
|
|
91
107
|
* Deletes a DataSource object.
|
|
92
108
|
*/
|
|
93
109
|
deleteDataSource(callback?: (err: AWSError, data: AppSync.Types.DeleteDataSourceResponse) => void): Request<AppSync.Types.DeleteDataSourceResponse, AWSError>;
|
|
110
|
+
/**
|
|
111
|
+
* Deletes a custom DomainName object.
|
|
112
|
+
*/
|
|
113
|
+
deleteDomainName(params: AppSync.Types.DeleteDomainNameRequest, callback?: (err: AWSError, data: AppSync.Types.DeleteDomainNameResponse) => void): Request<AppSync.Types.DeleteDomainNameResponse, AWSError>;
|
|
114
|
+
/**
|
|
115
|
+
* Deletes a custom DomainName object.
|
|
116
|
+
*/
|
|
117
|
+
deleteDomainName(callback?: (err: AWSError, data: AppSync.Types.DeleteDomainNameResponse) => void): Request<AppSync.Types.DeleteDomainNameResponse, AWSError>;
|
|
94
118
|
/**
|
|
95
119
|
* Deletes a Function.
|
|
96
120
|
*/
|
|
@@ -123,6 +147,14 @@ declare class AppSync extends Service {
|
|
|
123
147
|
* Deletes a Type object.
|
|
124
148
|
*/
|
|
125
149
|
deleteType(callback?: (err: AWSError, data: AppSync.Types.DeleteTypeResponse) => void): Request<AppSync.Types.DeleteTypeResponse, AWSError>;
|
|
150
|
+
/**
|
|
151
|
+
* Removes an ApiAssociation object from a custom domain.
|
|
152
|
+
*/
|
|
153
|
+
disassociateApi(params: AppSync.Types.DisassociateApiRequest, callback?: (err: AWSError, data: AppSync.Types.DisassociateApiResponse) => void): Request<AppSync.Types.DisassociateApiResponse, AWSError>;
|
|
154
|
+
/**
|
|
155
|
+
* Removes an ApiAssociation object from a custom domain.
|
|
156
|
+
*/
|
|
157
|
+
disassociateApi(callback?: (err: AWSError, data: AppSync.Types.DisassociateApiResponse) => void): Request<AppSync.Types.DisassociateApiResponse, AWSError>;
|
|
126
158
|
/**
|
|
127
159
|
* Flushes an ApiCache object.
|
|
128
160
|
*/
|
|
@@ -131,6 +163,14 @@ declare class AppSync extends Service {
|
|
|
131
163
|
* Flushes an ApiCache object.
|
|
132
164
|
*/
|
|
133
165
|
flushApiCache(callback?: (err: AWSError, data: AppSync.Types.FlushApiCacheResponse) => void): Request<AppSync.Types.FlushApiCacheResponse, AWSError>;
|
|
166
|
+
/**
|
|
167
|
+
* Retrieves an ApiAssociation object.
|
|
168
|
+
*/
|
|
169
|
+
getApiAssociation(params: AppSync.Types.GetApiAssociationRequest, callback?: (err: AWSError, data: AppSync.Types.GetApiAssociationResponse) => void): Request<AppSync.Types.GetApiAssociationResponse, AWSError>;
|
|
170
|
+
/**
|
|
171
|
+
* Retrieves an ApiAssociation object.
|
|
172
|
+
*/
|
|
173
|
+
getApiAssociation(callback?: (err: AWSError, data: AppSync.Types.GetApiAssociationResponse) => void): Request<AppSync.Types.GetApiAssociationResponse, AWSError>;
|
|
134
174
|
/**
|
|
135
175
|
* Retrieves an ApiCache object.
|
|
136
176
|
*/
|
|
@@ -147,6 +187,14 @@ declare class AppSync extends Service {
|
|
|
147
187
|
* Retrieves a DataSource object.
|
|
148
188
|
*/
|
|
149
189
|
getDataSource(callback?: (err: AWSError, data: AppSync.Types.GetDataSourceResponse) => void): Request<AppSync.Types.GetDataSourceResponse, AWSError>;
|
|
190
|
+
/**
|
|
191
|
+
* Retrieves a custom DomainName object.
|
|
192
|
+
*/
|
|
193
|
+
getDomainName(params: AppSync.Types.GetDomainNameRequest, callback?: (err: AWSError, data: AppSync.Types.GetDomainNameResponse) => void): Request<AppSync.Types.GetDomainNameResponse, AWSError>;
|
|
194
|
+
/**
|
|
195
|
+
* Retrieves a custom DomainName object.
|
|
196
|
+
*/
|
|
197
|
+
getDomainName(callback?: (err: AWSError, data: AppSync.Types.GetDomainNameResponse) => void): Request<AppSync.Types.GetDomainNameResponse, AWSError>;
|
|
150
198
|
/**
|
|
151
199
|
* Get a Function.
|
|
152
200
|
*/
|
|
@@ -211,6 +259,14 @@ declare class AppSync extends Service {
|
|
|
211
259
|
* Lists the data sources for a given API.
|
|
212
260
|
*/
|
|
213
261
|
listDataSources(callback?: (err: AWSError, data: AppSync.Types.ListDataSourcesResponse) => void): Request<AppSync.Types.ListDataSourcesResponse, AWSError>;
|
|
262
|
+
/**
|
|
263
|
+
* Lists multiple custom domain names.
|
|
264
|
+
*/
|
|
265
|
+
listDomainNames(params: AppSync.Types.ListDomainNamesRequest, callback?: (err: AWSError, data: AppSync.Types.ListDomainNamesResponse) => void): Request<AppSync.Types.ListDomainNamesResponse, AWSError>;
|
|
266
|
+
/**
|
|
267
|
+
* Lists multiple custom domain names.
|
|
268
|
+
*/
|
|
269
|
+
listDomainNames(callback?: (err: AWSError, data: AppSync.Types.ListDomainNamesResponse) => void): Request<AppSync.Types.ListDomainNamesResponse, AWSError>;
|
|
214
270
|
/**
|
|
215
271
|
* List multiple functions.
|
|
216
272
|
*/
|
|
@@ -292,11 +348,11 @@ declare class AppSync extends Service {
|
|
|
292
348
|
*/
|
|
293
349
|
updateApiCache(callback?: (err: AWSError, data: AppSync.Types.UpdateApiCacheResponse) => void): Request<AppSync.Types.UpdateApiCacheResponse, AWSError>;
|
|
294
350
|
/**
|
|
295
|
-
* Updates an API key.
|
|
351
|
+
* Updates an API key. You can update the key as long as it's not deleted.
|
|
296
352
|
*/
|
|
297
353
|
updateApiKey(params: AppSync.Types.UpdateApiKeyRequest, callback?: (err: AWSError, data: AppSync.Types.UpdateApiKeyResponse) => void): Request<AppSync.Types.UpdateApiKeyResponse, AWSError>;
|
|
298
354
|
/**
|
|
299
|
-
* Updates an API key.
|
|
355
|
+
* Updates an API key. You can update the key as long as it's not deleted.
|
|
300
356
|
*/
|
|
301
357
|
updateApiKey(callback?: (err: AWSError, data: AppSync.Types.UpdateApiKeyResponse) => void): Request<AppSync.Types.UpdateApiKeyResponse, AWSError>;
|
|
302
358
|
/**
|
|
@@ -307,6 +363,14 @@ declare class AppSync extends Service {
|
|
|
307
363
|
* Updates a DataSource object.
|
|
308
364
|
*/
|
|
309
365
|
updateDataSource(callback?: (err: AWSError, data: AppSync.Types.UpdateDataSourceResponse) => void): Request<AppSync.Types.UpdateDataSourceResponse, AWSError>;
|
|
366
|
+
/**
|
|
367
|
+
* Updates a custom DomainName object.
|
|
368
|
+
*/
|
|
369
|
+
updateDomainName(params: AppSync.Types.UpdateDomainNameRequest, callback?: (err: AWSError, data: AppSync.Types.UpdateDomainNameResponse) => void): Request<AppSync.Types.UpdateDomainNameResponse, AWSError>;
|
|
370
|
+
/**
|
|
371
|
+
* Updates a custom DomainName object.
|
|
372
|
+
*/
|
|
373
|
+
updateDomainName(callback?: (err: AWSError, data: AppSync.Types.UpdateDomainNameResponse) => void): Request<AppSync.Types.UpdateDomainNameResponse, AWSError>;
|
|
310
374
|
/**
|
|
311
375
|
* Updates a Function object.
|
|
312
376
|
*/
|
|
@@ -343,11 +407,11 @@ declare class AppSync extends Service {
|
|
|
343
407
|
declare namespace AppSync {
|
|
344
408
|
export interface AdditionalAuthenticationProvider {
|
|
345
409
|
/**
|
|
346
|
-
* The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or
|
|
410
|
+
* The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
|
|
347
411
|
*/
|
|
348
412
|
authenticationType?: AuthenticationType;
|
|
349
413
|
/**
|
|
350
|
-
* The
|
|
414
|
+
* The OIDC configuration.
|
|
351
415
|
*/
|
|
352
416
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
353
417
|
/**
|
|
@@ -355,14 +419,32 @@ declare namespace AppSync {
|
|
|
355
419
|
*/
|
|
356
420
|
userPoolConfig?: CognitoUserPoolConfig;
|
|
357
421
|
/**
|
|
358
|
-
* Configuration for
|
|
422
|
+
* Configuration for Lambda function authorization.
|
|
359
423
|
*/
|
|
360
424
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
361
425
|
}
|
|
362
426
|
export type AdditionalAuthenticationProviders = AdditionalAuthenticationProvider[];
|
|
427
|
+
export interface ApiAssociation {
|
|
428
|
+
/**
|
|
429
|
+
* The domain name.
|
|
430
|
+
*/
|
|
431
|
+
domainName?: DomainName;
|
|
432
|
+
/**
|
|
433
|
+
* The API ID.
|
|
434
|
+
*/
|
|
435
|
+
apiId?: String;
|
|
436
|
+
/**
|
|
437
|
+
* Identifies the status of an association. PROCESSING: The API association is being created. You cannot modify association requests during processing. SUCCESS: The API association was successful. You can modify associations after success. FAILED: The API association has failed. You can modify associations after failure.
|
|
438
|
+
*/
|
|
439
|
+
associationStatus?: AssociationStatus;
|
|
440
|
+
/**
|
|
441
|
+
* Details about the last deployment status.
|
|
442
|
+
*/
|
|
443
|
+
deploymentDetail?: String;
|
|
444
|
+
}
|
|
363
445
|
export interface ApiCache {
|
|
364
446
|
/**
|
|
365
|
-
* TTL in seconds for cache entries. Valid values are
|
|
447
|
+
* TTL in seconds for cache entries. Valid values are 1–3,600 seconds.
|
|
366
448
|
*/
|
|
367
449
|
ttl?: Long;
|
|
368
450
|
/**
|
|
@@ -370,11 +452,11 @@ declare namespace AppSync {
|
|
|
370
452
|
*/
|
|
371
453
|
apiCachingBehavior?: ApiCachingBehavior;
|
|
372
454
|
/**
|
|
373
|
-
* Transit encryption flag when connecting to cache.
|
|
455
|
+
* Transit encryption flag when connecting to cache. You cannot update this setting after creation.
|
|
374
456
|
*/
|
|
375
457
|
transitEncryptionEnabled?: Boolean;
|
|
376
458
|
/**
|
|
377
|
-
* At
|
|
459
|
+
* At-rest encryption flag for cache. You cannot update this setting after creation.
|
|
378
460
|
*/
|
|
379
461
|
atRestEncryptionEnabled?: Boolean;
|
|
380
462
|
/**
|
|
@@ -408,25 +490,42 @@ declare namespace AppSync {
|
|
|
408
490
|
deletes?: Long;
|
|
409
491
|
}
|
|
410
492
|
export type ApiKeys = ApiKey[];
|
|
493
|
+
export interface AssociateApiRequest {
|
|
494
|
+
/**
|
|
495
|
+
* The domain name.
|
|
496
|
+
*/
|
|
497
|
+
domainName: DomainName;
|
|
498
|
+
/**
|
|
499
|
+
* The API ID.
|
|
500
|
+
*/
|
|
501
|
+
apiId: String;
|
|
502
|
+
}
|
|
503
|
+
export interface AssociateApiResponse {
|
|
504
|
+
/**
|
|
505
|
+
* The ApiAssociation object.
|
|
506
|
+
*/
|
|
507
|
+
apiAssociation?: ApiAssociation;
|
|
508
|
+
}
|
|
509
|
+
export type AssociationStatus = "PROCESSING"|"FAILED"|"SUCCESS"|string;
|
|
411
510
|
export type AuthenticationType = "API_KEY"|"AWS_IAM"|"AMAZON_COGNITO_USER_POOLS"|"OPENID_CONNECT"|"AWS_LAMBDA"|string;
|
|
412
511
|
export interface AuthorizationConfig {
|
|
413
512
|
/**
|
|
414
|
-
* The authorization type
|
|
513
|
+
* The authorization type that the HTTP endpoint requires. AWS_IAM: The authorization type is Signature Version 4 (SigV4).
|
|
415
514
|
*/
|
|
416
515
|
authorizationType: AuthorizationType;
|
|
417
516
|
/**
|
|
418
|
-
* The Identity and Access Management settings.
|
|
517
|
+
* The Identity and Access Management (IAM) settings.
|
|
419
518
|
*/
|
|
420
519
|
awsIamConfig?: AwsIamConfig;
|
|
421
520
|
}
|
|
422
521
|
export type AuthorizationType = "AWS_IAM"|string;
|
|
423
522
|
export interface AwsIamConfig {
|
|
424
523
|
/**
|
|
425
|
-
* The signing
|
|
524
|
+
* The signing Amazon Web Services Region for IAM authorization.
|
|
426
525
|
*/
|
|
427
526
|
signingRegion?: String;
|
|
428
527
|
/**
|
|
429
|
-
* The signing service name for
|
|
528
|
+
* The signing service name for IAM authorization.
|
|
430
529
|
*/
|
|
431
530
|
signingServiceName?: String;
|
|
432
531
|
}
|
|
@@ -435,15 +534,16 @@ declare namespace AppSync {
|
|
|
435
534
|
export type BooleanValue = boolean;
|
|
436
535
|
export interface CachingConfig {
|
|
437
536
|
/**
|
|
438
|
-
* The TTL in seconds for a resolver that has caching
|
|
537
|
+
* The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.
|
|
439
538
|
*/
|
|
440
539
|
ttl?: Long;
|
|
441
540
|
/**
|
|
442
|
-
* The caching keys for a resolver that has caching
|
|
541
|
+
* The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
|
|
443
542
|
*/
|
|
444
543
|
cachingKeys?: CachingKeys;
|
|
445
544
|
}
|
|
446
545
|
export type CachingKeys = String[];
|
|
546
|
+
export type CertificateArn = string;
|
|
447
547
|
export interface CognitoUserPoolConfig {
|
|
448
548
|
/**
|
|
449
549
|
* The user pool ID.
|
|
@@ -462,19 +562,19 @@ declare namespace AppSync {
|
|
|
462
562
|
export type ConflictHandlerType = "OPTIMISTIC_CONCURRENCY"|"LAMBDA"|"AUTOMERGE"|"NONE"|string;
|
|
463
563
|
export interface CreateApiCacheRequest {
|
|
464
564
|
/**
|
|
465
|
-
* The GraphQL API
|
|
565
|
+
* The GraphQL API ID.
|
|
466
566
|
*/
|
|
467
567
|
apiId: String;
|
|
468
568
|
/**
|
|
469
|
-
* TTL in seconds for cache entries. Valid values are
|
|
569
|
+
* TTL in seconds for cache entries. Valid values are 1–3,600 seconds.
|
|
470
570
|
*/
|
|
471
571
|
ttl: Long;
|
|
472
572
|
/**
|
|
473
|
-
* Transit encryption flag when connecting to cache.
|
|
573
|
+
* Transit encryption flag when connecting to cache. You cannot update this setting after creation.
|
|
474
574
|
*/
|
|
475
575
|
transitEncryptionEnabled?: Boolean;
|
|
476
576
|
/**
|
|
477
|
-
* At
|
|
577
|
+
* At-rest encryption flag for cache. You cannot update this setting after creation.
|
|
478
578
|
*/
|
|
479
579
|
atRestEncryptionEnabled?: Boolean;
|
|
480
580
|
/**
|
|
@@ -502,7 +602,7 @@ declare namespace AppSync {
|
|
|
502
602
|
*/
|
|
503
603
|
description?: String;
|
|
504
604
|
/**
|
|
505
|
-
*
|
|
605
|
+
* From the creation time, the time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .
|
|
506
606
|
*/
|
|
507
607
|
expires?: Long;
|
|
508
608
|
}
|
|
@@ -530,7 +630,7 @@ declare namespace AppSync {
|
|
|
530
630
|
*/
|
|
531
631
|
type: DataSourceType;
|
|
532
632
|
/**
|
|
533
|
-
* The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.
|
|
633
|
+
* The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.
|
|
534
634
|
*/
|
|
535
635
|
serviceRoleArn?: String;
|
|
536
636
|
/**
|
|
@@ -538,7 +638,7 @@ declare namespace AppSync {
|
|
|
538
638
|
*/
|
|
539
639
|
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
540
640
|
/**
|
|
541
|
-
*
|
|
641
|
+
* Lambda settings.
|
|
542
642
|
*/
|
|
543
643
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
544
644
|
/**
|
|
@@ -564,6 +664,26 @@ declare namespace AppSync {
|
|
|
564
664
|
*/
|
|
565
665
|
dataSource?: DataSource;
|
|
566
666
|
}
|
|
667
|
+
export interface CreateDomainNameRequest {
|
|
668
|
+
/**
|
|
669
|
+
* The domain name.
|
|
670
|
+
*/
|
|
671
|
+
domainName: DomainName;
|
|
672
|
+
/**
|
|
673
|
+
* The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
|
|
674
|
+
*/
|
|
675
|
+
certificateArn: CertificateArn;
|
|
676
|
+
/**
|
|
677
|
+
* A description of the DomainName.
|
|
678
|
+
*/
|
|
679
|
+
description?: Description;
|
|
680
|
+
}
|
|
681
|
+
export interface CreateDomainNameResponse {
|
|
682
|
+
/**
|
|
683
|
+
* The configuration for the DomainName.
|
|
684
|
+
*/
|
|
685
|
+
domainNameConfig?: DomainNameConfig;
|
|
686
|
+
}
|
|
567
687
|
export interface CreateFunctionRequest {
|
|
568
688
|
/**
|
|
569
689
|
* The GraphQL API ID.
|
|
@@ -586,11 +706,11 @@ declare namespace AppSync {
|
|
|
586
706
|
*/
|
|
587
707
|
requestMappingTemplate?: MappingTemplate;
|
|
588
708
|
/**
|
|
589
|
-
* The Function response mapping template.
|
|
709
|
+
* The Function response mapping template.
|
|
590
710
|
*/
|
|
591
711
|
responseMappingTemplate?: MappingTemplate;
|
|
592
712
|
/**
|
|
593
|
-
* The version of the request mapping template. Currently the supported value is 2018-05-29.
|
|
713
|
+
* The version of the request mapping template. Currently, the supported value is 2018-05-29.
|
|
594
714
|
*/
|
|
595
715
|
functionVersion: String;
|
|
596
716
|
syncConfig?: SyncConfig;
|
|
@@ -611,7 +731,7 @@ declare namespace AppSync {
|
|
|
611
731
|
*/
|
|
612
732
|
logConfig?: LogConfig;
|
|
613
733
|
/**
|
|
614
|
-
* The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or
|
|
734
|
+
* The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
|
|
615
735
|
*/
|
|
616
736
|
authenticationType: AuthenticationType;
|
|
617
737
|
/**
|
|
@@ -619,7 +739,7 @@ declare namespace AppSync {
|
|
|
619
739
|
*/
|
|
620
740
|
userPoolConfig?: UserPoolConfig;
|
|
621
741
|
/**
|
|
622
|
-
* The
|
|
742
|
+
* The OIDC configuration.
|
|
623
743
|
*/
|
|
624
744
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
625
745
|
/**
|
|
@@ -631,11 +751,11 @@ declare namespace AppSync {
|
|
|
631
751
|
*/
|
|
632
752
|
additionalAuthenticationProviders?: AdditionalAuthenticationProviders;
|
|
633
753
|
/**
|
|
634
|
-
* A flag indicating whether to
|
|
754
|
+
* A flag indicating whether to use X-Ray tracing for the GraphqlApi.
|
|
635
755
|
*/
|
|
636
756
|
xrayEnabled?: Boolean;
|
|
637
757
|
/**
|
|
638
|
-
* Configuration for
|
|
758
|
+
* Configuration for Lambda function authorization.
|
|
639
759
|
*/
|
|
640
760
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
641
761
|
}
|
|
@@ -663,15 +783,15 @@ declare namespace AppSync {
|
|
|
663
783
|
*/
|
|
664
784
|
dataSourceName?: ResourceName;
|
|
665
785
|
/**
|
|
666
|
-
* The mapping template to
|
|
786
|
+
* The mapping template to use for requests. A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL). VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
|
|
667
787
|
*/
|
|
668
788
|
requestMappingTemplate?: MappingTemplate;
|
|
669
789
|
/**
|
|
670
|
-
* The mapping template to
|
|
790
|
+
* The mapping template to use for responses from the data source.
|
|
671
791
|
*/
|
|
672
792
|
responseMappingTemplate?: MappingTemplate;
|
|
673
793
|
/**
|
|
674
|
-
* The resolver type. UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type.
|
|
794
|
+
* The resolver type. UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source. PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
|
|
675
795
|
*/
|
|
676
796
|
kind?: ResolverKind;
|
|
677
797
|
/**
|
|
@@ -679,7 +799,7 @@ declare namespace AppSync {
|
|
|
679
799
|
*/
|
|
680
800
|
pipelineConfig?: PipelineConfig;
|
|
681
801
|
/**
|
|
682
|
-
* The SyncConfig for a resolver attached to a versioned
|
|
802
|
+
* The SyncConfig for a resolver attached to a versioned data source.
|
|
683
803
|
*/
|
|
684
804
|
syncConfig?: SyncConfig;
|
|
685
805
|
/**
|
|
@@ -715,7 +835,7 @@ declare namespace AppSync {
|
|
|
715
835
|
}
|
|
716
836
|
export interface DataSource {
|
|
717
837
|
/**
|
|
718
|
-
* The data source ARN.
|
|
838
|
+
* The data source Amazon Resource Name (ARN).
|
|
719
839
|
*/
|
|
720
840
|
dataSourceArn?: String;
|
|
721
841
|
/**
|
|
@@ -727,19 +847,19 @@ declare namespace AppSync {
|
|
|
727
847
|
*/
|
|
728
848
|
description?: String;
|
|
729
849
|
/**
|
|
730
|
-
* The type of the data source. AWS_LAMBDA: The data source is an
|
|
850
|
+
* The type of the data source. AWS_LAMBDA: The data source is an Lambda function. AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain. AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain. NONE: There is no data source. Use this type when you want to invoke a GraphQL operation without connecting to a data source, such as when you're performing data transformation with resolvers or invoking a subscription from a mutation. HTTP: The data source is an HTTP endpoint. RELATIONAL_DATABASE: The data source is a relational database.
|
|
731
851
|
*/
|
|
732
852
|
type?: DataSourceType;
|
|
733
853
|
/**
|
|
734
|
-
* The Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.
|
|
854
|
+
* The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.
|
|
735
855
|
*/
|
|
736
856
|
serviceRoleArn?: String;
|
|
737
857
|
/**
|
|
738
|
-
*
|
|
858
|
+
* DynamoDB settings.
|
|
739
859
|
*/
|
|
740
860
|
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
741
861
|
/**
|
|
742
|
-
*
|
|
862
|
+
* Lambda settings.
|
|
743
863
|
*/
|
|
744
864
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
745
865
|
/**
|
|
@@ -794,6 +914,14 @@ declare namespace AppSync {
|
|
|
794
914
|
}
|
|
795
915
|
export interface DeleteDataSourceResponse {
|
|
796
916
|
}
|
|
917
|
+
export interface DeleteDomainNameRequest {
|
|
918
|
+
/**
|
|
919
|
+
* The domain name.
|
|
920
|
+
*/
|
|
921
|
+
domainName: DomainName;
|
|
922
|
+
}
|
|
923
|
+
export interface DeleteDomainNameResponse {
|
|
924
|
+
}
|
|
797
925
|
export interface DeleteFunctionRequest {
|
|
798
926
|
/**
|
|
799
927
|
* The GraphQL API ID.
|
|
@@ -844,7 +972,7 @@ declare namespace AppSync {
|
|
|
844
972
|
}
|
|
845
973
|
export interface DeltaSyncConfig {
|
|
846
974
|
/**
|
|
847
|
-
* The number of minutes an Item is stored in the
|
|
975
|
+
* The number of minutes that an Item is stored in the data source.
|
|
848
976
|
*/
|
|
849
977
|
baseTableTTL?: Long;
|
|
850
978
|
/**
|
|
@@ -852,10 +980,43 @@ declare namespace AppSync {
|
|
|
852
980
|
*/
|
|
853
981
|
deltaSyncTableName?: String;
|
|
854
982
|
/**
|
|
855
|
-
* The number of minutes a Delta Sync log entry is stored in the Delta Sync table.
|
|
983
|
+
* The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
|
|
856
984
|
*/
|
|
857
985
|
deltaSyncTableTTL?: Long;
|
|
858
986
|
}
|
|
987
|
+
export type Description = string;
|
|
988
|
+
export interface DisassociateApiRequest {
|
|
989
|
+
/**
|
|
990
|
+
* The domain name.
|
|
991
|
+
*/
|
|
992
|
+
domainName: DomainName;
|
|
993
|
+
}
|
|
994
|
+
export interface DisassociateApiResponse {
|
|
995
|
+
}
|
|
996
|
+
export type DomainName = string;
|
|
997
|
+
export interface DomainNameConfig {
|
|
998
|
+
/**
|
|
999
|
+
* The domain name.
|
|
1000
|
+
*/
|
|
1001
|
+
domainName?: DomainName;
|
|
1002
|
+
/**
|
|
1003
|
+
* A description of the DomainName configuration.
|
|
1004
|
+
*/
|
|
1005
|
+
description?: Description;
|
|
1006
|
+
/**
|
|
1007
|
+
* The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
|
|
1008
|
+
*/
|
|
1009
|
+
certificateArn?: CertificateArn;
|
|
1010
|
+
/**
|
|
1011
|
+
* The domain name that AppSync provides.
|
|
1012
|
+
*/
|
|
1013
|
+
appsyncDomainName?: String;
|
|
1014
|
+
/**
|
|
1015
|
+
* The ID of your Amazon Route 53 hosted zone.
|
|
1016
|
+
*/
|
|
1017
|
+
hostedZoneId?: String;
|
|
1018
|
+
}
|
|
1019
|
+
export type DomainNameConfigs = DomainNameConfig[];
|
|
859
1020
|
export interface DynamodbDataSourceConfig {
|
|
860
1021
|
/**
|
|
861
1022
|
* The table name.
|
|
@@ -870,7 +1031,7 @@ declare namespace AppSync {
|
|
|
870
1031
|
*/
|
|
871
1032
|
useCallerCredentials?: Boolean;
|
|
872
1033
|
/**
|
|
873
|
-
* The DeltaSyncConfig for a versioned
|
|
1034
|
+
* The DeltaSyncConfig for a versioned data source.
|
|
874
1035
|
*/
|
|
875
1036
|
deltaSyncConfig?: DeltaSyncConfig;
|
|
876
1037
|
/**
|
|
@@ -903,7 +1064,7 @@ declare namespace AppSync {
|
|
|
903
1064
|
*/
|
|
904
1065
|
functionId?: String;
|
|
905
1066
|
/**
|
|
906
|
-
* The ARN of the Function object.
|
|
1067
|
+
* The Amazon Resource Name (ARN) of the Function object.
|
|
907
1068
|
*/
|
|
908
1069
|
functionArn?: String;
|
|
909
1070
|
/**
|
|
@@ -927,13 +1088,25 @@ declare namespace AppSync {
|
|
|
927
1088
|
*/
|
|
928
1089
|
responseMappingTemplate?: MappingTemplate;
|
|
929
1090
|
/**
|
|
930
|
-
* The version of the request mapping template. Currently only the 2018-05-29 version of the template is supported.
|
|
1091
|
+
* The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
|
|
931
1092
|
*/
|
|
932
1093
|
functionVersion?: String;
|
|
933
1094
|
syncConfig?: SyncConfig;
|
|
934
1095
|
}
|
|
935
1096
|
export type Functions = FunctionConfiguration[];
|
|
936
1097
|
export type FunctionsIds = String[];
|
|
1098
|
+
export interface GetApiAssociationRequest {
|
|
1099
|
+
/**
|
|
1100
|
+
* The domain name.
|
|
1101
|
+
*/
|
|
1102
|
+
domainName: DomainName;
|
|
1103
|
+
}
|
|
1104
|
+
export interface GetApiAssociationResponse {
|
|
1105
|
+
/**
|
|
1106
|
+
* The ApiAssociation object.
|
|
1107
|
+
*/
|
|
1108
|
+
apiAssociation?: ApiAssociation;
|
|
1109
|
+
}
|
|
937
1110
|
export interface GetApiCacheRequest {
|
|
938
1111
|
/**
|
|
939
1112
|
* The API ID.
|
|
@@ -962,6 +1135,18 @@ declare namespace AppSync {
|
|
|
962
1135
|
*/
|
|
963
1136
|
dataSource?: DataSource;
|
|
964
1137
|
}
|
|
1138
|
+
export interface GetDomainNameRequest {
|
|
1139
|
+
/**
|
|
1140
|
+
* The domain name.
|
|
1141
|
+
*/
|
|
1142
|
+
domainName: DomainName;
|
|
1143
|
+
}
|
|
1144
|
+
export interface GetDomainNameResponse {
|
|
1145
|
+
/**
|
|
1146
|
+
* The configuration for the DomainName.
|
|
1147
|
+
*/
|
|
1148
|
+
domainNameConfig?: DomainNameConfig;
|
|
1149
|
+
}
|
|
965
1150
|
export interface GetFunctionRequest {
|
|
966
1151
|
/**
|
|
967
1152
|
* The GraphQL API ID.
|
|
@@ -1092,7 +1277,7 @@ declare namespace AppSync {
|
|
|
1092
1277
|
*/
|
|
1093
1278
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
1094
1279
|
/**
|
|
1095
|
-
* The ARN.
|
|
1280
|
+
* The Amazon Resource Name (ARN).
|
|
1096
1281
|
*/
|
|
1097
1282
|
arn?: String;
|
|
1098
1283
|
/**
|
|
@@ -1108,26 +1293,26 @@ declare namespace AppSync {
|
|
|
1108
1293
|
*/
|
|
1109
1294
|
additionalAuthenticationProviders?: AdditionalAuthenticationProviders;
|
|
1110
1295
|
/**
|
|
1111
|
-
* A flag
|
|
1296
|
+
* A flag indicating whether to use X-Ray tracing for this GraphqlApi.
|
|
1112
1297
|
*/
|
|
1113
1298
|
xrayEnabled?: Boolean;
|
|
1114
1299
|
/**
|
|
1115
|
-
* The ARN of the WAF ACL associated with this GraphqlApi, if one exists.
|
|
1300
|
+
* The ARN of the WAF access control list (ACL) associated with this GraphqlApi, if one exists.
|
|
1116
1301
|
*/
|
|
1117
1302
|
wafWebAclArn?: String;
|
|
1118
1303
|
/**
|
|
1119
|
-
* Configuration for
|
|
1304
|
+
* Configuration for Lambda function authorization.
|
|
1120
1305
|
*/
|
|
1121
1306
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1122
1307
|
}
|
|
1123
1308
|
export type GraphqlApis = GraphqlApi[];
|
|
1124
1309
|
export interface HttpDataSourceConfig {
|
|
1125
1310
|
/**
|
|
1126
|
-
* The HTTP URL endpoint. You can either
|
|
1311
|
+
* The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
|
|
1127
1312
|
*/
|
|
1128
1313
|
endpoint?: String;
|
|
1129
1314
|
/**
|
|
1130
|
-
* The authorization
|
|
1315
|
+
* The authorization configuration in case the HTTP endpoint requires authorization.
|
|
1131
1316
|
*/
|
|
1132
1317
|
authorizationConfig?: AuthorizationConfig;
|
|
1133
1318
|
}
|
|
@@ -1137,7 +1322,7 @@ declare namespace AppSync {
|
|
|
1137
1322
|
*/
|
|
1138
1323
|
authorizerResultTtlInSeconds?: TTL;
|
|
1139
1324
|
/**
|
|
1140
|
-
* The ARN of the Lambda function to be called for authorization. This
|
|
1325
|
+
* The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN. Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is done for you. To use the Command Line Interface (CLI), run the following: aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction
|
|
1141
1326
|
*/
|
|
1142
1327
|
authorizerUri: String;
|
|
1143
1328
|
/**
|
|
@@ -1147,13 +1332,13 @@ declare namespace AppSync {
|
|
|
1147
1332
|
}
|
|
1148
1333
|
export interface LambdaConflictHandlerConfig {
|
|
1149
1334
|
/**
|
|
1150
|
-
* The
|
|
1335
|
+
* The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
|
|
1151
1336
|
*/
|
|
1152
1337
|
lambdaConflictHandlerArn?: String;
|
|
1153
1338
|
}
|
|
1154
1339
|
export interface LambdaDataSourceConfig {
|
|
1155
1340
|
/**
|
|
1156
|
-
* The ARN for the Lambda function.
|
|
1341
|
+
* The Amazon Resource Name (ARN) for the Lambda function.
|
|
1157
1342
|
*/
|
|
1158
1343
|
lambdaFunctionArn: String;
|
|
1159
1344
|
}
|
|
@@ -1163,11 +1348,11 @@ declare namespace AppSync {
|
|
|
1163
1348
|
*/
|
|
1164
1349
|
apiId: String;
|
|
1165
1350
|
/**
|
|
1166
|
-
* An identifier that was returned from the previous call to this operation, which can
|
|
1351
|
+
* An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
|
|
1167
1352
|
*/
|
|
1168
1353
|
nextToken?: PaginationToken;
|
|
1169
1354
|
/**
|
|
1170
|
-
* The maximum number of results you want the request to return.
|
|
1355
|
+
* The maximum number of results that you want the request to return.
|
|
1171
1356
|
*/
|
|
1172
1357
|
maxResults?: MaxResults;
|
|
1173
1358
|
}
|
|
@@ -1177,7 +1362,7 @@ declare namespace AppSync {
|
|
|
1177
1362
|
*/
|
|
1178
1363
|
apiKeys?: ApiKeys;
|
|
1179
1364
|
/**
|
|
1180
|
-
* An identifier to
|
|
1365
|
+
* An identifier to pass in the next request to this operation to return the next set of items in the list.
|
|
1181
1366
|
*/
|
|
1182
1367
|
nextToken?: PaginationToken;
|
|
1183
1368
|
}
|
|
@@ -1187,11 +1372,11 @@ declare namespace AppSync {
|
|
|
1187
1372
|
*/
|
|
1188
1373
|
apiId: String;
|
|
1189
1374
|
/**
|
|
1190
|
-
* An identifier that was returned from the previous call to this operation, which can
|
|
1375
|
+
* An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
|
|
1191
1376
|
*/
|
|
1192
1377
|
nextToken?: PaginationToken;
|
|
1193
1378
|
/**
|
|
1194
|
-
* The maximum number of results you want the request to return.
|
|
1379
|
+
* The maximum number of results that you want the request to return.
|
|
1195
1380
|
*/
|
|
1196
1381
|
maxResults?: MaxResults;
|
|
1197
1382
|
}
|
|
@@ -1201,7 +1386,27 @@ declare namespace AppSync {
|
|
|
1201
1386
|
*/
|
|
1202
1387
|
dataSources?: DataSources;
|
|
1203
1388
|
/**
|
|
1204
|
-
* An identifier to
|
|
1389
|
+
* An identifier to pass in the next request to this operation to return the next set of items in the list.
|
|
1390
|
+
*/
|
|
1391
|
+
nextToken?: PaginationToken;
|
|
1392
|
+
}
|
|
1393
|
+
export interface ListDomainNamesRequest {
|
|
1394
|
+
/**
|
|
1395
|
+
* The API token.
|
|
1396
|
+
*/
|
|
1397
|
+
nextToken?: PaginationToken;
|
|
1398
|
+
/**
|
|
1399
|
+
* The maximum number of results that you want the request to return.
|
|
1400
|
+
*/
|
|
1401
|
+
maxResults?: MaxResults;
|
|
1402
|
+
}
|
|
1403
|
+
export interface ListDomainNamesResponse {
|
|
1404
|
+
/**
|
|
1405
|
+
* Lists configurations for multiple domain names.
|
|
1406
|
+
*/
|
|
1407
|
+
domainNameConfigs?: DomainNameConfigs;
|
|
1408
|
+
/**
|
|
1409
|
+
* The API token.
|
|
1205
1410
|
*/
|
|
1206
1411
|
nextToken?: PaginationToken;
|
|
1207
1412
|
}
|
|
@@ -1211,11 +1416,11 @@ declare namespace AppSync {
|
|
|
1211
1416
|
*/
|
|
1212
1417
|
apiId: String;
|
|
1213
1418
|
/**
|
|
1214
|
-
* An identifier that was returned from the previous call to this operation, which can
|
|
1419
|
+
* An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
|
|
1215
1420
|
*/
|
|
1216
1421
|
nextToken?: PaginationToken;
|
|
1217
1422
|
/**
|
|
1218
|
-
* The maximum number of results you want the request to return.
|
|
1423
|
+
* The maximum number of results that you want the request to return.
|
|
1219
1424
|
*/
|
|
1220
1425
|
maxResults?: MaxResults;
|
|
1221
1426
|
}
|
|
@@ -1225,17 +1430,17 @@ declare namespace AppSync {
|
|
|
1225
1430
|
*/
|
|
1226
1431
|
functions?: Functions;
|
|
1227
1432
|
/**
|
|
1228
|
-
* An identifier that was returned from the previous call to this operation, which can
|
|
1433
|
+
* An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
|
|
1229
1434
|
*/
|
|
1230
1435
|
nextToken?: PaginationToken;
|
|
1231
1436
|
}
|
|
1232
1437
|
export interface ListGraphqlApisRequest {
|
|
1233
1438
|
/**
|
|
1234
|
-
* An identifier that was returned from the previous call to this operation, which can
|
|
1439
|
+
* An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
|
|
1235
1440
|
*/
|
|
1236
1441
|
nextToken?: PaginationToken;
|
|
1237
1442
|
/**
|
|
1238
|
-
* The maximum number of results you want the request to return.
|
|
1443
|
+
* The maximum number of results that you want the request to return.
|
|
1239
1444
|
*/
|
|
1240
1445
|
maxResults?: MaxResults;
|
|
1241
1446
|
}
|
|
@@ -1245,7 +1450,7 @@ declare namespace AppSync {
|
|
|
1245
1450
|
*/
|
|
1246
1451
|
graphqlApis?: GraphqlApis;
|
|
1247
1452
|
/**
|
|
1248
|
-
* An identifier to
|
|
1453
|
+
* An identifier to pass in the next request to this operation to return the next set of items in the list.
|
|
1249
1454
|
*/
|
|
1250
1455
|
nextToken?: PaginationToken;
|
|
1251
1456
|
}
|
|
@@ -1255,7 +1460,7 @@ declare namespace AppSync {
|
|
|
1255
1460
|
*/
|
|
1256
1461
|
apiId: String;
|
|
1257
1462
|
/**
|
|
1258
|
-
* The
|
|
1463
|
+
* The function ID.
|
|
1259
1464
|
*/
|
|
1260
1465
|
functionId: String;
|
|
1261
1466
|
/**
|
|
@@ -1263,7 +1468,7 @@ declare namespace AppSync {
|
|
|
1263
1468
|
*/
|
|
1264
1469
|
nextToken?: PaginationToken;
|
|
1265
1470
|
/**
|
|
1266
|
-
* The maximum number of results you want the request to return.
|
|
1471
|
+
* The maximum number of results that you want the request to return.
|
|
1267
1472
|
*/
|
|
1268
1473
|
maxResults?: MaxResults;
|
|
1269
1474
|
}
|
|
@@ -1273,7 +1478,7 @@ declare namespace AppSync {
|
|
|
1273
1478
|
*/
|
|
1274
1479
|
resolvers?: Resolvers;
|
|
1275
1480
|
/**
|
|
1276
|
-
* An identifier that can
|
|
1481
|
+
* An identifier that you can use to return the next set of items in the list.
|
|
1277
1482
|
*/
|
|
1278
1483
|
nextToken?: PaginationToken;
|
|
1279
1484
|
}
|
|
@@ -1287,11 +1492,11 @@ declare namespace AppSync {
|
|
|
1287
1492
|
*/
|
|
1288
1493
|
typeName: String;
|
|
1289
1494
|
/**
|
|
1290
|
-
* An identifier that was returned from the previous call to this operation, which can
|
|
1495
|
+
* An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
|
|
1291
1496
|
*/
|
|
1292
1497
|
nextToken?: PaginationToken;
|
|
1293
1498
|
/**
|
|
1294
|
-
* The maximum number of results you want the request to return.
|
|
1499
|
+
* The maximum number of results that you want the request to return.
|
|
1295
1500
|
*/
|
|
1296
1501
|
maxResults?: MaxResults;
|
|
1297
1502
|
}
|
|
@@ -1301,13 +1506,13 @@ declare namespace AppSync {
|
|
|
1301
1506
|
*/
|
|
1302
1507
|
resolvers?: Resolvers;
|
|
1303
1508
|
/**
|
|
1304
|
-
* An identifier to
|
|
1509
|
+
* An identifier to pass in the next request to this operation to return the next set of items in the list.
|
|
1305
1510
|
*/
|
|
1306
1511
|
nextToken?: PaginationToken;
|
|
1307
1512
|
}
|
|
1308
1513
|
export interface ListTagsForResourceRequest {
|
|
1309
1514
|
/**
|
|
1310
|
-
* The GraphqlApi ARN.
|
|
1515
|
+
* The GraphqlApi Amazon Resource Name (ARN).
|
|
1311
1516
|
*/
|
|
1312
1517
|
resourceArn: ResourceArn;
|
|
1313
1518
|
}
|
|
@@ -1327,11 +1532,11 @@ declare namespace AppSync {
|
|
|
1327
1532
|
*/
|
|
1328
1533
|
format: TypeDefinitionFormat;
|
|
1329
1534
|
/**
|
|
1330
|
-
* An identifier that was returned from the previous call to this operation, which can
|
|
1535
|
+
* An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
|
|
1331
1536
|
*/
|
|
1332
1537
|
nextToken?: PaginationToken;
|
|
1333
1538
|
/**
|
|
1334
|
-
* The maximum number of results you want the request to return.
|
|
1539
|
+
* The maximum number of results that you want the request to return.
|
|
1335
1540
|
*/
|
|
1336
1541
|
maxResults?: MaxResults;
|
|
1337
1542
|
}
|
|
@@ -1341,17 +1546,17 @@ declare namespace AppSync {
|
|
|
1341
1546
|
*/
|
|
1342
1547
|
types?: TypeList;
|
|
1343
1548
|
/**
|
|
1344
|
-
* An identifier to
|
|
1549
|
+
* An identifier to pass in the next request to this operation to return the next set of items in the list.
|
|
1345
1550
|
*/
|
|
1346
1551
|
nextToken?: PaginationToken;
|
|
1347
1552
|
}
|
|
1348
1553
|
export interface LogConfig {
|
|
1349
1554
|
/**
|
|
1350
|
-
* The field logging level. Values can be NONE, ERROR, or ALL.
|
|
1555
|
+
* The field logging level. Values can be NONE, ERROR, or ALL. NONE: No field-level logs are captured. ERROR: Logs the following information only for the fields that are in error: The error section in the server response. Field-level errors. The generated request/response functions that got resolved for error fields. ALL: The following information is logged for all fields in the query: Field-level tracing information. The generated request/response functions that got resolved for each field.
|
|
1351
1556
|
*/
|
|
1352
1557
|
fieldLogLevel: FieldLogLevel;
|
|
1353
1558
|
/**
|
|
1354
|
-
* The service role that AppSync
|
|
1559
|
+
* The service role that AppSync assumes to publish to CloudWatch logs in your account.
|
|
1355
1560
|
*/
|
|
1356
1561
|
cloudWatchLogsRoleArn: String;
|
|
1357
1562
|
/**
|
|
@@ -1365,19 +1570,19 @@ declare namespace AppSync {
|
|
|
1365
1570
|
export type MaxResults = number;
|
|
1366
1571
|
export interface OpenIDConnectConfig {
|
|
1367
1572
|
/**
|
|
1368
|
-
* The issuer for the
|
|
1573
|
+
* The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.
|
|
1369
1574
|
*/
|
|
1370
1575
|
issuer: String;
|
|
1371
1576
|
/**
|
|
1372
|
-
* The client identifier of the
|
|
1577
|
+
* The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.
|
|
1373
1578
|
*/
|
|
1374
1579
|
clientId?: String;
|
|
1375
1580
|
/**
|
|
1376
|
-
* The number of milliseconds a token is valid after
|
|
1581
|
+
* The number of milliseconds that a token is valid after it's issued to a user.
|
|
1377
1582
|
*/
|
|
1378
1583
|
iatTTL?: Long;
|
|
1379
1584
|
/**
|
|
1380
|
-
* The number of milliseconds a token is valid after being authenticated.
|
|
1585
|
+
* The number of milliseconds that a token is valid after being authenticated.
|
|
1381
1586
|
*/
|
|
1382
1587
|
authTTL?: Long;
|
|
1383
1588
|
}
|
|
@@ -1401,11 +1606,11 @@ declare namespace AppSync {
|
|
|
1401
1606
|
}
|
|
1402
1607
|
export interface RdsHttpEndpointConfig {
|
|
1403
1608
|
/**
|
|
1404
|
-
* Amazon Web Services Region for RDS HTTP endpoint.
|
|
1609
|
+
* Amazon Web Services Region for Amazon RDS HTTP endpoint.
|
|
1405
1610
|
*/
|
|
1406
1611
|
awsRegion?: String;
|
|
1407
1612
|
/**
|
|
1408
|
-
* Amazon RDS cluster ARN.
|
|
1613
|
+
* Amazon RDS cluster Amazon Resource Name (ARN).
|
|
1409
1614
|
*/
|
|
1410
1615
|
dbClusterIdentifier?: String;
|
|
1411
1616
|
/**
|
|
@@ -1417,13 +1622,13 @@ declare namespace AppSync {
|
|
|
1417
1622
|
*/
|
|
1418
1623
|
schema?: String;
|
|
1419
1624
|
/**
|
|
1420
|
-
* Amazon Web Services secret store ARN for database credentials.
|
|
1625
|
+
* Amazon Web Services secret store Amazon Resource Name (ARN) for database credentials.
|
|
1421
1626
|
*/
|
|
1422
1627
|
awsSecretStoreArn?: String;
|
|
1423
1628
|
}
|
|
1424
1629
|
export interface RelationalDatabaseDataSourceConfig {
|
|
1425
1630
|
/**
|
|
1426
|
-
* Source type for the relational database. RDS_HTTP_ENDPOINT: The relational database source type is an Amazon RDS HTTP endpoint.
|
|
1631
|
+
* Source type for the relational database. RDS_HTTP_ENDPOINT: The relational database source type is an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.
|
|
1427
1632
|
*/
|
|
1428
1633
|
relationalDatabaseSourceType?: RelationalDatabaseSourceType;
|
|
1429
1634
|
/**
|
|
@@ -1446,7 +1651,7 @@ declare namespace AppSync {
|
|
|
1446
1651
|
*/
|
|
1447
1652
|
dataSourceName?: ResourceName;
|
|
1448
1653
|
/**
|
|
1449
|
-
* The resolver ARN.
|
|
1654
|
+
* The resolver Amazon Resource Name (ARN).
|
|
1450
1655
|
*/
|
|
1451
1656
|
resolverArn?: String;
|
|
1452
1657
|
/**
|
|
@@ -1458,7 +1663,7 @@ declare namespace AppSync {
|
|
|
1458
1663
|
*/
|
|
1459
1664
|
responseMappingTemplate?: MappingTemplate;
|
|
1460
1665
|
/**
|
|
1461
|
-
* The resolver type. UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type.
|
|
1666
|
+
* The resolver type. UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source. PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
|
|
1462
1667
|
*/
|
|
1463
1668
|
kind?: ResolverKind;
|
|
1464
1669
|
/**
|
|
@@ -1466,7 +1671,7 @@ declare namespace AppSync {
|
|
|
1466
1671
|
*/
|
|
1467
1672
|
pipelineConfig?: PipelineConfig;
|
|
1468
1673
|
/**
|
|
1469
|
-
* The SyncConfig for a resolver attached to a versioned
|
|
1674
|
+
* The SyncConfig for a resolver attached to a versioned data source.
|
|
1470
1675
|
*/
|
|
1471
1676
|
syncConfig?: SyncConfig;
|
|
1472
1677
|
/**
|
|
@@ -1498,11 +1703,11 @@ declare namespace AppSync {
|
|
|
1498
1703
|
export type String = string;
|
|
1499
1704
|
export interface SyncConfig {
|
|
1500
1705
|
/**
|
|
1501
|
-
* The Conflict Resolution strategy to perform in the event of a conflict. OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions
|
|
1706
|
+
* The Conflict Resolution strategy to perform in the event of a conflict. OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server. AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy. LAMBDA: Resolve conflicts with an Lambda function supplied in the LambdaConflictHandlerConfig.
|
|
1502
1707
|
*/
|
|
1503
1708
|
conflictHandler?: ConflictHandlerType;
|
|
1504
1709
|
/**
|
|
1505
|
-
* The Conflict Detection strategy to use. VERSION: Detect conflicts based on object versions for this resolver. NONE: Do not detect conflicts when
|
|
1710
|
+
* The Conflict Detection strategy to use. VERSION: Detect conflicts based on object versions for this resolver. NONE: Do not detect conflicts when invoking this resolver.
|
|
1506
1711
|
*/
|
|
1507
1712
|
conflictDetection?: ConflictDetectionType;
|
|
1508
1713
|
/**
|
|
@@ -1516,7 +1721,7 @@ declare namespace AppSync {
|
|
|
1516
1721
|
export type TagMap = {[key: string]: TagValue};
|
|
1517
1722
|
export interface TagResourceRequest {
|
|
1518
1723
|
/**
|
|
1519
|
-
* The GraphqlApi ARN.
|
|
1724
|
+
* The GraphqlApi Amazon Resource Name (ARN).
|
|
1520
1725
|
*/
|
|
1521
1726
|
resourceArn: ResourceArn;
|
|
1522
1727
|
/**
|
|
@@ -1537,7 +1742,7 @@ declare namespace AppSync {
|
|
|
1537
1742
|
*/
|
|
1538
1743
|
description?: String;
|
|
1539
1744
|
/**
|
|
1540
|
-
* The type ARN.
|
|
1745
|
+
* The type Amazon Resource Name (ARN).
|
|
1541
1746
|
*/
|
|
1542
1747
|
arn?: String;
|
|
1543
1748
|
/**
|
|
@@ -1553,7 +1758,7 @@ declare namespace AppSync {
|
|
|
1553
1758
|
export type TypeList = Type[];
|
|
1554
1759
|
export interface UntagResourceRequest {
|
|
1555
1760
|
/**
|
|
1556
|
-
* The GraphqlApi ARN.
|
|
1761
|
+
* The GraphqlApi Amazon Resource Name (ARN).
|
|
1557
1762
|
*/
|
|
1558
1763
|
resourceArn: ResourceArn;
|
|
1559
1764
|
/**
|
|
@@ -1565,11 +1770,11 @@ declare namespace AppSync {
|
|
|
1565
1770
|
}
|
|
1566
1771
|
export interface UpdateApiCacheRequest {
|
|
1567
1772
|
/**
|
|
1568
|
-
* The GraphQL API
|
|
1773
|
+
* The GraphQL API ID.
|
|
1569
1774
|
*/
|
|
1570
1775
|
apiId: String;
|
|
1571
1776
|
/**
|
|
1572
|
-
* TTL in seconds for cache entries. Valid values are
|
|
1777
|
+
* TTL in seconds for cache entries. Valid values are 1–3,600 seconds.
|
|
1573
1778
|
*/
|
|
1574
1779
|
ttl: Long;
|
|
1575
1780
|
/**
|
|
@@ -1601,7 +1806,7 @@ declare namespace AppSync {
|
|
|
1601
1806
|
*/
|
|
1602
1807
|
description?: String;
|
|
1603
1808
|
/**
|
|
1604
|
-
*
|
|
1809
|
+
* From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
|
|
1605
1810
|
*/
|
|
1606
1811
|
expires?: Long;
|
|
1607
1812
|
}
|
|
@@ -1629,7 +1834,7 @@ declare namespace AppSync {
|
|
|
1629
1834
|
*/
|
|
1630
1835
|
type: DataSourceType;
|
|
1631
1836
|
/**
|
|
1632
|
-
* The new service role ARN for the data source.
|
|
1837
|
+
* The new service role Amazon Resource Name (ARN) for the data source.
|
|
1633
1838
|
*/
|
|
1634
1839
|
serviceRoleArn?: String;
|
|
1635
1840
|
/**
|
|
@@ -1637,7 +1842,7 @@ declare namespace AppSync {
|
|
|
1637
1842
|
*/
|
|
1638
1843
|
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
1639
1844
|
/**
|
|
1640
|
-
* The new
|
|
1845
|
+
* The new Lambda configuration.
|
|
1641
1846
|
*/
|
|
1642
1847
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
1643
1848
|
/**
|
|
@@ -1663,6 +1868,22 @@ declare namespace AppSync {
|
|
|
1663
1868
|
*/
|
|
1664
1869
|
dataSource?: DataSource;
|
|
1665
1870
|
}
|
|
1871
|
+
export interface UpdateDomainNameRequest {
|
|
1872
|
+
/**
|
|
1873
|
+
* The domain name.
|
|
1874
|
+
*/
|
|
1875
|
+
domainName: DomainName;
|
|
1876
|
+
/**
|
|
1877
|
+
* A description of the DomainName.
|
|
1878
|
+
*/
|
|
1879
|
+
description?: Description;
|
|
1880
|
+
}
|
|
1881
|
+
export interface UpdateDomainNameResponse {
|
|
1882
|
+
/**
|
|
1883
|
+
* The configuration for the DomainName.
|
|
1884
|
+
*/
|
|
1885
|
+
domainNameConfig?: DomainNameConfig;
|
|
1886
|
+
}
|
|
1666
1887
|
export interface UpdateFunctionRequest {
|
|
1667
1888
|
/**
|
|
1668
1889
|
* The GraphQL API ID.
|
|
@@ -1689,11 +1910,11 @@ declare namespace AppSync {
|
|
|
1689
1910
|
*/
|
|
1690
1911
|
requestMappingTemplate?: MappingTemplate;
|
|
1691
1912
|
/**
|
|
1692
|
-
* The Function request mapping template.
|
|
1913
|
+
* The Function request mapping template.
|
|
1693
1914
|
*/
|
|
1694
1915
|
responseMappingTemplate?: MappingTemplate;
|
|
1695
1916
|
/**
|
|
1696
|
-
* The version of the request mapping template. Currently the supported value is 2018-05-29.
|
|
1917
|
+
* The version of the request mapping template. Currently, the supported value is 2018-05-29.
|
|
1697
1918
|
*/
|
|
1698
1919
|
functionVersion: String;
|
|
1699
1920
|
syncConfig?: SyncConfig;
|
|
@@ -1722,7 +1943,7 @@ declare namespace AppSync {
|
|
|
1722
1943
|
*/
|
|
1723
1944
|
authenticationType?: AuthenticationType;
|
|
1724
1945
|
/**
|
|
1725
|
-
* The new Amazon Cognito user pool configuration for the GraphqlApi object.
|
|
1946
|
+
* The new Amazon Cognito user pool configuration for the ~GraphqlApi object.
|
|
1726
1947
|
*/
|
|
1727
1948
|
userPoolConfig?: UserPoolConfig;
|
|
1728
1949
|
/**
|
|
@@ -1734,11 +1955,11 @@ declare namespace AppSync {
|
|
|
1734
1955
|
*/
|
|
1735
1956
|
additionalAuthenticationProviders?: AdditionalAuthenticationProviders;
|
|
1736
1957
|
/**
|
|
1737
|
-
* A flag indicating whether to
|
|
1958
|
+
* A flag indicating whether to use X-Ray tracing for the GraphqlApi.
|
|
1738
1959
|
*/
|
|
1739
1960
|
xrayEnabled?: Boolean;
|
|
1740
1961
|
/**
|
|
1741
|
-
* Configuration for
|
|
1962
|
+
* Configuration for Lambda function authorization.
|
|
1742
1963
|
*/
|
|
1743
1964
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1744
1965
|
}
|
|
@@ -1766,7 +1987,7 @@ declare namespace AppSync {
|
|
|
1766
1987
|
*/
|
|
1767
1988
|
dataSourceName?: ResourceName;
|
|
1768
1989
|
/**
|
|
1769
|
-
* The new request mapping template. A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL). VTL request mapping templates are optional when using
|
|
1990
|
+
* The new request mapping template. A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL). VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
|
|
1770
1991
|
*/
|
|
1771
1992
|
requestMappingTemplate?: MappingTemplate;
|
|
1772
1993
|
/**
|
|
@@ -1774,7 +1995,7 @@ declare namespace AppSync {
|
|
|
1774
1995
|
*/
|
|
1775
1996
|
responseMappingTemplate?: MappingTemplate;
|
|
1776
1997
|
/**
|
|
1777
|
-
* The resolver type. UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type.
|
|
1998
|
+
* The resolver type. UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source. PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
|
|
1778
1999
|
*/
|
|
1779
2000
|
kind?: ResolverKind;
|
|
1780
2001
|
/**
|
|
@@ -1782,7 +2003,7 @@ declare namespace AppSync {
|
|
|
1782
2003
|
*/
|
|
1783
2004
|
pipelineConfig?: PipelineConfig;
|
|
1784
2005
|
/**
|
|
1785
|
-
* The SyncConfig for a resolver attached to a versioned
|
|
2006
|
+
* The SyncConfig for a resolver attached to a versioned data source.
|
|
1786
2007
|
*/
|
|
1787
2008
|
syncConfig?: SyncConfig;
|
|
1788
2009
|
/**
|