Skip to content

Commit

Permalink
chore: sync service models (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucix-aws authored Jul 28, 2022
1 parent fb5701b commit e979c7a
Show file tree
Hide file tree
Showing 33 changed files with 8,957 additions and 1,032 deletions.
5 changes: 5 additions & 0 deletions .changes/28d3eab6-9055-41d6-a1db-9b4fc8d79ceb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "28d3eab6-9055-41d6-a1db-9b4fc8d79ceb",
"type": "misc",
"description": "Sync AWS service models."
}
386 changes: 364 additions & 22 deletions codegen/sdk/aws-models/account.json

Large diffs are not rendered by default.

118 changes: 115 additions & 3 deletions codegen/sdk/aws-models/appsync.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
{
"target": "com.amazonaws.appsync#DisassociateApi"
},
{
"target": "com.amazonaws.appsync#EvaluateMappingTemplate"
},
{
"target": "com.amazonaws.appsync#FlushApiCache"
},
Expand Down Expand Up @@ -704,7 +707,8 @@
"ttl": {
"target": "com.amazonaws.appsync#Long",
"traits": {
"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>"
"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>",
"smithy.api#required": {}
}
},
"cachingKeys": {
Expand Down Expand Up @@ -754,7 +758,7 @@
"appIdClientRegex": {
"target": "com.amazonaws.appsync#String",
"traits": {
"smithy.api#documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client\n ID.</p>"
"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>"
}
}
},
Expand Down Expand Up @@ -813,6 +817,16 @@
]
}
},
"com.amazonaws.appsync#Context": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 2,
"max": 28000
},
"smithy.api#pattern": "^[\\s\\S]*$"
}
},
"com.amazonaws.appsync#CreateApiCache": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -2361,9 +2375,97 @@
"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>"
}
},
"com.amazonaws.appsync#ErrorDetail": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.appsync#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The error payload.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the list of errors generated when attempting to evaluate a mapping\n template.</p>"
}
},
"com.amazonaws.appsync#ErrorMessage": {
"type": "string"
},
"com.amazonaws.appsync#EvaluateMappingTemplate": {
"type": "operation",
"input": {
"target": "com.amazonaws.appsync#EvaluateMappingTemplateRequest"
},
"output": {
"target": "com.amazonaws.appsync#EvaluateMappingTemplateResponse"
},
"errors": [
{
"target": "com.amazonaws.appsync#AccessDeniedException"
},
{
"target": "com.amazonaws.appsync#BadRequestException"
},
{
"target": "com.amazonaws.appsync#InternalFailureException"
}
],
"traits": {
"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>",
"smithy.api#http": {
"method": "POST",
"uri": "/v1/dataplane-evaluatetemplate",
"code": 200
}
}
},
"com.amazonaws.appsync#EvaluateMappingTemplateRequest": {
"type": "structure",
"members": {
"template": {
"target": "com.amazonaws.appsync#Template",
"traits": {
"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>",
"smithy.api#required": {}
}
},
"context": {
"target": "com.amazonaws.appsync#Context",
"traits": {
"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>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.appsync#EvaluateMappingTemplateResponse": {
"type": "structure",
"members": {
"evaluationResult": {
"target": "com.amazonaws.appsync#EvaluationResult",
"traits": {
"smithy.api#documentation": "<p>The mapping template; this can be a request or response template.</p>"
}
},
"error": {
"target": "com.amazonaws.appsync#ErrorDetail",
"traits": {
"smithy.api#documentation": "<p>The <code>ErrorDetail</code> object.</p>"
}
}
}
},
"com.amazonaws.appsync#EvaluationResult": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 65536
},
"smithy.api#pattern": "^[\\s\\S]*$"
}
},
"com.amazonaws.appsync#FieldLogLevel": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -4626,6 +4728,16 @@
"smithy.api#pattern": "^[\\s\\w+-=\\.:/@]*$"
}
},
"com.amazonaws.appsync#Template": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 2,
"max": 65536
},
"smithy.api#pattern": "^[\\s\\S]*$"
}
},
"com.amazonaws.appsync#Type": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -5557,7 +5669,7 @@
"appIdClientRegex": {
"target": "com.amazonaws.appsync#String",
"traits": {
"smithy.api#documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client\n ID.</p>"
"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>"
}
}
},
Expand Down
Loading

0 comments on commit e979c7a

Please sign in to comment.