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

*****************************
create_private_graph_endpoint
*****************************



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

  

  Create a private graph endpoint to allow private access to the graph from within a VPC. You can attach security groups to the private graph endpoint.

   

  .. note::

    

    VPC endpoint charges apply.

    

  

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


  **Request Syntax**
  ::

    response = client.create_private_graph_endpoint(
        graphIdentifier='string',
        vpcId='string',
        subnetIds=[
            'string',
        ],
        vpcSecurityGroupIds=[
            'string',
        ]
    )
    
  :type graphIdentifier: string
  :param graphIdentifier: **[REQUIRED]** 

    The unique identifier of the Neptune Analytics graph.

    

  
  :type vpcId: string
  :param vpcId: 

    The VPC in which the private graph endpoint needs to be created.

    

  
  :type subnetIds: list
  :param subnetIds: 

    Subnets in which private graph endpoint ENIs are created.

    

  
    - *(string) --* 

    

  :type vpcSecurityGroupIds: list
  :param vpcSecurityGroupIds: 

    Security groups to be attached to the private graph endpoint.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'vpcId': 'string',
          'subnetIds': [
              'string',
          ],
          'status': 'CREATING'|'AVAILABLE'|'DELETING'|'FAILED',
          'vpcEndpointId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **vpcId** *(string) --* 

        VPC in which the private graph endpoint is created.

        
      

      - **subnetIds** *(list) --* 

        Subnets in which the private graph endpoint ENIs are created.

        
        

        - *(string) --* 
    
      

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

        Status of the private graph endpoint.

        
      

      - **vpcEndpointId** *(string) --* 

        Endpoint ID of the private graph endpoint.

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

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

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

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

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

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

  