@aws-sdk/client-appsync 3.40.0 → 3.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/AppSync.js +120 -0
  4. package/dist-cjs/commands/AssociateApiCommand.js +36 -0
  5. package/dist-cjs/commands/CreateDomainNameCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteDomainNameCommand.js +36 -0
  7. package/dist-cjs/commands/DisassociateApiCommand.js +36 -0
  8. package/dist-cjs/commands/GetApiAssociationCommand.js +36 -0
  9. package/dist-cjs/commands/GetDomainNameCommand.js +36 -0
  10. package/dist-cjs/commands/ListDomainNamesCommand.js +36 -0
  11. package/dist-cjs/commands/UpdateDomainNameCommand.js +36 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/endpoints.js +9 -0
  14. package/dist-cjs/models/models_0.js +136 -21
  15. package/dist-cjs/protocols/Aws_restJson1.js +911 -93
  16. package/dist-es/AppSync.js +120 -0
  17. package/dist-es/commands/AssociateApiCommand.js +39 -0
  18. package/dist-es/commands/CreateDomainNameCommand.js +39 -0
  19. package/dist-es/commands/DeleteDomainNameCommand.js +39 -0
  20. package/dist-es/commands/DisassociateApiCommand.js +39 -0
  21. package/dist-es/commands/GetApiAssociationCommand.js +39 -0
  22. package/dist-es/commands/GetDomainNameCommand.js +39 -0
  23. package/dist-es/commands/ListDomainNamesCommand.js +39 -0
  24. package/dist-es/commands/UpdateDomainNameCommand.js +39 -0
  25. package/dist-es/commands/index.js +8 -0
  26. package/dist-es/endpoints.js +9 -0
  27. package/dist-es/models/models_0.js +90 -12
  28. package/dist-es/protocols/Aws_restJson1.js +1039 -84
  29. package/dist-types/AppSync.d.ts +60 -5
  30. package/dist-types/AppSyncClient.d.ts +10 -2
  31. package/dist-types/commands/AssociateApiCommand.d.ts +35 -0
  32. package/dist-types/commands/CreateApiCacheCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateApiKeyCommand.d.ts +2 -3
  34. package/dist-types/commands/CreateDataSourceCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateDomainNameCommand.d.ts +35 -0
  36. package/dist-types/commands/CreateFunctionCommand.d.ts +2 -2
  37. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateResolverCommand.d.ts +2 -2
  39. package/dist-types/commands/CreateTypeCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteApiCacheCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteApiKeyCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteDomainNameCommand.d.ts +35 -0
  44. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteResolverCommand.d.ts +1 -1
  47. package/dist-types/commands/DeleteTypeCommand.d.ts +1 -1
  48. package/dist-types/commands/DisassociateApiCommand.d.ts +35 -0
  49. package/dist-types/commands/FlushApiCacheCommand.d.ts +1 -1
  50. package/dist-types/commands/GetApiAssociationCommand.d.ts +35 -0
  51. package/dist-types/commands/GetApiCacheCommand.d.ts +1 -1
  52. package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
  53. package/dist-types/commands/GetDomainNameCommand.d.ts +35 -0
  54. package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  55. package/dist-types/commands/GetGraphqlApiCommand.d.ts +1 -1
  56. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +1 -1
  57. package/dist-types/commands/GetResolverCommand.d.ts +1 -1
  58. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +1 -1
  59. package/dist-types/commands/GetTypeCommand.d.ts +1 -1
  60. package/dist-types/commands/ListApiKeysCommand.d.ts +1 -1
  61. package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListDomainNamesCommand.d.ts +35 -0
  63. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
  64. package/dist-types/commands/ListGraphqlApisCommand.d.ts +1 -1
  65. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +1 -1
  66. package/dist-types/commands/ListResolversCommand.d.ts +1 -1
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  68. package/dist-types/commands/ListTypesCommand.d.ts +1 -1
  69. package/dist-types/commands/StartSchemaCreationCommand.d.ts +1 -1
  70. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  71. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateApiCacheCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateApiKeyCommand.d.ts +2 -2
  74. package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateDomainNameCommand.d.ts +35 -0
  76. package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateResolverCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateTypeCommand.d.ts +1 -1
  80. package/dist-types/commands/index.d.ts +8 -0
  81. package/dist-types/models/models_0.d.ts +554 -255
  82. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  83. package/dist-types/ts3.4/AppSync.d.ts +40 -0
  84. package/dist-types/ts3.4/AppSyncClient.d.ts +10 -2
  85. package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  94. package/dist-types/ts3.4/models/models_0.d.ts +203 -30
  95. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  96. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  /**
3
- * <p>You do not have access to perform this operation on this resource.</p>
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";
@@ -21,24 +21,27 @@ export declare enum AuthenticationType {
21
21
  OPENID_CONNECT = "OPENID_CONNECT"
22
22
  }
23
23
  /**
24
- * <p>A <code>LambdaAuthorizerConfig</code> holds configuration on how to authorize AppSync
25
- * API access when using the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync
26
- * API may have only one Lambda authorizer configured at a time.</p>
24
+ * <p>A <code>LambdaAuthorizerConfig</code> specifies how to authorize AppSync
25
+ * 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
26
+ * time.</p>
27
27
  */
28
28
  export interface LambdaAuthorizerConfig {
29
29
  /**
30
30
  * <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 <code>ttlOverride</code> key
32
- * in its response. A value of 0 disables caching of responses.</p>
31
+ * seconds). The Lambda function can override this by returning a
32
+ * <code>ttlOverride</code> key in its response. A value of 0 disables caching of
33
+ * responses.</p>
33
34
  */
34
35
  authorizerResultTtlInSeconds?: number;
35
36
  /**
36
- * <p>The ARN of the Lambda function to be called for authorization. This may be a standard
37
- * Lambda ARN, a version ARN (<code>.../v3</code>) or alias ARN. </p>
37
+ * <p>The Amazon Resource Name (ARN) of the Lambda function to be called for
38
+ * authorization. This can be a standard Lambda ARN, a version ARN
39
+ * (<code>.../v3</code>), or an alias ARN. </p>
38
40
  * <p>
39
- * <i>Note</i>: This Lambda function must have the following resource-based
40
- * policy assigned to it. When configuring Lambda authorizers in the Console, this is done for
41
- * you. To do so with the Amazon Web Services CLI, run the following:</p>
41
+ * <b>Note</b>: This Lambda function must have the
42
+ * following resource-based policy assigned to it. When configuring Lambda
43
+ * authorizers in the console, this is done for you. To use the Command Line Interface
44
+ * (CLI), run the following:</p>
42
45
  * <p>
43
46
  * <code>aws lambda add-permission --function-name
44
47
  * "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync"
@@ -59,27 +62,27 @@ export declare namespace LambdaAuthorizerConfig {
59
62
  const filterSensitiveLog: (obj: LambdaAuthorizerConfig) => any;
60
63
  }
61
64
  /**
62
- * <p>Describes an OpenID Connect configuration.</p>
65
+ * <p>Describes an OpenID Connect (OIDC) configuration.</p>
63
66
  */
64
67
  export interface OpenIDConnectConfig {
65
68
  /**
66
- * <p>The issuer for the OpenID Connect configuration. The issuer returned by discovery must
67
- * exactly match the value of <code>iss</code> in the ID token.</p>
69
+ * <p>The issuer for the OIDC configuration. The issuer returned by discovery must exactly
70
+ * match the value of <code>iss</code> in the ID token.</p>
68
71
  */
69
72
  issuer: string | undefined;
70
73
  /**
71
- * <p>The client identifier of the Relying party at the OpenID identity provider. This
72
- * identifier is typically obtained when the Relying party is registered with the OpenID
73
- * identity provider. You can specify a regular expression so the AppSync can
74
+ * <p>The client identifier of the relying party at the OpenID identity provider. This
75
+ * identifier is typically obtained when the relying party is registered with the OpenID
76
+ * identity provider. You can specify a regular expression so that AppSync can
74
77
  * validate against multiple client identifiers at a time.</p>
75
78
  */
76
79
  clientId?: string;
77
80
  /**
78
- * <p>The number of milliseconds a token is valid after being issued to a user.</p>
81
+ * <p>The number of milliseconds that a token is valid after it's issued to a user.</p>
79
82
  */
80
83
  iatTTL?: number;
81
84
  /**
82
- * <p>The number of milliseconds a token is valid after being authenticated.</p>
85
+ * <p>The number of milliseconds that a token is valid after being authenticated.</p>
83
86
  */
84
87
  authTTL?: number;
85
88
  }
@@ -118,12 +121,12 @@ export declare namespace CognitoUserPoolConfig {
118
121
  */
119
122
  export interface AdditionalAuthenticationProvider {
120
123
  /**
121
- * <p>The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user
122
- * pools, or Amazon Web Services Lambda.</p>
124
+ * <p>The authentication type: API key, Identity and Access Management (IAM), OpenID
125
+ * Connect (OIDC), Amazon Cognito user pools, or Lambda.</p>
123
126
  */
124
127
  authenticationType?: AuthenticationType | string;
125
128
  /**
126
- * <p>The OpenID Connect configuration.</p>
129
+ * <p>The OIDC configuration.</p>
127
130
  */
128
131
  openIDConnectConfig?: OpenIDConnectConfig;
129
132
  /**
@@ -131,7 +134,7 @@ export interface AdditionalAuthenticationProvider {
131
134
  */
132
135
  userPoolConfig?: CognitoUserPoolConfig;
133
136
  /**
134
- * <p>Configuration for Amazon Web Services Lambda function authorization.</p>
137
+ * <p>Configuration for Lambda function authorization.</p>
135
138
  */
136
139
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
137
140
  }
@@ -141,6 +144,55 @@ export declare namespace AdditionalAuthenticationProvider {
141
144
  */
142
145
  const filterSensitiveLog: (obj: AdditionalAuthenticationProvider) => any;
143
146
  }
147
+ export declare enum AssociationStatus {
148
+ Failed = "FAILED",
149
+ Processing = "PROCESSING",
150
+ Success = "SUCCESS"
151
+ }
152
+ /**
153
+ * <p>Describes an <code>ApiAssociation</code> object.</p>
154
+ */
155
+ export interface ApiAssociation {
156
+ /**
157
+ * <p>The domain name.</p>
158
+ */
159
+ domainName?: string;
160
+ /**
161
+ * <p>The API ID.</p>
162
+ */
163
+ apiId?: string;
164
+ /**
165
+ * <p>Identifies the status of an association.</p>
166
+ * <ul>
167
+ * <li>
168
+ * <p>
169
+ * <b>PROCESSING</b>: The API association is being
170
+ * created. You cannot modify association requests during processing.</p>
171
+ * </li>
172
+ * <li>
173
+ * <p>
174
+ * <b>SUCCESS</b>: The API association was successful.
175
+ * You can modify associations after success.</p>
176
+ * </li>
177
+ * <li>
178
+ * <p>
179
+ * <b>FAILED</b>: The API association has failed. You
180
+ * can modify associations after failure.</p>
181
+ * </li>
182
+ * </ul>
183
+ */
184
+ associationStatus?: AssociationStatus | string;
185
+ /**
186
+ * <p>Details about the last deployment status.</p>
187
+ */
188
+ deploymentDetail?: string;
189
+ }
190
+ export declare namespace ApiAssociation {
191
+ /**
192
+ * @internal
193
+ */
194
+ const filterSensitiveLog: (obj: ApiAssociation) => any;
195
+ }
144
196
  export declare enum ApiCachingBehavior {
145
197
  FULL_REQUEST_CACHING = "FULL_REQUEST_CACHING",
146
198
  PER_RESOLVER_CACHING = "PER_RESOLVER_CACHING"
@@ -175,7 +227,7 @@ export declare enum ApiCacheType {
175
227
  export interface ApiCache {
176
228
  /**
177
229
  * <p>TTL in seconds for cache entries.</p>
178
- * <p>Valid values are between 1 and 3600 seconds.</p>
230
+ * <p>Valid values are 1–3,600 seconds.</p>
179
231
  */
180
232
  ttl?: number;
181
233
  /**
@@ -195,12 +247,12 @@ export interface ApiCache {
195
247
  */
196
248
  apiCachingBehavior?: ApiCachingBehavior | string;
197
249
  /**
198
- * <p>Transit encryption flag when connecting to cache. This setting cannot be updated after
250
+ * <p>Transit encryption flag when connecting to cache. You cannot update this setting after
199
251
  * creation.</p>
200
252
  */
201
253
  transitEncryptionEnabled?: boolean;
202
254
  /**
203
- * <p>At rest encryption flag for cache. This setting cannot be updated after creation.</p>
255
+ * <p>At-rest encryption flag for cache. You cannot update this setting after creation.</p>
204
256
  */
205
257
  atRestEncryptionEnabled?: boolean;
206
258
  /**
@@ -323,10 +375,10 @@ export declare namespace ApiCache {
323
375
  * <p>Customers invoke AppSync GraphQL API operations with API keys as an
324
376
  * identity mechanism. There are two key versions:</p>
325
377
  * <p>
326
- * <b>da1</b>: This version was introduced at launch in November
327
- * 2017. These keys always expire after 7 days. Key expiration is managed by Amazon DynamoDB
328
- * TTL. The keys ceased to be valid after February 21, 2018 and should not be used after that
329
- * date.</p>
378
+ * <b>da1</b>: We introduced this version at launch in November
379
+ * 2017. These keys always expire after 7 days. Amazon DynamoDB TTL manages key
380
+ * expiration. These keys ceased to be valid after February 21, 2018, and they should no
381
+ * longer be used.</p>
330
382
  * <ul>
331
383
  * <li>
332
384
  * <p>
@@ -346,15 +398,15 @@ export declare namespace ApiCache {
346
398
  * <code>DeleteApiKey</code> deletes the item from the table.</p>
347
399
  * </li>
348
400
  * <li>
349
- * <p>Expiration is stored in Amazon DynamoDB as milliseconds. This results in a bug
350
- * where keys are not automatically deleted because DynamoDB expects the TTL to be
351
- * stored in seconds. As a one-time action, we will delete these keys from the table
352
- * after February 21, 2018.</p>
401
+ * <p>Expiration is stored in DynamoDB as milliseconds. This results in a
402
+ * bug where keys are not automatically deleted because DynamoDB expects the
403
+ * TTL to be stored in seconds. As a one-time action, we deleted these keys from the
404
+ * table on February 21, 2018.</p>
353
405
  * </li>
354
406
  * </ul>
355
407
  * <p>
356
- * <b>da2</b>: This version was introduced in February 2018 when
357
- * AppSync added support to extend key expiration.</p>
408
+ * <b>da2</b>: We introduced this version in February 2018 when
409
+ * AppSync added support to extend key expiration.</p>
358
410
  * <ul>
359
411
  * <li>
360
412
  * <p>
@@ -370,21 +422,21 @@ export declare namespace ApiCache {
370
422
  * <p>
371
423
  * <code>UpdateApiKey</code> returns the expiration time and and deletion time in
372
424
  * seconds and accepts a user-provided expiration time in seconds. Expired API keys are
373
- * kept for 60 days after the expiration time. Key expiration time can be updated while
374
- * the key is not deleted. </p>
425
+ * kept for 60 days after the expiration time. You can update the key expiration time as
426
+ * long as the key isn't deleted.</p>
375
427
  * </li>
376
428
  * <li>
377
429
  * <p>
378
430
  * <code>DeleteApiKey</code> deletes the item from the table.</p>
379
431
  * </li>
380
432
  * <li>
381
- * <p>Expiration is stored in Amazon DynamoDB as seconds. After the expiration time,
382
- * using the key to authenticate will fail. But the key can be reinstated before
383
- * deletion.</p>
433
+ * <p>Expiration is stored in DynamoDB as seconds. After the expiration
434
+ * time, using the key to authenticate will fail. However, you can reinstate the key
435
+ * before deletion.</p>
384
436
  * </li>
385
437
  * <li>
386
- * <p>Deletion is stored in Amazon DynamoDB as seconds. The key will be deleted after
387
- * deletion time. </p>
438
+ * <p>Deletion is stored in DynamoDB as seconds. The key is deleted after
439
+ * deletion time.</p>
388
440
  * </li>
389
441
  * </ul>
390
442
  */
@@ -457,19 +509,91 @@ export declare namespace ApiLimitExceededException {
457
509
  */
458
510
  const filterSensitiveLog: (obj: ApiLimitExceededException) => any;
459
511
  }
512
+ export interface AssociateApiRequest {
513
+ /**
514
+ * <p>The domain name.</p>
515
+ */
516
+ domainName: string | undefined;
517
+ /**
518
+ * <p>The API ID.</p>
519
+ */
520
+ apiId: string | undefined;
521
+ }
522
+ export declare namespace AssociateApiRequest {
523
+ /**
524
+ * @internal
525
+ */
526
+ const filterSensitiveLog: (obj: AssociateApiRequest) => any;
527
+ }
528
+ export interface AssociateApiResponse {
529
+ /**
530
+ * <p>The <code>ApiAssociation</code> object.</p>
531
+ */
532
+ apiAssociation?: ApiAssociation;
533
+ }
534
+ export declare namespace AssociateApiResponse {
535
+ /**
536
+ * @internal
537
+ */
538
+ const filterSensitiveLog: (obj: AssociateApiResponse) => any;
539
+ }
540
+ /**
541
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
542
+ * missing. Check the field values, and then try again.</p>
543
+ */
544
+ export interface BadRequestException extends __SmithyException, $MetadataBearer {
545
+ name: "BadRequestException";
546
+ $fault: "client";
547
+ message?: string;
548
+ }
549
+ export declare namespace BadRequestException {
550
+ /**
551
+ * @internal
552
+ */
553
+ const filterSensitiveLog: (obj: BadRequestException) => any;
554
+ }
555
+ /**
556
+ * <p>An internal AppSync error occurred. Try your request again.</p>
557
+ */
558
+ export interface InternalFailureException extends __SmithyException, $MetadataBearer {
559
+ name: "InternalFailureException";
560
+ $fault: "server";
561
+ message?: string;
562
+ }
563
+ export declare namespace InternalFailureException {
564
+ /**
565
+ * @internal
566
+ */
567
+ const filterSensitiveLog: (obj: InternalFailureException) => any;
568
+ }
569
+ /**
570
+ * <p>The resource specified in the request was not found. Check the resource, and then try
571
+ * again.</p>
572
+ */
573
+ export interface NotFoundException extends __SmithyException, $MetadataBearer {
574
+ name: "NotFoundException";
575
+ $fault: "client";
576
+ message?: string;
577
+ }
578
+ export declare namespace NotFoundException {
579
+ /**
580
+ * @internal
581
+ */
582
+ const filterSensitiveLog: (obj: NotFoundException) => any;
583
+ }
460
584
  export declare enum AuthorizationType {
461
585
  AWS_IAM = "AWS_IAM"
462
586
  }
463
587
  /**
464
- * <p>The Identity and Access Management configuration.</p>
588
+ * <p>The Identity and Access Management (IAM) configuration.</p>
465
589
  */
466
590
  export interface AwsIamConfig {
467
591
  /**
468
- * <p>The signing region for Identity and Access Management authorization.</p>
592
+ * <p>The signing Amazon Web Services Region for IAM authorization.</p>
469
593
  */
470
594
  signingRegion?: string;
471
595
  /**
472
- * <p>The signing service name for Identity and Access Management authorization.</p>
596
+ * <p>The signing service name for IAM authorization.</p>
473
597
  */
474
598
  signingServiceName?: string;
475
599
  }
@@ -480,22 +604,22 @@ export declare namespace AwsIamConfig {
480
604
  const filterSensitiveLog: (obj: AwsIamConfig) => any;
481
605
  }
482
606
  /**
483
- * <p>The authorization config in case the HTTP endpoint requires authorization.</p>
607
+ * <p>The authorization configuration in case the HTTP endpoint requires authorization.</p>
484
608
  */
485
609
  export interface AuthorizationConfig {
486
610
  /**
487
- * <p>The authorization type required by the HTTP endpoint.</p>
611
+ * <p>The authorization type that the HTTP endpoint requires.</p>
488
612
  * <ul>
489
613
  * <li>
490
614
  * <p>
491
- * <b>AWS_IAM</b>: The authorization type is
492
- * Sigv4.</p>
615
+ * <b>AWS_IAM</b>: The authorization type is Signature
616
+ * Version 4 (SigV4).</p>
493
617
  * </li>
494
618
  * </ul>
495
619
  */
496
620
  authorizationType: AuthorizationType | string | undefined;
497
621
  /**
498
- * <p>The Identity and Access Management settings.</p>
622
+ * <p>The Identity and Access Management (IAM) settings.</p>
499
623
  */
500
624
  awsIamConfig?: AwsIamConfig;
501
625
  }
@@ -505,24 +629,9 @@ export declare namespace AuthorizationConfig {
505
629
  */
506
630
  const filterSensitiveLog: (obj: AuthorizationConfig) => any;
507
631
  }
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
632
  /**
524
633
  * <p>Another modification is in progress at this time and it must complete before you can
525
- * make your change. </p>
634
+ * make your change.</p>
526
635
  */
527
636
  export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
528
637
  name: "ConcurrentModificationException";
@@ -540,21 +649,21 @@ export declare namespace ConcurrentModificationException {
540
649
  */
541
650
  export interface CreateApiCacheRequest {
542
651
  /**
543
- * <p>The GraphQL API Id.</p>
652
+ * <p>The GraphQL API ID.</p>
544
653
  */
545
654
  apiId: string | undefined;
546
655
  /**
547
656
  * <p>TTL in seconds for cache entries.</p>
548
- * <p>Valid values are between 1 and 3600 seconds.</p>
657
+ * <p>Valid values are 1–3,600 seconds.</p>
549
658
  */
550
659
  ttl: number | undefined;
551
660
  /**
552
- * <p>Transit encryption flag when connecting to cache. This setting cannot be updated after
661
+ * <p>Transit encryption flag when connecting to cache. You cannot update this setting after
553
662
  * creation.</p>
554
663
  */
555
664
  transitEncryptionEnabled?: boolean;
556
665
  /**
557
- * <p>At rest encryption flag for cache. This setting cannot be updated after creation.</p>
666
+ * <p>At-rest encryption flag for cache. You cannot update this setting after creation.</p>
558
667
  */
559
668
  atRestEncryptionEnabled?: boolean;
560
669
  /**
@@ -673,36 +782,7 @@ export declare namespace CreateApiCacheResponse {
673
782
  const filterSensitiveLog: (obj: CreateApiCacheResponse) => any;
674
783
  }
675
784
  /**
676
- * <p>An internal AppSync error occurred. Try your request again.</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>
785
+ * <p>You aren't authorized to perform this operation.</p>
706
786
  */
707
787
  export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
708
788
  name: "UnauthorizedException";
@@ -725,9 +805,9 @@ export interface CreateApiKeyRequest {
725
805
  */
726
806
  description?: string;
727
807
  /**
728
- * <p>The time from creation time after which the API key expires. The date is represented as
729
- * seconds since the epoch, rounded down to the nearest hour. The default value for this
730
- * parameter is 7 days from creation time. For more information, see .</p>
808
+ * <p>From the creation time, the time after which the API key expires. The date is
809
+ * represented as seconds since the epoch, rounded down to the nearest hour. The default value
810
+ * for this parameter is 7 days from creation time. For more information, see .</p>
731
811
  */
732
812
  expires?: number;
733
813
  }
@@ -768,7 +848,7 @@ export declare namespace LimitExceededException {
768
848
  */
769
849
  export interface DeltaSyncConfig {
770
850
  /**
771
- * <p>The number of minutes an Item is stored in the datasource.</p>
851
+ * <p>The number of minutes that an Item is stored in the data source.</p>
772
852
  */
773
853
  baseTableTTL?: number;
774
854
  /**
@@ -776,7 +856,8 @@ export interface DeltaSyncConfig {
776
856
  */
777
857
  deltaSyncTableName?: string;
778
858
  /**
779
- * <p>The number of minutes a Delta Sync log entry is stored in the Delta Sync table.</p>
859
+ * <p>The number of minutes that a Delta Sync log entry is stored in the Delta Sync
860
+ * table.</p>
780
861
  */
781
862
  deltaSyncTableTTL?: number;
782
863
  }
@@ -803,7 +884,7 @@ export interface DynamodbDataSourceConfig {
803
884
  */
804
885
  useCallerCredentials?: boolean;
805
886
  /**
806
- * <p>The <code>DeltaSyncConfig</code> for a versioned datasource.</p>
887
+ * <p>The <code>DeltaSyncConfig</code> for a versioned data source.</p>
807
888
  */
808
889
  deltaSyncConfig?: DeltaSyncConfig;
809
890
  /**
@@ -844,14 +925,14 @@ export declare namespace ElasticsearchDataSourceConfig {
844
925
  */
845
926
  export interface HttpDataSourceConfig {
846
927
  /**
847
- * <p>The HTTP URL endpoint. You can either specify the domain name or IP, and port
848
- * combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified,
928
+ * <p>The HTTP URL endpoint. You can specify either the domain name or IP, and port
929
+ * combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port,
849
930
  * AppSync uses the default port 80 for the HTTP endpoint and port 443 for
850
931
  * HTTPS endpoints.</p>
851
932
  */
852
933
  endpoint?: string;
853
934
  /**
854
- * <p>The authorization config in case the HTTP endpoint requires authorization.</p>
935
+ * <p>The authorization configuration in case the HTTP endpoint requires authorization.</p>
855
936
  */
856
937
  authorizationConfig?: AuthorizationConfig;
857
938
  }
@@ -862,11 +943,11 @@ export declare namespace HttpDataSourceConfig {
862
943
  const filterSensitiveLog: (obj: HttpDataSourceConfig) => any;
863
944
  }
864
945
  /**
865
- * <p>Describes an Amazon Web Services Lambda data source configuration.</p>
946
+ * <p>Describes an Lambda data source configuration.</p>
866
947
  */
867
948
  export interface LambdaDataSourceConfig {
868
949
  /**
869
- * <p>The ARN for the Lambda function.</p>
950
+ * <p>The Amazon Resource Name (ARN) for the Lambda function.</p>
870
951
  */
871
952
  lambdaFunctionArn: string | undefined;
872
953
  }
@@ -896,15 +977,15 @@ export declare namespace OpenSearchServiceDataSourceConfig {
896
977
  const filterSensitiveLog: (obj: OpenSearchServiceDataSourceConfig) => any;
897
978
  }
898
979
  /**
899
- * <p>The Amazon RDS HTTP endpoint configuration.</p>
980
+ * <p>The Amazon Relational Database Service (Amazon RDS) HTTP endpoint configuration.</p>
900
981
  */
901
982
  export interface RdsHttpEndpointConfig {
902
983
  /**
903
- * <p>Amazon Web Services Region for RDS HTTP endpoint.</p>
984
+ * <p>Amazon Web Services Region for Amazon RDS HTTP endpoint.</p>
904
985
  */
905
986
  awsRegion?: string;
906
987
  /**
907
- * <p>Amazon RDS cluster ARN.</p>
988
+ * <p>Amazon RDS cluster Amazon Resource Name (ARN).</p>
908
989
  */
909
990
  dbClusterIdentifier?: string;
910
991
  /**
@@ -916,7 +997,8 @@ export interface RdsHttpEndpointConfig {
916
997
  */
917
998
  schema?: string;
918
999
  /**
919
- * <p>Amazon Web Services secret store ARN for database credentials.</p>
1000
+ * <p>Amazon Web Services secret store Amazon Resource Name (ARN) for database
1001
+ * credentials.</p>
920
1002
  */
921
1003
  awsSecretStoreArn?: string;
922
1004
  }
@@ -939,7 +1021,8 @@ export interface RelationalDatabaseDataSourceConfig {
939
1021
  * <li>
940
1022
  * <p>
941
1023
  * <b>RDS_HTTP_ENDPOINT</b>: The relational database
942
- * source type is an Amazon RDS HTTP endpoint.</p>
1024
+ * source type is an Amazon Relational Database Service (Amazon RDS) HTTP
1025
+ * endpoint.</p>
943
1026
  * </li>
944
1027
  * </ul>
945
1028
  */
@@ -982,8 +1065,8 @@ export interface CreateDataSourceRequest {
982
1065
  */
983
1066
  type: DataSourceType | string | undefined;
984
1067
  /**
985
- * <p>The Identity and Access Management service role ARN for the data source. The system assumes this
986
- * role when accessing the data source.</p>
1068
+ * <p>The Identity and Access Management (IAM) service role Amazon Resource Name (ARN)
1069
+ * for the data source. The system assumes this role when accessing the data source.</p>
987
1070
  */
988
1071
  serviceRoleArn?: string;
989
1072
  /**
@@ -991,7 +1074,7 @@ export interface CreateDataSourceRequest {
991
1074
  */
992
1075
  dynamodbConfig?: DynamodbDataSourceConfig;
993
1076
  /**
994
- * <p>Amazon Web Services Lambda settings.</p>
1077
+ * <p>Lambda settings.</p>
995
1078
  */
996
1079
  lambdaConfig?: LambdaDataSourceConfig;
997
1080
  /**
@@ -1024,7 +1107,7 @@ export declare namespace CreateDataSourceRequest {
1024
1107
  */
1025
1108
  export interface DataSource {
1026
1109
  /**
1027
- * <p>The data source ARN.</p>
1110
+ * <p>The data source Amazon Resource Name (ARN).</p>
1028
1111
  */
1029
1112
  dataSourceArn?: string;
1030
1113
  /**
@@ -1040,12 +1123,11 @@ export interface DataSource {
1040
1123
  * <ul>
1041
1124
  * <li>
1042
1125
  * <p>
1043
- * <b>AWS_LAMBDA</b>: The data source is an Amazon Web Services Lambda function.</p>
1126
+ * <b>AWS_LAMBDA</b>: The data source is an Lambda function.</p>
1044
1127
  * </li>
1045
1128
  * <li>
1046
1129
  * <p>
1047
- * <b>AMAZON_DYNAMODB</b>: The data source is an Amazon
1048
- * DynamoDB table.</p>
1130
+ * <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.</p>
1049
1131
  * </li>
1050
1132
  * <li>
1051
1133
  * <p>
@@ -1059,10 +1141,10 @@ export interface DataSource {
1059
1141
  * </li>
1060
1142
  * <li>
1061
1143
  * <p>
1062
- * <b>NONE</b>: There is no data source. This type is
1063
- * used when you wish to invoke a GraphQL operation without connecting to a data source,
1064
- * such as performing data transformation with resolvers or triggering a subscription to
1065
- * be invoked from a mutation.</p>
1144
+ * <b>NONE</b>: There is no data source. Use this type
1145
+ * when you want to invoke a GraphQL operation without connecting to a data source, such
1146
+ * as when you're performing data transformation with resolvers or invoking a
1147
+ * subscription from a mutation.</p>
1066
1148
  * </li>
1067
1149
  * <li>
1068
1150
  * <p>
@@ -1078,16 +1160,16 @@ export interface DataSource {
1078
1160
  */
1079
1161
  type?: DataSourceType | string;
1080
1162
  /**
1081
- * <p>The Identity and Access Management service role ARN for the data source. The system assumes this
1082
- * role when accessing the data source.</p>
1163
+ * <p>The Identity and Access Management (IAM) service role Amazon Resource Name (ARN)
1164
+ * for the data source. The system assumes this role when accessing the data source.</p>
1083
1165
  */
1084
1166
  serviceRoleArn?: string;
1085
1167
  /**
1086
- * <p>Amazon DynamoDB settings.</p>
1168
+ * <p>DynamoDB settings.</p>
1087
1169
  */
1088
1170
  dynamodbConfig?: DynamodbDataSourceConfig;
1089
1171
  /**
1090
- * <p>Amazon Web Services Lambda settings.</p>
1172
+ * <p>Lambda settings.</p>
1091
1173
  */
1092
1174
  lambdaConfig?: LambdaDataSourceConfig;
1093
1175
  /**
@@ -1125,6 +1207,73 @@ export declare namespace CreateDataSourceResponse {
1125
1207
  */
1126
1208
  const filterSensitiveLog: (obj: CreateDataSourceResponse) => any;
1127
1209
  }
1210
+ export interface CreateDomainNameRequest {
1211
+ /**
1212
+ * <p>The domain name.</p>
1213
+ */
1214
+ domainName: string | undefined;
1215
+ /**
1216
+ * <p>The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager
1217
+ * (ACM) certificate or an Identity and Access Management (IAM)
1218
+ * server certificate.</p>
1219
+ */
1220
+ certificateArn: string | undefined;
1221
+ /**
1222
+ * <p>A description of the <code>DomainName</code>.</p>
1223
+ */
1224
+ description?: string;
1225
+ }
1226
+ export declare namespace CreateDomainNameRequest {
1227
+ /**
1228
+ * @internal
1229
+ */
1230
+ const filterSensitiveLog: (obj: CreateDomainNameRequest) => any;
1231
+ }
1232
+ /**
1233
+ * <p>Describes a configuration for a custom domain.</p>
1234
+ */
1235
+ export interface DomainNameConfig {
1236
+ /**
1237
+ * <p>The domain name.</p>
1238
+ */
1239
+ domainName?: string;
1240
+ /**
1241
+ * <p>A description of the <code>DomainName</code> configuration.</p>
1242
+ */
1243
+ description?: string;
1244
+ /**
1245
+ * <p>The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager
1246
+ * (ACM) certificate or an Identity and Access Management (IAM)
1247
+ * server certificate.</p>
1248
+ */
1249
+ certificateArn?: string;
1250
+ /**
1251
+ * <p>The domain name that AppSync provides.</p>
1252
+ */
1253
+ appsyncDomainName?: string;
1254
+ /**
1255
+ * <p>The ID of your Amazon Route 53 hosted zone.</p>
1256
+ */
1257
+ hostedZoneId?: string;
1258
+ }
1259
+ export declare namespace DomainNameConfig {
1260
+ /**
1261
+ * @internal
1262
+ */
1263
+ const filterSensitiveLog: (obj: DomainNameConfig) => any;
1264
+ }
1265
+ export interface CreateDomainNameResponse {
1266
+ /**
1267
+ * <p>The configuration for the <code>DomainName</code>.</p>
1268
+ */
1269
+ domainNameConfig?: DomainNameConfig;
1270
+ }
1271
+ export declare namespace CreateDomainNameResponse {
1272
+ /**
1273
+ * @internal
1274
+ */
1275
+ const filterSensitiveLog: (obj: CreateDomainNameResponse) => any;
1276
+ }
1128
1277
  export declare enum ConflictDetectionType {
1129
1278
  NONE = "NONE",
1130
1279
  VERSION = "VERSION"
@@ -1136,12 +1285,13 @@ export declare enum ConflictHandlerType {
1136
1285
  OPTIMISTIC_CONCURRENCY = "OPTIMISTIC_CONCURRENCY"
1137
1286
  }
1138
1287
  /**
1139
- * <p>The <code>LambdaConflictHandlerConfig</code> object when configuring LAMBDA as the
1140
- * Conflict Handler.</p>
1288
+ * <p>The <code>LambdaConflictHandlerConfig</code> object when configuring <code>LAMBDA</code>
1289
+ * as the Conflict Handler.</p>
1141
1290
  */
1142
1291
  export interface LambdaConflictHandlerConfig {
1143
1292
  /**
1144
- * <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
1293
+ * <p>The Amazon Resource Name (ARN) for the Lambda function to use as the
1294
+ * Conflict Handler.</p>
1145
1295
  */
1146
1296
  lambdaConflictHandlerArn?: string;
1147
1297
  }
@@ -1153,8 +1303,8 @@ export declare namespace LambdaConflictHandlerConfig {
1153
1303
  }
1154
1304
  /**
1155
1305
  * <p>Describes a Sync configuration for a resolver.</p>
1156
- * <p>Contains information on which Conflict Detection as well as Resolution strategy should
1157
- * be performed when the resolver is invoked.</p>
1306
+ * <p>Specifies which Conflict Detection strategy and Resolution strategy to use when the
1307
+ * resolver is invoked.</p>
1158
1308
  */
1159
1309
  export interface SyncConfig {
1160
1310
  /**
@@ -1163,7 +1313,7 @@ export interface SyncConfig {
1163
1313
  * <li>
1164
1314
  * <p>
1165
1315
  * <b>OPTIMISTIC_CONCURRENCY</b>: Resolve conflicts by
1166
- * rejecting mutations when versions do not match the latest version at the
1316
+ * rejecting mutations when versions don't match the latest version at the
1167
1317
  * server.</p>
1168
1318
  * </li>
1169
1319
  * <li>
@@ -1173,8 +1323,8 @@ export interface SyncConfig {
1173
1323
  * </li>
1174
1324
  * <li>
1175
1325
  * <p>
1176
- * <b>LAMBDA</b>: Resolve conflicts with a Lambda
1177
- * function supplied in the LambdaConflictHandlerConfig.</p>
1326
+ * <b>LAMBDA</b>: Resolve conflicts with an Lambda function supplied in the
1327
+ * <code>LambdaConflictHandlerConfig</code>.</p>
1178
1328
  * </li>
1179
1329
  * </ul>
1180
1330
  */
@@ -1189,15 +1339,15 @@ export interface SyncConfig {
1189
1339
  * </li>
1190
1340
  * <li>
1191
1341
  * <p>
1192
- * <b>NONE</b>: Do not detect conflicts when executing
1342
+ * <b>NONE</b>: Do not detect conflicts when invoking
1193
1343
  * this resolver.</p>
1194
1344
  * </li>
1195
1345
  * </ul>
1196
1346
  */
1197
1347
  conflictDetection?: ConflictDetectionType | string;
1198
1348
  /**
1199
- * <p>The <code>LambdaConflictHandlerConfig</code> when configuring LAMBDA as the Conflict
1200
- * Handler.</p>
1349
+ * <p>The <code>LambdaConflictHandlerConfig</code> when configuring <code>LAMBDA</code> as the
1350
+ * Conflict Handler.</p>
1201
1351
  */
1202
1352
  lambdaConflictHandlerConfig?: LambdaConflictHandlerConfig;
1203
1353
  }
@@ -1231,18 +1381,18 @@ export interface CreateFunctionRequest {
1231
1381
  */
1232
1382
  requestMappingTemplate?: string;
1233
1383
  /**
1234
- * <p>The <code>Function</code> response mapping template. </p>
1384
+ * <p>The <code>Function</code> response mapping template.</p>
1235
1385
  */
1236
1386
  responseMappingTemplate?: string;
1237
1387
  /**
1238
- * <p>The <code>version</code> of the request mapping template. Currently the supported value
1239
- * is 2018-05-29. </p>
1388
+ * <p>The <code>version</code> of the request mapping template. Currently, the supported value
1389
+ * is 2018-05-29.</p>
1240
1390
  */
1241
1391
  functionVersion: string | undefined;
1242
1392
  /**
1243
1393
  * <p>Describes a Sync configuration for a resolver.</p>
1244
- * <p>Contains information on which Conflict Detection as well as Resolution strategy should
1245
- * be performed when the resolver is invoked.</p>
1394
+ * <p>Specifies which Conflict Detection strategy and Resolution strategy to use when the
1395
+ * resolver is invoked.</p>
1246
1396
  */
1247
1397
  syncConfig?: SyncConfig;
1248
1398
  }
@@ -1253,7 +1403,7 @@ export declare namespace CreateFunctionRequest {
1253
1403
  const filterSensitiveLog: (obj: CreateFunctionRequest) => any;
1254
1404
  }
1255
1405
  /**
1256
- * <p>A function is a reusable entity. Multiple functions can be used to compose the resolver
1406
+ * <p>A function is a reusable entity. You can use multiple functions to compose the resolver
1257
1407
  * logic.</p>
1258
1408
  */
1259
1409
  export interface FunctionConfiguration {
@@ -1262,7 +1412,7 @@ export interface FunctionConfiguration {
1262
1412
  */
1263
1413
  functionId?: string;
1264
1414
  /**
1265
- * <p>The ARN of the <code>Function</code> object.</p>
1415
+ * <p>The Amazon Resource Name (ARN) of the <code>Function</code> object.</p>
1266
1416
  */
1267
1417
  functionArn?: string;
1268
1418
  /**
@@ -1287,14 +1437,14 @@ export interface FunctionConfiguration {
1287
1437
  */
1288
1438
  responseMappingTemplate?: string;
1289
1439
  /**
1290
- * <p>The version of the request mapping template. Currently only the 2018-05-29 version of
1440
+ * <p>The version of the request mapping template. Currently, only the 2018-05-29 version of
1291
1441
  * the template is supported.</p>
1292
1442
  */
1293
1443
  functionVersion?: string;
1294
1444
  /**
1295
1445
  * <p>Describes a Sync configuration for a resolver.</p>
1296
- * <p>Contains information on which Conflict Detection as well as Resolution strategy should
1297
- * be performed when the resolver is invoked.</p>
1446
+ * <p>Specifies which Conflict Detection strategy and Resolution strategy to use when the
1447
+ * resolver is invoked.</p>
1298
1448
  */
1299
1449
  syncConfig?: SyncConfig;
1300
1450
  }
@@ -1322,11 +1472,11 @@ export declare enum FieldLogLevel {
1322
1472
  NONE = "NONE"
1323
1473
  }
1324
1474
  /**
1325
- * <p>The CloudWatch Logs configuration.</p>
1475
+ * <p>The Amazon CloudWatch Logs configuration.</p>
1326
1476
  */
1327
1477
  export interface LogConfig {
1328
1478
  /**
1329
- * <p>The field logging level. Values can be NONE, ERROR, or ALL. </p>
1479
+ * <p>The field logging level. Values can be NONE, ERROR, or ALL.</p>
1330
1480
  * <ul>
1331
1481
  * <li>
1332
1482
  * <p>
@@ -1368,8 +1518,8 @@ export interface LogConfig {
1368
1518
  */
1369
1519
  fieldLogLevel: FieldLogLevel | string | undefined;
1370
1520
  /**
1371
- * <p>The service role that AppSync will assume to publish to Amazon
1372
- * CloudWatch logs in your account. </p>
1521
+ * <p>The service role that AppSync assumes to publish to CloudWatch
1522
+ * logs in your account.</p>
1373
1523
  */
1374
1524
  cloudWatchLogsRoleArn: string | undefined;
1375
1525
  /**
@@ -1401,8 +1551,7 @@ export interface UserPoolConfig {
1401
1551
  */
1402
1552
  awsRegion: string | undefined;
1403
1553
  /**
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
1554
+ * <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
1555
  * configuration.</p>
1407
1556
  */
1408
1557
  defaultAction: DefaultAction | string | undefined;
@@ -1428,8 +1577,8 @@ export interface CreateGraphqlApiRequest {
1428
1577
  */
1429
1578
  logConfig?: LogConfig;
1430
1579
  /**
1431
- * <p>The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user
1432
- * pools, or Amazon Web Services Lambda.</p>
1580
+ * <p>The authentication type: API key, Identity and Access Management (IAM), OpenID
1581
+ * Connect (OIDC), Amazon Cognito user pools, or Lambda.</p>
1433
1582
  */
1434
1583
  authenticationType: AuthenticationType | string | undefined;
1435
1584
  /**
@@ -1437,7 +1586,7 @@ export interface CreateGraphqlApiRequest {
1437
1586
  */
1438
1587
  userPoolConfig?: UserPoolConfig;
1439
1588
  /**
1440
- * <p>The OpenID Connect configuration.</p>
1589
+ * <p>The OIDC configuration.</p>
1441
1590
  */
1442
1591
  openIDConnectConfig?: OpenIDConnectConfig;
1443
1592
  /**
@@ -1452,12 +1601,12 @@ export interface CreateGraphqlApiRequest {
1452
1601
  */
1453
1602
  additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
1454
1603
  /**
1455
- * <p>A flag indicating whether to enable X-Ray tracing for the
1456
- * <code>GraphqlApi</code>.</p>
1604
+ * <p>A flag indicating whether to use X-Ray tracing for the
1605
+ * <code>GraphqlApi</code>.</p>
1457
1606
  */
1458
1607
  xrayEnabled?: boolean;
1459
1608
  /**
1460
- * <p>Configuration for Amazon Web Services Lambda function authorization.</p>
1609
+ * <p>Configuration for Lambda function authorization.</p>
1461
1610
  */
1462
1611
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
1463
1612
  }
@@ -1496,7 +1645,7 @@ export interface GraphqlApi {
1496
1645
  */
1497
1646
  openIDConnectConfig?: OpenIDConnectConfig;
1498
1647
  /**
1499
- * <p>The ARN.</p>
1648
+ * <p>The Amazon Resource Name (ARN).</p>
1500
1649
  */
1501
1650
  arn?: string;
1502
1651
  /**
@@ -1517,17 +1666,17 @@ export interface GraphqlApi {
1517
1666
  */
1518
1667
  additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
1519
1668
  /**
1520
- * <p>A flag representing whether X-Ray tracing is enabled for this
1521
- * <code>GraphqlApi</code>.</p>
1669
+ * <p>A flag indicating whether to use X-Ray tracing for this
1670
+ * <code>GraphqlApi</code>.</p>
1522
1671
  */
1523
1672
  xrayEnabled?: boolean;
1524
1673
  /**
1525
- * <p>The ARN of the WAF ACL associated with this <code>GraphqlApi</code>,
1526
- * if one exists.</p>
1674
+ * <p>The ARN of the WAF access control list (ACL) associated with this
1675
+ * <code>GraphqlApi</code>, if one exists.</p>
1527
1676
  */
1528
1677
  wafWebAclArn?: string;
1529
1678
  /**
1530
- * <p>Configuration for Amazon Web Services Lambda function authorization.</p>
1679
+ * <p>Configuration for Lambda function authorization.</p>
1531
1680
  */
1532
1681
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
1533
1682
  }
@@ -1550,16 +1699,16 @@ export declare namespace CreateGraphqlApiResponse {
1550
1699
  const filterSensitiveLog: (obj: CreateGraphqlApiResponse) => any;
1551
1700
  }
1552
1701
  /**
1553
- * <p>The caching configuration for a resolver that has caching enabled.</p>
1702
+ * <p>The caching configuration for a resolver that has caching activated.</p>
1554
1703
  */
1555
1704
  export interface CachingConfig {
1556
1705
  /**
1557
- * <p>The TTL in seconds for a resolver that has caching enabled.</p>
1558
- * <p>Valid values are between 1 and 3600 seconds.</p>
1706
+ * <p>The TTL in seconds for a resolver that has caching activated.</p>
1707
+ * <p>Valid values are 1–3,600 seconds.</p>
1559
1708
  */
1560
1709
  ttl?: number;
1561
1710
  /**
1562
- * <p>The caching keys for a resolver that has caching enabled.</p>
1711
+ * <p>The caching keys for a resolver that has caching activated.</p>
1563
1712
  * <p>Valid values are entries from the <code>$context.arguments</code>,
1564
1713
  * <code>$context.source</code>, and <code>$context.identity</code> maps.</p>
1565
1714
  */
@@ -1608,16 +1757,17 @@ export interface CreateResolverRequest {
1608
1757
  */
1609
1758
  dataSourceName?: string;
1610
1759
  /**
1611
- * <p>The mapping template to be used for requests.</p>
1760
+ * <p>The mapping template to use for requests.</p>
1612
1761
  * <p>A resolver uses a request mapping template to convert a GraphQL expression into a format
1613
1762
  * that a data source can understand. Mapping templates are written in Apache Velocity
1614
1763
  * Template Language (VTL).</p>
1615
- * <p>VTL request mapping templates are optional when using a Lambda data source. For all
1616
- * other data sources, VTL request and response mapping templates are required.</p>
1764
+ * <p>VTL request mapping templates are optional when using an Lambda data
1765
+ * source. For all other data sources, VTL request and response mapping templates are
1766
+ * required.</p>
1617
1767
  */
1618
1768
  requestMappingTemplate?: string;
1619
1769
  /**
1620
- * <p>The mapping template to be used for responses from the data source.</p>
1770
+ * <p>The mapping template to use for responses from the data source.</p>
1621
1771
  */
1622
1772
  responseMappingTemplate?: string;
1623
1773
  /**
@@ -1626,15 +1776,15 @@ export interface CreateResolverRequest {
1626
1776
  * <li>
1627
1777
  * <p>
1628
1778
  * <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
1629
- * the default resolver type. A UNIT resolver enables you to execute a GraphQL query
1630
- * against a single data source.</p>
1779
+ * the default resolver type. You can use a UNIT resolver to run a GraphQL query against
1780
+ * a single data source.</p>
1631
1781
  * </li>
1632
1782
  * <li>
1633
1783
  * <p>
1634
- * <b>PIPELINE</b>: A PIPELINE resolver type. A PIPELINE
1635
- * resolver enables you to execute a series of <code>Function</code> in a serial manner.
1636
- * You can use a pipeline resolver to execute a GraphQL query against multiple data
1637
- * sources.</p>
1784
+ * <b>PIPELINE</b>: A PIPELINE resolver type. You can
1785
+ * use a PIPELINE resolver to invoke a series of <code>Function</code> objects in a
1786
+ * serial manner. You can use a pipeline resolver to run a GraphQL query against
1787
+ * multiple data sources.</p>
1638
1788
  * </li>
1639
1789
  * </ul>
1640
1790
  */
@@ -1644,7 +1794,7 @@ export interface CreateResolverRequest {
1644
1794
  */
1645
1795
  pipelineConfig?: PipelineConfig;
1646
1796
  /**
1647
- * <p>The <code>SyncConfig</code> for a resolver attached to a versioned datasource.</p>
1797
+ * <p>The <code>SyncConfig</code> for a resolver attached to a versioned data source.</p>
1648
1798
  */
1649
1799
  syncConfig?: SyncConfig;
1650
1800
  /**
@@ -1675,7 +1825,7 @@ export interface Resolver {
1675
1825
  */
1676
1826
  dataSourceName?: string;
1677
1827
  /**
1678
- * <p>The resolver ARN.</p>
1828
+ * <p>The resolver Amazon Resource Name (ARN).</p>
1679
1829
  */
1680
1830
  resolverArn?: string;
1681
1831
  /**
@@ -1692,15 +1842,15 @@ export interface Resolver {
1692
1842
  * <li>
1693
1843
  * <p>
1694
1844
  * <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
1695
- * the default resolver type. A UNIT resolver enables you to execute a GraphQL query
1696
- * against a single data source.</p>
1845
+ * the default resolver type. You can use a UNIT resolver to run a GraphQL query against
1846
+ * a single data source.</p>
1697
1847
  * </li>
1698
1848
  * <li>
1699
1849
  * <p>
1700
- * <b>PIPELINE</b>: A PIPELINE resolver type. A PIPELINE
1701
- * resolver enables you to execute a series of <code>Function</code> in a serial manner.
1702
- * You can use a pipeline resolver to execute a GraphQL query against multiple data
1703
- * sources.</p>
1850
+ * <b>PIPELINE</b>: A PIPELINE resolver type. You can
1851
+ * use a PIPELINE resolver to invoke a series of <code>Function</code> objects in a
1852
+ * serial manner. You can use a pipeline resolver to run a GraphQL query against
1853
+ * multiple data sources.</p>
1704
1854
  * </li>
1705
1855
  * </ul>
1706
1856
  */
@@ -1710,7 +1860,7 @@ export interface Resolver {
1710
1860
  */
1711
1861
  pipelineConfig?: PipelineConfig;
1712
1862
  /**
1713
- * <p>The <code>SyncConfig</code> for a resolver attached to a versioned datasource.</p>
1863
+ * <p>The <code>SyncConfig</code> for a resolver attached to a versioned data source.</p>
1714
1864
  */
1715
1865
  syncConfig?: SyncConfig;
1716
1866
  /**
@@ -1775,7 +1925,7 @@ export interface Type {
1775
1925
  */
1776
1926
  description?: string;
1777
1927
  /**
1778
- * <p>The type ARN.</p>
1928
+ * <p>The type Amazon Resource Name (ARN).</p>
1779
1929
  */
1780
1930
  arn?: string;
1781
1931
  /**
@@ -1879,6 +2029,26 @@ export declare namespace DeleteDataSourceResponse {
1879
2029
  */
1880
2030
  const filterSensitiveLog: (obj: DeleteDataSourceResponse) => any;
1881
2031
  }
2032
+ export interface DeleteDomainNameRequest {
2033
+ /**
2034
+ * <p>The domain name.</p>
2035
+ */
2036
+ domainName: string | undefined;
2037
+ }
2038
+ export declare namespace DeleteDomainNameRequest {
2039
+ /**
2040
+ * @internal
2041
+ */
2042
+ const filterSensitiveLog: (obj: DeleteDomainNameRequest) => any;
2043
+ }
2044
+ export interface DeleteDomainNameResponse {
2045
+ }
2046
+ export declare namespace DeleteDomainNameResponse {
2047
+ /**
2048
+ * @internal
2049
+ */
2050
+ const filterSensitiveLog: (obj: DeleteDomainNameResponse) => any;
2051
+ }
1882
2052
  export interface DeleteFunctionRequest {
1883
2053
  /**
1884
2054
  * <p>The GraphQL API ID.</p>
@@ -1975,6 +2145,26 @@ export declare namespace DeleteTypeResponse {
1975
2145
  */
1976
2146
  const filterSensitiveLog: (obj: DeleteTypeResponse) => any;
1977
2147
  }
2148
+ export interface DisassociateApiRequest {
2149
+ /**
2150
+ * <p>The domain name.</p>
2151
+ */
2152
+ domainName: string | undefined;
2153
+ }
2154
+ export declare namespace DisassociateApiRequest {
2155
+ /**
2156
+ * @internal
2157
+ */
2158
+ const filterSensitiveLog: (obj: DisassociateApiRequest) => any;
2159
+ }
2160
+ export interface DisassociateApiResponse {
2161
+ }
2162
+ export declare namespace DisassociateApiResponse {
2163
+ /**
2164
+ * @internal
2165
+ */
2166
+ const filterSensitiveLog: (obj: DisassociateApiResponse) => any;
2167
+ }
1978
2168
  /**
1979
2169
  * <p>Represents the input of a <code>FlushApiCache</code> operation.</p>
1980
2170
  */
@@ -2001,6 +2191,30 @@ export declare namespace FlushApiCacheResponse {
2001
2191
  */
2002
2192
  const filterSensitiveLog: (obj: FlushApiCacheResponse) => any;
2003
2193
  }
2194
+ export interface GetApiAssociationRequest {
2195
+ /**
2196
+ * <p>The domain name.</p>
2197
+ */
2198
+ domainName: string | undefined;
2199
+ }
2200
+ export declare namespace GetApiAssociationRequest {
2201
+ /**
2202
+ * @internal
2203
+ */
2204
+ const filterSensitiveLog: (obj: GetApiAssociationRequest) => any;
2205
+ }
2206
+ export interface GetApiAssociationResponse {
2207
+ /**
2208
+ * <p>The <code>ApiAssociation</code> object.</p>
2209
+ */
2210
+ apiAssociation?: ApiAssociation;
2211
+ }
2212
+ export declare namespace GetApiAssociationResponse {
2213
+ /**
2214
+ * @internal
2215
+ */
2216
+ const filterSensitiveLog: (obj: GetApiAssociationResponse) => any;
2217
+ }
2004
2218
  /**
2005
2219
  * <p>Represents the input of a <code>GetApiCache</code> operation.</p>
2006
2220
  */
@@ -2059,6 +2273,30 @@ export declare namespace GetDataSourceResponse {
2059
2273
  */
2060
2274
  const filterSensitiveLog: (obj: GetDataSourceResponse) => any;
2061
2275
  }
2276
+ export interface GetDomainNameRequest {
2277
+ /**
2278
+ * <p>The domain name.</p>
2279
+ */
2280
+ domainName: string | undefined;
2281
+ }
2282
+ export declare namespace GetDomainNameRequest {
2283
+ /**
2284
+ * @internal
2285
+ */
2286
+ const filterSensitiveLog: (obj: GetDomainNameRequest) => any;
2287
+ }
2288
+ export interface GetDomainNameResponse {
2289
+ /**
2290
+ * <p>The configuration for the <code>DomainName</code>.</p>
2291
+ */
2292
+ domainNameConfig?: DomainNameConfig;
2293
+ }
2294
+ export declare namespace GetDomainNameResponse {
2295
+ /**
2296
+ * @internal
2297
+ */
2298
+ const filterSensitiveLog: (obj: GetDomainNameResponse) => any;
2299
+ }
2062
2300
  export interface GetFunctionRequest {
2063
2301
  /**
2064
2302
  * <p>The GraphQL API ID.</p>
@@ -2270,12 +2508,12 @@ export interface ListApiKeysRequest {
2270
2508
  */
2271
2509
  apiId: string | undefined;
2272
2510
  /**
2273
- * <p>An identifier that was returned from the previous call to this operation, which can be
2274
- * used to return the next set of items in the list.</p>
2511
+ * <p>An identifier that was returned from the previous call to this operation, which you can
2512
+ * use to return the next set of items in the list.</p>
2275
2513
  */
2276
2514
  nextToken?: string;
2277
2515
  /**
2278
- * <p>The maximum number of results you want the request to return.</p>
2516
+ * <p>The maximum number of results that you want the request to return.</p>
2279
2517
  */
2280
2518
  maxResults?: number;
2281
2519
  }
@@ -2291,8 +2529,8 @@ export interface ListApiKeysResponse {
2291
2529
  */
2292
2530
  apiKeys?: ApiKey[];
2293
2531
  /**
2294
- * <p>An identifier to be passed in the next request to this operation to return the next set
2295
- * of items in the list.</p>
2532
+ * <p>An identifier to pass in the next request to this operation to return the next set of
2533
+ * items in the list.</p>
2296
2534
  */
2297
2535
  nextToken?: string;
2298
2536
  }
@@ -2308,12 +2546,12 @@ export interface ListDataSourcesRequest {
2308
2546
  */
2309
2547
  apiId: string | undefined;
2310
2548
  /**
2311
- * <p>An identifier that was returned from the previous call to this operation, which can be
2312
- * used to return the next set of items in the list. </p>
2549
+ * <p>An identifier that was returned from the previous call to this operation, which you can
2550
+ * use to return the next set of items in the list.</p>
2313
2551
  */
2314
2552
  nextToken?: string;
2315
2553
  /**
2316
- * <p>The maximum number of results you want the request to return.</p>
2554
+ * <p>The maximum number of results that you want the request to return.</p>
2317
2555
  */
2318
2556
  maxResults?: number;
2319
2557
  }
@@ -2329,8 +2567,8 @@ export interface ListDataSourcesResponse {
2329
2567
  */
2330
2568
  dataSources?: DataSource[];
2331
2569
  /**
2332
- * <p>An identifier to be passed in the next request to this operation to return the next set
2333
- * of items in the list.</p>
2570
+ * <p>An identifier to pass in the next request to this operation to return the next set of
2571
+ * items in the list.</p>
2334
2572
  */
2335
2573
  nextToken?: string;
2336
2574
  }
@@ -2340,18 +2578,50 @@ export declare namespace ListDataSourcesResponse {
2340
2578
  */
2341
2579
  const filterSensitiveLog: (obj: ListDataSourcesResponse) => any;
2342
2580
  }
2581
+ export interface ListDomainNamesRequest {
2582
+ /**
2583
+ * <p>The API token.</p>
2584
+ */
2585
+ nextToken?: string;
2586
+ /**
2587
+ * <p>The maximum number of results that you want the request to return.</p>
2588
+ */
2589
+ maxResults?: number;
2590
+ }
2591
+ export declare namespace ListDomainNamesRequest {
2592
+ /**
2593
+ * @internal
2594
+ */
2595
+ const filterSensitiveLog: (obj: ListDomainNamesRequest) => any;
2596
+ }
2597
+ export interface ListDomainNamesResponse {
2598
+ /**
2599
+ * <p>Lists configurations for multiple domain names.</p>
2600
+ */
2601
+ domainNameConfigs?: DomainNameConfig[];
2602
+ /**
2603
+ * <p>The API token.</p>
2604
+ */
2605
+ nextToken?: string;
2606
+ }
2607
+ export declare namespace ListDomainNamesResponse {
2608
+ /**
2609
+ * @internal
2610
+ */
2611
+ const filterSensitiveLog: (obj: ListDomainNamesResponse) => any;
2612
+ }
2343
2613
  export interface ListFunctionsRequest {
2344
2614
  /**
2345
2615
  * <p>The GraphQL API ID.</p>
2346
2616
  */
2347
2617
  apiId: string | undefined;
2348
2618
  /**
2349
- * <p>An identifier that was returned from the previous call to this operation, which can be
2350
- * used to return the next set of items in the list.</p>
2619
+ * <p>An identifier that was returned from the previous call to this operation, which you can
2620
+ * use to return the next set of items in the list.</p>
2351
2621
  */
2352
2622
  nextToken?: string;
2353
2623
  /**
2354
- * <p>The maximum number of results you want the request to return.</p>
2624
+ * <p>The maximum number of results that you want the request to return.</p>
2355
2625
  */
2356
2626
  maxResults?: number;
2357
2627
  }
@@ -2367,8 +2637,8 @@ export interface ListFunctionsResponse {
2367
2637
  */
2368
2638
  functions?: FunctionConfiguration[];
2369
2639
  /**
2370
- * <p>An identifier that was returned from the previous call to this operation, which can be
2371
- * used to return the next set of items in the list.</p>
2640
+ * <p>An identifier that was returned from the previous call to this operation, which you can
2641
+ * use to return the next set of items in the list.</p>
2372
2642
  */
2373
2643
  nextToken?: string;
2374
2644
  }
@@ -2380,12 +2650,12 @@ export declare namespace ListFunctionsResponse {
2380
2650
  }
2381
2651
  export interface ListGraphqlApisRequest {
2382
2652
  /**
2383
- * <p>An identifier that was returned from the previous call to this operation, which can be
2384
- * used to return the next set of items in the list. </p>
2653
+ * <p>An identifier that was returned from the previous call to this operation, which you can
2654
+ * use to return the next set of items in the list.</p>
2385
2655
  */
2386
2656
  nextToken?: string;
2387
2657
  /**
2388
- * <p>The maximum number of results you want the request to return.</p>
2658
+ * <p>The maximum number of results that you want the request to return.</p>
2389
2659
  */
2390
2660
  maxResults?: number;
2391
2661
  }
@@ -2401,8 +2671,8 @@ export interface ListGraphqlApisResponse {
2401
2671
  */
2402
2672
  graphqlApis?: GraphqlApi[];
2403
2673
  /**
2404
- * <p>An identifier to be passed in the next request to this operation to return the next set
2405
- * of items in the list.</p>
2674
+ * <p>An identifier to pass in the next request to this operation to return the next set of
2675
+ * items in the list.</p>
2406
2676
  */
2407
2677
  nextToken?: string;
2408
2678
  }
@@ -2422,12 +2692,12 @@ export interface ListResolversRequest {
2422
2692
  */
2423
2693
  typeName: string | undefined;
2424
2694
  /**
2425
- * <p>An identifier that was returned from the previous call to this operation, which can be
2426
- * used to return the next set of items in the list. </p>
2695
+ * <p>An identifier that was returned from the previous call to this operation, which you can
2696
+ * use to return the next set of items in the list.</p>
2427
2697
  */
2428
2698
  nextToken?: string;
2429
2699
  /**
2430
- * <p>The maximum number of results you want the request to return.</p>
2700
+ * <p>The maximum number of results that you want the request to return.</p>
2431
2701
  */
2432
2702
  maxResults?: number;
2433
2703
  }
@@ -2443,8 +2713,8 @@ export interface ListResolversResponse {
2443
2713
  */
2444
2714
  resolvers?: Resolver[];
2445
2715
  /**
2446
- * <p>An identifier to be passed in the next request to this operation to return the next set
2447
- * of items in the list.</p>
2716
+ * <p>An identifier to pass in the next request to this operation to return the next set of
2717
+ * items in the list.</p>
2448
2718
  */
2449
2719
  nextToken?: string;
2450
2720
  }
@@ -2460,7 +2730,7 @@ export interface ListResolversByFunctionRequest {
2460
2730
  */
2461
2731
  apiId: string | undefined;
2462
2732
  /**
2463
- * <p>The Function ID.</p>
2733
+ * <p>The function ID.</p>
2464
2734
  */
2465
2735
  functionId: string | undefined;
2466
2736
  /**
@@ -2469,7 +2739,7 @@ export interface ListResolversByFunctionRequest {
2469
2739
  */
2470
2740
  nextToken?: string;
2471
2741
  /**
2472
- * <p>The maximum number of results you want the request to return.</p>
2742
+ * <p>The maximum number of results that you want the request to return.</p>
2473
2743
  */
2474
2744
  maxResults?: number;
2475
2745
  }
@@ -2485,7 +2755,7 @@ export interface ListResolversByFunctionResponse {
2485
2755
  */
2486
2756
  resolvers?: Resolver[];
2487
2757
  /**
2488
- * <p>An identifier that can be used to return the next set of items in the list.</p>
2758
+ * <p>An identifier that you can use to return the next set of items in the list.</p>
2489
2759
  */
2490
2760
  nextToken?: string;
2491
2761
  }
@@ -2497,7 +2767,7 @@ export declare namespace ListResolversByFunctionResponse {
2497
2767
  }
2498
2768
  export interface ListTagsForResourceRequest {
2499
2769
  /**
2500
- * <p>The <code>GraphqlApi</code> ARN.</p>
2770
+ * <p>The <code>GraphqlApi</code> Amazon Resource Name (ARN).</p>
2501
2771
  */
2502
2772
  resourceArn: string | undefined;
2503
2773
  }
@@ -2531,12 +2801,12 @@ export interface ListTypesRequest {
2531
2801
  */
2532
2802
  format: TypeDefinitionFormat | string | undefined;
2533
2803
  /**
2534
- * <p>An identifier that was returned from the previous call to this operation, which can be
2535
- * used to return the next set of items in the list. </p>
2804
+ * <p>An identifier that was returned from the previous call to this operation, which you can
2805
+ * use to return the next set of items in the list.</p>
2536
2806
  */
2537
2807
  nextToken?: string;
2538
2808
  /**
2539
- * <p>The maximum number of results you want the request to return.</p>
2809
+ * <p>The maximum number of results that you want the request to return.</p>
2540
2810
  */
2541
2811
  maxResults?: number;
2542
2812
  }
@@ -2552,8 +2822,8 @@ export interface ListTypesResponse {
2552
2822
  */
2553
2823
  types?: Type[];
2554
2824
  /**
2555
- * <p>An identifier to be passed in the next request to this operation to return the next set
2556
- * of items in the list.</p>
2825
+ * <p>An identifier to pass in the next request to this operation to return the next set of
2826
+ * items in the list.</p>
2557
2827
  */
2558
2828
  nextToken?: string;
2559
2829
  }
@@ -2594,7 +2864,7 @@ export declare namespace StartSchemaCreationResponse {
2594
2864
  }
2595
2865
  export interface TagResourceRequest {
2596
2866
  /**
2597
- * <p>The <code>GraphqlApi</code> ARN.</p>
2867
+ * <p>The <code>GraphqlApi</code> Amazon Resource Name (ARN).</p>
2598
2868
  */
2599
2869
  resourceArn: string | undefined;
2600
2870
  /**
@@ -2620,7 +2890,7 @@ export declare namespace TagResourceResponse {
2620
2890
  }
2621
2891
  export interface UntagResourceRequest {
2622
2892
  /**
2623
- * <p>The <code>GraphqlApi</code> ARN.</p>
2893
+ * <p>The <code>GraphqlApi</code> Amazon Resource Name (ARN).</p>
2624
2894
  */
2625
2895
  resourceArn: string | undefined;
2626
2896
  /**
@@ -2647,12 +2917,12 @@ export declare namespace UntagResourceResponse {
2647
2917
  */
2648
2918
  export interface UpdateApiCacheRequest {
2649
2919
  /**
2650
- * <p>The GraphQL API Id.</p>
2920
+ * <p>The GraphQL API ID.</p>
2651
2921
  */
2652
2922
  apiId: string | undefined;
2653
2923
  /**
2654
2924
  * <p>TTL in seconds for cache entries.</p>
2655
- * <p>Valid values are between 1 and 3600 seconds.</p>
2925
+ * <p>Valid values are 1–3,600 seconds.</p>
2656
2926
  */
2657
2927
  ttl: number | undefined;
2658
2928
  /**
@@ -2784,8 +3054,8 @@ export interface UpdateApiKeyRequest {
2784
3054
  */
2785
3055
  description?: string;
2786
3056
  /**
2787
- * <p>The time from update time after which the API key expires. The date is represented as
2788
- * seconds since the epoch. For more information, see .</p>
3057
+ * <p>From the update time, the time after which the API key expires. The date is represented
3058
+ * as seconds since the epoch. For more information, see .</p>
2789
3059
  */
2790
3060
  expires?: number;
2791
3061
  }
@@ -2825,7 +3095,7 @@ export interface UpdateDataSourceRequest {
2825
3095
  */
2826
3096
  type: DataSourceType | string | undefined;
2827
3097
  /**
2828
- * <p>The new service role ARN for the data source.</p>
3098
+ * <p>The new service role Amazon Resource Name (ARN) for the data source.</p>
2829
3099
  */
2830
3100
  serviceRoleArn?: string;
2831
3101
  /**
@@ -2833,7 +3103,7 @@ export interface UpdateDataSourceRequest {
2833
3103
  */
2834
3104
  dynamodbConfig?: DynamodbDataSourceConfig;
2835
3105
  /**
2836
- * <p>The new Amazon Web Services Lambda configuration.</p>
3106
+ * <p>The new Lambda configuration.</p>
2837
3107
  */
2838
3108
  lambdaConfig?: LambdaDataSourceConfig;
2839
3109
  /**
@@ -2873,6 +3143,34 @@ export declare namespace UpdateDataSourceResponse {
2873
3143
  */
2874
3144
  const filterSensitiveLog: (obj: UpdateDataSourceResponse) => any;
2875
3145
  }
3146
+ export interface UpdateDomainNameRequest {
3147
+ /**
3148
+ * <p>The domain name.</p>
3149
+ */
3150
+ domainName: string | undefined;
3151
+ /**
3152
+ * <p>A description of the <code>DomainName</code>.</p>
3153
+ */
3154
+ description?: string;
3155
+ }
3156
+ export declare namespace UpdateDomainNameRequest {
3157
+ /**
3158
+ * @internal
3159
+ */
3160
+ const filterSensitiveLog: (obj: UpdateDomainNameRequest) => any;
3161
+ }
3162
+ export interface UpdateDomainNameResponse {
3163
+ /**
3164
+ * <p>The configuration for the <code>DomainName</code>.</p>
3165
+ */
3166
+ domainNameConfig?: DomainNameConfig;
3167
+ }
3168
+ export declare namespace UpdateDomainNameResponse {
3169
+ /**
3170
+ * @internal
3171
+ */
3172
+ const filterSensitiveLog: (obj: UpdateDomainNameResponse) => any;
3173
+ }
2876
3174
  export interface UpdateFunctionRequest {
2877
3175
  /**
2878
3176
  * <p>The GraphQL API ID.</p>
@@ -2901,18 +3199,18 @@ export interface UpdateFunctionRequest {
2901
3199
  */
2902
3200
  requestMappingTemplate?: string;
2903
3201
  /**
2904
- * <p>The <code>Function</code> request mapping template. </p>
3202
+ * <p>The <code>Function</code> request mapping template.</p>
2905
3203
  */
2906
3204
  responseMappingTemplate?: string;
2907
3205
  /**
2908
- * <p>The <code>version</code> of the request mapping template. Currently the supported value
2909
- * is 2018-05-29. </p>
3206
+ * <p>The <code>version</code> of the request mapping template. Currently, the supported value
3207
+ * is 2018-05-29.</p>
2910
3208
  */
2911
3209
  functionVersion: string | undefined;
2912
3210
  /**
2913
3211
  * <p>Describes a Sync configuration for a resolver.</p>
2914
- * <p>Contains information on which Conflict Detection as well as Resolution strategy should
2915
- * be performed when the resolver is invoked.</p>
3212
+ * <p>Specifies which Conflict Detection strategy and Resolution strategy to use when the
3213
+ * resolver is invoked.</p>
2916
3214
  */
2917
3215
  syncConfig?: SyncConfig;
2918
3216
  }
@@ -2952,7 +3250,7 @@ export interface UpdateGraphqlApiRequest {
2952
3250
  */
2953
3251
  authenticationType?: AuthenticationType | string;
2954
3252
  /**
2955
- * <p>The new Amazon Cognito user pool configuration for the <code>GraphqlApi</code>
3253
+ * <p>The new Amazon Cognito user pool configuration for the <code>~GraphqlApi</code>
2956
3254
  * object.</p>
2957
3255
  */
2958
3256
  userPoolConfig?: UserPoolConfig;
@@ -2966,12 +3264,12 @@ export interface UpdateGraphqlApiRequest {
2966
3264
  */
2967
3265
  additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
2968
3266
  /**
2969
- * <p>A flag indicating whether to enable X-Ray tracing for the
2970
- * <code>GraphqlApi</code>.</p>
3267
+ * <p>A flag indicating whether to use X-Ray tracing for the
3268
+ * <code>GraphqlApi</code>.</p>
2971
3269
  */
2972
3270
  xrayEnabled?: boolean;
2973
3271
  /**
2974
- * <p>Configuration for Amazon Web Services Lambda function authorization.</p>
3272
+ * <p>Configuration for Lambda function authorization.</p>
2975
3273
  */
2976
3274
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
2977
3275
  }
@@ -3015,8 +3313,9 @@ export interface UpdateResolverRequest {
3015
3313
  * <p>A resolver uses a request mapping template to convert a GraphQL expression into a format
3016
3314
  * that a data source can understand. Mapping templates are written in Apache Velocity
3017
3315
  * Template Language (VTL).</p>
3018
- * <p>VTL request mapping templates are optional when using a Lambda data source. For all
3019
- * other data sources, VTL request and response mapping templates are required.</p>
3316
+ * <p>VTL request mapping templates are optional when using an Lambda data
3317
+ * source. For all other data sources, VTL request and response mapping templates are
3318
+ * required.</p>
3020
3319
  */
3021
3320
  requestMappingTemplate?: string;
3022
3321
  /**
@@ -3029,15 +3328,15 @@ export interface UpdateResolverRequest {
3029
3328
  * <li>
3030
3329
  * <p>
3031
3330
  * <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
3032
- * the default resolver type. A UNIT resolver enables you to execute a GraphQL query
3033
- * against a single data source.</p>
3331
+ * the default resolver type. You can use a UNIT resolver to run a GraphQL query against
3332
+ * a single data source.</p>
3034
3333
  * </li>
3035
3334
  * <li>
3036
3335
  * <p>
3037
- * <b>PIPELINE</b>: A PIPELINE resolver type. A PIPELINE
3038
- * resolver enables you to execute a series of <code>Function</code> in a serial manner.
3039
- * You can use a pipeline resolver to execute a GraphQL query against multiple data
3040
- * sources.</p>
3336
+ * <b>PIPELINE</b>: A PIPELINE resolver type. You can
3337
+ * use a PIPELINE resolver to invoke a series of <code>Function</code> objects in a
3338
+ * serial manner. You can use a pipeline resolver to run a GraphQL query against
3339
+ * multiple data sources.</p>
3041
3340
  * </li>
3042
3341
  * </ul>
3043
3342
  */
@@ -3047,7 +3346,7 @@ export interface UpdateResolverRequest {
3047
3346
  */
3048
3347
  pipelineConfig?: PipelineConfig;
3049
3348
  /**
3050
- * <p>The <code>SyncConfig</code> for a resolver attached to a versioned datasource.</p>
3349
+ * <p>The <code>SyncConfig</code> for a resolver attached to a versioned data source.</p>
3051
3350
  */
3052
3351
  syncConfig?: SyncConfig;
3053
3352
  /**