getImportedModel method

Future<GetImportedModelResponse> getImportedModel({
  1. required String modelIdentifier,
})

Gets properties associated with a customized model you imported.

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

Parameter modelIdentifier : Name or Amazon Resource Name (ARN) of the imported model.

Implementation

Future<GetImportedModelResponse> getImportedModel({
  required String modelIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/imported-models/${Uri.encodeComponent(modelIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetImportedModelResponse.fromJson(response);
}