update_control_group
async
¶
update_control_group(
environment_arn: EnvironmentArn,
framework: FrameworkName,
framework_version: FrameworkVersion,
control_id: ControlID,
*,
config_overrides: Optional[AsyncAssuranceClientConfig] = None,
title: Optional[ControlTitle] = None,
description: Optional[ControlDescription] = None,
display_order: Optional[DisplayOrder] = None,
) -> UpdateControlGroupOutput
Updates a control group.
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.
-
control_id(ControlID) –The control identifier. Optional. If omitted, the operation applies to the full framework.
-
title(Optional[ControlTitle], default:None) –The new display name for the control group. Omit to leave it unchanged.
-
description(Optional[ControlDescription], default:None) –The new description for the control group. Omit to leave it unchanged.
-
display_order(Optional[DisplayOrder], default:None) –The ordering key that determines the display sequence within 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 control group Renames a control group in the payments team's draft custom framework, before it is published, so its title reflects the payments-prod scope.
>>> await client.update_control_group(environment_arn='arn:aws:assurance:us-east-1:111122223333:environment/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111', framework='payments-pci-dss', framework_version='1.0', control_id='PAY-1', title='Payments data protection (payments-prod)')
Source code in docs_src/capo_assurance/_services/async_assurance.py
7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 | |