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
6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 | |