Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Jul 26, 2022
1 parent 485d4a7 commit ea8313d
Show file tree
Hide file tree
Showing 75 changed files with 11,438 additions and 960 deletions.
57 changes: 57 additions & 0 deletions apis/appsync/2017-07-25/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,20 @@
{"shape":"NotFoundException"}
]
},
"EvaluateMappingTemplate":{
"name":"EvaluateMappingTemplate",
"http":{
"method":"POST",
"requestUri":"/v1/dataplane-evaluatetemplate"
},
"input":{"shape":"EvaluateMappingTemplateRequest"},
"output":{"shape":"EvaluateMappingTemplateResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"InternalFailureException"},
{"shape":"BadRequestException"}
]
},
"FlushApiCache":{
"name":"FlushApiCache",
"http":{
Expand Down Expand Up @@ -968,6 +982,7 @@
"BooleanValue":{"type":"boolean"},
"CachingConfig":{
"type":"structure",
"required":["ttl"],
"members":{
"ttl":{"shape":"Long"},
"cachingKeys":{"shape":"CachingKeys"}
Expand Down Expand Up @@ -1019,6 +1034,12 @@
"NONE"
]
},
"Context":{
"type":"string",
"max":28000,
"min":2,
"pattern":"^[\\s\\S]*$"
},
"CreateApiCacheRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -1514,7 +1535,37 @@
"awsRegion":{"shape":"String"}
}
},
"ErrorDetail":{
"type":"structure",
"members":{
"message":{"shape":"ErrorMessage"}
}
},
"ErrorMessage":{"type":"string"},
"EvaluateMappingTemplateRequest":{
"type":"structure",
"required":[
"template",
"context"
],
"members":{
"template":{"shape":"Template"},
"context":{"shape":"Context"}
}
},
"EvaluateMappingTemplateResponse":{
"type":"structure",
"members":{
"evaluationResult":{"shape":"EvaluationResult"},
"error":{"shape":"ErrorDetail"}
}
},
"EvaluationResult":{
"type":"string",
"max":65536,
"min":0,
"pattern":"^[\\s\\S]*$"
},
"FieldLogLevel":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -2352,6 +2403,12 @@
"max":256,
"pattern":"^[\\s\\w+-=\\.:/@]*$"
},
"Template":{
"type":"string",
"max":65536,
"min":2,
"pattern":"^[\\s\\S]*$"
},
"Type":{
"type":"structure",
"members":{
Expand Down
40 changes: 38 additions & 2 deletions apis/appsync/2017-07-25/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"DeleteResolver": "<p>Deletes a <code>Resolver</code> object.</p>",
"DeleteType": "<p>Deletes a <code>Type</code> object.</p>",
"DisassociateApi": "<p>Removes an <code>ApiAssociation</code> object from a custom domain.</p>",
"EvaluateMappingTemplate": "<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>",
"FlushApiCache": "<p>Flushes an <code>ApiCache</code> object.</p>",
"GetApiAssociation": "<p>Retrieves an <code>ApiAssociation</code> object.</p>",
"GetApiCache": "<p>Retrieves an <code>ApiCache</code> object.</p>",
Expand Down Expand Up @@ -258,6 +259,12 @@
"SyncConfig$conflictHandler": "<p>The Conflict Resolution strategy to perform in the event of a conflict.</p> <ul> <li> <p> <b>OPTIMISTIC_CONCURRENCY</b>: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.</p> </li> <li> <p> <b>AUTOMERGE</b>: Resolve conflicts with the Automerge conflict resolution strategy.</p> </li> <li> <p> <b>LAMBDA</b>: Resolve conflicts with an Lambda function supplied in the <code>LambdaConflictHandlerConfig</code>.</p> </li> </ul>"
}
},
"Context": {
"base": null,
"refs": {
"EvaluateMappingTemplateRequest$context": "<p>The map that holds all of the contextual information for your resolver invocation. A <code>context</code> is required for this action.</p>"
}
},
"CreateApiCacheRequest": {
"base": "<p>Represents the input of a <code>CreateApiCache</code> operation.</p>",
"refs": {
Expand Down Expand Up @@ -516,14 +523,37 @@
"UpdateDataSourceRequest$elasticsearchConfig": "<p>The new OpenSearch configuration.</p> <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use <a>UpdateDataSourceRequest$openSearchServiceConfig</a> to update an OpenSearch data source.</p>"
}
},
"ErrorDetail": {
"base": "<p>Contains the list of errors generated when attempting to evaluate a mapping template.</p>",
"refs": {
"EvaluateMappingTemplateResponse$error": "<p>The <code>ErrorDetail</code> object.</p>"
}
},
"ErrorMessage": {
"base": null,
"refs": {
"BadRequestException$message": null,
"ConcurrentModificationException$message": null,
"ErrorDetail$message": "<p>The error payload.</p>",
"GraphQLSchemaException$message": null
}
},
"EvaluateMappingTemplateRequest": {
"base": null,
"refs": {
}
},
"EvaluateMappingTemplateResponse": {
"base": null,
"refs": {
}
},
"EvaluationResult": {
"base": null,
"refs": {
"EvaluateMappingTemplateResponse$evaluationResult": "<p>The mapping template; this can be a request or response template.</p>"
}
},
"FieldLogLevel": {
"base": null,
"refs": {
Expand Down Expand Up @@ -1064,7 +1094,7 @@
"CachingKeys$member": null,
"CognitoUserPoolConfig$userPoolId": "<p>The user pool ID.</p>",
"CognitoUserPoolConfig$awsRegion": "<p>The Amazon Web Services Region in which the user pool was created.</p>",
"CognitoUserPoolConfig$appIdClientRegex": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID.</p>",
"CognitoUserPoolConfig$appIdClientRegex": "<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>",
"CreateApiCacheRequest$apiId": "<p>The GraphQL API ID.</p>",
"CreateApiKeyRequest$apiId": "<p>The ID for your GraphQL API.</p>",
"CreateApiKeyRequest$description": "<p>A description of the purpose of the API key.</p>",
Expand Down Expand Up @@ -1165,7 +1195,7 @@
"UpdateTypeRequest$definition": "<p>The new definition.</p>",
"UserPoolConfig$userPoolId": "<p>The user pool ID.</p>",
"UserPoolConfig$awsRegion": "<p>The Amazon Web Services Region in which the user pool was created.</p>",
"UserPoolConfig$appIdClientRegex": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID.</p>"
"UserPoolConfig$appIdClientRegex": "<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>"
}
},
"SyncConfig": {
Expand Down Expand Up @@ -1223,6 +1253,12 @@
"TagMap$value": null
}
},
"Template": {
"base": null,
"refs": {
"EvaluateMappingTemplateRequest$template": "<p>The mapping template; this can be a request or response template. A <code>template</code> is required for this action.</p>"
}
},
"Type": {
"base": "<p>Describes a type.</p>",
"refs": {
Expand Down
Loading

0 comments on commit ea8313d

Please sign in to comment.