NetworkManager / Client / create_core_network_prefix_list_association

create_core_network_prefix_list_association

NetworkManager.Client.create_core_network_prefix_list_association(**kwargs)

Creates an association between a core network and a prefix list for routing control.

See also: AWS API Documentation

Request Syntax

response = client.create_core_network_prefix_list_association(
    CoreNetworkId='string',
    PrefixListArn='string',
    PrefixListAlias='string',
    ClientToken='string'
)
Parameters:
  • CoreNetworkId (string) –

    [REQUIRED]

    The ID of the core network to associate with the prefix list.

  • PrefixListArn (string) –

    [REQUIRED]

    The ARN of the prefix list to associate with the core network.

  • PrefixListAlias (string) –

    [REQUIRED]

    An optional alias for the prefix list association.

  • ClientToken (string) –

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'CoreNetworkId': 'string',
    'PrefixListArn': 'string',
    'PrefixListAlias': 'string'
}

Response Structure

  • (dict) –

    • CoreNetworkId (string) –

      The ID of the core network associated with the prefix list.

    • PrefixListArn (string) –

      The ARN of the prefix list that was associated with the core network.

    • PrefixListAlias (string) –

      The alias of the prefix list association, if provided.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException

  • NetworkManager.Client.exceptions.ServiceQuotaExceededException

  • NetworkManager.Client.exceptions.AccessDeniedException

  • NetworkManager.Client.exceptions.ResourceNotFoundException

  • NetworkManager.Client.exceptions.ConflictException

  • NetworkManager.Client.exceptions.ThrottlingException

  • NetworkManager.Client.exceptions.InternalServerException