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

*******************************************
modify_vpc_endpoint_connection_notification
*******************************************



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

  

  Modifies a connection notification for VPC endpoint or VPC endpoint service. You can change the SNS topic for the notification, or the events for which to be notified.

  

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


  **Request Syntax**
  ::

    response = client.modify_vpc_endpoint_connection_notification(
        DryRun=True|False,
        ConnectionNotificationId='string',
        ConnectionNotificationArn='string',
        ConnectionEvents=[
            '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 ConnectionNotificationId: string
  :param ConnectionNotificationId: **[REQUIRED]** 

    The ID of the notification.

    

  
  :type ConnectionNotificationArn: string
  :param ConnectionNotificationArn: 

    The ARN for the SNS topic for the notification.

    

  
  :type ConnectionEvents: list
  :param ConnectionEvents: 

    The events for the endpoint. Valid values are ``Accept``, ``Connect``, ``Delete``, and ``Reject``.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'ReturnValue': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ReturnValue** *(boolean) --* 

        Returns ``true`` if the request succeeds; otherwise, it returns an error.

        
  