Assurance / Client / update_framework
update_framework¶
- Assurance.Client.update_framework(**kwargs)¶
Updates the title or description of a custom framework. You cannot change its name or version. You can update only custom frameworks; managed frameworks are read-only.
See also: AWS API Documentation
Request Syntax
response = client.update_framework( environmentArn='string', framework='string', frameworkVersion='string', title='string', description='string' )
- Parameters:
environmentArn (string) –
[REQUIRED]
The ARN of this governance environment.
framework (string) –
[REQUIRED]
The name of the compliance framework.
frameworkVersion (string) –
[REQUIRED]
The version of the compliance framework.
title (string) – The human-readable title of the framework.
description (string) – A description of the framework.
- 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