:doc:`DirectoryService <../../ds>` / Client / get_snapshot_limits

*******************
get_snapshot_limits
*******************



.. py:method:: DirectoryService.Client.get_snapshot_limits(**kwargs)

  

  Obtains the manual snapshot limits for a directory.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimits>`_  


  **Request Syntax**
  ::

    response = client.get_snapshot_limits(
        DirectoryId='string'
    )
    
  :type DirectoryId: string
  :param DirectoryId: **[REQUIRED]** 

    Contains the identifier of the directory to obtain the limits for.

    

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

    
    ::

      {
          'SnapshotLimits': {
              'ManualSnapshotsLimit': 123,
              'ManualSnapshotsCurrentCount': 123,
              'ManualSnapshotsLimitReached': True|False
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Contains the results of the  GetSnapshotLimits operation.

      
      

      - **SnapshotLimits** *(dict) --* 

        A  SnapshotLimits object that contains the manual snapshot limits for the specified directory.

        
        

        - **ManualSnapshotsLimit** *(integer) --* 

          The maximum number of manual snapshots allowed.

          
        

        - **ManualSnapshotsCurrentCount** *(integer) --* 

          The current number of manual snapshots of the directory.

          
        

        - **ManualSnapshotsLimitReached** *(boolean) --* 

          Indicates if the manual snapshot limit has been reached.

          
    
  
  **Exceptions**
  
  *   :py:class:`DirectoryService.Client.exceptions.EntityDoesNotExistException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ClientException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ServiceException`

  