getDataAutomationLibrary method

Future<GetDataAutomationLibraryResponse> getDataAutomationLibrary({
  1. required String libraryArn,
})

Gets an existing Amazon Bedrock Data Automation Library

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter libraryArn : ARN generated at the server side when a DataAutomationLibrary is created

Implementation

Future<GetDataAutomationLibraryResponse> getDataAutomationLibrary({
  required String libraryArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri:
        '/data-automation-libraries/${Uri.encodeComponent(libraryArn)}/',
    exceptionFnMap: _exceptionFns,
  );
  return GetDataAutomationLibraryResponse.fromJson(response);
}