registerDataLakeDelegatedAdministrator method
Designates the Amazon Security Lake delegated administrator account for the organization. This API can only be called by the organization management account. The organization management account cannot be the delegated administrator account.
May throw AccessDeniedException.
May throw BadRequestException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter accountId :
The Amazon Web Services account ID of the Security Lake delegated
administrator.
Implementation
Future<void> registerDataLakeDelegatedAdministrator({
required String accountId,
}) async {
final $payload = <String, dynamic>{
'accountId': accountId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/v1/datalake/delegate',
exceptionFnMap: _exceptionFns,
);
}