getDataLakeSettings method
Retrieves the list of the data lake administrators of a Lake Formation-managed data lake.
May throw InternalServiceException. May throw InvalidInputException. May throw EntityNotFoundException.
Parameter catalogId
:
The identifier for the Data Catalog. By default, the account ID. The Data
Catalog is the persistent metadata store. It contains database
definitions, table definitions, and other control information to manage
your AWS Lake Formation environment.
Implementation
Future<GetDataLakeSettingsResponse> getDataLakeSettings({
String? catalogId,
}) async {
_s.validateStringLength(
'catalogId',
catalogId,
1,
255,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSLakeFormation.GetDataLakeSettings'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (catalogId != null) 'CatalogId': catalogId,
},
);
return GetDataLakeSettingsResponse.fromJson(jsonResponse.body);
}