:doc:`Glue <../../glue>` / Client / delete_integration

******************
delete_integration
******************



.. py:method:: Glue.Client.delete_integration(**kwargs)

  

  Deletes the specified Zero-ETL integration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteIntegration>`_  


  **Request Syntax**
  ::

    response = client.delete_integration(
        IntegrationIdentifier='string'
    )
    
  :type IntegrationIdentifier: string
  :param IntegrationIdentifier: **[REQUIRED]** 

    The Amazon Resource Name (ARN) for the integration.

    

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

    
    ::

      {
          'SourceArn': 'string',
          'TargetArn': 'string',
          'IntegrationName': 'string',
          'Description': 'string',
          'IntegrationArn': 'string',
          'KmsKeyId': 'string',
          'AdditionalEncryptionContext': {
              'string': 'string'
          },
          'Tags': [
              {
                  'key': 'string',
                  'value': 'string'
              },
          ],
          'Status': 'CREATING'|'ACTIVE'|'MODIFYING'|'FAILED'|'DELETING'|'SYNCING'|'NEEDS_ATTENTION',
          'CreateTime': datetime(2015, 1, 1),
          'Errors': [
              {
                  'ErrorCode': 'string',
                  'ErrorMessage': 'string'
              },
          ],
          'DataFilter': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **SourceArn** *(string) --* 

        The ARN of the source for the integration.

        
      

      - **TargetArn** *(string) --* 

        The ARN of the target for the integration.

        
      

      - **IntegrationName** *(string) --* 

        A unique name for an integration in Glue.

        
      

      - **Description** *(string) --* 

        A description of the integration.

        
      

      - **IntegrationArn** *(string) --* 

        The Amazon Resource Name (ARN) for the integration.

        
      

      - **KmsKeyId** *(string) --* 

        The ARN of a KMS key used for encrypting the channel.

        
      

      - **AdditionalEncryptionContext** *(dict) --* 

        An optional set of non-secret key–value pairs that contains additional contextual information for encryption.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
      

      - **Tags** *(list) --* 

        Metadata assigned to the resource consisting of a list of key-value pairs.

        
        

        - *(dict) --* 

          The ``Tag`` object represents a label that you can assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define.

           

          For more information about tags, and controlling access to resources in Glue, see `Amazon Web Services Tags in Glue <https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html>`__ and `Specifying Glue Resource ARNs <https://docs.aws.amazon.com/glue/latest/dg/glue-specifying-resource-arns.html>`__ in the developer guide.

          
          

          - **key** *(string) --* 

            The tag key. The key is required when you create a tag on an object. The key is case-sensitive, and must not contain the prefix aws.

            
          

          - **value** *(string) --* 

            The tag value. The value is optional when you create a tag on an object. The value is case-sensitive, and must not contain the prefix aws.

            
      
    
      

      - **Status** *(string) --* 

        The status of the integration being deleted.

         

        The possible statuses are:

         

        
        * CREATING: The integration is being created.
         
        * ACTIVE: The integration creation succeeds.
         
        * MODIFYING: The integration is being modified.
         
        * FAILED: The integration creation fails.
         
        * DELETING: The integration is deleted.
         
        * SYNCING: The integration is synchronizing.
         
        * NEEDS_ATTENTION: The integration needs attention, such as synchronization.
        

        
      

      - **CreateTime** *(datetime) --* 

        The time when the integration was created, in UTC.

        
      

      - **Errors** *(list) --* 

        A list of errors associated with the integration.

        
        

        - *(dict) --* 

          An error associated with a zero-ETL integration.

          
          

          - **ErrorCode** *(string) --* 

            The code associated with this error.

            
          

          - **ErrorMessage** *(string) --* 

            A message describing the error.

            
      
    
      

      - **DataFilter** *(string) --* 

        Selects source tables for the integration using Maxwell filter syntax.

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

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

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

  
  *   :py:class:`Glue.Client.exceptions.IntegrationNotFoundFault`

  
  *   :py:class:`Glue.Client.exceptions.IntegrationConflictOperationFault`

  
  *   :py:class:`Glue.Client.exceptions.InvalidIntegrationStateFault`

  
  *   :py:class:`Glue.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

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

  
  *   :py:class:`Glue.Client.exceptions.InvalidStateException`

  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

  