update_security_requirement_pack
async
¶
update_security_requirement_pack(
pack_id: SecurityRequirementPackId,
*,
config_overrides: Optional[AsyncSecurityAgentClientConfig] = 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/async_security_agent.py
6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 | |