DataZone / Client / update_project

update_project#

DataZone.Client.update_project(**kwargs)#

Updates the specified project in Amazon DataZone.

See also: AWS API Documentation

Request Syntax

response = client.update_project(
    description='string',
    domainIdentifier='string',
    glossaryTerms=[
        'string',
    ],
    identifier='string',
    name='string'
)
Parameters:
  • description (string) – The description to be updated as part of the UpdateProject action.

  • domainIdentifier (string) –

    [REQUIRED]

    The identifier of the Amazon DataZone domain in which a project is to be updated.

  • glossaryTerms (list) –

    The glossary terms to be updated as part of the UpdateProject action.

    • (string) –

  • identifier (string) –

    [REQUIRED]

    The identifier of the project that is to be updated.

  • name (string) – The name to be updated as part of the UpdateProject action.

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 that is to be updated.

    • domainId (string) –

      The identifier of the Amazon DataZone domain in which a project is updated.

    • 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 of the project that are to be updated.

      • (string) –

    • id (string) –

      The identifier of the project that is to be updated.

    • lastUpdatedAt (datetime) –

      The timestamp of when the project was last updated.

    • name (string) –

      The name of the project that is to be updated.

    • projectStatus (string) –

      The status of the project.

Exceptions