Assurance / Client / get_project

get_project

Assurance.Client.get_project(**kwargs)

Retrieves a project and all its associated resources.

See also: AWS API Documentation

Request Syntax

response = client.get_project(
    environmentArn='string',
    project='string'
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • project (string) –

    [REQUIRED]

    The name of the project.

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