DataZone / Client / create_project

create_project#

DataZone.Client.create_project(**kwargs)#

Creates an Amazon DataZone project.

See also: AWS API Documentation

Request Syntax

response = client.create_project(
    description='string',
    domainIdentifier='string',
    domainUnitId='string',
    glossaryTerms=[
        'string',
    ],
    name='string',
    projectProfileId='string',
    userParameters=[
        {
            'environmentConfigurationName': 'string',
            'environmentParameters': [
                {
                    'name': 'string',
                    'value': 'string'
                },
            ]
        },
    ]
)
Parameters:
  • description (string) – The description of the Amazon DataZone project.

  • domainIdentifier (string) –

    [REQUIRED]

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

  • domainUnitId (string) – The ID of the domain unit. This parameter is not required and if it is not specified, then the project is created at the root domain unit level.

  • glossaryTerms (list) –

    The glossary terms that can be used in this Amazon DataZone project.

    • (string) –

  • name (string) –

    [REQUIRED]

    The name of the Amazon DataZone project.

  • projectProfileId (string) – The ID of the project profile.

  • userParameters (list) –

    The user parameters of the project.

    • (dict) –

      The environment configuration user parameters.

      • environmentConfigurationName (string) –

        The environment configuration name.

      • environmentParameters (list) –

        The environment parameters.

        • (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.

Return type:

dict

Returns:

Response Syntax

{
    'createdAt': datetime(2015, 1, 1),
    'createdBy': 'string',
    'description': 'string',
    'domainId': 'string',
    'domainUnitId': 'string',
    'environmentDeploymentDetails': {
        'environmentFailureReasons': {
            'string': [
                {
                    'code': 'string',
                    'message': 'string'
                },
            ]
        },
        'overallDeploymentStatus': 'PENDING_DEPLOYMENT'|'IN_PROGRESS'|'SUCCESSFUL'|'FAILED_VALIDATION'|'FAILED_DEPLOYMENT'
    },
    'failureReasons': [
        {
            'code': 'string',
            'message': 'string'
        },
    ],
    'glossaryTerms': [
        'string',
    ],
    'id': 'string',
    'lastUpdatedAt': datetime(2015, 1, 1),
    'name': 'string',
    'projectProfileId': 'string',
    'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_FAILED',
    'userParameters': [
        {
            'environmentConfigurationName': 'string',
            'environmentParameters': [
                {
                    'name': 'string',
                    'value': 'string'
                },
            ]
        },
    ]
}

Response Structure

  • (dict) –

    • createdAt (datetime) –

      The timestamp of when the project was created.

    • createdBy (string) –

      The Amazon DataZone user who created the project.

    • description (string) –

      The description of the project.

    • domainId (string) –

      The identifier of the Amazon DataZone domain in which the project was created.

    • domainUnitId (string) –

      The ID of the domain unit.

    • environmentDeploymentDetails (dict) –

      The environment deployment details.

      • environmentFailureReasons (dict) –

        Environment failure reasons.

        • (string) –

          • (list) –

            • (dict) –

              The failure reasons for the environment deployment.

              • code (string) –

                The error code for the failure reason for the environment deployment.

              • message (string) –

                The error message for the failure reason for the environment deployment.

      • overallDeploymentStatus (string) –

        The overall deployment status of the environment.

    • failureReasons (list) –

      Specifies the error message that is returned if the operation cannot be successfully completed.

      • (dict) –

        Specifies the error message that is returned if the operation cannot be successfully completed.

        • code (string) –

          The code of the project deletion error.

        • message (string) –

          The message of the project deletion error.

    • glossaryTerms (list) –

      The glossary terms that can be used in the project.

      • (string) –

    • id (string) –

      The ID of the Amazon DataZone project.

    • lastUpdatedAt (datetime) –

      The timestamp of when the project was last updated.

    • name (string) –

      The name of the project.

    • projectProfileId (string) –

      The project profile ID.

    • projectStatus (string) –

      The status of the Amazon DataZone project that was created.

    • userParameters (list) –

      The user parameters of the project.

      • (dict) –

        The environment configuration user parameters.

        • environmentConfigurationName (string) –

          The environment configuration name.

        • environmentParameters (list) –

          The environment parameters.

          • (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.

Exceptions