LexModelsV2 / Client / list_bot_alias_replicas

list_bot_alias_replicas#

LexModelsV2.Client.list_bot_alias_replicas(**kwargs)#

The action to list the replicated bots created from the source bot alias.

See also: AWS API Documentation

Request Syntax

response = client.list_bot_alias_replicas(
    botId='string',
    replicaRegion='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • botId (string) –

    [REQUIRED]

    The request for the unique bot ID of the replicated bot created from the source bot alias.

  • replicaRegion (string) –

    [REQUIRED]

    The request for the secondary region of the replicated bot created from the source bot alias.

  • maxResults (integer) – The request for maximum results to list the replicated bots created from the source bot alias.

  • nextToken (string) – The request for the next token for the replicated bot created from the source bot alias.

Return type:

dict

Returns:

Response Syntax

{
    'botId': 'string',
    'sourceRegion': 'string',
    'replicaRegion': 'string',
    'botAliasReplicaSummaries': [
        {
            'botAliasId': 'string',
            'botAliasReplicationStatus': 'Creating'|'Updating'|'Available'|'Deleting'|'Failed',
            'botVersion': 'string',
            'creationDateTime': datetime(2015, 1, 1),
            'lastUpdatedDateTime': datetime(2015, 1, 1),
            'failureReasons': [
                'string',
            ]
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • botId (string) –

      The unique bot ID of the replicated bot created from the source bot alias.

    • sourceRegion (string) –

      The source region of the replicated bot created from the source bot alias.

    • replicaRegion (string) –

      The secondary region of the replicated bot created from the source bot alias.

    • botAliasReplicaSummaries (list) –

      The summary information of the replicated bot created from the source bot alias.

      • (dict) –

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

        • botAliasId (string) –

          The bot alias ID for all the alias bot replications.

        • botAliasReplicationStatus (string) –

          The replication statuses for all the alias bot replications.

        • botVersion (string) –

          The bot version for all the alias bot replications.

        • creationDateTime (datetime) –

          The creation time and date for all the alias bot replications.

        • lastUpdatedDateTime (datetime) –

          The last time and date updated for all the alias bot replications.

        • failureReasons (list) –

          The reasons for failure for the aliases bot replications.

          • (string) –

    • nextToken (string) –

      The next token for the replicated bots created from the source bot alias.

Exceptions