|
105 | 105 | { |
106 | 106 | "target": "com.amazonaws.appsync#DisassociateApi" |
107 | 107 | }, |
| 108 | + { |
| 109 | + "target": "com.amazonaws.appsync#EvaluateMappingTemplate" |
| 110 | + }, |
108 | 111 | { |
109 | 112 | "target": "com.amazonaws.appsync#FlushApiCache" |
110 | 113 | }, |
|
704 | 707 | "ttl": { |
705 | 708 | "target": "com.amazonaws.appsync#Long", |
706 | 709 | "traits": { |
707 | | - "smithy.api#documentation": "<p>The TTL in seconds for a resolver that has caching activated.</p>\n <p>Valid values are 1–3,600 seconds.</p>" |
| 710 | + "smithy.api#documentation": "<p>The TTL in seconds for a resolver that has caching activated.</p>\n <p>Valid values are 1–3,600 seconds.</p>", |
| 711 | + "smithy.api#required": {} |
708 | 712 | } |
709 | 713 | }, |
710 | 714 | "cachingKeys": { |
|
754 | 758 | "appIdClientRegex": { |
755 | 759 | "target": "com.amazonaws.appsync#String", |
756 | 760 | "traits": { |
757 | | - "smithy.api#documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client\n ID.</p>" |
| 761 | + "smithy.api#documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client\n ID. If this value isn't set, no filtering is applied.</p>" |
758 | 762 | } |
759 | 763 | } |
760 | 764 | }, |
|
813 | 817 | ] |
814 | 818 | } |
815 | 819 | }, |
| 820 | + "com.amazonaws.appsync#Context": { |
| 821 | + "type": "string", |
| 822 | + "traits": { |
| 823 | + "smithy.api#length": { |
| 824 | + "min": 2, |
| 825 | + "max": 28000 |
| 826 | + }, |
| 827 | + "smithy.api#pattern": "^[\\s\\S]*$" |
| 828 | + } |
| 829 | + }, |
816 | 830 | "com.amazonaws.appsync#CreateApiCache": { |
817 | 831 | "type": "operation", |
818 | 832 | "input": { |
|
2361 | 2375 | "smithy.api#documentation": "<p>Describes an OpenSearch data source configuration.</p>\n <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This\n configuration is deprecated. For new data sources, use <a>OpenSearchServiceDataSourceConfig</a> to specify an OpenSearch data\n source.</p>" |
2362 | 2376 | } |
2363 | 2377 | }, |
| 2378 | + "com.amazonaws.appsync#ErrorDetail": { |
| 2379 | + "type": "structure", |
| 2380 | + "members": { |
| 2381 | + "message": { |
| 2382 | + "target": "com.amazonaws.appsync#ErrorMessage", |
| 2383 | + "traits": { |
| 2384 | + "smithy.api#documentation": "<p>The error payload.</p>" |
| 2385 | + } |
| 2386 | + } |
| 2387 | + }, |
| 2388 | + "traits": { |
| 2389 | + "smithy.api#documentation": "<p>Contains the list of errors generated when attempting to evaluate a mapping\n template.</p>" |
| 2390 | + } |
| 2391 | + }, |
2364 | 2392 | "com.amazonaws.appsync#ErrorMessage": { |
2365 | 2393 | "type": "string" |
2366 | 2394 | }, |
| 2395 | + "com.amazonaws.appsync#EvaluateMappingTemplate": { |
| 2396 | + "type": "operation", |
| 2397 | + "input": { |
| 2398 | + "target": "com.amazonaws.appsync#EvaluateMappingTemplateRequest" |
| 2399 | + }, |
| 2400 | + "output": { |
| 2401 | + "target": "com.amazonaws.appsync#EvaluateMappingTemplateResponse" |
| 2402 | + }, |
| 2403 | + "errors": [ |
| 2404 | + { |
| 2405 | + "target": "com.amazonaws.appsync#AccessDeniedException" |
| 2406 | + }, |
| 2407 | + { |
| 2408 | + "target": "com.amazonaws.appsync#BadRequestException" |
| 2409 | + }, |
| 2410 | + { |
| 2411 | + "target": "com.amazonaws.appsync#InternalFailureException" |
| 2412 | + } |
| 2413 | + ], |
| 2414 | + "traits": { |
| 2415 | + "smithy.api#documentation": "<p>Evaluates a given template and returns the response. The mapping template can be a\n request or response template.</p>\n <p>Request templates take the incoming request after a GraphQL operation is parsed and\n convert it into a request configuration for the selected data source operation. Response\n templates interpret responses from the data source and map it to the shape of the GraphQL\n field output type.</p>\n <p>Mapping templates are written in the Apache Velocity Template Language (VTL).</p>", |
| 2416 | + "smithy.api#http": { |
| 2417 | + "method": "POST", |
| 2418 | + "uri": "/v1/dataplane-evaluatetemplate", |
| 2419 | + "code": 200 |
| 2420 | + } |
| 2421 | + } |
| 2422 | + }, |
| 2423 | + "com.amazonaws.appsync#EvaluateMappingTemplateRequest": { |
| 2424 | + "type": "structure", |
| 2425 | + "members": { |
| 2426 | + "template": { |
| 2427 | + "target": "com.amazonaws.appsync#Template", |
| 2428 | + "traits": { |
| 2429 | + "smithy.api#documentation": "<p>The mapping template; this can be a request or response template. A\n <code>template</code> is required for this action.</p>", |
| 2430 | + "smithy.api#required": {} |
| 2431 | + } |
| 2432 | + }, |
| 2433 | + "context": { |
| 2434 | + "target": "com.amazonaws.appsync#Context", |
| 2435 | + "traits": { |
| 2436 | + "smithy.api#documentation": "<p>The map that holds all of the contextual information for your resolver invocation. A\n <code>context</code> is required for this action.</p>", |
| 2437 | + "smithy.api#required": {} |
| 2438 | + } |
| 2439 | + } |
| 2440 | + } |
| 2441 | + }, |
| 2442 | + "com.amazonaws.appsync#EvaluateMappingTemplateResponse": { |
| 2443 | + "type": "structure", |
| 2444 | + "members": { |
| 2445 | + "evaluationResult": { |
| 2446 | + "target": "com.amazonaws.appsync#EvaluationResult", |
| 2447 | + "traits": { |
| 2448 | + "smithy.api#documentation": "<p>The mapping template; this can be a request or response template.</p>" |
| 2449 | + } |
| 2450 | + }, |
| 2451 | + "error": { |
| 2452 | + "target": "com.amazonaws.appsync#ErrorDetail", |
| 2453 | + "traits": { |
| 2454 | + "smithy.api#documentation": "<p>The <code>ErrorDetail</code> object.</p>" |
| 2455 | + } |
| 2456 | + } |
| 2457 | + } |
| 2458 | + }, |
| 2459 | + "com.amazonaws.appsync#EvaluationResult": { |
| 2460 | + "type": "string", |
| 2461 | + "traits": { |
| 2462 | + "smithy.api#length": { |
| 2463 | + "min": 0, |
| 2464 | + "max": 65536 |
| 2465 | + }, |
| 2466 | + "smithy.api#pattern": "^[\\s\\S]*$" |
| 2467 | + } |
| 2468 | + }, |
2367 | 2469 | "com.amazonaws.appsync#FieldLogLevel": { |
2368 | 2470 | "type": "string", |
2369 | 2471 | "traits": { |
|
4626 | 4728 | "smithy.api#pattern": "^[\\s\\w+-=\\.:/@]*$" |
4627 | 4729 | } |
4628 | 4730 | }, |
| 4731 | + "com.amazonaws.appsync#Template": { |
| 4732 | + "type": "string", |
| 4733 | + "traits": { |
| 4734 | + "smithy.api#length": { |
| 4735 | + "min": 2, |
| 4736 | + "max": 65536 |
| 4737 | + }, |
| 4738 | + "smithy.api#pattern": "^[\\s\\S]*$" |
| 4739 | + } |
| 4740 | + }, |
4629 | 4741 | "com.amazonaws.appsync#Type": { |
4630 | 4742 | "type": "structure", |
4631 | 4743 | "members": { |
|
5557 | 5669 | "appIdClientRegex": { |
5558 | 5670 | "target": "com.amazonaws.appsync#String", |
5559 | 5671 | "traits": { |
5560 | | - "smithy.api#documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client\n ID.</p>" |
| 5672 | + "smithy.api#documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client\n ID. If this value isn't set, no filtering is applied.</p>" |
5561 | 5673 | } |
5562 | 5674 | } |
5563 | 5675 | }, |
|
0 commit comments