update_framework
¶
update_framework(
environment_arn: EnvironmentArn,
framework: FrameworkName,
framework_version: FrameworkVersion,
*,
config_overrides: Optional[AssuranceClientConfig] = None,
title: Optional[FrameworkTitle] = None,
description: Optional[FrameworkDescription] = None,
) -> UpdateFrameworkOutput
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.
Parameters:
-
environment_arn(EnvironmentArn) –The ARN of this governance environment.
-
framework(FrameworkName) –The name of the compliance framework.
-
framework_version(FrameworkVersion) –The version of the compliance framework.
-
title(Optional[FrameworkTitle], default:None) –The human-readable title of the framework.
-
description(Optional[FrameworkDescription], default:None) –A description of the framework.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
-
ConflictException–A conflict occurred (for example, resource already exists).
-
InternalServerException–An internal server error occurred.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–The request was throttled.
-
ValidationException–The request failed validation.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Update a custom framework Updates the title and description of a custom PCI-DSS framework.
>>> client.update_framework(environment_arn='arn:aws:assurance:us-east-1:111122223333:environment/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111', framework='payments-pci-dss', framework_version='1.0', title='Payments PCI-DSS v4 Framework (2026)', description='Updated custom control framework for the payments team PCI-DSS v4 assessment.')
Source code in docs_src/capo_assurance/_services/assurance.py
7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 | |