AmplifyBackend / Client / create_backend_config

create_backend_config#

AmplifyBackend.Client.create_backend_config(**kwargs)#

Creates a config object for a backend.

See also: AWS API Documentation

Request Syntax

response = client.create_backend_config(
    AppId='string',
    BackendManagerAppId='string'
)
Parameters:
  • AppId (string) –

    [REQUIRED]

    The app ID.

  • BackendManagerAppId (string) – The app ID for the backend manager.

Return type:

dict

Returns:

Response Syntax

{
    'AppId': 'string',
    'BackendEnvironmentName': 'string',
    'JobId': 'string',
    'Status': 'string'
}

Response Structure

  • (dict) –

    200 response

    • AppId (string) –

      The app ID.

    • BackendEnvironmentName (string) –

      The name of the backend environment.

    • JobId (string) –

      The ID for the job.

    • Status (string) –

      The current status of the request.

Exceptions

  • AmplifyBackend.Client.exceptions.NotFoundException

  • AmplifyBackend.Client.exceptions.GatewayTimeoutException

  • AmplifyBackend.Client.exceptions.TooManyRequestsException

  • AmplifyBackend.Client.exceptions.BadRequestException