get_control_group
¶
get_control_group(
environment_arn: EnvironmentArn,
framework: FrameworkName,
control_id: ControlID,
framework_version: FrameworkVersion,
*,
config_overrides: Optional[AssuranceClientConfig] = None,
) -> GetControlGroupOutput
Retrieves a single control group's own attributes (title, description, status) within a framework version. Use ListControls with the group's controlId to retrieve the leaf controls within it.
Parameters:
-
environment_arn(EnvironmentArn) –The ARN of this governance environment.
-
framework(FrameworkName) –The name of the compliance framework.
-
control_id(ControlID) –The control identifier. Optional. If omitted, the operation applies to the full framework.
-
framework_version(FrameworkVersion) –The version of the compliance 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.
-
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:
Get a control group Retrieves the authentication control group in the PCI DSS framework so the payments team can see its title and description before listing its controls.
>>> client.get_control_group(environment_arn='arn:aws:assurance:us-east-1:111122223333:environment/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111', framework='AWS:PCI-DSS', control_id='8.', framework_version='4')
Source code in docs_src/capo_assurance/_services/assurance.py
2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 | |