getMLInputChannel method

Future<GetMLInputChannelResponse> getMLInputChannel({
  1. required String membershipIdentifier,
  2. required String mlInputChannelArn,
})

Returns information about an ML input channel.

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

Parameter membershipIdentifier : The membership ID of the membership that contains the ML input channel that you want to get.

Parameter mlInputChannelArn : The Amazon Resource Name (ARN) of the ML input channel that you want to get.

Implementation

Future<GetMLInputChannelResponse> getMLInputChannel({
  required String membershipIdentifier,
  required String mlInputChannelArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/memberships/${Uri.encodeComponent(membershipIdentifier)}/ml-input-channels/${Uri.encodeComponent(mlInputChannelArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetMLInputChannelResponse.fromJson(response);
}