describeResource method
Retrieves the current data access role for the given resource registered in Lake Formation.
May throw EntityNotFoundException.
May throw InternalServiceException.
May throw InvalidInputException.
May throw OperationTimeoutException.
Parameter resourceArn :
The resource ARN.
Implementation
Future<DescribeResourceResponse> describeResource({
required String resourceArn,
}) async {
final $payload = <String, dynamic>{
'ResourceArn': resourceArn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/DescribeResource',
exceptionFnMap: _exceptionFns,
);
return DescribeResourceResponse.fromJson(response);
}