disassociateMemberAccount method
Removes the specified member account from Amazon Macie Classic.
May throw InvalidInputException. May throw InternalException.
Parameter memberAccountId
:
The ID of the member account that you want to remove from Amazon Macie
Classic.
Implementation
Future<void> disassociateMemberAccount({
required String memberAccountId,
}) async {
ArgumentError.checkNotNull(memberAccountId, 'memberAccountId');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'MacieService.DisassociateMemberAccount'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'memberAccountId': memberAccountId,
},
);
}