getFlow method
Retrieves information about a flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter flowIdentifier :
The unique identifier of the flow.
Implementation
Future<GetFlowResponse> getFlow({
required String flowIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/flows/${Uri.encodeComponent(flowIdentifier)}/',
exceptionFnMap: _exceptionFns,
);
return GetFlowResponse.fromJson(response);
}