describeFlow method

Future<DescribeFlowResponse> describeFlow({
  1. required String flowArn,
})

Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.

May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceUnavailableException. May throw TooManyRequestsException.

Parameter flowArn : The ARN of the flow that you want to describe.

Implementation

Future<DescribeFlowResponse> describeFlow({
  required String flowArn,
}) async {
  ArgumentError.checkNotNull(flowArn, 'flowArn');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/flows/${Uri.encodeComponent(flowArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeFlowResponse.fromJson(response);
}