SecurityAgent / Client / batch_delete_security_requirements
batch_delete_security_requirements¶
- SecurityAgent.Client.batch_delete_security_requirements(**kwargs)¶
Batch deletes security requirements from a customer managed pack.
See also: AWS API Documentation
Request Syntax
response = client.batch_delete_security_requirements( packId='string', securityRequirementNames=[ 'string', ] )
- Parameters:
packId (string) –
[REQUIRED]
The unique identifier of the security requirement pack to remove requirements from.
securityRequirementNames (list) –
[REQUIRED]
The list of security requirement names to delete.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'deletedSecurityRequirementNames': [ 'string', ], 'errors': [ { 'securityRequirementName': 'string', 'code': 'string', 'message': 'string' }, ] }
Response Structure
(dict) –
deletedSecurityRequirementNames (list) –
The list of security requirement names that were successfully deleted.
(string) –
errors (list) –
The list of errors for security requirements that failed to be deleted.
(dict) –
Contains information about an error that occurred for a specific security requirement during a batch operation.
securityRequirementName (string) –
The name of the security requirement that caused the error.
code (string) –
The error code.
message (string) –
The error message.
Exceptions
SecurityAgent.Client.exceptions.ValidationExceptionSecurityAgent.Client.exceptions.InternalServerExceptionSecurityAgent.Client.exceptions.ResourceNotFoundExceptionSecurityAgent.Client.exceptions.ConflictExceptionSecurityAgent.Client.exceptions.ThrottlingExceptionSecurityAgent.Client.exceptions.AccessDeniedException