AmplifyBackend

2021/06/25 - AmplifyBackend - 1 new api methods

Changes  Imports an existing backend authentication resource.

ImportBackendAuth (new) Link ΒΆ

Imports an existing backend authentication resource.

See also: AWS API Documentation

Request Syntax

client.import_backend_auth(
    AppId='string',
    BackendEnvironmentName='string',
    IdentityPoolId='string',
    NativeClientId='string',
    UserPoolId='string',
    WebClientId='string'
)
type AppId:

string

param AppId:

[REQUIRED]

The app ID.

type BackendEnvironmentName:

string

param BackendEnvironmentName:

[REQUIRED]

The name of the backend environment.

type IdentityPoolId:

string

param IdentityPoolId:

The ID of the Amazon Cognito identity pool.

type NativeClientId:

string

param NativeClientId:

[REQUIRED]

The ID of the Amazon Cognito native client.

type UserPoolId:

string

param UserPoolId:

[REQUIRED]

The ID of the Amazon Cognito user pool.

type WebClientId:

string

param WebClientId:

[REQUIRED]

The ID of the Amazon Cognito web client.

rtype:

dict

returns:

Response Syntax

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

Response Structure

  • (dict) --

    200 response

    • AppId (string) --

      The app ID.

    • BackendEnvironmentName (string) --

      The name of the backend environment.

    • Error (string) --

      If the request fails, this error is returned.

    • JobId (string) --

      The ID for the job.

    • Operation (string) --

      The name of the operation.

    • Status (string) --

      The current status of the request.