describeDataSource method
Describes a data source.
May throw AccessDeniedException.
May throw InternalFailureException.
May throw InvalidParameterValueException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter awsAccountId :
The Amazon Web Services account ID.
Parameter dataSourceId :
The ID of the data source. This ID is unique per Amazon Web Services
Region for each Amazon Web Services account.
Implementation
Future<DescribeDataSourceResponse> describeDataSource({
required String awsAccountId,
required String dataSourceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/accounts/${Uri.encodeComponent(awsAccountId)}/data-sources/${Uri.encodeComponent(dataSourceId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeDataSourceResponse.fromJson(response);
}