batchDeleteSecurityRequirements method
Batch deletes security requirements from a customer managed pack.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter packId :
The unique identifier of the security requirement pack to remove
requirements from.
Parameter securityRequirementNames :
The list of security requirement names to delete.
Implementation
Future<BatchDeleteSecurityRequirementsOutput>
batchDeleteSecurityRequirements({
required String packId,
required List<String> securityRequirementNames,
}) async {
final $payload = <String, dynamic>{
'packId': packId,
'securityRequirementNames': securityRequirementNames,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/BatchDeleteSecurityRequirements',
exceptionFnMap: _exceptionFns,
);
return BatchDeleteSecurityRequirementsOutput.fromJson(response);
}