describeFileSystemAssociations method
Gets the file system association information. This operation is only supported for FSx File Gateways.
May throw InternalServerError.
May throw InvalidGatewayRequestException.
Parameter fileSystemAssociationARNList :
An array containing the Amazon Resource Name (ARN) of each file system
association to be described.
Implementation
Future<DescribeFileSystemAssociationsOutput> describeFileSystemAssociations({
required List<String> fileSystemAssociationARNList,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'StorageGateway_20130630.DescribeFileSystemAssociations'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'FileSystemAssociationARNList': fileSystemAssociationARNList,
},
);
return DescribeFileSystemAssociationsOutput.fromJson(jsonResponse.body);
}