@aws-sdk/client-appsync 3.43.0 → 3.47.1
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 +48 -0
- package/README.md +7 -7
- package/dist-cjs/AppSync.js +120 -0
- package/dist-cjs/commands/AssociateApiCommand.js +36 -0
- package/dist-cjs/commands/CreateDomainNameCommand.js +36 -0
- package/dist-cjs/commands/DeleteDomainNameCommand.js +36 -0
- package/dist-cjs/commands/DisassociateApiCommand.js +36 -0
- package/dist-cjs/commands/GetApiAssociationCommand.js +36 -0
- package/dist-cjs/commands/GetDomainNameCommand.js +36 -0
- package/dist-cjs/commands/ListDomainNamesCommand.js +36 -0
- package/dist-cjs/commands/UpdateDomainNameCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +113 -65
- package/dist-cjs/protocols/Aws_restJson1.js +917 -93
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/AppSync.js +120 -0
- package/dist-es/commands/AssociateApiCommand.js +39 -0
- package/dist-es/commands/CreateDomainNameCommand.js +39 -0
- package/dist-es/commands/DeleteDomainNameCommand.js +39 -0
- package/dist-es/commands/DisassociateApiCommand.js +39 -0
- package/dist-es/commands/GetApiAssociationCommand.js +39 -0
- package/dist-es/commands/GetDomainNameCommand.js +39 -0
- package/dist-es/commands/ListDomainNamesCommand.js +39 -0
- package/dist-es/commands/UpdateDomainNameCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +78 -44
- package/dist-es/protocols/Aws_restJson1.js +1048 -91
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/AppSync.d.ts +60 -5
- package/dist-types/AppSyncClient.d.ts +15 -3
- package/dist-types/commands/AssociateApiCommand.d.ts +35 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
- package/dist-types/commands/CreateDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
- package/dist-types/commands/CreateResolverCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateApiCommand.d.ts +35 -0
- package/dist-types/commands/GetApiAssociationCommand.d.ts +35 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/ListDomainNamesCommand.d.ts +35 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +556 -299
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/AppSync.d.ts +40 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +13 -3
- package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +201 -60
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
2
|
/**
|
|
3
|
-
* <p>You
|
|
3
|
+
* <p>You don't have access to perform this operation on this resource.</p>
|
|
4
4
|
*/
|
|
5
5
|
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
6
6
|
name: "AccessDeniedException";
|
|
7
7
|
$fault: "client";
|
|
8
8
|
message?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
10
|
export declare enum AuthenticationType {
|
|
17
11
|
AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS",
|
|
18
12
|
API_KEY = "API_KEY",
|
|
@@ -21,24 +15,27 @@ export declare enum AuthenticationType {
|
|
|
21
15
|
OPENID_CONNECT = "OPENID_CONNECT"
|
|
22
16
|
}
|
|
23
17
|
/**
|
|
24
|
-
* <p>A <code>LambdaAuthorizerConfig</code>
|
|
25
|
-
* API access when using the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync
|
|
26
|
-
*
|
|
18
|
+
* <p>A <code>LambdaAuthorizerConfig</code> specifies how to authorize AppSync
|
|
19
|
+
* API access when using the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync API can have only one Lambda authorizer configured at a
|
|
20
|
+
* time.</p>
|
|
27
21
|
*/
|
|
28
22
|
export interface LambdaAuthorizerConfig {
|
|
29
23
|
/**
|
|
30
24
|
* <p>The number of seconds a response should be cached for. The default is 5 minutes (300
|
|
31
|
-
* seconds). The Lambda function can override this by returning a
|
|
32
|
-
*
|
|
25
|
+
* seconds). The Lambda function can override this by returning a
|
|
26
|
+
* <code>ttlOverride</code> key in its response. A value of 0 disables caching of
|
|
27
|
+
* responses.</p>
|
|
33
28
|
*/
|
|
34
29
|
authorizerResultTtlInSeconds?: number;
|
|
35
30
|
/**
|
|
36
|
-
* <p>The ARN of the Lambda function to be called for
|
|
37
|
-
* Lambda ARN, a version ARN
|
|
31
|
+
* <p>The Amazon Resource Name (ARN) of the Lambda function to be called for
|
|
32
|
+
* authorization. This can be a standard Lambda ARN, a version ARN
|
|
33
|
+
* (<code>.../v3</code>), or an alias ARN. </p>
|
|
38
34
|
* <p>
|
|
39
|
-
* <
|
|
40
|
-
* policy assigned to it. When configuring Lambda
|
|
41
|
-
*
|
|
35
|
+
* <b>Note</b>: This Lambda function must have the
|
|
36
|
+
* following resource-based policy assigned to it. When configuring Lambda
|
|
37
|
+
* authorizers in the console, this is done for you. To use the Command Line Interface
|
|
38
|
+
* (CLI), run the following:</p>
|
|
42
39
|
* <p>
|
|
43
40
|
* <code>aws lambda add-permission --function-name
|
|
44
41
|
* "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync"
|
|
@@ -59,27 +56,27 @@ export declare namespace LambdaAuthorizerConfig {
|
|
|
59
56
|
const filterSensitiveLog: (obj: LambdaAuthorizerConfig) => any;
|
|
60
57
|
}
|
|
61
58
|
/**
|
|
62
|
-
* <p>Describes an OpenID Connect configuration.</p>
|
|
59
|
+
* <p>Describes an OpenID Connect (OIDC) configuration.</p>
|
|
63
60
|
*/
|
|
64
61
|
export interface OpenIDConnectConfig {
|
|
65
62
|
/**
|
|
66
|
-
* <p>The issuer for the
|
|
67
|
-
*
|
|
63
|
+
* <p>The issuer for the OIDC configuration. The issuer returned by discovery must exactly
|
|
64
|
+
* match the value of <code>iss</code> in the ID token.</p>
|
|
68
65
|
*/
|
|
69
66
|
issuer: string | undefined;
|
|
70
67
|
/**
|
|
71
|
-
* <p>The client identifier of the
|
|
72
|
-
* identifier is typically obtained when the
|
|
73
|
-
* identity provider. You can specify a regular expression so
|
|
68
|
+
* <p>The client identifier of the relying party at the OpenID identity provider. This
|
|
69
|
+
* identifier is typically obtained when the relying party is registered with the OpenID
|
|
70
|
+
* identity provider. You can specify a regular expression so that AppSync can
|
|
74
71
|
* validate against multiple client identifiers at a time.</p>
|
|
75
72
|
*/
|
|
76
73
|
clientId?: string;
|
|
77
74
|
/**
|
|
78
|
-
* <p>The number of milliseconds a token is valid after
|
|
75
|
+
* <p>The number of milliseconds that a token is valid after it's issued to a user.</p>
|
|
79
76
|
*/
|
|
80
77
|
iatTTL?: number;
|
|
81
78
|
/**
|
|
82
|
-
* <p>The number of milliseconds a token is valid after being authenticated.</p>
|
|
79
|
+
* <p>The number of milliseconds that a token is valid after being authenticated.</p>
|
|
83
80
|
*/
|
|
84
81
|
authTTL?: number;
|
|
85
82
|
}
|
|
@@ -118,12 +115,12 @@ export declare namespace CognitoUserPoolConfig {
|
|
|
118
115
|
*/
|
|
119
116
|
export interface AdditionalAuthenticationProvider {
|
|
120
117
|
/**
|
|
121
|
-
* <p>The authentication type: API key, Identity and Access Management
|
|
122
|
-
*
|
|
118
|
+
* <p>The authentication type: API key, Identity and Access Management (IAM), OpenID
|
|
119
|
+
* Connect (OIDC), Amazon Cognito user pools, or Lambda.</p>
|
|
123
120
|
*/
|
|
124
121
|
authenticationType?: AuthenticationType | string;
|
|
125
122
|
/**
|
|
126
|
-
* <p>The
|
|
123
|
+
* <p>The OIDC configuration.</p>
|
|
127
124
|
*/
|
|
128
125
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
129
126
|
/**
|
|
@@ -131,7 +128,7 @@ export interface AdditionalAuthenticationProvider {
|
|
|
131
128
|
*/
|
|
132
129
|
userPoolConfig?: CognitoUserPoolConfig;
|
|
133
130
|
/**
|
|
134
|
-
* <p>Configuration for
|
|
131
|
+
* <p>Configuration for Lambda function authorization.</p>
|
|
135
132
|
*/
|
|
136
133
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
137
134
|
}
|
|
@@ -141,6 +138,55 @@ export declare namespace AdditionalAuthenticationProvider {
|
|
|
141
138
|
*/
|
|
142
139
|
const filterSensitiveLog: (obj: AdditionalAuthenticationProvider) => any;
|
|
143
140
|
}
|
|
141
|
+
export declare enum AssociationStatus {
|
|
142
|
+
Failed = "FAILED",
|
|
143
|
+
Processing = "PROCESSING",
|
|
144
|
+
Success = "SUCCESS"
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* <p>Describes an <code>ApiAssociation</code> object.</p>
|
|
148
|
+
*/
|
|
149
|
+
export interface ApiAssociation {
|
|
150
|
+
/**
|
|
151
|
+
* <p>The domain name.</p>
|
|
152
|
+
*/
|
|
153
|
+
domainName?: string;
|
|
154
|
+
/**
|
|
155
|
+
* <p>The API ID.</p>
|
|
156
|
+
*/
|
|
157
|
+
apiId?: string;
|
|
158
|
+
/**
|
|
159
|
+
* <p>Identifies the status of an association.</p>
|
|
160
|
+
* <ul>
|
|
161
|
+
* <li>
|
|
162
|
+
* <p>
|
|
163
|
+
* <b>PROCESSING</b>: The API association is being
|
|
164
|
+
* created. You cannot modify association requests during processing.</p>
|
|
165
|
+
* </li>
|
|
166
|
+
* <li>
|
|
167
|
+
* <p>
|
|
168
|
+
* <b>SUCCESS</b>: The API association was successful.
|
|
169
|
+
* You can modify associations after success.</p>
|
|
170
|
+
* </li>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>
|
|
173
|
+
* <b>FAILED</b>: The API association has failed. You
|
|
174
|
+
* can modify associations after failure.</p>
|
|
175
|
+
* </li>
|
|
176
|
+
* </ul>
|
|
177
|
+
*/
|
|
178
|
+
associationStatus?: AssociationStatus | string;
|
|
179
|
+
/**
|
|
180
|
+
* <p>Details about the last deployment status.</p>
|
|
181
|
+
*/
|
|
182
|
+
deploymentDetail?: string;
|
|
183
|
+
}
|
|
184
|
+
export declare namespace ApiAssociation {
|
|
185
|
+
/**
|
|
186
|
+
* @internal
|
|
187
|
+
*/
|
|
188
|
+
const filterSensitiveLog: (obj: ApiAssociation) => any;
|
|
189
|
+
}
|
|
144
190
|
export declare enum ApiCachingBehavior {
|
|
145
191
|
FULL_REQUEST_CACHING = "FULL_REQUEST_CACHING",
|
|
146
192
|
PER_RESOLVER_CACHING = "PER_RESOLVER_CACHING"
|
|
@@ -175,7 +221,7 @@ export declare enum ApiCacheType {
|
|
|
175
221
|
export interface ApiCache {
|
|
176
222
|
/**
|
|
177
223
|
* <p>TTL in seconds for cache entries.</p>
|
|
178
|
-
* <p>Valid values are
|
|
224
|
+
* <p>Valid values are 1–3,600 seconds.</p>
|
|
179
225
|
*/
|
|
180
226
|
ttl?: number;
|
|
181
227
|
/**
|
|
@@ -195,12 +241,12 @@ export interface ApiCache {
|
|
|
195
241
|
*/
|
|
196
242
|
apiCachingBehavior?: ApiCachingBehavior | string;
|
|
197
243
|
/**
|
|
198
|
-
* <p>Transit encryption flag when connecting to cache.
|
|
244
|
+
* <p>Transit encryption flag when connecting to cache. You cannot update this setting after
|
|
199
245
|
* creation.</p>
|
|
200
246
|
*/
|
|
201
247
|
transitEncryptionEnabled?: boolean;
|
|
202
248
|
/**
|
|
203
|
-
* <p>At
|
|
249
|
+
* <p>At-rest encryption flag for cache. You cannot update this setting after creation.</p>
|
|
204
250
|
*/
|
|
205
251
|
atRestEncryptionEnabled?: boolean;
|
|
206
252
|
/**
|
|
@@ -323,10 +369,10 @@ export declare namespace ApiCache {
|
|
|
323
369
|
* <p>Customers invoke AppSync GraphQL API operations with API keys as an
|
|
324
370
|
* identity mechanism. There are two key versions:</p>
|
|
325
371
|
* <p>
|
|
326
|
-
* <b>da1</b>:
|
|
327
|
-
* 2017. These keys always expire after 7 days.
|
|
328
|
-
*
|
|
329
|
-
*
|
|
372
|
+
* <b>da1</b>: We introduced this version at launch in November
|
|
373
|
+
* 2017. These keys always expire after 7 days. Amazon DynamoDB TTL manages key
|
|
374
|
+
* expiration. These keys ceased to be valid after February 21, 2018, and they should no
|
|
375
|
+
* longer be used.</p>
|
|
330
376
|
* <ul>
|
|
331
377
|
* <li>
|
|
332
378
|
* <p>
|
|
@@ -346,15 +392,15 @@ export declare namespace ApiCache {
|
|
|
346
392
|
* <code>DeleteApiKey</code> deletes the item from the table.</p>
|
|
347
393
|
* </li>
|
|
348
394
|
* <li>
|
|
349
|
-
* <p>Expiration is stored in
|
|
350
|
-
* where keys are not automatically deleted because DynamoDB expects the
|
|
351
|
-
* stored in seconds. As a one-time action, we
|
|
352
|
-
*
|
|
395
|
+
* <p>Expiration is stored in DynamoDB as milliseconds. This results in a
|
|
396
|
+
* bug where keys are not automatically deleted because DynamoDB expects the
|
|
397
|
+
* TTL to be stored in seconds. As a one-time action, we deleted these keys from the
|
|
398
|
+
* table on February 21, 2018.</p>
|
|
353
399
|
* </li>
|
|
354
400
|
* </ul>
|
|
355
401
|
* <p>
|
|
356
|
-
* <b>da2</b>:
|
|
357
|
-
*
|
|
402
|
+
* <b>da2</b>: We introduced this version in February 2018 when
|
|
403
|
+
* AppSync added support to extend key expiration.</p>
|
|
358
404
|
* <ul>
|
|
359
405
|
* <li>
|
|
360
406
|
* <p>
|
|
@@ -370,21 +416,21 @@ export declare namespace ApiCache {
|
|
|
370
416
|
* <p>
|
|
371
417
|
* <code>UpdateApiKey</code> returns the expiration time and and deletion time in
|
|
372
418
|
* seconds and accepts a user-provided expiration time in seconds. Expired API keys are
|
|
373
|
-
* kept for 60 days after the expiration time.
|
|
374
|
-
* the key
|
|
419
|
+
* kept for 60 days after the expiration time. You can update the key expiration time as
|
|
420
|
+
* long as the key isn't deleted.</p>
|
|
375
421
|
* </li>
|
|
376
422
|
* <li>
|
|
377
423
|
* <p>
|
|
378
424
|
* <code>DeleteApiKey</code> deletes the item from the table.</p>
|
|
379
425
|
* </li>
|
|
380
426
|
* <li>
|
|
381
|
-
* <p>Expiration is stored in
|
|
382
|
-
* using the key to authenticate will fail.
|
|
383
|
-
* deletion.</p>
|
|
427
|
+
* <p>Expiration is stored in DynamoDB as seconds. After the expiration
|
|
428
|
+
* time, using the key to authenticate will fail. However, you can reinstate the key
|
|
429
|
+
* before deletion.</p>
|
|
384
430
|
* </li>
|
|
385
431
|
* <li>
|
|
386
|
-
* <p>Deletion is stored in
|
|
387
|
-
* deletion time
|
|
432
|
+
* <p>Deletion is stored in DynamoDB as seconds. The key is deleted after
|
|
433
|
+
* deletion time.</p>
|
|
388
434
|
* </li>
|
|
389
435
|
* </ul>
|
|
390
436
|
*/
|
|
@@ -422,12 +468,6 @@ export interface ApiKeyLimitExceededException extends __SmithyException, $Metada
|
|
|
422
468
|
$fault: "client";
|
|
423
469
|
message?: string;
|
|
424
470
|
}
|
|
425
|
-
export declare namespace ApiKeyLimitExceededException {
|
|
426
|
-
/**
|
|
427
|
-
* @internal
|
|
428
|
-
*/
|
|
429
|
-
const filterSensitiveLog: (obj: ApiKeyLimitExceededException) => any;
|
|
430
|
-
}
|
|
431
471
|
/**
|
|
432
472
|
* <p>The API key expiration must be set to a value between 1 and 365 days from creation (for
|
|
433
473
|
* <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>).</p>
|
|
@@ -437,12 +477,6 @@ export interface ApiKeyValidityOutOfBoundsException extends __SmithyException, $
|
|
|
437
477
|
$fault: "client";
|
|
438
478
|
message?: string;
|
|
439
479
|
}
|
|
440
|
-
export declare namespace ApiKeyValidityOutOfBoundsException {
|
|
441
|
-
/**
|
|
442
|
-
* @internal
|
|
443
|
-
*/
|
|
444
|
-
const filterSensitiveLog: (obj: ApiKeyValidityOutOfBoundsException) => any;
|
|
445
|
-
}
|
|
446
480
|
/**
|
|
447
481
|
* <p>The GraphQL API exceeded a limit. Try your request again.</p>
|
|
448
482
|
*/
|
|
@@ -451,25 +485,73 @@ export interface ApiLimitExceededException extends __SmithyException, $MetadataB
|
|
|
451
485
|
$fault: "client";
|
|
452
486
|
message?: string;
|
|
453
487
|
}
|
|
454
|
-
export
|
|
488
|
+
export interface AssociateApiRequest {
|
|
489
|
+
/**
|
|
490
|
+
* <p>The domain name.</p>
|
|
491
|
+
*/
|
|
492
|
+
domainName: string | undefined;
|
|
493
|
+
/**
|
|
494
|
+
* <p>The API ID.</p>
|
|
495
|
+
*/
|
|
496
|
+
apiId: string | undefined;
|
|
497
|
+
}
|
|
498
|
+
export declare namespace AssociateApiRequest {
|
|
455
499
|
/**
|
|
456
500
|
* @internal
|
|
457
501
|
*/
|
|
458
|
-
const filterSensitiveLog: (obj:
|
|
502
|
+
const filterSensitiveLog: (obj: AssociateApiRequest) => any;
|
|
503
|
+
}
|
|
504
|
+
export interface AssociateApiResponse {
|
|
505
|
+
/**
|
|
506
|
+
* <p>The <code>ApiAssociation</code> object.</p>
|
|
507
|
+
*/
|
|
508
|
+
apiAssociation?: ApiAssociation;
|
|
509
|
+
}
|
|
510
|
+
export declare namespace AssociateApiResponse {
|
|
511
|
+
/**
|
|
512
|
+
* @internal
|
|
513
|
+
*/
|
|
514
|
+
const filterSensitiveLog: (obj: AssociateApiResponse) => any;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
518
|
+
* missing. Check the field values, and then try again.</p>
|
|
519
|
+
*/
|
|
520
|
+
export interface BadRequestException extends __SmithyException, $MetadataBearer {
|
|
521
|
+
name: "BadRequestException";
|
|
522
|
+
$fault: "client";
|
|
523
|
+
message?: string;
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
527
|
+
*/
|
|
528
|
+
export interface InternalFailureException extends __SmithyException, $MetadataBearer {
|
|
529
|
+
name: "InternalFailureException";
|
|
530
|
+
$fault: "server";
|
|
531
|
+
message?: string;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
535
|
+
* again.</p>
|
|
536
|
+
*/
|
|
537
|
+
export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
538
|
+
name: "NotFoundException";
|
|
539
|
+
$fault: "client";
|
|
540
|
+
message?: string;
|
|
459
541
|
}
|
|
460
542
|
export declare enum AuthorizationType {
|
|
461
543
|
AWS_IAM = "AWS_IAM"
|
|
462
544
|
}
|
|
463
545
|
/**
|
|
464
|
-
* <p>The Identity and Access Management configuration.</p>
|
|
546
|
+
* <p>The Identity and Access Management (IAM) configuration.</p>
|
|
465
547
|
*/
|
|
466
548
|
export interface AwsIamConfig {
|
|
467
549
|
/**
|
|
468
|
-
* <p>The signing
|
|
550
|
+
* <p>The signing Amazon Web Services Region for IAM authorization.</p>
|
|
469
551
|
*/
|
|
470
552
|
signingRegion?: string;
|
|
471
553
|
/**
|
|
472
|
-
* <p>The signing service name for
|
|
554
|
+
* <p>The signing service name for IAM authorization.</p>
|
|
473
555
|
*/
|
|
474
556
|
signingServiceName?: string;
|
|
475
557
|
}
|
|
@@ -480,22 +562,22 @@ export declare namespace AwsIamConfig {
|
|
|
480
562
|
const filterSensitiveLog: (obj: AwsIamConfig) => any;
|
|
481
563
|
}
|
|
482
564
|
/**
|
|
483
|
-
* <p>The authorization
|
|
565
|
+
* <p>The authorization configuration in case the HTTP endpoint requires authorization.</p>
|
|
484
566
|
*/
|
|
485
567
|
export interface AuthorizationConfig {
|
|
486
568
|
/**
|
|
487
|
-
* <p>The authorization type
|
|
569
|
+
* <p>The authorization type that the HTTP endpoint requires.</p>
|
|
488
570
|
* <ul>
|
|
489
571
|
* <li>
|
|
490
572
|
* <p>
|
|
491
|
-
* <b>AWS_IAM</b>: The authorization type is
|
|
492
|
-
*
|
|
573
|
+
* <b>AWS_IAM</b>: The authorization type is Signature
|
|
574
|
+
* Version 4 (SigV4).</p>
|
|
493
575
|
* </li>
|
|
494
576
|
* </ul>
|
|
495
577
|
*/
|
|
496
578
|
authorizationType: AuthorizationType | string | undefined;
|
|
497
579
|
/**
|
|
498
|
-
* <p>The Identity and Access Management settings.</p>
|
|
580
|
+
* <p>The Identity and Access Management (IAM) settings.</p>
|
|
499
581
|
*/
|
|
500
582
|
awsIamConfig?: AwsIamConfig;
|
|
501
583
|
}
|
|
@@ -505,56 +587,35 @@ export declare namespace AuthorizationConfig {
|
|
|
505
587
|
*/
|
|
506
588
|
const filterSensitiveLog: (obj: AuthorizationConfig) => any;
|
|
507
589
|
}
|
|
508
|
-
/**
|
|
509
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
510
|
-
* missing. Check the field values, and then try again. </p>
|
|
511
|
-
*/
|
|
512
|
-
export interface BadRequestException extends __SmithyException, $MetadataBearer {
|
|
513
|
-
name: "BadRequestException";
|
|
514
|
-
$fault: "client";
|
|
515
|
-
message?: string;
|
|
516
|
-
}
|
|
517
|
-
export declare namespace BadRequestException {
|
|
518
|
-
/**
|
|
519
|
-
* @internal
|
|
520
|
-
*/
|
|
521
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
522
|
-
}
|
|
523
590
|
/**
|
|
524
591
|
* <p>Another modification is in progress at this time and it must complete before you can
|
|
525
|
-
* make your change
|
|
592
|
+
* make your change.</p>
|
|
526
593
|
*/
|
|
527
594
|
export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
|
|
528
595
|
name: "ConcurrentModificationException";
|
|
529
596
|
$fault: "client";
|
|
530
597
|
message?: string;
|
|
531
598
|
}
|
|
532
|
-
export declare namespace ConcurrentModificationException {
|
|
533
|
-
/**
|
|
534
|
-
* @internal
|
|
535
|
-
*/
|
|
536
|
-
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
537
|
-
}
|
|
538
599
|
/**
|
|
539
600
|
* <p>Represents the input of a <code>CreateApiCache</code> operation.</p>
|
|
540
601
|
*/
|
|
541
602
|
export interface CreateApiCacheRequest {
|
|
542
603
|
/**
|
|
543
|
-
* <p>The GraphQL API
|
|
604
|
+
* <p>The GraphQL API ID.</p>
|
|
544
605
|
*/
|
|
545
606
|
apiId: string | undefined;
|
|
546
607
|
/**
|
|
547
608
|
* <p>TTL in seconds for cache entries.</p>
|
|
548
|
-
* <p>Valid values are
|
|
609
|
+
* <p>Valid values are 1–3,600 seconds.</p>
|
|
549
610
|
*/
|
|
550
611
|
ttl: number | undefined;
|
|
551
612
|
/**
|
|
552
|
-
* <p>Transit encryption flag when connecting to cache.
|
|
613
|
+
* <p>Transit encryption flag when connecting to cache. You cannot update this setting after
|
|
553
614
|
* creation.</p>
|
|
554
615
|
*/
|
|
555
616
|
transitEncryptionEnabled?: boolean;
|
|
556
617
|
/**
|
|
557
|
-
* <p>At
|
|
618
|
+
* <p>At-rest encryption flag for cache. You cannot update this setting after creation.</p>
|
|
558
619
|
*/
|
|
559
620
|
atRestEncryptionEnabled?: boolean;
|
|
560
621
|
/**
|
|
@@ -673,48 +734,13 @@ export declare namespace CreateApiCacheResponse {
|
|
|
673
734
|
const filterSensitiveLog: (obj: CreateApiCacheResponse) => any;
|
|
674
735
|
}
|
|
675
736
|
/**
|
|
676
|
-
* <p>
|
|
677
|
-
*/
|
|
678
|
-
export interface InternalFailureException extends __SmithyException, $MetadataBearer {
|
|
679
|
-
name: "InternalFailureException";
|
|
680
|
-
$fault: "server";
|
|
681
|
-
message?: string;
|
|
682
|
-
}
|
|
683
|
-
export declare namespace InternalFailureException {
|
|
684
|
-
/**
|
|
685
|
-
* @internal
|
|
686
|
-
*/
|
|
687
|
-
const filterSensitiveLog: (obj: InternalFailureException) => any;
|
|
688
|
-
}
|
|
689
|
-
/**
|
|
690
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
691
|
-
* again.</p>
|
|
692
|
-
*/
|
|
693
|
-
export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
694
|
-
name: "NotFoundException";
|
|
695
|
-
$fault: "client";
|
|
696
|
-
message?: string;
|
|
697
|
-
}
|
|
698
|
-
export declare namespace NotFoundException {
|
|
699
|
-
/**
|
|
700
|
-
* @internal
|
|
701
|
-
*/
|
|
702
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
703
|
-
}
|
|
704
|
-
/**
|
|
705
|
-
* <p>You are not authorized to perform this operation.</p>
|
|
737
|
+
* <p>You aren't authorized to perform this operation.</p>
|
|
706
738
|
*/
|
|
707
739
|
export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
|
|
708
740
|
name: "UnauthorizedException";
|
|
709
741
|
$fault: "client";
|
|
710
742
|
message?: string;
|
|
711
743
|
}
|
|
712
|
-
export declare namespace UnauthorizedException {
|
|
713
|
-
/**
|
|
714
|
-
* @internal
|
|
715
|
-
*/
|
|
716
|
-
const filterSensitiveLog: (obj: UnauthorizedException) => any;
|
|
717
|
-
}
|
|
718
744
|
export interface CreateApiKeyRequest {
|
|
719
745
|
/**
|
|
720
746
|
* <p>The ID for your GraphQL API.</p>
|
|
@@ -725,9 +751,9 @@ export interface CreateApiKeyRequest {
|
|
|
725
751
|
*/
|
|
726
752
|
description?: string;
|
|
727
753
|
/**
|
|
728
|
-
* <p>
|
|
729
|
-
* seconds since the epoch, rounded down to the nearest hour. The default value
|
|
730
|
-
* parameter is 7 days from creation time. For more information, see .</p>
|
|
754
|
+
* <p>From the creation time, the time after which the API key expires. The date is
|
|
755
|
+
* represented as seconds since the epoch, rounded down to the nearest hour. The default value
|
|
756
|
+
* for this parameter is 7 days from creation time. For more information, see .</p>
|
|
731
757
|
*/
|
|
732
758
|
expires?: number;
|
|
733
759
|
}
|
|
@@ -757,18 +783,12 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
757
783
|
$fault: "client";
|
|
758
784
|
message?: string;
|
|
759
785
|
}
|
|
760
|
-
export declare namespace LimitExceededException {
|
|
761
|
-
/**
|
|
762
|
-
* @internal
|
|
763
|
-
*/
|
|
764
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
765
|
-
}
|
|
766
786
|
/**
|
|
767
787
|
* <p>Describes a Delta Sync configuration.</p>
|
|
768
788
|
*/
|
|
769
789
|
export interface DeltaSyncConfig {
|
|
770
790
|
/**
|
|
771
|
-
* <p>The number of minutes an Item is stored in the
|
|
791
|
+
* <p>The number of minutes that an Item is stored in the data source.</p>
|
|
772
792
|
*/
|
|
773
793
|
baseTableTTL?: number;
|
|
774
794
|
/**
|
|
@@ -776,7 +796,8 @@ export interface DeltaSyncConfig {
|
|
|
776
796
|
*/
|
|
777
797
|
deltaSyncTableName?: string;
|
|
778
798
|
/**
|
|
779
|
-
* <p>The number of minutes a Delta Sync log entry is stored in the Delta Sync
|
|
799
|
+
* <p>The number of minutes that a Delta Sync log entry is stored in the Delta Sync
|
|
800
|
+
* table.</p>
|
|
780
801
|
*/
|
|
781
802
|
deltaSyncTableTTL?: number;
|
|
782
803
|
}
|
|
@@ -803,7 +824,7 @@ export interface DynamodbDataSourceConfig {
|
|
|
803
824
|
*/
|
|
804
825
|
useCallerCredentials?: boolean;
|
|
805
826
|
/**
|
|
806
|
-
* <p>The <code>DeltaSyncConfig</code> for a versioned
|
|
827
|
+
* <p>The <code>DeltaSyncConfig</code> for a versioned data source.</p>
|
|
807
828
|
*/
|
|
808
829
|
deltaSyncConfig?: DeltaSyncConfig;
|
|
809
830
|
/**
|
|
@@ -844,14 +865,14 @@ export declare namespace ElasticsearchDataSourceConfig {
|
|
|
844
865
|
*/
|
|
845
866
|
export interface HttpDataSourceConfig {
|
|
846
867
|
/**
|
|
847
|
-
* <p>The HTTP URL endpoint. You can either
|
|
848
|
-
* combination, and the URL scheme must be HTTP or HTTPS. If
|
|
868
|
+
* <p>The HTTP URL endpoint. You can specify either the domain name or IP, and port
|
|
869
|
+
* combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port,
|
|
849
870
|
* AppSync uses the default port 80 for the HTTP endpoint and port 443 for
|
|
850
871
|
* HTTPS endpoints.</p>
|
|
851
872
|
*/
|
|
852
873
|
endpoint?: string;
|
|
853
874
|
/**
|
|
854
|
-
* <p>The authorization
|
|
875
|
+
* <p>The authorization configuration in case the HTTP endpoint requires authorization.</p>
|
|
855
876
|
*/
|
|
856
877
|
authorizationConfig?: AuthorizationConfig;
|
|
857
878
|
}
|
|
@@ -862,11 +883,11 @@ export declare namespace HttpDataSourceConfig {
|
|
|
862
883
|
const filterSensitiveLog: (obj: HttpDataSourceConfig) => any;
|
|
863
884
|
}
|
|
864
885
|
/**
|
|
865
|
-
* <p>Describes an
|
|
886
|
+
* <p>Describes an Lambda data source configuration.</p>
|
|
866
887
|
*/
|
|
867
888
|
export interface LambdaDataSourceConfig {
|
|
868
889
|
/**
|
|
869
|
-
* <p>The ARN for the Lambda function.</p>
|
|
890
|
+
* <p>The Amazon Resource Name (ARN) for the Lambda function.</p>
|
|
870
891
|
*/
|
|
871
892
|
lambdaFunctionArn: string | undefined;
|
|
872
893
|
}
|
|
@@ -896,15 +917,15 @@ export declare namespace OpenSearchServiceDataSourceConfig {
|
|
|
896
917
|
const filterSensitiveLog: (obj: OpenSearchServiceDataSourceConfig) => any;
|
|
897
918
|
}
|
|
898
919
|
/**
|
|
899
|
-
* <p>The Amazon RDS HTTP endpoint configuration.</p>
|
|
920
|
+
* <p>The Amazon Relational Database Service (Amazon RDS) HTTP endpoint configuration.</p>
|
|
900
921
|
*/
|
|
901
922
|
export interface RdsHttpEndpointConfig {
|
|
902
923
|
/**
|
|
903
|
-
* <p>Amazon Web Services Region for RDS HTTP endpoint.</p>
|
|
924
|
+
* <p>Amazon Web Services Region for Amazon RDS HTTP endpoint.</p>
|
|
904
925
|
*/
|
|
905
926
|
awsRegion?: string;
|
|
906
927
|
/**
|
|
907
|
-
* <p>Amazon RDS cluster ARN.</p>
|
|
928
|
+
* <p>Amazon RDS cluster Amazon Resource Name (ARN).</p>
|
|
908
929
|
*/
|
|
909
930
|
dbClusterIdentifier?: string;
|
|
910
931
|
/**
|
|
@@ -916,7 +937,8 @@ export interface RdsHttpEndpointConfig {
|
|
|
916
937
|
*/
|
|
917
938
|
schema?: string;
|
|
918
939
|
/**
|
|
919
|
-
* <p>Amazon Web Services secret store ARN for database
|
|
940
|
+
* <p>Amazon Web Services secret store Amazon Resource Name (ARN) for database
|
|
941
|
+
* credentials.</p>
|
|
920
942
|
*/
|
|
921
943
|
awsSecretStoreArn?: string;
|
|
922
944
|
}
|
|
@@ -939,7 +961,8 @@ export interface RelationalDatabaseDataSourceConfig {
|
|
|
939
961
|
* <li>
|
|
940
962
|
* <p>
|
|
941
963
|
* <b>RDS_HTTP_ENDPOINT</b>: The relational database
|
|
942
|
-
* source type is an Amazon RDS HTTP
|
|
964
|
+
* source type is an Amazon Relational Database Service (Amazon RDS) HTTP
|
|
965
|
+
* endpoint.</p>
|
|
943
966
|
* </li>
|
|
944
967
|
* </ul>
|
|
945
968
|
*/
|
|
@@ -982,8 +1005,8 @@ export interface CreateDataSourceRequest {
|
|
|
982
1005
|
*/
|
|
983
1006
|
type: DataSourceType | string | undefined;
|
|
984
1007
|
/**
|
|
985
|
-
* <p>The Identity and Access Management service role
|
|
986
|
-
* role when accessing the data source.</p>
|
|
1008
|
+
* <p>The Identity and Access Management (IAM) service role Amazon Resource Name (ARN)
|
|
1009
|
+
* for the data source. The system assumes this role when accessing the data source.</p>
|
|
987
1010
|
*/
|
|
988
1011
|
serviceRoleArn?: string;
|
|
989
1012
|
/**
|
|
@@ -991,7 +1014,7 @@ export interface CreateDataSourceRequest {
|
|
|
991
1014
|
*/
|
|
992
1015
|
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
993
1016
|
/**
|
|
994
|
-
* <p>
|
|
1017
|
+
* <p>Lambda settings.</p>
|
|
995
1018
|
*/
|
|
996
1019
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
997
1020
|
/**
|
|
@@ -1024,7 +1047,7 @@ export declare namespace CreateDataSourceRequest {
|
|
|
1024
1047
|
*/
|
|
1025
1048
|
export interface DataSource {
|
|
1026
1049
|
/**
|
|
1027
|
-
* <p>The data source ARN.</p>
|
|
1050
|
+
* <p>The data source Amazon Resource Name (ARN).</p>
|
|
1028
1051
|
*/
|
|
1029
1052
|
dataSourceArn?: string;
|
|
1030
1053
|
/**
|
|
@@ -1040,12 +1063,11 @@ export interface DataSource {
|
|
|
1040
1063
|
* <ul>
|
|
1041
1064
|
* <li>
|
|
1042
1065
|
* <p>
|
|
1043
|
-
* <b>AWS_LAMBDA</b>: The data source is an
|
|
1066
|
+
* <b>AWS_LAMBDA</b>: The data source is an Lambda function.</p>
|
|
1044
1067
|
* </li>
|
|
1045
1068
|
* <li>
|
|
1046
1069
|
* <p>
|
|
1047
|
-
* <b>AMAZON_DYNAMODB</b>: The data source is an Amazon
|
|
1048
|
-
* DynamoDB table.</p>
|
|
1070
|
+
* <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.</p>
|
|
1049
1071
|
* </li>
|
|
1050
1072
|
* <li>
|
|
1051
1073
|
* <p>
|
|
@@ -1059,10 +1081,10 @@ export interface DataSource {
|
|
|
1059
1081
|
* </li>
|
|
1060
1082
|
* <li>
|
|
1061
1083
|
* <p>
|
|
1062
|
-
* <b>NONE</b>: There is no data source.
|
|
1063
|
-
*
|
|
1064
|
-
*
|
|
1065
|
-
*
|
|
1084
|
+
* <b>NONE</b>: There is no data source. Use this type
|
|
1085
|
+
* when you want to invoke a GraphQL operation without connecting to a data source, such
|
|
1086
|
+
* as when you're performing data transformation with resolvers or invoking a
|
|
1087
|
+
* subscription from a mutation.</p>
|
|
1066
1088
|
* </li>
|
|
1067
1089
|
* <li>
|
|
1068
1090
|
* <p>
|
|
@@ -1078,16 +1100,16 @@ export interface DataSource {
|
|
|
1078
1100
|
*/
|
|
1079
1101
|
type?: DataSourceType | string;
|
|
1080
1102
|
/**
|
|
1081
|
-
* <p>The Identity and Access Management service role
|
|
1082
|
-
* role when accessing the data source.</p>
|
|
1103
|
+
* <p>The Identity and Access Management (IAM) service role Amazon Resource Name (ARN)
|
|
1104
|
+
* for the data source. The system assumes this role when accessing the data source.</p>
|
|
1083
1105
|
*/
|
|
1084
1106
|
serviceRoleArn?: string;
|
|
1085
1107
|
/**
|
|
1086
|
-
* <p>
|
|
1108
|
+
* <p>DynamoDB settings.</p>
|
|
1087
1109
|
*/
|
|
1088
1110
|
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
1089
1111
|
/**
|
|
1090
|
-
* <p>
|
|
1112
|
+
* <p>Lambda settings.</p>
|
|
1091
1113
|
*/
|
|
1092
1114
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
1093
1115
|
/**
|
|
@@ -1125,6 +1147,73 @@ export declare namespace CreateDataSourceResponse {
|
|
|
1125
1147
|
*/
|
|
1126
1148
|
const filterSensitiveLog: (obj: CreateDataSourceResponse) => any;
|
|
1127
1149
|
}
|
|
1150
|
+
export interface CreateDomainNameRequest {
|
|
1151
|
+
/**
|
|
1152
|
+
* <p>The domain name.</p>
|
|
1153
|
+
*/
|
|
1154
|
+
domainName: string | undefined;
|
|
1155
|
+
/**
|
|
1156
|
+
* <p>The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager
|
|
1157
|
+
* (ACM) certificate or an Identity and Access Management (IAM)
|
|
1158
|
+
* server certificate.</p>
|
|
1159
|
+
*/
|
|
1160
|
+
certificateArn: string | undefined;
|
|
1161
|
+
/**
|
|
1162
|
+
* <p>A description of the <code>DomainName</code>.</p>
|
|
1163
|
+
*/
|
|
1164
|
+
description?: string;
|
|
1165
|
+
}
|
|
1166
|
+
export declare namespace CreateDomainNameRequest {
|
|
1167
|
+
/**
|
|
1168
|
+
* @internal
|
|
1169
|
+
*/
|
|
1170
|
+
const filterSensitiveLog: (obj: CreateDomainNameRequest) => any;
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* <p>Describes a configuration for a custom domain.</p>
|
|
1174
|
+
*/
|
|
1175
|
+
export interface DomainNameConfig {
|
|
1176
|
+
/**
|
|
1177
|
+
* <p>The domain name.</p>
|
|
1178
|
+
*/
|
|
1179
|
+
domainName?: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* <p>A description of the <code>DomainName</code> configuration.</p>
|
|
1182
|
+
*/
|
|
1183
|
+
description?: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* <p>The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager
|
|
1186
|
+
* (ACM) certificate or an Identity and Access Management (IAM)
|
|
1187
|
+
* server certificate.</p>
|
|
1188
|
+
*/
|
|
1189
|
+
certificateArn?: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* <p>The domain name that AppSync provides.</p>
|
|
1192
|
+
*/
|
|
1193
|
+
appsyncDomainName?: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* <p>The ID of your Amazon Route 53 hosted zone.</p>
|
|
1196
|
+
*/
|
|
1197
|
+
hostedZoneId?: string;
|
|
1198
|
+
}
|
|
1199
|
+
export declare namespace DomainNameConfig {
|
|
1200
|
+
/**
|
|
1201
|
+
* @internal
|
|
1202
|
+
*/
|
|
1203
|
+
const filterSensitiveLog: (obj: DomainNameConfig) => any;
|
|
1204
|
+
}
|
|
1205
|
+
export interface CreateDomainNameResponse {
|
|
1206
|
+
/**
|
|
1207
|
+
* <p>The configuration for the <code>DomainName</code>.</p>
|
|
1208
|
+
*/
|
|
1209
|
+
domainNameConfig?: DomainNameConfig;
|
|
1210
|
+
}
|
|
1211
|
+
export declare namespace CreateDomainNameResponse {
|
|
1212
|
+
/**
|
|
1213
|
+
* @internal
|
|
1214
|
+
*/
|
|
1215
|
+
const filterSensitiveLog: (obj: CreateDomainNameResponse) => any;
|
|
1216
|
+
}
|
|
1128
1217
|
export declare enum ConflictDetectionType {
|
|
1129
1218
|
NONE = "NONE",
|
|
1130
1219
|
VERSION = "VERSION"
|
|
@@ -1136,12 +1225,13 @@ export declare enum ConflictHandlerType {
|
|
|
1136
1225
|
OPTIMISTIC_CONCURRENCY = "OPTIMISTIC_CONCURRENCY"
|
|
1137
1226
|
}
|
|
1138
1227
|
/**
|
|
1139
|
-
* <p>The <code>LambdaConflictHandlerConfig</code> object when configuring LAMBDA
|
|
1140
|
-
* Conflict Handler.</p>
|
|
1228
|
+
* <p>The <code>LambdaConflictHandlerConfig</code> object when configuring <code>LAMBDA</code>
|
|
1229
|
+
* as the Conflict Handler.</p>
|
|
1141
1230
|
*/
|
|
1142
1231
|
export interface LambdaConflictHandlerConfig {
|
|
1143
1232
|
/**
|
|
1144
|
-
* <p>The
|
|
1233
|
+
* <p>The Amazon Resource Name (ARN) for the Lambda function to use as the
|
|
1234
|
+
* Conflict Handler.</p>
|
|
1145
1235
|
*/
|
|
1146
1236
|
lambdaConflictHandlerArn?: string;
|
|
1147
1237
|
}
|
|
@@ -1153,8 +1243,8 @@ export declare namespace LambdaConflictHandlerConfig {
|
|
|
1153
1243
|
}
|
|
1154
1244
|
/**
|
|
1155
1245
|
* <p>Describes a Sync configuration for a resolver.</p>
|
|
1156
|
-
* <p>
|
|
1157
|
-
*
|
|
1246
|
+
* <p>Specifies which Conflict Detection strategy and Resolution strategy to use when the
|
|
1247
|
+
* resolver is invoked.</p>
|
|
1158
1248
|
*/
|
|
1159
1249
|
export interface SyncConfig {
|
|
1160
1250
|
/**
|
|
@@ -1163,7 +1253,7 @@ export interface SyncConfig {
|
|
|
1163
1253
|
* <li>
|
|
1164
1254
|
* <p>
|
|
1165
1255
|
* <b>OPTIMISTIC_CONCURRENCY</b>: Resolve conflicts by
|
|
1166
|
-
* rejecting mutations when versions
|
|
1256
|
+
* rejecting mutations when versions don't match the latest version at the
|
|
1167
1257
|
* server.</p>
|
|
1168
1258
|
* </li>
|
|
1169
1259
|
* <li>
|
|
@@ -1173,8 +1263,8 @@ export interface SyncConfig {
|
|
|
1173
1263
|
* </li>
|
|
1174
1264
|
* <li>
|
|
1175
1265
|
* <p>
|
|
1176
|
-
* <b>LAMBDA</b>: Resolve conflicts with
|
|
1177
|
-
*
|
|
1266
|
+
* <b>LAMBDA</b>: Resolve conflicts with an Lambda function supplied in the
|
|
1267
|
+
* <code>LambdaConflictHandlerConfig</code>.</p>
|
|
1178
1268
|
* </li>
|
|
1179
1269
|
* </ul>
|
|
1180
1270
|
*/
|
|
@@ -1189,15 +1279,15 @@ export interface SyncConfig {
|
|
|
1189
1279
|
* </li>
|
|
1190
1280
|
* <li>
|
|
1191
1281
|
* <p>
|
|
1192
|
-
* <b>NONE</b>: Do not detect conflicts when
|
|
1282
|
+
* <b>NONE</b>: Do not detect conflicts when invoking
|
|
1193
1283
|
* this resolver.</p>
|
|
1194
1284
|
* </li>
|
|
1195
1285
|
* </ul>
|
|
1196
1286
|
*/
|
|
1197
1287
|
conflictDetection?: ConflictDetectionType | string;
|
|
1198
1288
|
/**
|
|
1199
|
-
* <p>The <code>LambdaConflictHandlerConfig</code> when configuring LAMBDA as the
|
|
1200
|
-
* Handler.</p>
|
|
1289
|
+
* <p>The <code>LambdaConflictHandlerConfig</code> when configuring <code>LAMBDA</code> as the
|
|
1290
|
+
* Conflict Handler.</p>
|
|
1201
1291
|
*/
|
|
1202
1292
|
lambdaConflictHandlerConfig?: LambdaConflictHandlerConfig;
|
|
1203
1293
|
}
|
|
@@ -1231,20 +1321,24 @@ export interface CreateFunctionRequest {
|
|
|
1231
1321
|
*/
|
|
1232
1322
|
requestMappingTemplate?: string;
|
|
1233
1323
|
/**
|
|
1234
|
-
* <p>The <code>Function</code> response mapping template
|
|
1324
|
+
* <p>The <code>Function</code> response mapping template.</p>
|
|
1235
1325
|
*/
|
|
1236
1326
|
responseMappingTemplate?: string;
|
|
1237
1327
|
/**
|
|
1238
|
-
* <p>The <code>version</code> of the request mapping template. Currently the supported value
|
|
1239
|
-
* is 2018-05-29
|
|
1328
|
+
* <p>The <code>version</code> of the request mapping template. Currently, the supported value
|
|
1329
|
+
* is 2018-05-29.</p>
|
|
1240
1330
|
*/
|
|
1241
1331
|
functionVersion: string | undefined;
|
|
1242
1332
|
/**
|
|
1243
1333
|
* <p>Describes a Sync configuration for a resolver.</p>
|
|
1244
|
-
* <p>
|
|
1245
|
-
*
|
|
1334
|
+
* <p>Specifies which Conflict Detection strategy and Resolution strategy to use when the
|
|
1335
|
+
* resolver is invoked.</p>
|
|
1246
1336
|
*/
|
|
1247
1337
|
syncConfig?: SyncConfig;
|
|
1338
|
+
/**
|
|
1339
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
1340
|
+
*/
|
|
1341
|
+
maxBatchSize?: number;
|
|
1248
1342
|
}
|
|
1249
1343
|
export declare namespace CreateFunctionRequest {
|
|
1250
1344
|
/**
|
|
@@ -1253,7 +1347,7 @@ export declare namespace CreateFunctionRequest {
|
|
|
1253
1347
|
const filterSensitiveLog: (obj: CreateFunctionRequest) => any;
|
|
1254
1348
|
}
|
|
1255
1349
|
/**
|
|
1256
|
-
* <p>A function is a reusable entity.
|
|
1350
|
+
* <p>A function is a reusable entity. You can use multiple functions to compose the resolver
|
|
1257
1351
|
* logic.</p>
|
|
1258
1352
|
*/
|
|
1259
1353
|
export interface FunctionConfiguration {
|
|
@@ -1262,7 +1356,7 @@ export interface FunctionConfiguration {
|
|
|
1262
1356
|
*/
|
|
1263
1357
|
functionId?: string;
|
|
1264
1358
|
/**
|
|
1265
|
-
* <p>The ARN of the <code>Function</code> object.</p>
|
|
1359
|
+
* <p>The Amazon Resource Name (ARN) of the <code>Function</code> object.</p>
|
|
1266
1360
|
*/
|
|
1267
1361
|
functionArn?: string;
|
|
1268
1362
|
/**
|
|
@@ -1287,16 +1381,20 @@ export interface FunctionConfiguration {
|
|
|
1287
1381
|
*/
|
|
1288
1382
|
responseMappingTemplate?: string;
|
|
1289
1383
|
/**
|
|
1290
|
-
* <p>The version of the request mapping template. Currently only the 2018-05-29 version of
|
|
1384
|
+
* <p>The version of the request mapping template. Currently, only the 2018-05-29 version of
|
|
1291
1385
|
* the template is supported.</p>
|
|
1292
1386
|
*/
|
|
1293
1387
|
functionVersion?: string;
|
|
1294
1388
|
/**
|
|
1295
1389
|
* <p>Describes a Sync configuration for a resolver.</p>
|
|
1296
|
-
* <p>
|
|
1297
|
-
*
|
|
1390
|
+
* <p>Specifies which Conflict Detection strategy and Resolution strategy to use when the
|
|
1391
|
+
* resolver is invoked.</p>
|
|
1298
1392
|
*/
|
|
1299
1393
|
syncConfig?: SyncConfig;
|
|
1394
|
+
/**
|
|
1395
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
1396
|
+
*/
|
|
1397
|
+
maxBatchSize?: number;
|
|
1300
1398
|
}
|
|
1301
1399
|
export declare namespace FunctionConfiguration {
|
|
1302
1400
|
/**
|
|
@@ -1322,11 +1420,11 @@ export declare enum FieldLogLevel {
|
|
|
1322
1420
|
NONE = "NONE"
|
|
1323
1421
|
}
|
|
1324
1422
|
/**
|
|
1325
|
-
* <p>The CloudWatch Logs configuration.</p>
|
|
1423
|
+
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|
1326
1424
|
*/
|
|
1327
1425
|
export interface LogConfig {
|
|
1328
1426
|
/**
|
|
1329
|
-
* <p>The field logging level. Values can be NONE, ERROR, or ALL
|
|
1427
|
+
* <p>The field logging level. Values can be NONE, ERROR, or ALL.</p>
|
|
1330
1428
|
* <ul>
|
|
1331
1429
|
* <li>
|
|
1332
1430
|
* <p>
|
|
@@ -1368,8 +1466,8 @@ export interface LogConfig {
|
|
|
1368
1466
|
*/
|
|
1369
1467
|
fieldLogLevel: FieldLogLevel | string | undefined;
|
|
1370
1468
|
/**
|
|
1371
|
-
* <p>The service role that AppSync
|
|
1372
|
-
*
|
|
1469
|
+
* <p>The service role that AppSync assumes to publish to CloudWatch
|
|
1470
|
+
* logs in your account.</p>
|
|
1373
1471
|
*/
|
|
1374
1472
|
cloudWatchLogsRoleArn: string | undefined;
|
|
1375
1473
|
/**
|
|
@@ -1401,8 +1499,7 @@ export interface UserPoolConfig {
|
|
|
1401
1499
|
*/
|
|
1402
1500
|
awsRegion: string | undefined;
|
|
1403
1501
|
/**
|
|
1404
|
-
* <p>The action that you want your GraphQL API to take when a request that uses Amazon
|
|
1405
|
-
* Cognito user pool authentication doesn't match the Amazon Cognito user pool
|
|
1502
|
+
* <p>The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool
|
|
1406
1503
|
* configuration.</p>
|
|
1407
1504
|
*/
|
|
1408
1505
|
defaultAction: DefaultAction | string | undefined;
|
|
@@ -1428,8 +1525,8 @@ export interface CreateGraphqlApiRequest {
|
|
|
1428
1525
|
*/
|
|
1429
1526
|
logConfig?: LogConfig;
|
|
1430
1527
|
/**
|
|
1431
|
-
* <p>The authentication type: API key, Identity and Access Management
|
|
1432
|
-
*
|
|
1528
|
+
* <p>The authentication type: API key, Identity and Access Management (IAM), OpenID
|
|
1529
|
+
* Connect (OIDC), Amazon Cognito user pools, or Lambda.</p>
|
|
1433
1530
|
*/
|
|
1434
1531
|
authenticationType: AuthenticationType | string | undefined;
|
|
1435
1532
|
/**
|
|
@@ -1437,7 +1534,7 @@ export interface CreateGraphqlApiRequest {
|
|
|
1437
1534
|
*/
|
|
1438
1535
|
userPoolConfig?: UserPoolConfig;
|
|
1439
1536
|
/**
|
|
1440
|
-
* <p>The
|
|
1537
|
+
* <p>The OIDC configuration.</p>
|
|
1441
1538
|
*/
|
|
1442
1539
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
1443
1540
|
/**
|
|
@@ -1452,12 +1549,12 @@ export interface CreateGraphqlApiRequest {
|
|
|
1452
1549
|
*/
|
|
1453
1550
|
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
1454
1551
|
/**
|
|
1455
|
-
* <p>A flag indicating whether to
|
|
1456
|
-
*
|
|
1552
|
+
* <p>A flag indicating whether to use X-Ray tracing for the
|
|
1553
|
+
* <code>GraphqlApi</code>.</p>
|
|
1457
1554
|
*/
|
|
1458
1555
|
xrayEnabled?: boolean;
|
|
1459
1556
|
/**
|
|
1460
|
-
* <p>Configuration for
|
|
1557
|
+
* <p>Configuration for Lambda function authorization.</p>
|
|
1461
1558
|
*/
|
|
1462
1559
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1463
1560
|
}
|
|
@@ -1496,7 +1593,7 @@ export interface GraphqlApi {
|
|
|
1496
1593
|
*/
|
|
1497
1594
|
openIDConnectConfig?: OpenIDConnectConfig;
|
|
1498
1595
|
/**
|
|
1499
|
-
* <p>The ARN.</p>
|
|
1596
|
+
* <p>The Amazon Resource Name (ARN).</p>
|
|
1500
1597
|
*/
|
|
1501
1598
|
arn?: string;
|
|
1502
1599
|
/**
|
|
@@ -1517,17 +1614,17 @@ export interface GraphqlApi {
|
|
|
1517
1614
|
*/
|
|
1518
1615
|
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
1519
1616
|
/**
|
|
1520
|
-
* <p>A flag
|
|
1521
|
-
*
|
|
1617
|
+
* <p>A flag indicating whether to use X-Ray tracing for this
|
|
1618
|
+
* <code>GraphqlApi</code>.</p>
|
|
1522
1619
|
*/
|
|
1523
1620
|
xrayEnabled?: boolean;
|
|
1524
1621
|
/**
|
|
1525
|
-
* <p>The ARN of the WAF ACL associated with this
|
|
1526
|
-
*
|
|
1622
|
+
* <p>The ARN of the WAF access control list (ACL) associated with this
|
|
1623
|
+
* <code>GraphqlApi</code>, if one exists.</p>
|
|
1527
1624
|
*/
|
|
1528
1625
|
wafWebAclArn?: string;
|
|
1529
1626
|
/**
|
|
1530
|
-
* <p>Configuration for
|
|
1627
|
+
* <p>Configuration for Lambda function authorization.</p>
|
|
1531
1628
|
*/
|
|
1532
1629
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1533
1630
|
}
|
|
@@ -1550,16 +1647,16 @@ export declare namespace CreateGraphqlApiResponse {
|
|
|
1550
1647
|
const filterSensitiveLog: (obj: CreateGraphqlApiResponse) => any;
|
|
1551
1648
|
}
|
|
1552
1649
|
/**
|
|
1553
|
-
* <p>The caching configuration for a resolver that has caching
|
|
1650
|
+
* <p>The caching configuration for a resolver that has caching activated.</p>
|
|
1554
1651
|
*/
|
|
1555
1652
|
export interface CachingConfig {
|
|
1556
1653
|
/**
|
|
1557
|
-
* <p>The TTL in seconds for a resolver that has caching
|
|
1558
|
-
* <p>Valid values are
|
|
1654
|
+
* <p>The TTL in seconds for a resolver that has caching activated.</p>
|
|
1655
|
+
* <p>Valid values are 1–3,600 seconds.</p>
|
|
1559
1656
|
*/
|
|
1560
1657
|
ttl?: number;
|
|
1561
1658
|
/**
|
|
1562
|
-
* <p>The caching keys for a resolver that has caching
|
|
1659
|
+
* <p>The caching keys for a resolver that has caching activated.</p>
|
|
1563
1660
|
* <p>Valid values are entries from the <code>$context.arguments</code>,
|
|
1564
1661
|
* <code>$context.source</code>, and <code>$context.identity</code> maps.</p>
|
|
1565
1662
|
*/
|
|
@@ -1608,16 +1705,17 @@ export interface CreateResolverRequest {
|
|
|
1608
1705
|
*/
|
|
1609
1706
|
dataSourceName?: string;
|
|
1610
1707
|
/**
|
|
1611
|
-
* <p>The mapping template to
|
|
1708
|
+
* <p>The mapping template to use for requests.</p>
|
|
1612
1709
|
* <p>A resolver uses a request mapping template to convert a GraphQL expression into a format
|
|
1613
1710
|
* that a data source can understand. Mapping templates are written in Apache Velocity
|
|
1614
1711
|
* Template Language (VTL).</p>
|
|
1615
|
-
* <p>VTL request mapping templates are optional when using
|
|
1616
|
-
* other data sources, VTL request and response mapping templates are
|
|
1712
|
+
* <p>VTL request mapping templates are optional when using an Lambda data
|
|
1713
|
+
* source. For all other data sources, VTL request and response mapping templates are
|
|
1714
|
+
* required.</p>
|
|
1617
1715
|
*/
|
|
1618
1716
|
requestMappingTemplate?: string;
|
|
1619
1717
|
/**
|
|
1620
|
-
* <p>The mapping template to
|
|
1718
|
+
* <p>The mapping template to use for responses from the data source.</p>
|
|
1621
1719
|
*/
|
|
1622
1720
|
responseMappingTemplate?: string;
|
|
1623
1721
|
/**
|
|
@@ -1626,15 +1724,15 @@ export interface CreateResolverRequest {
|
|
|
1626
1724
|
* <li>
|
|
1627
1725
|
* <p>
|
|
1628
1726
|
* <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
|
|
1629
|
-
* the default resolver type.
|
|
1630
|
-
*
|
|
1727
|
+
* the default resolver type. You can use a UNIT resolver to run a GraphQL query against
|
|
1728
|
+
* a single data source.</p>
|
|
1631
1729
|
* </li>
|
|
1632
1730
|
* <li>
|
|
1633
1731
|
* <p>
|
|
1634
|
-
* <b>PIPELINE</b>: A PIPELINE resolver type.
|
|
1635
|
-
*
|
|
1636
|
-
* You can use a pipeline resolver to
|
|
1637
|
-
* sources.</p>
|
|
1732
|
+
* <b>PIPELINE</b>: A PIPELINE resolver type. You can
|
|
1733
|
+
* use a PIPELINE resolver to invoke a series of <code>Function</code> objects in a
|
|
1734
|
+
* serial manner. You can use a pipeline resolver to run a GraphQL query against
|
|
1735
|
+
* multiple data sources.</p>
|
|
1638
1736
|
* </li>
|
|
1639
1737
|
* </ul>
|
|
1640
1738
|
*/
|
|
@@ -1644,13 +1742,17 @@ export interface CreateResolverRequest {
|
|
|
1644
1742
|
*/
|
|
1645
1743
|
pipelineConfig?: PipelineConfig;
|
|
1646
1744
|
/**
|
|
1647
|
-
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned
|
|
1745
|
+
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned data source.</p>
|
|
1648
1746
|
*/
|
|
1649
1747
|
syncConfig?: SyncConfig;
|
|
1650
1748
|
/**
|
|
1651
1749
|
* <p>The caching configuration for the resolver.</p>
|
|
1652
1750
|
*/
|
|
1653
1751
|
cachingConfig?: CachingConfig;
|
|
1752
|
+
/**
|
|
1753
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
1754
|
+
*/
|
|
1755
|
+
maxBatchSize?: number;
|
|
1654
1756
|
}
|
|
1655
1757
|
export declare namespace CreateResolverRequest {
|
|
1656
1758
|
/**
|
|
@@ -1675,7 +1777,7 @@ export interface Resolver {
|
|
|
1675
1777
|
*/
|
|
1676
1778
|
dataSourceName?: string;
|
|
1677
1779
|
/**
|
|
1678
|
-
* <p>The resolver ARN.</p>
|
|
1780
|
+
* <p>The resolver Amazon Resource Name (ARN).</p>
|
|
1679
1781
|
*/
|
|
1680
1782
|
resolverArn?: string;
|
|
1681
1783
|
/**
|
|
@@ -1692,15 +1794,15 @@ export interface Resolver {
|
|
|
1692
1794
|
* <li>
|
|
1693
1795
|
* <p>
|
|
1694
1796
|
* <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
|
|
1695
|
-
* the default resolver type.
|
|
1696
|
-
*
|
|
1797
|
+
* the default resolver type. You can use a UNIT resolver to run a GraphQL query against
|
|
1798
|
+
* a single data source.</p>
|
|
1697
1799
|
* </li>
|
|
1698
1800
|
* <li>
|
|
1699
1801
|
* <p>
|
|
1700
|
-
* <b>PIPELINE</b>: A PIPELINE resolver type.
|
|
1701
|
-
*
|
|
1702
|
-
* You can use a pipeline resolver to
|
|
1703
|
-
* sources.</p>
|
|
1802
|
+
* <b>PIPELINE</b>: A PIPELINE resolver type. You can
|
|
1803
|
+
* use a PIPELINE resolver to invoke a series of <code>Function</code> objects in a
|
|
1804
|
+
* serial manner. You can use a pipeline resolver to run a GraphQL query against
|
|
1805
|
+
* multiple data sources.</p>
|
|
1704
1806
|
* </li>
|
|
1705
1807
|
* </ul>
|
|
1706
1808
|
*/
|
|
@@ -1710,13 +1812,17 @@ export interface Resolver {
|
|
|
1710
1812
|
*/
|
|
1711
1813
|
pipelineConfig?: PipelineConfig;
|
|
1712
1814
|
/**
|
|
1713
|
-
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned
|
|
1815
|
+
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned data source.</p>
|
|
1714
1816
|
*/
|
|
1715
1817
|
syncConfig?: SyncConfig;
|
|
1716
1818
|
/**
|
|
1717
1819
|
* <p>The caching configuration for the resolver.</p>
|
|
1718
1820
|
*/
|
|
1719
1821
|
cachingConfig?: CachingConfig;
|
|
1822
|
+
/**
|
|
1823
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
1824
|
+
*/
|
|
1825
|
+
maxBatchSize?: number;
|
|
1720
1826
|
}
|
|
1721
1827
|
export declare namespace Resolver {
|
|
1722
1828
|
/**
|
|
@@ -1775,7 +1881,7 @@ export interface Type {
|
|
|
1775
1881
|
*/
|
|
1776
1882
|
description?: string;
|
|
1777
1883
|
/**
|
|
1778
|
-
* <p>The type ARN.</p>
|
|
1884
|
+
* <p>The type Amazon Resource Name (ARN).</p>
|
|
1779
1885
|
*/
|
|
1780
1886
|
arn?: string;
|
|
1781
1887
|
/**
|
|
@@ -1879,6 +1985,26 @@ export declare namespace DeleteDataSourceResponse {
|
|
|
1879
1985
|
*/
|
|
1880
1986
|
const filterSensitiveLog: (obj: DeleteDataSourceResponse) => any;
|
|
1881
1987
|
}
|
|
1988
|
+
export interface DeleteDomainNameRequest {
|
|
1989
|
+
/**
|
|
1990
|
+
* <p>The domain name.</p>
|
|
1991
|
+
*/
|
|
1992
|
+
domainName: string | undefined;
|
|
1993
|
+
}
|
|
1994
|
+
export declare namespace DeleteDomainNameRequest {
|
|
1995
|
+
/**
|
|
1996
|
+
* @internal
|
|
1997
|
+
*/
|
|
1998
|
+
const filterSensitiveLog: (obj: DeleteDomainNameRequest) => any;
|
|
1999
|
+
}
|
|
2000
|
+
export interface DeleteDomainNameResponse {
|
|
2001
|
+
}
|
|
2002
|
+
export declare namespace DeleteDomainNameResponse {
|
|
2003
|
+
/**
|
|
2004
|
+
* @internal
|
|
2005
|
+
*/
|
|
2006
|
+
const filterSensitiveLog: (obj: DeleteDomainNameResponse) => any;
|
|
2007
|
+
}
|
|
1882
2008
|
export interface DeleteFunctionRequest {
|
|
1883
2009
|
/**
|
|
1884
2010
|
* <p>The GraphQL API ID.</p>
|
|
@@ -1975,6 +2101,26 @@ export declare namespace DeleteTypeResponse {
|
|
|
1975
2101
|
*/
|
|
1976
2102
|
const filterSensitiveLog: (obj: DeleteTypeResponse) => any;
|
|
1977
2103
|
}
|
|
2104
|
+
export interface DisassociateApiRequest {
|
|
2105
|
+
/**
|
|
2106
|
+
* <p>The domain name.</p>
|
|
2107
|
+
*/
|
|
2108
|
+
domainName: string | undefined;
|
|
2109
|
+
}
|
|
2110
|
+
export declare namespace DisassociateApiRequest {
|
|
2111
|
+
/**
|
|
2112
|
+
* @internal
|
|
2113
|
+
*/
|
|
2114
|
+
const filterSensitiveLog: (obj: DisassociateApiRequest) => any;
|
|
2115
|
+
}
|
|
2116
|
+
export interface DisassociateApiResponse {
|
|
2117
|
+
}
|
|
2118
|
+
export declare namespace DisassociateApiResponse {
|
|
2119
|
+
/**
|
|
2120
|
+
* @internal
|
|
2121
|
+
*/
|
|
2122
|
+
const filterSensitiveLog: (obj: DisassociateApiResponse) => any;
|
|
2123
|
+
}
|
|
1978
2124
|
/**
|
|
1979
2125
|
* <p>Represents the input of a <code>FlushApiCache</code> operation.</p>
|
|
1980
2126
|
*/
|
|
@@ -2001,6 +2147,30 @@ export declare namespace FlushApiCacheResponse {
|
|
|
2001
2147
|
*/
|
|
2002
2148
|
const filterSensitiveLog: (obj: FlushApiCacheResponse) => any;
|
|
2003
2149
|
}
|
|
2150
|
+
export interface GetApiAssociationRequest {
|
|
2151
|
+
/**
|
|
2152
|
+
* <p>The domain name.</p>
|
|
2153
|
+
*/
|
|
2154
|
+
domainName: string | undefined;
|
|
2155
|
+
}
|
|
2156
|
+
export declare namespace GetApiAssociationRequest {
|
|
2157
|
+
/**
|
|
2158
|
+
* @internal
|
|
2159
|
+
*/
|
|
2160
|
+
const filterSensitiveLog: (obj: GetApiAssociationRequest) => any;
|
|
2161
|
+
}
|
|
2162
|
+
export interface GetApiAssociationResponse {
|
|
2163
|
+
/**
|
|
2164
|
+
* <p>The <code>ApiAssociation</code> object.</p>
|
|
2165
|
+
*/
|
|
2166
|
+
apiAssociation?: ApiAssociation;
|
|
2167
|
+
}
|
|
2168
|
+
export declare namespace GetApiAssociationResponse {
|
|
2169
|
+
/**
|
|
2170
|
+
* @internal
|
|
2171
|
+
*/
|
|
2172
|
+
const filterSensitiveLog: (obj: GetApiAssociationResponse) => any;
|
|
2173
|
+
}
|
|
2004
2174
|
/**
|
|
2005
2175
|
* <p>Represents the input of a <code>GetApiCache</code> operation.</p>
|
|
2006
2176
|
*/
|
|
@@ -2059,6 +2229,30 @@ export declare namespace GetDataSourceResponse {
|
|
|
2059
2229
|
*/
|
|
2060
2230
|
const filterSensitiveLog: (obj: GetDataSourceResponse) => any;
|
|
2061
2231
|
}
|
|
2232
|
+
export interface GetDomainNameRequest {
|
|
2233
|
+
/**
|
|
2234
|
+
* <p>The domain name.</p>
|
|
2235
|
+
*/
|
|
2236
|
+
domainName: string | undefined;
|
|
2237
|
+
}
|
|
2238
|
+
export declare namespace GetDomainNameRequest {
|
|
2239
|
+
/**
|
|
2240
|
+
* @internal
|
|
2241
|
+
*/
|
|
2242
|
+
const filterSensitiveLog: (obj: GetDomainNameRequest) => any;
|
|
2243
|
+
}
|
|
2244
|
+
export interface GetDomainNameResponse {
|
|
2245
|
+
/**
|
|
2246
|
+
* <p>The configuration for the <code>DomainName</code>.</p>
|
|
2247
|
+
*/
|
|
2248
|
+
domainNameConfig?: DomainNameConfig;
|
|
2249
|
+
}
|
|
2250
|
+
export declare namespace GetDomainNameResponse {
|
|
2251
|
+
/**
|
|
2252
|
+
* @internal
|
|
2253
|
+
*/
|
|
2254
|
+
const filterSensitiveLog: (obj: GetDomainNameResponse) => any;
|
|
2255
|
+
}
|
|
2062
2256
|
export interface GetFunctionRequest {
|
|
2063
2257
|
/**
|
|
2064
2258
|
* <p>The GraphQL API ID.</p>
|
|
@@ -2157,12 +2351,6 @@ export interface GraphQLSchemaException extends __SmithyException, $MetadataBear
|
|
|
2157
2351
|
$fault: "client";
|
|
2158
2352
|
message?: string;
|
|
2159
2353
|
}
|
|
2160
|
-
export declare namespace GraphQLSchemaException {
|
|
2161
|
-
/**
|
|
2162
|
-
* @internal
|
|
2163
|
-
*/
|
|
2164
|
-
const filterSensitiveLog: (obj: GraphQLSchemaException) => any;
|
|
2165
|
-
}
|
|
2166
2354
|
export interface GetResolverRequest {
|
|
2167
2355
|
/**
|
|
2168
2356
|
* <p>The API ID.</p>
|
|
@@ -2270,12 +2458,12 @@ export interface ListApiKeysRequest {
|
|
|
2270
2458
|
*/
|
|
2271
2459
|
apiId: string | undefined;
|
|
2272
2460
|
/**
|
|
2273
|
-
* <p>An identifier that was returned from the previous call to this operation, which can
|
|
2274
|
-
*
|
|
2461
|
+
* <p>An identifier that was returned from the previous call to this operation, which you can
|
|
2462
|
+
* use to return the next set of items in the list.</p>
|
|
2275
2463
|
*/
|
|
2276
2464
|
nextToken?: string;
|
|
2277
2465
|
/**
|
|
2278
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2466
|
+
* <p>The maximum number of results that you want the request to return.</p>
|
|
2279
2467
|
*/
|
|
2280
2468
|
maxResults?: number;
|
|
2281
2469
|
}
|
|
@@ -2291,8 +2479,8 @@ export interface ListApiKeysResponse {
|
|
|
2291
2479
|
*/
|
|
2292
2480
|
apiKeys?: ApiKey[];
|
|
2293
2481
|
/**
|
|
2294
|
-
* <p>An identifier to
|
|
2295
|
-
*
|
|
2482
|
+
* <p>An identifier to pass in the next request to this operation to return the next set of
|
|
2483
|
+
* items in the list.</p>
|
|
2296
2484
|
*/
|
|
2297
2485
|
nextToken?: string;
|
|
2298
2486
|
}
|
|
@@ -2308,12 +2496,12 @@ export interface ListDataSourcesRequest {
|
|
|
2308
2496
|
*/
|
|
2309
2497
|
apiId: string | undefined;
|
|
2310
2498
|
/**
|
|
2311
|
-
* <p>An identifier that was returned from the previous call to this operation, which can
|
|
2312
|
-
*
|
|
2499
|
+
* <p>An identifier that was returned from the previous call to this operation, which you can
|
|
2500
|
+
* use to return the next set of items in the list.</p>
|
|
2313
2501
|
*/
|
|
2314
2502
|
nextToken?: string;
|
|
2315
2503
|
/**
|
|
2316
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2504
|
+
* <p>The maximum number of results that you want the request to return.</p>
|
|
2317
2505
|
*/
|
|
2318
2506
|
maxResults?: number;
|
|
2319
2507
|
}
|
|
@@ -2329,8 +2517,8 @@ export interface ListDataSourcesResponse {
|
|
|
2329
2517
|
*/
|
|
2330
2518
|
dataSources?: DataSource[];
|
|
2331
2519
|
/**
|
|
2332
|
-
* <p>An identifier to
|
|
2333
|
-
*
|
|
2520
|
+
* <p>An identifier to pass in the next request to this operation to return the next set of
|
|
2521
|
+
* items in the list.</p>
|
|
2334
2522
|
*/
|
|
2335
2523
|
nextToken?: string;
|
|
2336
2524
|
}
|
|
@@ -2340,18 +2528,50 @@ export declare namespace ListDataSourcesResponse {
|
|
|
2340
2528
|
*/
|
|
2341
2529
|
const filterSensitiveLog: (obj: ListDataSourcesResponse) => any;
|
|
2342
2530
|
}
|
|
2531
|
+
export interface ListDomainNamesRequest {
|
|
2532
|
+
/**
|
|
2533
|
+
* <p>The API token.</p>
|
|
2534
|
+
*/
|
|
2535
|
+
nextToken?: string;
|
|
2536
|
+
/**
|
|
2537
|
+
* <p>The maximum number of results that you want the request to return.</p>
|
|
2538
|
+
*/
|
|
2539
|
+
maxResults?: number;
|
|
2540
|
+
}
|
|
2541
|
+
export declare namespace ListDomainNamesRequest {
|
|
2542
|
+
/**
|
|
2543
|
+
* @internal
|
|
2544
|
+
*/
|
|
2545
|
+
const filterSensitiveLog: (obj: ListDomainNamesRequest) => any;
|
|
2546
|
+
}
|
|
2547
|
+
export interface ListDomainNamesResponse {
|
|
2548
|
+
/**
|
|
2549
|
+
* <p>Lists configurations for multiple domain names.</p>
|
|
2550
|
+
*/
|
|
2551
|
+
domainNameConfigs?: DomainNameConfig[];
|
|
2552
|
+
/**
|
|
2553
|
+
* <p>The API token.</p>
|
|
2554
|
+
*/
|
|
2555
|
+
nextToken?: string;
|
|
2556
|
+
}
|
|
2557
|
+
export declare namespace ListDomainNamesResponse {
|
|
2558
|
+
/**
|
|
2559
|
+
* @internal
|
|
2560
|
+
*/
|
|
2561
|
+
const filterSensitiveLog: (obj: ListDomainNamesResponse) => any;
|
|
2562
|
+
}
|
|
2343
2563
|
export interface ListFunctionsRequest {
|
|
2344
2564
|
/**
|
|
2345
2565
|
* <p>The GraphQL API ID.</p>
|
|
2346
2566
|
*/
|
|
2347
2567
|
apiId: string | undefined;
|
|
2348
2568
|
/**
|
|
2349
|
-
* <p>An identifier that was returned from the previous call to this operation, which can
|
|
2350
|
-
*
|
|
2569
|
+
* <p>An identifier that was returned from the previous call to this operation, which you can
|
|
2570
|
+
* use to return the next set of items in the list.</p>
|
|
2351
2571
|
*/
|
|
2352
2572
|
nextToken?: string;
|
|
2353
2573
|
/**
|
|
2354
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2574
|
+
* <p>The maximum number of results that you want the request to return.</p>
|
|
2355
2575
|
*/
|
|
2356
2576
|
maxResults?: number;
|
|
2357
2577
|
}
|
|
@@ -2367,8 +2587,8 @@ export interface ListFunctionsResponse {
|
|
|
2367
2587
|
*/
|
|
2368
2588
|
functions?: FunctionConfiguration[];
|
|
2369
2589
|
/**
|
|
2370
|
-
* <p>An identifier that was returned from the previous call to this operation, which can
|
|
2371
|
-
*
|
|
2590
|
+
* <p>An identifier that was returned from the previous call to this operation, which you can
|
|
2591
|
+
* use to return the next set of items in the list.</p>
|
|
2372
2592
|
*/
|
|
2373
2593
|
nextToken?: string;
|
|
2374
2594
|
}
|
|
@@ -2380,12 +2600,12 @@ export declare namespace ListFunctionsResponse {
|
|
|
2380
2600
|
}
|
|
2381
2601
|
export interface ListGraphqlApisRequest {
|
|
2382
2602
|
/**
|
|
2383
|
-
* <p>An identifier that was returned from the previous call to this operation, which can
|
|
2384
|
-
*
|
|
2603
|
+
* <p>An identifier that was returned from the previous call to this operation, which you can
|
|
2604
|
+
* use to return the next set of items in the list.</p>
|
|
2385
2605
|
*/
|
|
2386
2606
|
nextToken?: string;
|
|
2387
2607
|
/**
|
|
2388
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2608
|
+
* <p>The maximum number of results that you want the request to return.</p>
|
|
2389
2609
|
*/
|
|
2390
2610
|
maxResults?: number;
|
|
2391
2611
|
}
|
|
@@ -2401,8 +2621,8 @@ export interface ListGraphqlApisResponse {
|
|
|
2401
2621
|
*/
|
|
2402
2622
|
graphqlApis?: GraphqlApi[];
|
|
2403
2623
|
/**
|
|
2404
|
-
* <p>An identifier to
|
|
2405
|
-
*
|
|
2624
|
+
* <p>An identifier to pass in the next request to this operation to return the next set of
|
|
2625
|
+
* items in the list.</p>
|
|
2406
2626
|
*/
|
|
2407
2627
|
nextToken?: string;
|
|
2408
2628
|
}
|
|
@@ -2422,12 +2642,12 @@ export interface ListResolversRequest {
|
|
|
2422
2642
|
*/
|
|
2423
2643
|
typeName: string | undefined;
|
|
2424
2644
|
/**
|
|
2425
|
-
* <p>An identifier that was returned from the previous call to this operation, which can
|
|
2426
|
-
*
|
|
2645
|
+
* <p>An identifier that was returned from the previous call to this operation, which you can
|
|
2646
|
+
* use to return the next set of items in the list.</p>
|
|
2427
2647
|
*/
|
|
2428
2648
|
nextToken?: string;
|
|
2429
2649
|
/**
|
|
2430
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2650
|
+
* <p>The maximum number of results that you want the request to return.</p>
|
|
2431
2651
|
*/
|
|
2432
2652
|
maxResults?: number;
|
|
2433
2653
|
}
|
|
@@ -2443,8 +2663,8 @@ export interface ListResolversResponse {
|
|
|
2443
2663
|
*/
|
|
2444
2664
|
resolvers?: Resolver[];
|
|
2445
2665
|
/**
|
|
2446
|
-
* <p>An identifier to
|
|
2447
|
-
*
|
|
2666
|
+
* <p>An identifier to pass in the next request to this operation to return the next set of
|
|
2667
|
+
* items in the list.</p>
|
|
2448
2668
|
*/
|
|
2449
2669
|
nextToken?: string;
|
|
2450
2670
|
}
|
|
@@ -2460,7 +2680,7 @@ export interface ListResolversByFunctionRequest {
|
|
|
2460
2680
|
*/
|
|
2461
2681
|
apiId: string | undefined;
|
|
2462
2682
|
/**
|
|
2463
|
-
* <p>The
|
|
2683
|
+
* <p>The function ID.</p>
|
|
2464
2684
|
*/
|
|
2465
2685
|
functionId: string | undefined;
|
|
2466
2686
|
/**
|
|
@@ -2469,7 +2689,7 @@ export interface ListResolversByFunctionRequest {
|
|
|
2469
2689
|
*/
|
|
2470
2690
|
nextToken?: string;
|
|
2471
2691
|
/**
|
|
2472
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2692
|
+
* <p>The maximum number of results that you want the request to return.</p>
|
|
2473
2693
|
*/
|
|
2474
2694
|
maxResults?: number;
|
|
2475
2695
|
}
|
|
@@ -2485,7 +2705,7 @@ export interface ListResolversByFunctionResponse {
|
|
|
2485
2705
|
*/
|
|
2486
2706
|
resolvers?: Resolver[];
|
|
2487
2707
|
/**
|
|
2488
|
-
* <p>An identifier that can
|
|
2708
|
+
* <p>An identifier that you can use to return the next set of items in the list.</p>
|
|
2489
2709
|
*/
|
|
2490
2710
|
nextToken?: string;
|
|
2491
2711
|
}
|
|
@@ -2497,7 +2717,7 @@ export declare namespace ListResolversByFunctionResponse {
|
|
|
2497
2717
|
}
|
|
2498
2718
|
export interface ListTagsForResourceRequest {
|
|
2499
2719
|
/**
|
|
2500
|
-
* <p>The <code>GraphqlApi</code> ARN.</p>
|
|
2720
|
+
* <p>The <code>GraphqlApi</code> Amazon Resource Name (ARN).</p>
|
|
2501
2721
|
*/
|
|
2502
2722
|
resourceArn: string | undefined;
|
|
2503
2723
|
}
|
|
@@ -2531,12 +2751,12 @@ export interface ListTypesRequest {
|
|
|
2531
2751
|
*/
|
|
2532
2752
|
format: TypeDefinitionFormat | string | undefined;
|
|
2533
2753
|
/**
|
|
2534
|
-
* <p>An identifier that was returned from the previous call to this operation, which can
|
|
2535
|
-
*
|
|
2754
|
+
* <p>An identifier that was returned from the previous call to this operation, which you can
|
|
2755
|
+
* use to return the next set of items in the list.</p>
|
|
2536
2756
|
*/
|
|
2537
2757
|
nextToken?: string;
|
|
2538
2758
|
/**
|
|
2539
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2759
|
+
* <p>The maximum number of results that you want the request to return.</p>
|
|
2540
2760
|
*/
|
|
2541
2761
|
maxResults?: number;
|
|
2542
2762
|
}
|
|
@@ -2552,8 +2772,8 @@ export interface ListTypesResponse {
|
|
|
2552
2772
|
*/
|
|
2553
2773
|
types?: Type[];
|
|
2554
2774
|
/**
|
|
2555
|
-
* <p>An identifier to
|
|
2556
|
-
*
|
|
2775
|
+
* <p>An identifier to pass in the next request to this operation to return the next set of
|
|
2776
|
+
* items in the list.</p>
|
|
2557
2777
|
*/
|
|
2558
2778
|
nextToken?: string;
|
|
2559
2779
|
}
|
|
@@ -2594,7 +2814,7 @@ export declare namespace StartSchemaCreationResponse {
|
|
|
2594
2814
|
}
|
|
2595
2815
|
export interface TagResourceRequest {
|
|
2596
2816
|
/**
|
|
2597
|
-
* <p>The <code>GraphqlApi</code> ARN.</p>
|
|
2817
|
+
* <p>The <code>GraphqlApi</code> Amazon Resource Name (ARN).</p>
|
|
2598
2818
|
*/
|
|
2599
2819
|
resourceArn: string | undefined;
|
|
2600
2820
|
/**
|
|
@@ -2620,7 +2840,7 @@ export declare namespace TagResourceResponse {
|
|
|
2620
2840
|
}
|
|
2621
2841
|
export interface UntagResourceRequest {
|
|
2622
2842
|
/**
|
|
2623
|
-
* <p>The <code>GraphqlApi</code> ARN.</p>
|
|
2843
|
+
* <p>The <code>GraphqlApi</code> Amazon Resource Name (ARN).</p>
|
|
2624
2844
|
*/
|
|
2625
2845
|
resourceArn: string | undefined;
|
|
2626
2846
|
/**
|
|
@@ -2647,12 +2867,12 @@ export declare namespace UntagResourceResponse {
|
|
|
2647
2867
|
*/
|
|
2648
2868
|
export interface UpdateApiCacheRequest {
|
|
2649
2869
|
/**
|
|
2650
|
-
* <p>The GraphQL API
|
|
2870
|
+
* <p>The GraphQL API ID.</p>
|
|
2651
2871
|
*/
|
|
2652
2872
|
apiId: string | undefined;
|
|
2653
2873
|
/**
|
|
2654
2874
|
* <p>TTL in seconds for cache entries.</p>
|
|
2655
|
-
* <p>Valid values are
|
|
2875
|
+
* <p>Valid values are 1–3,600 seconds.</p>
|
|
2656
2876
|
*/
|
|
2657
2877
|
ttl: number | undefined;
|
|
2658
2878
|
/**
|
|
@@ -2784,8 +3004,8 @@ export interface UpdateApiKeyRequest {
|
|
|
2784
3004
|
*/
|
|
2785
3005
|
description?: string;
|
|
2786
3006
|
/**
|
|
2787
|
-
* <p>
|
|
2788
|
-
* seconds since the epoch. For more information, see .</p>
|
|
3007
|
+
* <p>From the update time, the time after which the API key expires. The date is represented
|
|
3008
|
+
* as seconds since the epoch. For more information, see .</p>
|
|
2789
3009
|
*/
|
|
2790
3010
|
expires?: number;
|
|
2791
3011
|
}
|
|
@@ -2825,7 +3045,7 @@ export interface UpdateDataSourceRequest {
|
|
|
2825
3045
|
*/
|
|
2826
3046
|
type: DataSourceType | string | undefined;
|
|
2827
3047
|
/**
|
|
2828
|
-
* <p>The new service role ARN for the data source.</p>
|
|
3048
|
+
* <p>The new service role Amazon Resource Name (ARN) for the data source.</p>
|
|
2829
3049
|
*/
|
|
2830
3050
|
serviceRoleArn?: string;
|
|
2831
3051
|
/**
|
|
@@ -2833,7 +3053,7 @@ export interface UpdateDataSourceRequest {
|
|
|
2833
3053
|
*/
|
|
2834
3054
|
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
2835
3055
|
/**
|
|
2836
|
-
* <p>The new
|
|
3056
|
+
* <p>The new Lambda configuration.</p>
|
|
2837
3057
|
*/
|
|
2838
3058
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
2839
3059
|
/**
|
|
@@ -2873,6 +3093,34 @@ export declare namespace UpdateDataSourceResponse {
|
|
|
2873
3093
|
*/
|
|
2874
3094
|
const filterSensitiveLog: (obj: UpdateDataSourceResponse) => any;
|
|
2875
3095
|
}
|
|
3096
|
+
export interface UpdateDomainNameRequest {
|
|
3097
|
+
/**
|
|
3098
|
+
* <p>The domain name.</p>
|
|
3099
|
+
*/
|
|
3100
|
+
domainName: string | undefined;
|
|
3101
|
+
/**
|
|
3102
|
+
* <p>A description of the <code>DomainName</code>.</p>
|
|
3103
|
+
*/
|
|
3104
|
+
description?: string;
|
|
3105
|
+
}
|
|
3106
|
+
export declare namespace UpdateDomainNameRequest {
|
|
3107
|
+
/**
|
|
3108
|
+
* @internal
|
|
3109
|
+
*/
|
|
3110
|
+
const filterSensitiveLog: (obj: UpdateDomainNameRequest) => any;
|
|
3111
|
+
}
|
|
3112
|
+
export interface UpdateDomainNameResponse {
|
|
3113
|
+
/**
|
|
3114
|
+
* <p>The configuration for the <code>DomainName</code>.</p>
|
|
3115
|
+
*/
|
|
3116
|
+
domainNameConfig?: DomainNameConfig;
|
|
3117
|
+
}
|
|
3118
|
+
export declare namespace UpdateDomainNameResponse {
|
|
3119
|
+
/**
|
|
3120
|
+
* @internal
|
|
3121
|
+
*/
|
|
3122
|
+
const filterSensitiveLog: (obj: UpdateDomainNameResponse) => any;
|
|
3123
|
+
}
|
|
2876
3124
|
export interface UpdateFunctionRequest {
|
|
2877
3125
|
/**
|
|
2878
3126
|
* <p>The GraphQL API ID.</p>
|
|
@@ -2901,20 +3149,24 @@ export interface UpdateFunctionRequest {
|
|
|
2901
3149
|
*/
|
|
2902
3150
|
requestMappingTemplate?: string;
|
|
2903
3151
|
/**
|
|
2904
|
-
* <p>The <code>Function</code> request mapping template
|
|
3152
|
+
* <p>The <code>Function</code> request mapping template.</p>
|
|
2905
3153
|
*/
|
|
2906
3154
|
responseMappingTemplate?: string;
|
|
2907
3155
|
/**
|
|
2908
|
-
* <p>The <code>version</code> of the request mapping template. Currently the supported value
|
|
2909
|
-
* is 2018-05-29
|
|
3156
|
+
* <p>The <code>version</code> of the request mapping template. Currently, the supported value
|
|
3157
|
+
* is 2018-05-29.</p>
|
|
2910
3158
|
*/
|
|
2911
3159
|
functionVersion: string | undefined;
|
|
2912
3160
|
/**
|
|
2913
3161
|
* <p>Describes a Sync configuration for a resolver.</p>
|
|
2914
|
-
* <p>
|
|
2915
|
-
*
|
|
3162
|
+
* <p>Specifies which Conflict Detection strategy and Resolution strategy to use when the
|
|
3163
|
+
* resolver is invoked.</p>
|
|
2916
3164
|
*/
|
|
2917
3165
|
syncConfig?: SyncConfig;
|
|
3166
|
+
/**
|
|
3167
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
3168
|
+
*/
|
|
3169
|
+
maxBatchSize?: number;
|
|
2918
3170
|
}
|
|
2919
3171
|
export declare namespace UpdateFunctionRequest {
|
|
2920
3172
|
/**
|
|
@@ -2952,7 +3204,7 @@ export interface UpdateGraphqlApiRequest {
|
|
|
2952
3204
|
*/
|
|
2953
3205
|
authenticationType?: AuthenticationType | string;
|
|
2954
3206
|
/**
|
|
2955
|
-
* <p>The new Amazon Cognito user pool configuration for the <code
|
|
3207
|
+
* <p>The new Amazon Cognito user pool configuration for the <code>~GraphqlApi</code>
|
|
2956
3208
|
* object.</p>
|
|
2957
3209
|
*/
|
|
2958
3210
|
userPoolConfig?: UserPoolConfig;
|
|
@@ -2966,12 +3218,12 @@ export interface UpdateGraphqlApiRequest {
|
|
|
2966
3218
|
*/
|
|
2967
3219
|
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
2968
3220
|
/**
|
|
2969
|
-
* <p>A flag indicating whether to
|
|
2970
|
-
*
|
|
3221
|
+
* <p>A flag indicating whether to use X-Ray tracing for the
|
|
3222
|
+
* <code>GraphqlApi</code>.</p>
|
|
2971
3223
|
*/
|
|
2972
3224
|
xrayEnabled?: boolean;
|
|
2973
3225
|
/**
|
|
2974
|
-
* <p>Configuration for
|
|
3226
|
+
* <p>Configuration for Lambda function authorization.</p>
|
|
2975
3227
|
*/
|
|
2976
3228
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
2977
3229
|
}
|
|
@@ -3015,8 +3267,9 @@ export interface UpdateResolverRequest {
|
|
|
3015
3267
|
* <p>A resolver uses a request mapping template to convert a GraphQL expression into a format
|
|
3016
3268
|
* that a data source can understand. Mapping templates are written in Apache Velocity
|
|
3017
3269
|
* Template Language (VTL).</p>
|
|
3018
|
-
* <p>VTL request mapping templates are optional when using
|
|
3019
|
-
* other data sources, VTL request and response mapping templates are
|
|
3270
|
+
* <p>VTL request mapping templates are optional when using an Lambda data
|
|
3271
|
+
* source. For all other data sources, VTL request and response mapping templates are
|
|
3272
|
+
* required.</p>
|
|
3020
3273
|
*/
|
|
3021
3274
|
requestMappingTemplate?: string;
|
|
3022
3275
|
/**
|
|
@@ -3029,15 +3282,15 @@ export interface UpdateResolverRequest {
|
|
|
3029
3282
|
* <li>
|
|
3030
3283
|
* <p>
|
|
3031
3284
|
* <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
|
|
3032
|
-
* the default resolver type.
|
|
3033
|
-
*
|
|
3285
|
+
* the default resolver type. You can use a UNIT resolver to run a GraphQL query against
|
|
3286
|
+
* a single data source.</p>
|
|
3034
3287
|
* </li>
|
|
3035
3288
|
* <li>
|
|
3036
3289
|
* <p>
|
|
3037
|
-
* <b>PIPELINE</b>: A PIPELINE resolver type.
|
|
3038
|
-
*
|
|
3039
|
-
* You can use a pipeline resolver to
|
|
3040
|
-
* sources.</p>
|
|
3290
|
+
* <b>PIPELINE</b>: A PIPELINE resolver type. You can
|
|
3291
|
+
* use a PIPELINE resolver to invoke a series of <code>Function</code> objects in a
|
|
3292
|
+
* serial manner. You can use a pipeline resolver to run a GraphQL query against
|
|
3293
|
+
* multiple data sources.</p>
|
|
3041
3294
|
* </li>
|
|
3042
3295
|
* </ul>
|
|
3043
3296
|
*/
|
|
@@ -3047,13 +3300,17 @@ export interface UpdateResolverRequest {
|
|
|
3047
3300
|
*/
|
|
3048
3301
|
pipelineConfig?: PipelineConfig;
|
|
3049
3302
|
/**
|
|
3050
|
-
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned
|
|
3303
|
+
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned data source.</p>
|
|
3051
3304
|
*/
|
|
3052
3305
|
syncConfig?: SyncConfig;
|
|
3053
3306
|
/**
|
|
3054
3307
|
* <p>The caching configuration for the resolver.</p>
|
|
3055
3308
|
*/
|
|
3056
3309
|
cachingConfig?: CachingConfig;
|
|
3310
|
+
/**
|
|
3311
|
+
* <p>The maximum batching size for a resolver.</p>
|
|
3312
|
+
*/
|
|
3313
|
+
maxBatchSize?: number;
|
|
3057
3314
|
}
|
|
3058
3315
|
export declare namespace UpdateResolverRequest {
|
|
3059
3316
|
/**
|