:doc:`EC2 <../../ec2>` / Client / deregister_instance_event_notification_attributes

*************************************************
deregister_instance_event_notification_attributes
*************************************************



.. py:method:: EC2.Client.deregister_instance_event_notification_attributes(**kwargs)

  

  Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterInstanceEventNotificationAttributes>`_  


  **Request Syntax**
  ::

    response = client.deregister_instance_event_notification_attributes(
        DryRun=True|False,
        InstanceTagAttribute={
            'IncludeAllTagsOfInstance': True|False,
            'InstanceTagKeys': [
                'string',
            ]
        }
    )
    
  :type DryRun: boolean
  :param DryRun: 

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ``DryRunOperation``. Otherwise, it is ``UnauthorizedOperation``.

    

  
  :type InstanceTagAttribute: dict
  :param InstanceTagAttribute: **[REQUIRED]** 

    Information about the tag keys to deregister.

    

  
    - **IncludeAllTagsOfInstance** *(boolean) --* 

      Indicates whether to deregister all tag keys in the current Region. Specify ``false`` to deregister all tag keys.

      

    
    - **InstanceTagKeys** *(list) --* 

      Information about the tag keys to deregister.

      

    
      - *(string) --* 

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

    
    ::

      {
          'InstanceTagAttribute': {
              'InstanceTagKeys': [
                  'string',
              ],
              'IncludeAllTagsOfInstance': True|False
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **InstanceTagAttribute** *(dict) --* 

        The resulting set of tag keys.

        
        

        - **InstanceTagKeys** *(list) --* 

          The registered tag keys.

          
          

          - *(string) --* 
      
        

        - **IncludeAllTagsOfInstance** *(boolean) --* 

          Indicates wheter all tag keys in the current Region are registered to appear in scheduled event notifications. ``true`` indicates that all tag keys in the current Region are registered.

          
    
  