:doc:`SecurityLake <../../securitylake>` / Client / get_data_lake_exception_subscription

************************************
get_data_lake_exception_subscription
************************************



.. py:method:: SecurityLake.Client.get_data_lake_exception_subscription()

  

  Retrieves the protocol and endpoint that were provided when subscribing to Amazon SNS topics for exception notifications.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/securitylake-2018-05-10/GetDataLakeExceptionSubscription>`_  


  **Request Syntax**
  ::

    response = client.get_data_lake_exception_subscription()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'exceptionTimeToLive': 123,
          'notificationEndpoint': 'string',
          'subscriptionProtocol': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **exceptionTimeToLive** *(integer) --* 

        The expiration period and time-to-live (TTL). It is the duration of time until which the exception message remains.

        
      

      - **notificationEndpoint** *(string) --* 

        The Amazon Web Services account where you receive exception notifications.

        
      

      - **subscriptionProtocol** *(string) --* 

        The subscription protocol to which exception notifications are posted.

        
  
  **Exceptions**
  
  *   :py:class:`SecurityLake.Client.exceptions.BadRequestException`

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

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

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

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

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

  