create_security_requirement_pack
¶
create_security_requirement_pack(
name: SecurityRequirementPackName,
*,
config_overrides: Optional[SecurityAgentClientConfig] = 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/security_agent.py
6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 | |