AmplifyBackend

2023/01/05 - AmplifyBackend - 1 updated api methods

Changes  Updated GetBackendAPIModels response to include ModelIntrospectionSchema json string

GetBackendAPIModels (updated) Link ΒΆ
Changes (response)
{'ModelIntrospectionSchema': 'string'}

Gets a model introspection schema for an existing backend API resource.

See also: AWS API Documentation

Request Syntax

client.get_backend_api_models(
    AppId='string',
    BackendEnvironmentName='string',
    ResourceName='string'
)
type AppId

string

param AppId

[REQUIRED]

The app ID.

type BackendEnvironmentName

string

param BackendEnvironmentName

[REQUIRED]

The name of the backend environment.

type ResourceName

string

param ResourceName

[REQUIRED]

The name of this resource.

rtype

dict

returns

Response Syntax

{
    'Models': 'string',
    'Status': 'LATEST'|'STALE',
    'ModelIntrospectionSchema': 'string'
}

Response Structure

  • (dict) --

    200 response

    • Models (string) --

      Stringified JSON of the datastore model.

    • Status (string) --

      The current status of the request.

    • ModelIntrospectionSchema (string) --

      Stringified JSON of the model introspection schema for an existing backend API resource.