:doc:`NeptuneGraph <../../neptune-graph>` / Client / get_graph_snapshot

******************
get_graph_snapshot
******************



.. py:method:: NeptuneGraph.Client.get_graph_snapshot(**kwargs)

  

  Retrieves a specified graph snapshot.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/GetGraphSnapshot>`_  


  **Request Syntax**
  ::

    response = client.get_graph_snapshot(
        snapshotIdentifier='string'
    )
    
  :type snapshotIdentifier: string
  :param snapshotIdentifier: **[REQUIRED]** 

    The ID of the snapshot to retrieve.

    

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

    
    ::

      {
          'id': 'string',
          'name': 'string',
          'arn': 'string',
          'sourceGraphId': 'string',
          'snapshotCreateTime': datetime(2015, 1, 1),
          'status': 'CREATING'|'AVAILABLE'|'DELETING'|'FAILED',
          'kmsKeyIdentifier': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The unique identifier of the graph snapshot.

        
      

      - **name** *(string) --* 

        The snapshot name. For example: ``my-snapshot-1``.

         

        The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens. Only lowercase letters are allowed.

        
      

      - **arn** *(string) --* 

        The ARN of the graph snapshot.

        
      

      - **sourceGraphId** *(string) --* 

        The graph identifier for the graph for which a snapshot is to be created.

        
      

      - **snapshotCreateTime** *(datetime) --* 

        The time when the snapshot was created.

        
      

      - **status** *(string) --* 

        The status of the graph snapshot.

        
      

      - **kmsKeyIdentifier** *(string) --* 

        The ID of the KMS key used to encrypt and decrypt the snapshot.

        
  
  **Exceptions**
  
  *   :py:class:`NeptuneGraph.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NeptuneGraph.Client.exceptions.ValidationException`

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

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

  