LexModelsV2 / Client / list_bot_replicas

list_bot_replicas#

LexModelsV2.Client.list_bot_replicas(**kwargs)#

The action to list the replicated bots.

See also: AWS API Documentation

Request Syntax

response = client.list_bot_replicas(
    botId='string'
)
Parameters:

botId (string) –

[REQUIRED]

The request for the unique bot IDs in the list of replicated bots.

Return type:

dict

Returns:

Response Syntax

{
    'botId': 'string',
    'sourceRegion': 'string',
    'botReplicaSummaries': [
        {
            'replicaRegion': 'string',
            'creationDateTime': datetime(2015, 1, 1),
            'botReplicaStatus': 'Enabling'|'Enabled'|'Deleting'|'Failed',
            'failureReasons': [
                'string',
            ]
        },
    ]
}

Response Structure

  • (dict) –

    • botId (string) –

      the unique bot IDs in the list of replicated bots.

    • sourceRegion (string) –

      The source region of the source bots in the list of replicated bots.

    • botReplicaSummaries (list) –

      The summary details for the replicated bots.

      • (dict) –

        Contains summary information about all the replication statuses applicable for global resiliency.

        • replicaRegion (string) –

          The replica region used in the replication statuses summary.

        • creationDateTime (datetime) –

          The creation time and date for the replicated bots.

        • botReplicaStatus (string) –

          The operation status for the replicated bot applicable.

        • failureReasons (list) –

          The reasons for the failure for the replicated bot.

          • (string) –

Exceptions