:doc:`NetworkManager <../../networkmanager>` / Client / create_core_network_prefix_list_association

*******************************************
create_core_network_prefix_list_association
*******************************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateCoreNetworkPrefixListAssociation>`_  


  **Request Syntax**
  ::

    response = client.create_core_network_prefix_list_association(
        CoreNetworkId='string',
        PrefixListArn='string',
        PrefixListAlias='string',
        ClientToken='string'
    )
    
  :type CoreNetworkId: string
  :param CoreNetworkId: **[REQUIRED]** 

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

    

  
  :type PrefixListArn: string
  :param PrefixListArn: **[REQUIRED]** 

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

    

  
  :type PrefixListAlias: string
  :param PrefixListAlias: **[REQUIRED]** 

    An optional alias for the prefix list association.

    

  
  :type ClientToken: string
  :param ClientToken: 

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

    This field is autopopulated if not provided.

  
  
  :rtype: 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**
  
  *   :py:class:`NetworkManager.Client.exceptions.ValidationException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`NetworkManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ConflictException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NetworkManager.Client.exceptions.InternalServerException`

  