describeLocationNfs method

Future<DescribeLocationNfsResponse> describeLocationNfs({
  1. required String locationArn,
})

Provides details about how an DataSync transfer location for a Network File System (NFS) file server is configured.

May throw InternalException. May throw InvalidRequestException.

Parameter locationArn : Specifies the Amazon Resource Name (ARN) of the NFS location that you want information about.

Implementation

Future<DescribeLocationNfsResponse> describeLocationNfs({
  required String locationArn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'FmrsService.DescribeLocationNfs'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'LocationArn': locationArn,
    },
  );

  return DescribeLocationNfsResponse.fromJson(jsonResponse.body);
}