:doc:`DataZone <../../datazone>` / Client / create_environment_profile

**************************
create_environment_profile
**************************



.. py:method:: DataZone.Client.create_environment_profile(**kwargs)

  

  Creates an Amazon DataZone environment profile.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateEnvironmentProfile>`_  


  **Request Syntax**
  ::

    response = client.create_environment_profile(
        domainIdentifier='string',
        name='string',
        description='string',
        environmentBlueprintIdentifier='string',
        projectIdentifier='string',
        userParameters=[
            {
                'name': 'string',
                'value': 'string'
            },
        ],
        awsAccountId='string',
        awsAccountRegion='string'
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the Amazon DataZone domain in which this environment profile is created.

    

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

    The name of this Amazon DataZone environment profile.

    

  
  :type description: string
  :param description: 

    The description of this Amazon DataZone environment profile.

    

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

    The ID of the blueprint with which this environment profile is created.

    

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

    The identifier of the project in which to create the environment profile.

    

  
  :type userParameters: list
  :param userParameters: 

    The user parameters of this Amazon DataZone environment profile.

    

  
    - *(dict) --* 

      The parameter details of an evironment profile.

      

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

        The name of an environment profile parameter.

        

      
      - **value** *(string) --* 

        The value of an environment profile parameter.

        

      
    

  :type awsAccountId: string
  :param awsAccountId: 

    The Amazon Web Services account in which the Amazon DataZone environment is created.

    

  
  :type awsAccountRegion: string
  :param awsAccountRegion: 

    The Amazon Web Services region in which this environment profile is created.

    

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

    
    ::

      {
          'id': 'string',
          'domainId': 'string',
          'awsAccountId': 'string',
          'awsAccountRegion': 'string',
          'createdBy': 'string',
          'createdAt': datetime(2015, 1, 1),
          'updatedAt': datetime(2015, 1, 1),
          'name': 'string',
          'description': 'string',
          'environmentBlueprintId': 'string',
          'projectId': 'string',
          'userParameters': [
              {
                  'keyName': 'string',
                  'description': 'string',
                  'fieldType': 'string',
                  'defaultValue': 'string',
                  'isEditable': True|False,
                  'isOptional': True|False,
                  'isUpdateSupported': True|False
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The ID of this Amazon DataZone environment profile.

        
      

      - **domainId** *(string) --* 

        The ID of the Amazon DataZone domain in which this environment profile is created.

        
      

      - **awsAccountId** *(string) --* 

        The Amazon Web Services account ID in which this Amazon DataZone environment profile is created.

        
      

      - **awsAccountRegion** *(string) --* 

        The Amazon Web Services region in which this Amazon DataZone environment profile is created.

        
      

      - **createdBy** *(string) --* 

        The Amazon DataZone user who created this environment profile.

        
      

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

        The timestamp of when this environment profile was created.

        
      

      - **updatedAt** *(datetime) --* 

        The timestamp of when this environment profile was updated.

        
      

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

        The name of this Amazon DataZone environment profile.

        
      

      - **description** *(string) --* 

        The description of this Amazon DataZone environment profile.

        
      

      - **environmentBlueprintId** *(string) --* 

        The ID of the blueprint with which this environment profile is created.

        
      

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

        The ID of the Amazon DataZone project in which this environment profile is created.

        
      

      - **userParameters** *(list) --* 

        The user parameters of this Amazon DataZone environment profile.

        
        

        - *(dict) --* 

          The details of user parameters of an environment blueprint.

          
          

          - **keyName** *(string) --* 

            The key name of the parameter.

            
          

          - **description** *(string) --* 

            The description of the parameter.

            
          

          - **fieldType** *(string) --* 

            The filed type of the parameter.

            
          

          - **defaultValue** *(string) --* 

            The default value of the parameter.

            
          

          - **isEditable** *(boolean) --* 

            Specifies whether the parameter is editable.

            
          

          - **isOptional** *(boolean) --* 

            Specifies whether the custom parameter is optional.

            
          

          - **isUpdateSupported** *(boolean) --* 

            Specifies whether a parameter value can be updated after creation.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

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

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

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

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

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

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

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  