Assurance / Client / get_framework

get_framework

Assurance.Client.get_framework(**kwargs)

Retrieves a framework resource by type and key fields.

See also: AWS API Documentation

Request Syntax

response = client.get_framework(
    framework='string',
    environmentArn='string',
    frameworkVersion='string'
)
Parameters:
  • framework (string) –

    [REQUIRED]

    The framework name.

  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • frameworkVersion (string) –

    [REQUIRED]

    The framework version.

Return type:

dict

Returns:

Response Syntax

{
    'framework': {
        'type': 'MANAGED'|'CUSTOM',
        'frameworkName': 'string',
        'environment': 'string',
        'frameworkVersion': 'string',
        'title': 'string',
        'description': 'string',
        'status': 'ACTIVE'|'PENDING'|'PRE_PROD',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) –

    • framework (dict) –

      The name of the compliance framework.

      • type (string) –

        The type of the compliance framework.

      • frameworkName (string) –

        The name of the framework. Names that begin with AWS: are reserved for AWS managed frameworks.

      • environment (string) –

        The governance environment the framework belongs to. Present for CUSTOM frameworks.

      • frameworkVersion (string) –

        The version that you assigned to the framework.

      • title (string) –

        The human-readable title of the framework.

      • description (string) –

        The optional description of the framework.

      • status (string) –

        The lifecycle status of the framework.

      • createdAt (datetime) –

        The timestamp when the framework was created.

      • updatedAt (datetime) –

        The timestamp when the framework was last updated.

Exceptions

  • Assurance.Client.exceptions.ValidationException

  • Assurance.Client.exceptions.InternalServerException

  • Assurance.Client.exceptions.ThrottlingException

  • Assurance.Client.exceptions.AccessDeniedException

  • Assurance.Client.exceptions.ResourceNotFoundException