:doc:`IoTSiteWise <../../iotsitewise>` / Client / create_project

**************
create_project
**************



.. py:method:: IoTSiteWise.Client.create_project(**kwargs)

  

  Creates a project in the specified portal.

   

  .. note::

    

    Make sure that the project name and description don't contain confidential information.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateProject>`_  


  **Request Syntax**
  ::

    response = client.create_project(
        portalId='string',
        projectName='string',
        projectDescription='string',
        clientToken='string',
        tags={
            'string': 'string'
        }
    )
    
  :type portalId: string
  :param portalId: **[REQUIRED]** 

    The ID of the portal in which to create the project.

    

  
  :type projectName: string
  :param projectName: **[REQUIRED]** 

    A friendly name for the project.

    

  
  :type projectDescription: string
  :param projectDescription: 

    A description for the project.

    

  
  :type clientToken: string
  :param clientToken: 

    A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

    This field is autopopulated if not provided.

  
  :type tags: dict
  :param tags: 

    A list of key-value pairs that contain metadata for the project. For more information, see `Tagging your IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`__ in the *IoT SiteWise User Guide*.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'projectId': 'string',
          'projectArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **projectId** *(string) --* 

        The ID of the project.

        
      

      - **projectArn** *(string) --* 

        The `ARN <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ of the project, which has the following format.

         

        ``arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}``

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

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

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

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

  
  *   :py:class:`IoTSiteWise.Client.exceptions.LimitExceededException`

  