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',
    glossaryTerms=[
        'string',
    ],
    name='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.

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

Return type:

dict

Returns:

Response Syntax

{
    'createdAt': datetime(2015, 1, 1),
    'createdBy': 'string',
    'description': 'string',
    'domainId': 'string',
    'failureReasons': [
        {
            'code': 'string',
            'message': 'string'
        },
    ],
    'glossaryTerms': [
        'string',
    ],
    'id': 'string',
    'lastUpdatedAt': datetime(2015, 1, 1),
    'name': 'string',
    'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_FAILED'
}

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.

    • failureReasons (list) –

      Reasons for failed project deletion

      • (dict) –

        Error that occurred during project deletion

        • code (string) –

          Project Deletion Error Code

        • message (string) –

          Project Deletion Error Message

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

    • projectStatus (string) –

      Status of the project

Exceptions

  • DataZone.Client.exceptions.InternalServerException

  • DataZone.Client.exceptions.ResourceNotFoundException

  • DataZone.Client.exceptions.AccessDeniedException

  • DataZone.Client.exceptions.ThrottlingException

  • DataZone.Client.exceptions.ServiceQuotaExceededException

  • DataZone.Client.exceptions.ConflictException

  • DataZone.Client.exceptions.ValidationException

  • DataZone.Client.exceptions.UnauthorizedException