AmplifyBackend

2021/10/06 - AmplifyBackend - 1 updated api methods

Changes  Adding a new field 'AmplifyFeatureFlags' to the response of the GetBackend operation. It will return a stringified version of the cli.json file for the given Amplify project.

GetBackend (updated) Link ΒΆ
Changes (response)
{'AmplifyFeatureFlags': 'string'}

Provides project-level details for your Amplify UI project.

See also: AWS API Documentation

Request Syntax

client.get_backend(
    AppId='string',
    BackendEnvironmentName='string'
)
type AppId:

string

param AppId:

[REQUIRED]

The app ID.

type BackendEnvironmentName:

string

param BackendEnvironmentName:

The name of the backend environment.

rtype:

dict

returns:

Response Syntax

{
    'AmplifyFeatureFlags': 'string',
    'AmplifyMetaConfig': 'string',
    'AppId': 'string',
    'AppName': 'string',
    'BackendEnvironmentList': [
        'string',
    ],
    'BackendEnvironmentName': 'string',
    'Error': 'string'
}

Response Structure

  • (dict) --

    200 response

    • AmplifyFeatureFlags (string) --

      A stringified version of the cli.json file for your Amplify project.

    • AmplifyMetaConfig (string) --

      A stringified version of the current configs for your Amplify project.

    • AppId (string) --

      The app ID.

    • AppName (string) --

      The name of the app.

    • BackendEnvironmentList (list) --

      A list of backend environments in an array.

      • (string) --

    • BackendEnvironmentName (string) --

      The name of the backend environment.

    • Error (string) --

      If the request failed, this is the returned error.