Skip to content

Commit e979c7a

Browse files
authored
chore: sync service models (#663)
1 parent fb5701b commit e979c7a

33 files changed

+8957
-1032
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "28d3eab6-9055-41d6-a1db-9b4fc8d79ceb",
3+
"type": "misc",
4+
"description": "Sync AWS service models."
5+
}

codegen/sdk/aws-models/account.json

Lines changed: 364 additions & 22 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/appsync.json

Lines changed: 115 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@
105105
{
106106
"target": "com.amazonaws.appsync#DisassociateApi"
107107
},
108+
{
109+
"target": "com.amazonaws.appsync#EvaluateMappingTemplate"
110+
},
108111
{
109112
"target": "com.amazonaws.appsync#FlushApiCache"
110113
},
@@ -704,7 +707,8 @@
704707
"ttl": {
705708
"target": "com.amazonaws.appsync#Long",
706709
"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": {}
708712
}
709713
},
710714
"cachingKeys": {
@@ -754,7 +758,7 @@
754758
"appIdClientRegex": {
755759
"target": "com.amazonaws.appsync#String",
756760
"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>"
758762
}
759763
}
760764
},
@@ -813,6 +817,16 @@
813817
]
814818
}
815819
},
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+
},
816830
"com.amazonaws.appsync#CreateApiCache": {
817831
"type": "operation",
818832
"input": {
@@ -2361,9 +2375,97 @@
23612375
"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>"
23622376
}
23632377
},
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+
},
23642392
"com.amazonaws.appsync#ErrorMessage": {
23652393
"type": "string"
23662394
},
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+
},
23672469
"com.amazonaws.appsync#FieldLogLevel": {
23682470
"type": "string",
23692471
"traits": {
@@ -4626,6 +4728,16 @@
46264728
"smithy.api#pattern": "^[\\s\\w+-=\\.:/@]*$"
46274729
}
46284730
},
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+
},
46294741
"com.amazonaws.appsync#Type": {
46304742
"type": "structure",
46314743
"members": {
@@ -5557,7 +5669,7 @@
55575669
"appIdClientRegex": {
55585670
"target": "com.amazonaws.appsync#String",
55595671
"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>"
55615673
}
55625674
}
55635675
},

0 commit comments

Comments
 (0)