Assurance / Client / update_project

update_project

Assurance.Client.update_project(**kwargs)

Updates an existing project. Omit any field to leave it unchanged.

See also: AWS API Documentation

Request Syntax

response = client.update_project(
    environmentArn='string',
    project='string',
    resourceFilters=[
        'string',
    ]
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • project (string) –

    [REQUIRED]

    The name of the project.

  • resourceFilters (list) –

    The filters that determine which resources are in scope.

    • (string) –

      A resource filter that uses AWS Resource Explorer query syntax.

Return type:

dict

Returns:

Response Syntax

{
    'project': 'string',
    'resourceFilters': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • project (string) –

      The name of the project.

    • resourceFilters (list) –

      The filters that determine which resources are in scope.

      • (string) –

        A resource filter that uses AWS Resource Explorer query syntax.

Exceptions

  • Assurance.Client.exceptions.ValidationException

  • Assurance.Client.exceptions.InternalServerException

  • Assurance.Client.exceptions.ThrottlingException

  • Assurance.Client.exceptions.AccessDeniedException

  • Assurance.Client.exceptions.ResourceNotFoundException