LexModelsV2 / Client / delete_bot_replica

delete_bot_replica#

LexModelsV2.Client.delete_bot_replica(**kwargs)#

The action to delete the replicated bot in the secondary region.

See also: AWS API Documentation

Request Syntax

response = client.delete_bot_replica(
    botId='string',
    replicaRegion='string'
)
Parameters:
  • botId (string) –

    [REQUIRED]

    The unique ID of the replicated bot to be deleted from the secondary region

  • replicaRegion (string) –

    [REQUIRED]

    The secondary region of the replicated bot that will be deleted.

Return type:

dict

Returns:

Response Syntax

{
    'botId': 'string',
    'replicaRegion': 'string',
    'botReplicaStatus': 'Enabling'|'Enabled'|'Deleting'|'Failed'
}

Response Structure

  • (dict) –

    • botId (string) –

      The unique bot ID of the replicated bot generated.

    • replicaRegion (string) –

      The region of the replicated bot generated.

    • botReplicaStatus (string) –

      The operational status of the replicated bot generated.

Exceptions