:doc:`WellArchitected <../../wellarchitected>` / Client / create_profile

**************
create_profile
**************



.. py:method:: WellArchitected.Client.create_profile(**kwargs)

  

  Create a profile.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateProfile>`_  


  **Request Syntax**
  ::

    response = client.create_profile(
        ProfileName='string',
        ProfileDescription='string',
        ProfileQuestions=[
            {
                'QuestionId': 'string',
                'SelectedChoiceIds': [
                    'string',
                ]
            },
        ],
        ClientRequestToken='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type ProfileName: string
  :param ProfileName: **[REQUIRED]** 

    Name of the profile.

    

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

    The profile description.

    

  
  :type ProfileQuestions: list
  :param ProfileQuestions: **[REQUIRED]** 

    The profile questions.

    

  
    - *(dict) --* 

      An update to a profile question.

      

    
      - **QuestionId** *(string) --* 

        The ID of the question.

        

      
      - **SelectedChoiceIds** *(list) --* 

        The selected choices.

        

      
        - *(string) --* 

          The ID of a choice.

          

        
    
    

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

    A unique case-sensitive string used to ensure that this request is idempotent (executes only once).

     

    You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.

     

    .. warning::

       

      This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

      

    This field is autopopulated if not provided.

  
  :type Tags: dict
  :param Tags: 

    The tags assigned to the profile.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'ProfileArn': 'string',
          'ProfileVersion': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ProfileArn** *(string) --* 

        The profile ARN.

        
      

      - **ProfileVersion** *(string) --* 

        Version of the profile.

        
  
  **Exceptions**
  
  *   :py:class:`WellArchitected.Client.exceptions.ValidationException`

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

  
  *   :py:class:`WellArchitected.Client.exceptions.ServiceQuotaExceededException`

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

  
  *   :py:class:`WellArchitected.Client.exceptions.AccessDeniedException`

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

  