Skip to content

Commit

Permalink
AmplifyBackend Update: Updated GetBackendAPIModels response to includ…
Browse files Browse the repository at this point in the history
…e ModelIntrospectionSchema json string
  • Loading branch information
AWS committed Jan 5, 2023
1 parent 49feee5 commit a7f00ad
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 27 deletions.
6 changes: 6 additions & 0 deletions .changes/next-release/feature-AmplifyBackend-e51e813.json
@@ -0,0 +1,6 @@
{
"type": "feature",
"category": "AmplifyBackend",
"contributor": "",
"description": "Updated GetBackendAPIModels response to include ModelIntrospectionSchema json string"
}
Expand Up @@ -3,7 +3,7 @@
"parameters": {
"Region": {
"builtIn": "AWS::Region",
"required": false,
"required": true,
"documentation": "The AWS region used to dispatch the request.",
"type": "String"
},
Expand Down Expand Up @@ -52,15 +52,6 @@
"ref": "Endpoint"
}
]
},
{
"fn": "parseURL",
"argv": [
{
"ref": "Endpoint"
}
],
"assign": "url"
}
],
"type": "tree",
Expand Down
Expand Up @@ -553,7 +553,7 @@
"documentation": "<p>400 response</p>"
}
],
"documentation": "<p>Generates a model schema for existing backend API resource.</p>"
"documentation": "<p>Gets a model introspection schema for an existing backend API resource.</p>"
},
"GetBackendAuth": {
"name": "GetBackendAuth",
Expand Down Expand Up @@ -2915,22 +2915,6 @@
}
}
},
"GetBackendAPICodegenRespObj": {
"type": "structure",
"members": {
"Models": {
"shape": "__string",
"locationName": "models",
"documentation": "<p>Stringified JSON of the datastore model.</p>"
},
"Status": {
"shape": "Status",
"locationName": "status",
"documentation": "<p>The current status of the request.</p>"
}
},
"documentation": "<p>The response object for this operation.</p>"
},
"GetBackendAPIModelsRequest": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -2971,6 +2955,11 @@
"shape": "Status",
"locationName": "status",
"documentation": "<p>The current status of the request.</p>"
},
"ModelIntrospectionSchema": {
"shape": "__string",
"locationName": "modelIntrospectionSchema",
"documentation": "<p>Stringified JSON of the model introspection schema for an existing backend API resource.</p>"
}
}
},
Expand Down

0 comments on commit a7f00ad

Please sign in to comment.