create_assessment_framework
async
¶
create_assessment_framework(
name: FrameworkName,
control_sets: CreateAssessmentFrameworkControlSets,
*,
config_overrides: Optional[AsyncAuditManagerClientConfig] = None,
description: Optional[FrameworkDescription] = None,
compliance_type: Optional[ComplianceType] = None,
tags: Optional[TagMap] = None,
) -> CreateAssessmentFrameworkResponse
Creates a custom framework in Audit Manager.
Parameters:
-
name(FrameworkName) –The name of the new custom framework.
-
description(Optional[FrameworkDescription], default:None) –An optional description for the new custom framework.
-
compliance_type(Optional[ComplianceType], default:None) –The compliance type that the new custom framework supports, such as CIS or HIPAA.
-
control_sets(CreateAssessmentFrameworkControlSets) –The control sets that are associated with the framework.
The
Controlsobject returns a partial response when called through Framework APIs. For a completeControlsobject, useGetControl. -
tags(Optional[TagMap], default:None) –The tags that are associated with the framework.
Raises:
-
AccessDeniedException–Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
-
InternalServerException–An internal service error occurred during the processing of your request. Try again later.
-
ResourceNotFoundException–The resource that's specified in the request can't be found.
-
ServiceQuotaExceededException–You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
-
ValidationException–The request has invalid or missing parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_auditmanager/_services/async_audit_manager.py
804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 | |