describeFlywheelIteration method

Future<DescribeFlywheelIterationResponse> describeFlywheelIteration({
  1. required String flywheelArn,
  2. required String flywheelIterationId,
})

Retrieve the configuration properties of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

May throw InternalServerException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw TooManyRequestsException.

Parameter flywheelArn :

Parameter flywheelIterationId :

Implementation

Future<DescribeFlywheelIterationResponse> describeFlywheelIteration({
  required String flywheelArn,
  required String flywheelIterationId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'Comprehend_20171127.DescribeFlywheelIteration'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'FlywheelArn': flywheelArn,
      'FlywheelIterationId': flywheelIterationId,
    },
  );

  return DescribeFlywheelIterationResponse.fromJson(jsonResponse.body);
}