:doc:`IoTThingsGraph <../../iotthingsgraph>` / Client / create_system_template

**********************
create_system_template
**********************



.. py:method:: IoTThingsGraph.Client.create_system_template(**kwargs)

  

  Creates a system. The system is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/CreateSystemTemplate>`_  


  **Request Syntax**
  ::

    response = client.create_system_template(
        definition={
            'language': 'GRAPHQL',
            'text': 'string'
        },
        compatibleNamespaceVersion=123
    )
    
  :type definition: dict
  :param definition: **[REQUIRED]** 

    The ``DefinitionDocument`` used to create the system.

    

  
    - **language** *(string) --* **[REQUIRED]** 

      The language used to define the entity. ``GRAPHQL`` is the only valid value.

      

    
    - **text** *(string) --* **[REQUIRED]** 

      The GraphQL text that defines the entity.

      

    
  
  :type compatibleNamespaceVersion: integer
  :param compatibleNamespaceVersion: 

    The namespace version in which the system is to be created.

     

    If no value is specified, the latest version is used by default.

    

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

    
    ::

      {
          'summary': {
              'id': 'string',
              'arn': 'string',
              'revisionNumber': 123,
              'createdAt': datetime(2015, 1, 1)
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **summary** *(dict) --* 

        The summary object that describes the created system.

        
        

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

          The ID of the system.

          
        

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

          The ARN of the system.

          
        

        - **revisionNumber** *(integer) --* 

          The revision number of the system.

          
        

        - **createdAt** *(datetime) --* 

          The date when the system was created.

          
    
  
  **Exceptions**
  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.ResourceAlreadyExistsException`

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

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InternalFailureException`

  