create_security_requirement_pack
async
¶
create_security_requirement_pack(
name: SecurityRequirementPackName,
*,
config_overrides: Optional[AsyncSecurityAgentClientConfig] = None,
description: Optional[str] = None,
status: Optional[SecurityRequirementPackStatus] = None,
kms_key_id: Optional[KmsKeyId] = None,
tags: Optional[TagMap] = None,
) -> CreateSecurityRequirementPackOutput
Creates a customer managed security requirement pack.
Parameters:
-
name(SecurityRequirementPackName) –The name of the security requirement pack.
-
description(Optional[str], default:None) –A description of the security requirement pack.
-
status(Optional[SecurityRequirementPackStatus], default:None) –The status of the pack. Defaults to ENABLED if not provided.
-
kms_key_id(Optional[KmsKeyId], default:None) –The identifier of the AWS KMS key used to encrypt pack contents.
-
tags(Optional[TagMap], default:None) –The tags to associate with 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.
-
ServiceQuotaExceededException–The request exceeds a service quota. Review your current usage and request a quota increase if needed.
-
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
6508 6509 6510 6511 6512 6513 6514 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 | |