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
6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 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 | |