|
316 | 316 | ],
|
317 | 317 | "documentation":"<p>Removes an <code>ApiAssociation</code> object from a custom domain.</p>"
|
318 | 318 | },
|
| 319 | + "EvaluateMappingTemplate":{ |
| 320 | + "name":"EvaluateMappingTemplate", |
| 321 | + "http":{ |
| 322 | + "method":"POST", |
| 323 | + "requestUri":"/v1/dataplane-evaluatetemplate" |
| 324 | + }, |
| 325 | + "input":{"shape":"EvaluateMappingTemplateRequest"}, |
| 326 | + "output":{"shape":"EvaluateMappingTemplateResponse"}, |
| 327 | + "errors":[ |
| 328 | + {"shape":"AccessDeniedException"}, |
| 329 | + {"shape":"InternalFailureException"}, |
| 330 | + {"shape":"BadRequestException"} |
| 331 | + ], |
| 332 | + "documentation":"<p>Evaluates a given template and returns the response. The mapping template can be a request or response template.</p> <p>Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.</p> <p>Mapping templates are written in the Apache Velocity Template Language (VTL).</p>" |
| 333 | + }, |
319 | 334 | "FlushApiCache":{
|
320 | 335 | "name":"FlushApiCache",
|
321 | 336 | "http":{
|
|
1101 | 1116 | "BooleanValue":{"type":"boolean"},
|
1102 | 1117 | "CachingConfig":{
|
1103 | 1118 | "type":"structure",
|
| 1119 | + "required":["ttl"], |
1104 | 1120 | "members":{
|
1105 | 1121 | "ttl":{
|
1106 | 1122 | "shape":"Long",
|
|
1140 | 1156 | },
|
1141 | 1157 | "appIdClientRegex":{
|
1142 | 1158 | "shape":"String",
|
1143 |
| - "documentation":"<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID.</p>" |
| 1159 | + "documentation":"<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.</p>" |
1144 | 1160 | }
|
1145 | 1161 | },
|
1146 | 1162 | "documentation":"<p>Describes an Amazon Cognito user pool configuration.</p>"
|
|
1170 | 1186 | "NONE"
|
1171 | 1187 | ]
|
1172 | 1188 | },
|
| 1189 | + "Context":{ |
| 1190 | + "type":"string", |
| 1191 | + "max":28000, |
| 1192 | + "min":2, |
| 1193 | + "pattern":"^[\\s\\S]*$" |
| 1194 | + }, |
1173 | 1195 | "CreateApiCacheRequest":{
|
1174 | 1196 | "type":"structure",
|
1175 | 1197 | "required":[
|
|
1939 | 1961 | },
|
1940 | 1962 | "documentation":"<p>Describes an OpenSearch data source configuration.</p> <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use <a>OpenSearchServiceDataSourceConfig</a> to specify an OpenSearch data source.</p>"
|
1941 | 1963 | },
|
| 1964 | + "ErrorDetail":{ |
| 1965 | + "type":"structure", |
| 1966 | + "members":{ |
| 1967 | + "message":{ |
| 1968 | + "shape":"ErrorMessage", |
| 1969 | + "documentation":"<p>The error payload.</p>" |
| 1970 | + } |
| 1971 | + }, |
| 1972 | + "documentation":"<p>Contains the list of errors generated when attempting to evaluate a mapping template.</p>" |
| 1973 | + }, |
1942 | 1974 | "ErrorMessage":{"type":"string"},
|
| 1975 | + "EvaluateMappingTemplateRequest":{ |
| 1976 | + "type":"structure", |
| 1977 | + "required":[ |
| 1978 | + "template", |
| 1979 | + "context" |
| 1980 | + ], |
| 1981 | + "members":{ |
| 1982 | + "template":{ |
| 1983 | + "shape":"Template", |
| 1984 | + "documentation":"<p>The mapping template; this can be a request or response template. A <code>template</code> is required for this action.</p>" |
| 1985 | + }, |
| 1986 | + "context":{ |
| 1987 | + "shape":"Context", |
| 1988 | + "documentation":"<p>The map that holds all of the contextual information for your resolver invocation. A <code>context</code> is required for this action.</p>" |
| 1989 | + } |
| 1990 | + } |
| 1991 | + }, |
| 1992 | + "EvaluateMappingTemplateResponse":{ |
| 1993 | + "type":"structure", |
| 1994 | + "members":{ |
| 1995 | + "evaluationResult":{ |
| 1996 | + "shape":"EvaluationResult", |
| 1997 | + "documentation":"<p>The mapping template; this can be a request or response template.</p>" |
| 1998 | + }, |
| 1999 | + "error":{ |
| 2000 | + "shape":"ErrorDetail", |
| 2001 | + "documentation":"<p>The <code>ErrorDetail</code> object.</p>" |
| 2002 | + } |
| 2003 | + } |
| 2004 | + }, |
| 2005 | + "EvaluationResult":{ |
| 2006 | + "type":"string", |
| 2007 | + "max":65536, |
| 2008 | + "min":0, |
| 2009 | + "pattern":"^[\\s\\S]*$" |
| 2010 | + }, |
1943 | 2011 | "FieldLogLevel":{
|
1944 | 2012 | "type":"string",
|
1945 | 2013 | "enum":[
|
|
3122 | 3190 | "max":256,
|
3123 | 3191 | "pattern":"^[\\s\\w+-=\\.:/@]*$"
|
3124 | 3192 | },
|
| 3193 | + "Template":{ |
| 3194 | + "type":"string", |
| 3195 | + "max":65536, |
| 3196 | + "min":2, |
| 3197 | + "pattern":"^[\\s\\S]*$" |
| 3198 | + }, |
3125 | 3199 | "Type":{
|
3126 | 3200 | "type":"structure",
|
3127 | 3201 | "members":{
|
|
3612 | 3686 | },
|
3613 | 3687 | "appIdClientRegex":{
|
3614 | 3688 | "shape":"String",
|
3615 |
| - "documentation":"<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID.</p>" |
| 3689 | + "documentation":"<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.</p>" |
3616 | 3690 | }
|
3617 | 3691 | },
|
3618 | 3692 | "documentation":"<p>Describes an Amazon Cognito user pool configuration.</p>"
|
|
0 commit comments