describeNFSFileShares method
Gets a description for one or more Network File System (NFS) file shares from an S3 File Gateway. This operation is only supported for S3 File Gateways.
May throw InternalServerError.
May throw InvalidGatewayRequestException.
Parameter fileShareARNList :
An array containing the Amazon Resource Name (ARN) of each file share to
be described.
Implementation
Future<DescribeNFSFileSharesOutput> describeNFSFileShares({
required List<String> fileShareARNList,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'StorageGateway_20130630.DescribeNFSFileShares'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'FileShareARNList': fileShareARNList,
},
);
return DescribeNFSFileSharesOutput.fromJson(jsonResponse.body);
}