update_security_requirement_pack
¶
update_security_requirement_pack(
pack_id: SecurityRequirementPackId,
*,
config_overrides: Optional[SecurityAgentClientConfig] = None,
name: Optional[SecurityRequirementPackName] = None,
description: Optional[str] = None,
status: Optional[SecurityRequirementPackStatus] = None,
) -> UpdateSecurityRequirementPackOutput
Updates a security requirement pack. For customer managed packs, both metadata and status can be updated. For AWS managed packs, only status can be updated.
Parameters:
-
pack_id(SecurityRequirementPackId) –The unique identifier of the security requirement pack to update.
-
name(Optional[SecurityRequirementPackName], default:None) –The updated name of the security requirement pack.
-
description(Optional[str], default:None) –The updated description of the security requirement pack.
-
status(Optional[SecurityRequirementPackStatus], default:None) –The updated status of the security requirement pack.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–An unexpected error occurred during the processing of your request.
-
ResourceNotFoundException–The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityagent/_services/security_agent.py
6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 | |