disassociateProfiles method
Disassociate a profile from a workload.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter profileArns :
The list of profile ARNs to disassociate from the workload.
Implementation
Future<void> disassociateProfiles({
required List<String> profileArns,
required String workloadId,
}) async {
final $payload = <String, dynamic>{
'ProfileArns': profileArns,
};
await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri:
'/workloads/${Uri.encodeComponent(workloadId)}/disassociateProfiles',
exceptionFnMap: _exceptionFns,
);
}