describeInput method

Future<DescribeInputResponse> describeInput({
  1. required String inputName,
})

Describes an input.

May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalFailureException. May throw ServiceUnavailableException.

Parameter inputName : The name of the input.

Implementation

Future<DescribeInputResponse> describeInput({
  required String inputName,
}) async {
  ArgumentError.checkNotNull(inputName, 'inputName');
  _s.validateStringLength(
    'inputName',
    inputName,
    1,
    128,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/inputs/${Uri.encodeComponent(inputName)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeInputResponse.fromJson(response);
}