update_framework
async
¶
update_framework(
environment_arn: EnvironmentArn,
framework: FrameworkName,
framework_version: FrameworkVersion,
*,
config_overrides: Optional[AsyncAssuranceClientConfig] = 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.
>>> await 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/async_assurance.py
7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 | |