batchUpdateSecurityRequirements method
Batch updates security requirements within 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 containing the
requirements to update.
Parameter securityRequirements :
The list of security requirement updates to apply.
Implementation
Future<BatchUpdateSecurityRequirementsOutput>
batchUpdateSecurityRequirements({
required String packId,
required List<UpdateSecurityRequirementEntry> securityRequirements,
}) async {
final $payload = <String, dynamic>{
'packId': packId,
'securityRequirements': securityRequirements,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/BatchUpdateSecurityRequirements',
exceptionFnMap: _exceptionFns,
);
return BatchUpdateSecurityRequirementsOutput.fromJson(response);
}