NetworkManager / Client / list_core_network_prefix_list_associations

list_core_network_prefix_list_associations

NetworkManager.Client.list_core_network_prefix_list_associations(**kwargs)

Lists the prefix list associations for a core network.

See also: AWS API Documentation

Request Syntax

response = client.list_core_network_prefix_list_associations(
    CoreNetworkId='string',
    PrefixListArn='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • CoreNetworkId (string) –

    [REQUIRED]

    The ID of the core network to list prefix list associations for.

  • PrefixListArn (string) – The ARN of a specific prefix list to filter the associations.

  • MaxResults (integer) – The maximum number of results to return in a single page.

  • NextToken (string) – The token for the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'PrefixListAssociations': [
        {
            'CoreNetworkId': 'string',
            'PrefixListArn': 'string',
            'PrefixListAlias': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • PrefixListAssociations (list) –

      The list of prefix list associations for the core network.

      • (dict) –

        Information about a prefix list association with a core network.

        • CoreNetworkId (string) –

          The core network id in the association.

        • PrefixListArn (string) –

          The ARN of the prefix list in the association.

        • PrefixListAlias (string) –

          The alias of the prefix list in the association.

    • NextToken (string) –

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException

  • NetworkManager.Client.exceptions.ResourceNotFoundException

  • NetworkManager.Client.exceptions.AccessDeniedException

  • NetworkManager.Client.exceptions.ThrottlingException

  • NetworkManager.Client.exceptions.InternalServerException