odb / Client / list_autonomous_database_peers

list_autonomous_database_peers

odb.Client.list_autonomous_database_peers(**kwargs)

Lists the peer databases of the specified Autonomous Database.

See also: AWS API Documentation

Request Syntax

response = client.list_autonomous_database_peers(
    maxResults=123,
    nextToken='string',
    autonomousDatabaseId='string'
)
Parameters:
  • maxResults (integer) – The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.

  • nextToken (string) – The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

  • autonomousDatabaseId (string) –

    [REQUIRED]

    The unique identifier of the Autonomous Database whose peer databases you want to list.

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'autonomousDatabasePeers': [
        {
            'autonomousDatabaseId': 'string',
            'autonomousDatabaseArn': 'string',
            'ocid': 'string',
            'region': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • nextToken (string) –

      The token to include in another request to get the next page of items. This value is null when there are no more items to return.

    • autonomousDatabasePeers (list) –

      The list of peer databases for the Autonomous Database.

      • (dict) –

        A summary of a peer database of an Autonomous Database.

        • autonomousDatabaseId (string) –

          The unique identifier of the peer Autonomous Database.

        • autonomousDatabaseArn (string) –

          The Amazon Resource Name (ARN) of the peer Autonomous Database.

        • ocid (string) –

          The Oracle Cloud Identifier (OCID) of the peer Autonomous Database.

        • region (string) –

          The Amazon Web Services Region where the peer Autonomous Database is located.

Exceptions

  • odb.Client.exceptions.ThrottlingException

  • odb.Client.exceptions.ValidationException

  • odb.Client.exceptions.AccessDeniedException

  • odb.Client.exceptions.InternalServerException

  • odb.Client.exceptions.ResourceNotFoundException