:doc:`VPCLattice <../../vpc-lattice>` / Client / delete_service_network_vpc_association

**************************************
delete_service_network_vpc_association
**************************************



.. py:method:: VPCLattice.Client.delete_service_network_vpc_association(**kwargs)

  

  Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/DeleteServiceNetworkVpcAssociation>`_  


  **Request Syntax**
  ::

    response = client.delete_service_network_vpc_association(
        serviceNetworkVpcAssociationIdentifier='string'
    )
    
  :type serviceNetworkVpcAssociationIdentifier: string
  :param serviceNetworkVpcAssociationIdentifier: **[REQUIRED]** 

    The ID or ARN of the association.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'id': 'string',
          'status': 'CREATE_IN_PROGRESS'|'ACTIVE'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_FAILED'|'UPDATE_FAILED',
          'arn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The ID of the association.

        
      

      - **status** *(string) --* 

        The status. You can retry the operation if the status is ``DELETE_FAILED``. However, if you retry it while the status is ``DELETE_IN_PROGRESS``, there is no change in the status.

        
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the association.

        
  
  **Exceptions**
  
  *   :py:class:`VPCLattice.Client.exceptions.ValidationException`

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

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

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

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

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

  